@pdfme/schemas 3.1.3 → 3.1.5

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 (66) hide show
  1. package/dist/cjs/__tests__/text.test.js +47 -25
  2. package/dist/cjs/__tests__/text.test.js.map +1 -1
  3. package/dist/cjs/src/barcodes/constants.js +1 -2
  4. package/dist/cjs/src/barcodes/constants.js.map +1 -1
  5. package/dist/cjs/src/barcodes/propPanel.js +34 -13
  6. package/dist/cjs/src/barcodes/propPanel.js.map +1 -1
  7. package/dist/cjs/src/constants.js +6 -0
  8. package/dist/cjs/src/constants.js.map +1 -0
  9. package/dist/cjs/src/image/propPanel.js +2 -2
  10. package/dist/cjs/src/image/propPanel.js.map +1 -1
  11. package/dist/cjs/src/text/constants.js +2 -2
  12. package/dist/cjs/src/text/constants.js.map +1 -1
  13. package/dist/cjs/src/text/helper.js +8 -7
  14. package/dist/cjs/src/text/helper.js.map +1 -1
  15. package/dist/cjs/src/text/pdfRender.js +14 -11
  16. package/dist/cjs/src/text/pdfRender.js.map +1 -1
  17. package/dist/cjs/src/text/propPanel.js +24 -3
  18. package/dist/cjs/src/text/propPanel.js.map +1 -1
  19. package/dist/cjs/src/text/uiRender.js +72 -42
  20. package/dist/cjs/src/text/uiRender.js.map +1 -1
  21. package/dist/esm/__tests__/text.test.js +47 -25
  22. package/dist/esm/__tests__/text.test.js.map +1 -1
  23. package/dist/esm/src/barcodes/constants.js +0 -1
  24. package/dist/esm/src/barcodes/constants.js.map +1 -1
  25. package/dist/esm/src/barcodes/propPanel.js +24 -3
  26. package/dist/esm/src/barcodes/propPanel.js.map +1 -1
  27. package/dist/esm/src/constants.js +3 -0
  28. package/dist/esm/src/constants.js.map +1 -0
  29. package/dist/esm/src/image/propPanel.js +1 -1
  30. package/dist/esm/src/image/propPanel.js.map +1 -1
  31. package/dist/esm/src/text/constants.js +1 -1
  32. package/dist/esm/src/text/constants.js.map +1 -1
  33. package/dist/esm/src/text/helper.js +8 -7
  34. package/dist/esm/src/text/helper.js.map +1 -1
  35. package/dist/esm/src/text/pdfRender.js +15 -12
  36. package/dist/esm/src/text/pdfRender.js.map +1 -1
  37. package/dist/esm/src/text/propPanel.js +24 -3
  38. package/dist/esm/src/text/propPanel.js.map +1 -1
  39. package/dist/esm/src/text/uiRender.js +73 -43
  40. package/dist/esm/src/text/uiRender.js.map +1 -1
  41. package/dist/types/src/barcodes/constants.d.ts +0 -1
  42. package/dist/types/src/constants.d.ts +2 -0
  43. package/dist/types/src/text/constants.d.ts +1 -1
  44. package/dist/types/src/text/helper.d.ts +4 -3
  45. package/package.json +1 -1
  46. package/src/barcodes/constants.ts +0 -2
  47. package/src/barcodes/propPanel.ts +24 -3
  48. package/src/constants.ts +2 -0
  49. package/src/image/propPanel.ts +1 -1
  50. package/src/text/constants.ts +1 -1
  51. package/src/text/helper.ts +11 -7
  52. package/src/text/pdfRender.ts +31 -13
  53. package/src/text/propPanel.ts +23 -3
  54. package/src/text/uiRender.ts +83 -46
  55. package/dist/cjs/src/image/constants.js +0 -5
  56. package/dist/cjs/src/image/constants.js.map +0 -1
  57. package/dist/cjs/src/image/helper.js +0 -3
  58. package/dist/cjs/src/image/helper.js.map +0 -1
  59. package/dist/esm/src/image/constants.js +0 -2
  60. package/dist/esm/src/image/constants.js.map +0 -1
  61. package/dist/esm/src/image/helper.js +0 -2
  62. package/dist/esm/src/image/helper.js.map +0 -1
  63. package/dist/types/src/image/constants.d.ts +0 -1
  64. package/dist/types/src/image/helper.d.ts +0 -1
  65. package/src/image/constants.ts +0 -1
  66. package/src/image/helper.ts +0 -1
@@ -106,29 +106,33 @@ describe('getSplittedLines test with real font width calculations', () => {
106
106
  characterSpacing: 1,
107
107
  boxWidthInPt: 40,
108
108
  };
109
- it('should not split a line when the text is shorter than the width', () => {
110
- (0, helper_1.getFontKitFont)(getTextSchema(), font).then((fontKitFont) => {
109
+ it('should not split a line when the text is shorter than the width', async () => {
110
+ const _cache = new Map();
111
+ await (0, helper_1.getFontKitFont)(getTextSchema(), font, _cache).then((fontKitFont) => {
111
112
  const fontWidthCalcs = Object.assign({}, baseCalcValues, { font: fontKitFont });
112
113
  const result = (0, helper_1.getSplittedLines)('short', fontWidthCalcs);
113
114
  expect(result).toEqual(['short']);
114
115
  });
115
116
  });
116
- it('should split a line when the text is longer than the width', () => {
117
- (0, helper_1.getFontKitFont)(getTextSchema(), font).then((fontKitFont) => {
117
+ it('should split a line when the text is longer than the width', async () => {
118
+ const _cache = new Map();
119
+ await (0, helper_1.getFontKitFont)(getTextSchema(), font, _cache).then((fontKitFont) => {
118
120
  const fontWidthCalcs = Object.assign({}, baseCalcValues, { font: fontKitFont });
119
121
  const result = (0, helper_1.getSplittedLines)('this will wrap', fontWidthCalcs);
120
122
  expect(result).toEqual(['this', 'will', 'wrap']);
121
123
  });
122
124
  });
123
- it('should split a line in the middle when unspaced text will not fit on a line', () => {
124
- (0, helper_1.getFontKitFont)(getTextSchema(), font).then((fontKitFont) => {
125
+ it('should split a line in the middle when unspaced text will not fit on a line', async () => {
126
+ const _cache = new Map();
127
+ await (0, helper_1.getFontKitFont)(getTextSchema(), font, _cache).then((fontKitFont) => {
125
128
  const fontWidthCalcs = Object.assign({}, baseCalcValues, { font: fontKitFont });
126
129
  const result = (0, helper_1.getSplittedLines)('thiswillbecut', fontWidthCalcs);
127
130
  expect(result).toEqual(['thiswi', 'llbecu', 't']);
128
131
  });
129
132
  });
130
- it('should not split text when it is impossible due to size constraints', () => {
131
- (0, helper_1.getFontKitFont)(getTextSchema(), font).then((fontKitFont) => {
133
+ it('should not split text when it is impossible due to size constraints', async () => {
134
+ const _cache = new Map();
135
+ await (0, helper_1.getFontKitFont)(getTextSchema(), font, _cache).then((fontKitFont) => {
132
136
  const fontWidthCalcs = Object.assign({}, baseCalcValues, { font: fontKitFont });
133
137
  fontWidthCalcs.boxWidthInPt = 2;
134
138
  const result = (0, helper_1.getSplittedLines)('thiswillnotbecut', fontWidthCalcs);
@@ -138,29 +142,30 @@ describe('getSplittedLines test with real font width calculations', () => {
138
142
  });
139
143
  describe('calculateDynamicFontSize with Default font', () => {
140
144
  const font = (0, common_1.getDefaultFont)();
145
+ const _cache = new Map();
141
146
  it('should return default font size when dynamicFontSizeSetting is not provided', async () => {
142
147
  const textSchema = getTextSchema();
143
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value: 'test' });
148
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value: 'test', _cache });
144
149
  expect(result).toBe(14);
145
150
  });
146
151
  it('should return default font size when dynamicFontSizeSetting max is less than min', async () => {
147
152
  const textSchema = getTextSchema();
148
153
  textSchema.dynamicFontSize = { min: 11, max: 10, fit: 'vertical' };
149
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value: 'test' });
154
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value: 'test', _cache });
150
155
  expect(result).toBe(14);
151
156
  });
152
157
  it('should calculate a dynamic font size of vertical fit between min and max', async () => {
153
158
  const textSchema = getTextSchema();
154
159
  textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
155
160
  const value = 'test with a length string\n and a new line';
156
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
161
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
157
162
  expect(result).toBe(19.25);
158
163
  });
159
164
  it('should calculate a dynamic font size of horizontal fit between min and max', async () => {
160
165
  const textSchema = getTextSchema();
161
166
  textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'horizontal' };
162
167
  const value = 'test with a length string\n and a new line';
163
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
168
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
164
169
  expect(result).toBe(11.25);
165
170
  });
166
171
  it('should calculate a dynamic font size between min and max regardless of current font size', async () => {
@@ -168,10 +173,10 @@ describe('calculateDynamicFontSize with Default font', () => {
168
173
  textSchema.fontSize = 2;
169
174
  textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
170
175
  const value = 'test with a length string\n and a new line';
171
- let result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
176
+ let result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
172
177
  expect(result).toBe(19.25);
173
178
  textSchema.fontSize = 40;
174
- result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
179
+ result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
175
180
  expect(result).toBe(19.25);
176
181
  });
177
182
  it('should return min font size when content is too big to fit given constraints', async () => {
@@ -179,7 +184,7 @@ describe('calculateDynamicFontSize with Default font', () => {
179
184
  textSchema.width = 10;
180
185
  textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
181
186
  const value = 'test with a length string\n and a new line';
182
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
187
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
183
188
  expect(result).toBe(10);
184
189
  });
185
190
  it('should return max font size when content is too small to fit given constraints', async () => {
@@ -188,7 +193,7 @@ describe('calculateDynamicFontSize with Default font', () => {
188
193
  textSchema.height = 200;
189
194
  textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
190
195
  const value = 'test with a length string\n and a new line';
191
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
196
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
192
197
  expect(result).toBe(30);
193
198
  });
194
199
  it('should not reduce font size below 0', async () => {
@@ -197,7 +202,7 @@ describe('calculateDynamicFontSize with Default font', () => {
197
202
  textSchema.width = 4;
198
203
  textSchema.height = 1;
199
204
  const value = 'a very \nlong \nmulti-line \nstring\nto';
200
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
205
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
201
206
  expect(result).toBeGreaterThan(0);
202
207
  });
203
208
  it('should calculate a dynamic font size when a starting font size is passed that is lower than the eventual', async () => {
@@ -205,7 +210,13 @@ describe('calculateDynamicFontSize with Default font', () => {
205
210
  textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
206
211
  const value = 'test with a length string\n and a new line';
207
212
  const startingFontSize = 18;
208
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, startingFontSize });
213
+ const result = await (0, helper_1.calculateDynamicFontSize)({
214
+ textSchema,
215
+ font,
216
+ value,
217
+ startingFontSize,
218
+ _cache,
219
+ });
209
220
  expect(result).toBe(19.25);
210
221
  });
211
222
  it('should calculate a dynamic font size when a starting font size is passed that is higher than the eventual', async () => {
@@ -213,14 +224,20 @@ describe('calculateDynamicFontSize with Default font', () => {
213
224
  textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'horizontal' };
214
225
  const value = 'test with a length string\n and a new line';
215
226
  const startingFontSize = 36;
216
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, startingFontSize });
227
+ const result = await (0, helper_1.calculateDynamicFontSize)({
228
+ textSchema,
229
+ font,
230
+ value,
231
+ startingFontSize,
232
+ _cache,
233
+ });
217
234
  expect(result).toBe(11.25);
218
235
  });
219
236
  it('should calculate a dynamic font size using vertical fit as a default if no fit provided', async () => {
220
237
  const textSchema = getTextSchema();
221
238
  textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
222
239
  const value = 'test with a length string\n and a new line';
223
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
240
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
224
241
  expect(result).toBe(19.25);
225
242
  });
226
243
  });
@@ -228,37 +245,42 @@ describe('calculateDynamicFontSize with Custom font', () => {
228
245
  const font = getSampleFont();
229
246
  it('should return smaller font size when dynamicFontSizeSetting is provided with horizontal fit', async () => {
230
247
  const textSchema = getTextSchema();
248
+ const _cache = new Map();
231
249
  textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'horizontal' };
232
250
  const value = 'あいうあいうあい';
233
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
251
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
234
252
  expect(result).toBe(16.75);
235
253
  });
236
254
  it('should return smaller font size when dynamicFontSizeSetting is provided with vertical fit', async () => {
237
255
  const textSchema = getTextSchema();
256
+ const _cache = new Map();
238
257
  textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
239
258
  const value = 'あいうあいうあい';
240
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
259
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
241
260
  expect(result).toBe(26);
242
261
  });
243
262
  it('should return min font size when content is too big to fit given constraints', async () => {
244
263
  const textSchema = getTextSchema();
264
+ const _cache = new Map();
245
265
  textSchema.dynamicFontSize = { min: 20, max: 30, fit: 'vertical' };
246
266
  const value = 'あいうあいうあいうあいうあいうあいうあいうあいうあいう';
247
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
267
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
248
268
  expect(result).toBe(20);
249
269
  });
250
270
  it('should return max font size when content is too small to fit given constraints', async () => {
251
271
  const textSchema = getTextSchema();
272
+ const _cache = new Map();
252
273
  textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
253
274
  const value = 'あ';
254
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
275
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
255
276
  expect(result).toBe(30);
256
277
  });
257
278
  it('should return min font size when content is multi-line with too many lines for the container', async () => {
258
279
  const textSchema = getTextSchema();
280
+ const _cache = new Map();
259
281
  textSchema.dynamicFontSize = { min: 5, max: 20, fit: 'vertical' };
260
282
  const value = 'あ\nいう\nあ\nいう\nあ\nいう\nあ\nいう\nあ\nいう\nあ\nいう';
261
- const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value });
283
+ const result = await (0, helper_1.calculateDynamicFontSize)({ textSchema, font, value, _cache });
262
284
  expect(result).toBe(5);
263
285
  });
264
286
  });
@@ -1 +1 @@
1
- {"version":3,"file":"text.test.js","sourceRoot":"","sources":["../../../__tests__/text.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAkC;AAClC,2CAA6B;AAE7B,0CAAqD;AACrD,+CAM2B;AAG3B,MAAM,QAAQ,GAAG,IAAA,iBAAY,EAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,kCAAkC,CAAC,CAAC,CAAC;AACxF,MAAM,SAAS,GAAG,IAAA,iBAAY,EAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,mCAAmC,CAAC,CAAC,CAAC;AAE1F,MAAM,aAAa,GAAG,GAAS,EAAE,CAAC,CAAC;IAC/B,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE;IAClD,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;CACvC,CAAC,CAAC;AAEH,MAAM,aAAa,GAAG,GAAG,EAAE;IACvB,MAAM,UAAU,GAAe;QAC3B,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;QACxB,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,SAAS,EAAE,MAAM;QACjB,iBAAiB,EAAE,KAAK;QACxB,SAAS,EAAE,SAAS;QACpB,eAAe,EAAE,SAAS;QAC1B,UAAU,EAAE,CAAC;QACb,gBAAgB,EAAE,CAAC;QACnB,QAAQ,EAAE,EAAE;KACf,CAAC;IACF,OAAO,UAAU,CAAC;AACtB,CAAC,CAAC;AAEF,QAAQ,CAAC,2DAA2D,EAAE,GAAG,E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 -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_OPACITY = exports.DEFAULT_BARCODE_COLOR = exports.DEFAULT_BARCODE_BG_COLOR = exports.BARCODE_TYPES = void 0;
3
+ exports.DEFAULT_BARCODE_COLOR = exports.DEFAULT_BARCODE_BG_COLOR = exports.BARCODE_TYPES = void 0;
4
4
  exports.BARCODE_TYPES = [
5
5
  'qrcode',
6
6
  'japanpost',
@@ -16,5 +16,4 @@ exports.BARCODE_TYPES = [
16
16
  ];
17
17
  exports.DEFAULT_BARCODE_BG_COLOR = '#ffffff';
18
18
  exports.DEFAULT_BARCODE_COLOR = '#000000';
19
- exports.DEFAULT_OPACITY = 1;
20
19
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/barcodes/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,QAAQ;IACR,WAAW;IACX,OAAO;IACP,MAAM;IACN,QAAQ;IACR,SAAS;IACT,KAAK;IACL,OAAO;IACP,MAAM;IACN,MAAM;IACN,eAAe;CACP,CAAC;AAEE,QAAA,wBAAwB,GAAG,SAAS,CAAC;AAErC,QAAA,qBAAqB,GAAG,SAAS,CAAC;AAElC,QAAA,eAAe,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/barcodes/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,QAAQ;IACR,WAAW;IACX,OAAO;IACP,MAAM;IACN,QAAQ;IACR,SAAS;IACT,KAAK;IACL,OAAO;IACP,MAAM;IACN,MAAM;IACN,eAAe;CACP,CAAC;AAEE,QAAA,wBAAwB,GAAG,SAAS,CAAC;AAErC,QAAA,qBAAqB,GAAG,SAAS,CAAC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getPropPanelByBarcodeType = void 0;
4
4
  const constants_js_1 = require("./constants.js");
5
+ const constants_js_2 = require("../constants.js");
5
6
  const defaultColors = {
6
7
  backgroundColor: constants_js_1.DEFAULT_BARCODE_BG_COLOR,
7
8
  barColor: constants_js_1.DEFAULT_BARCODE_COLOR,
@@ -19,7 +20,7 @@ const barcodeDefaults = [
19
20
  width: 30,
20
21
  height: 30,
21
22
  rotate: 0,
22
- opacity: constants_js_1.DEFAULT_OPACITY,
23
+ opacity: constants_js_2.DEFAULT_OPACITY,
23
24
  },
24
25
  },
25
26
  {
@@ -32,7 +33,7 @@ const barcodeDefaults = [
32
33
  width: 80,
33
34
  height: 7.2,
34
35
  rotate: 0,
35
- opacity: constants_js_1.DEFAULT_OPACITY,
36
+ opacity: constants_js_2.DEFAULT_OPACITY,
36
37
  },
37
38
  },
38
39
  {
@@ -45,7 +46,7 @@ const barcodeDefaults = [
45
46
  ...default40x20,
46
47
  height: 16,
47
48
  rotate: 0,
48
- opacity: constants_js_1.DEFAULT_OPACITY,
49
+ opacity: constants_js_2.DEFAULT_OPACITY,
49
50
  },
50
51
  },
51
52
  {
@@ -57,7 +58,7 @@ const barcodeDefaults = [
57
58
  ...defaultTextColors,
58
59
  ...default40x20,
59
60
  rotate: 0,
60
- opacity: constants_js_1.DEFAULT_OPACITY,
61
+ opacity: constants_js_2.DEFAULT_OPACITY,
61
62
  },
62
63
  },
63
64
  {
@@ -68,7 +69,7 @@ const barcodeDefaults = [
68
69
  ...defaultColors,
69
70
  ...defaultTextColors,
70
71
  ...default40x20,
71
- opacity: constants_js_1.DEFAULT_OPACITY,
72
+ opacity: constants_js_2.DEFAULT_OPACITY,
72
73
  },
73
74
  },
74
75
  {
@@ -80,7 +81,7 @@ const barcodeDefaults = [
80
81
  ...defaultTextColors,
81
82
  ...default40x20,
82
83
  rotate: 0,
83
- opacity: constants_js_1.DEFAULT_OPACITY,
84
+ opacity: constants_js_2.DEFAULT_OPACITY,
84
85
  },
85
86
  },
86
87
  {
@@ -92,7 +93,7 @@ const barcodeDefaults = [
92
93
  ...defaultTextColors,
93
94
  ...default40x20,
94
95
  rotate: 0,
95
- opacity: constants_js_1.DEFAULT_OPACITY,
96
+ opacity: constants_js_2.DEFAULT_OPACITY,
96
97
  },
97
98
  },
98
99
  {
@@ -105,7 +106,7 @@ const barcodeDefaults = [
105
106
  ...default40x20,
106
107
  height: 12,
107
108
  rotate: 0,
108
- opacity: constants_js_1.DEFAULT_OPACITY,
109
+ opacity: constants_js_2.DEFAULT_OPACITY,
109
110
  },
110
111
  },
111
112
  {
@@ -118,7 +119,7 @@ const barcodeDefaults = [
118
119
  ...default40x20,
119
120
  height: 16,
120
121
  rotate: 0,
121
- opacity: constants_js_1.DEFAULT_OPACITY,
122
+ opacity: constants_js_2.DEFAULT_OPACITY,
122
123
  },
123
124
  },
124
125
  {
@@ -130,7 +131,7 @@ const barcodeDefaults = [
130
131
  ...defaultTextColors,
131
132
  ...default40x20,
132
133
  rotate: 0,
133
- opacity: constants_js_1.DEFAULT_OPACITY,
134
+ opacity: constants_js_2.DEFAULT_OPACITY,
134
135
  },
135
136
  },
136
137
  {
@@ -142,7 +143,7 @@ const barcodeDefaults = [
142
143
  width: 30,
143
144
  height: 30,
144
145
  rotate: 0,
145
- opacity: constants_js_1.DEFAULT_OPACITY,
146
+ opacity: constants_js_2.DEFAULT_OPACITY,
146
147
  },
147
148
  },
148
149
  ];
@@ -154,8 +155,28 @@ const getPropPanelByBarcodeType = (barcodeType) => {
154
155
  return {
155
156
  schema: ({ i18n }) => {
156
157
  return {
157
- barColor: { title: i18n('schemas.barcodes.barColor'), type: 'string', widget: 'color' },
158
- backgroundColor: { title: i18n('schemas.bgColor'), type: 'string', widget: 'color' },
158
+ barColor: {
159
+ title: i18n('schemas.barcodes.barColor'),
160
+ type: 'string',
161
+ widget: 'color',
162
+ rules: [
163
+ {
164
+ pattern: constants_js_2.HEX_COLOR_PATTERN,
165
+ message: 'Please enter a valid hex color code.',
166
+ },
167
+ ],
168
+ },
169
+ backgroundColor: {
170
+ title: i18n('schemas.bgColor'),
171
+ type: 'string',
172
+ widget: 'color',
173
+ rules: [
174
+ {
175
+ pattern: constants_js_2.HEX_COLOR_PATTERN,
176
+ message: 'Please enter a valid hex color code.',
177
+ },
178
+ ],
179
+ },
159
180
  ...(barcodeHasText
160
181
  ? { textColor: { title: i18n('schemas.textColor'), type: 'string', widget: 'color' } }
161
182
  : {}),
@@ -1 +1 @@
1
- {"version":3,"file":"propPanel.js","sourceRoot":"","sources":["../../../../src/barcodes/propPanel.ts"],"names":[],"mappings":";;;AAEA,iDAAkG;AAElG,MAAM,aAAa,GAAG;IACpB,eAAe,EAAE,uCAAwB;IACzC,QAAQ,EAAE,oCAAqB;CAChC,CAAC;AACF,MAAM,iBAAiB,GAAG,EAAE,SAAS,EAAE,oCAAqB,EAAE,CAAC;AAC/D,MAAM,QAAQ,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;AAChC,MAAM,YAAY,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;AAE/C,MAAM,eAAe,GAA6D;IAChF;QACE,YAAY,EAAE,oBAAoB;QAClC,aAAa,EAAE;YACb,IAAI,EAAE,QAAQ;YACd,QAAQ;YACR,GAAG,aAAa;YAChB,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,EAAE;YACV,MAAM,EAAE,CAAC;YACT,OAAO,EAAE,8BAAe;SACzB;KACF;IACD;QACE,YAAY,EAAE,kBAAkB;QAChC,aAAa,EAAE;YACb,IAAI,EAAE,WAAW;YACjB,QAAQ;YACR,GAAG,aAAa;YAChB,GAAG,iBAAiB;YACpB,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,GAAG;YACX,MAAM,EAAE,CAAC;YACT,OAAO,EAAE,8BAAe;SACzB;KACF;IACD;QACE,YAAY,EAAE,eAAe;QAC7B,aAAa,EAAE;YACb,IAAI,EAAE,OAAO;YACb,Q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,IAAI,EAAE,QAAQ;oBACd,MAAM,EAAE,OAAO;oBACf,KAAK,EAAE;wBACL;4BACE,OAAO,EAAE,gCAAiB;4BAC1B,OAAO,EAAE,sCAAsC;yBAChD;qBACF;iBACF;gBACD,GAAG,CAAC,cAAc;oBAChB,CAAC,CAAC,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,mBAAmB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;oBACtF,CAAC,CAAC,EAAE,CAAC;aACR,CAAC;QACJ,CAAC;QACD,GAAG,QAAQ;KACZ,CAAC;AACJ,CAAC,CAAC;AAvCW,QAAA,yBAAyB,6BAuCpC"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HEX_COLOR_PATTERN = exports.DEFAULT_OPACITY = void 0;
4
+ exports.DEFAULT_OPACITY = 1;
5
+ exports.HEX_COLOR_PATTERN = '^#(?:[A-Fa-f0-9]{3,4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$';
6
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG,CAAC,CAAC;AACpB,QAAA,iBAAiB,GAAG,uDAAuD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.propPanel = void 0;
4
- const constants_1 = require("../image/constants");
4
+ const constants_js_1 = require("../constants.js");
5
5
  exports.propPanel = {
6
6
  schema: {},
7
7
  defaultValue: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAALuAQMAAADL0wGJAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAGUExURbzAw+rv8fKruy0AAAPoSURBVHja7dwxbtwwEEBRCkKwRQodYft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hgfNH3DavSwGXf7YjT76uqCEQ/P37p9z7uKVmwspd17S7hul3PXK6fbsmnvWhO6GZlMnn3ri8gXN5GzHnX0B35ydj91814CHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHl+d/A9cKjmiL040TAAAAAElFTkSuQmCC',
@@ -13,7 +13,7 @@ exports.propPanel = {
13
13
  // If the value of "rotate" is set to undefined or not set at all, rotation will be disabled in the UI.
14
14
  // Check this document: https://pdfme.com//docs/custom-schemas#learning-how-to-create-from-pdfmeschemas-code
15
15
  rotate: 0,
16
- opacity: constants_1.DEFAULT_OPACITY,
16
+ opacity: constants_js_1.DEFAULT_OPACITY,
17
17
  },
18
18
  };
19
19
  //# sourceMappingURL=propPanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"propPanel.js","sourceRoot":"","sources":["../../../../src/image/propPanel.ts"],"names":[],"mappings":";;;AAEA,kDAAqD;AAExC,QAAA,SAAS,GAA2B;IAC/C,MAAM,EAAE,EAAE;IACV,YAAY,EACV,w9CAAw9C;IAC19C,aAAa,EAAE;QACb,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;QACxB,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,uGAAuG;QACvG,4GAA4G;QAC5G,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,2BAAe;KACzB;CACF,CAAC"}
1
+ {"version":3,"file":"propPanel.js","sourceRoot":"","sources":["../../../../src/image/propPanel.ts"],"names":[],"mappings":";;;AAEA,kDAAkD;AAErC,QAAA,SAAS,GAA2B;IAC/C,MAAM,EAAE,EAAE;IACV,YAAY,EACV,w9CAAw9C;IAC19C,aAAa,EAAE;QACb,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;QACxB,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,uGAAuG;QACvG,4GAA4G;QAC5G,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,8BAAe;KACzB;CACF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_OPACITY = exports.FONT_SIZE_ADJUSTMENT = exports.DEFAULT_DYNAMIC_MAX_FONT_SIZE = exports.DEFAULT_DYNAMIC_MIN_FONT_SIZE = exports.DEFAULT_DYNAMIC_FIT = exports.DYNAMIC_FIT_HORIZONTAL = exports.DYNAMIC_FIT_VERTICAL = exports.DEFAULT_FONT_COLOR = exports.DEFAULT_CHARACTER_SPACING = exports.DEFAULT_LINE_HEIGHT = exports.DEFAULT_VERTICAL_ALIGNMENT = exports.VERTICAL_ALIGN_BOTTOM = exports.VERTICAL_ALIGN_MIDDLE = exports.VERTICAL_ALIGN_TOP = exports.DEFAULT_ALIGNMENT = exports.ALIGN_RIGHT = exports.ALIGN_CENTER = exports.ALIGN_LEFT = exports.DEFAULT_FONT_SIZE = void 0;
3
+ exports.FONT_SIZE_ADJUSTMENT = exports.DEFAULT_DYNAMIC_MAX_FONT_SIZE = exports.DEFAULT_DYNAMIC_MIN_FONT_SIZE = exports.DEFAULT_DYNAMIC_FIT = exports.DYNAMIC_FIT_HORIZONTAL = exports.DYNAMIC_FIT_VERTICAL = exports.PLACEHOLDER_FONT_COLOR = exports.DEFAULT_FONT_COLOR = exports.DEFAULT_CHARACTER_SPACING = exports.DEFAULT_LINE_HEIGHT = exports.DEFAULT_VERTICAL_ALIGNMENT = exports.VERTICAL_ALIGN_BOTTOM = exports.VERTICAL_ALIGN_MIDDLE = exports.VERTICAL_ALIGN_TOP = exports.DEFAULT_ALIGNMENT = exports.ALIGN_RIGHT = exports.ALIGN_CENTER = exports.ALIGN_LEFT = exports.DEFAULT_FONT_SIZE = void 0;
4
4
  exports.DEFAULT_FONT_SIZE = 13;
5
5
  exports.ALIGN_LEFT = 'left';
6
6
  exports.ALIGN_CENTER = 'center';
@@ -13,11 +13,11 @@ exports.DEFAULT_VERTICAL_ALIGNMENT = exports.VERTICAL_ALIGN_TOP;
13
13
  exports.DEFAULT_LINE_HEIGHT = 1;
14
14
  exports.DEFAULT_CHARACTER_SPACING = 0;
15
15
  exports.DEFAULT_FONT_COLOR = '#000000';
16
+ exports.PLACEHOLDER_FONT_COLOR = '#A0A0A0';
16
17
  exports.DYNAMIC_FIT_VERTICAL = 'vertical';
17
18
  exports.DYNAMIC_FIT_HORIZONTAL = 'horizontal';
18
19
  exports.DEFAULT_DYNAMIC_FIT = exports.DYNAMIC_FIT_VERTICAL;
19
20
  exports.DEFAULT_DYNAMIC_MIN_FONT_SIZE = 4;
20
21
  exports.DEFAULT_DYNAMIC_MAX_FONT_SIZE = 72;
21
22
  exports.FONT_SIZE_ADJUSTMENT = 0.25;
22
- exports.DEFAULT_OPACITY = 1;
23
23
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/text/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAG,EAAE,CAAC;AAEvB,QAAA,UAAU,GAAG,MAAmB,CAAC;AACjC,QAAA,YAAY,GAAG,QAAqB,CAAC;AACrC,QAAA,WAAW,GAAG,OAAoB,CAAC;AACnC,QAAA,iBAAiB,GAAG,kBAAU,CAAC;AAC/B,QAAA,kBAAkB,GAAG,KAA2B,CAAC;AACjD,QAAA,qBAAqB,GAAG,QAA8B,CAAC;AACvD,QAAA,qBAAqB,GAAG,QAA8B,CAAC;AACvD,QAAA,0BAA0B,GAAG,0BAAkB,CAAC;AAChD,QAAA,mBAAmB,GAAG,CAAC,CAAC;AACxB,QAAA,yBAAyB,GAAG,CAAC,CAAC;AAC9B,QAAA,kBAAkB,GAAG,SAAS,CAAC;AAC/B,QAAA,oBAAoB,GAAG,UAAmC,CAAC;AAC3D,QAAA,sBAAsB,GAAG,YAAqC,CAAC;AAC/D,QAAA,mBAAmB,GAAG,4BAAoB,CAAC;AAC3C,QAAA,6BAA6B,GAAG,CAAC,CAAC;AAElC,QAAA,6BAA6B,GAAG,EAAE,CAAC;AACnC,QAAA,oBAAoB,GAAG,IAAI,CAAC;AAC5B,QAAA,eAAe,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/text/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAG,EAAE,CAAC;AAEvB,QAAA,UAAU,GAAG,MAAmB,CAAC;AACjC,QAAA,YAAY,GAAG,QAAqB,CAAC;AACrC,QAAA,WAAW,GAAG,OAAoB,CAAC;AACnC,QAAA,iBAAiB,GAAG,kBAAU,CAAC;AAC/B,QAAA,kBAAkB,GAAG,KAA2B,CAAC;AACjD,QAAA,qBAAqB,GAAG,QAA8B,CAAC;AACvD,QAAA,qBAAqB,GAAG,QAA8B,CAAC;AACvD,QAAA,0BAA0B,GAAG,0BAAkB,CAAC;AAChD,QAAA,mBAAmB,GAAG,CAAC,CAAC;AACxB,QAAA,yBAAyB,GAAG,CAAC,CAAC;AAC9B,QAAA,kBAAkB,GAAG,SAAS,CAAC;AAC/B,QAAA,sBAAsB,GAAG,SAAS,CAAC;AACnC,QAAA,oBAAoB,GAAG,UAAmC,CAAC;AAC3D,QAAA,sBAAsB,GAAG,YAAqC,CAAC;AAC/D,QAAA,mBAAmB,GAAG,4BAAoB,CAAC;AAC3C,QAAA,6BAA6B,GAAG,CAAC,CAAC;AAElC,QAAA,6BAA6B,GAAG,EAAE,CAAC;AACnC,QAAA,oBAAoB,GAAG,IAAI,CAAC"}
@@ -88,11 +88,12 @@ const getFallbackFont = (font) => {
88
88
  const fallbackFontName = (0, common_1.getFallbackFontName)(font);
89
89
  return font[fallbackFontName];
90
90
  };
91
- const fontKitFontCache = {};
92
- const getFontKitFont = async (textSchema, font) => {
91
+ const getCacheKey = (fontName) => `getFontKitFont-${fontName}`;
92
+ const getFontKitFont = async (textSchema, font, _cache) => {
93
93
  const fontName = textSchema.fontName || (0, common_1.getFallbackFontName)(font);
94
- if (fontKitFontCache[fontName]) {
95
- return fontKitFontCache[fontName];
94
+ const cacheKey = getCacheKey(fontName);
95
+ if (_cache.has(cacheKey)) {
96
+ return _cache.get(cacheKey);
96
97
  }
97
98
  const currentFont = font[fontName] || getFallbackFont(font) || (0, common_1.getDefaultFont)()[common_1.DEFAULT_FONT_NAME];
98
99
  let fontData = currentFont.data;
@@ -102,7 +103,7 @@ const getFontKitFont = async (textSchema, font) => {
102
103
  : (0, common_1.b64toUint8Array)(fontData);
103
104
  }
104
105
  const fontKitFont = fontkit.create(fontData instanceof buffer_1.Buffer ? fontData : buffer_1.Buffer.from(fontData));
105
- fontKitFontCache[fontName] = fontKitFont;
106
+ _cache.set(cacheKey, fontKitFont);
106
107
  return fontKitFont;
107
108
  };
108
109
  exports.getFontKitFont = getFontKitFont;
@@ -165,7 +166,7 @@ exports.getSplittedLines = getSplittedLines;
165
166
  * Calculating space usage involves splitting lines where they exceed
166
167
  * the box width based on the proposed size.
167
168
  */
168
- const calculateDynamicFontSize = async ({ textSchema, font, value, startingFontSize, }) => {
169
+ const calculateDynamicFontSize = async ({ textSchema, font, value, startingFontSize, _cache, }) => {
169
170
  const { fontSize: schemaFontSize, dynamicFontSize: dynamicFontSizeSetting, characterSpacing: schemaCharacterSpacing, width: boxWidth, height: boxHeight, lineHeight = constants_js_1.DEFAULT_LINE_HEIGHT, } = textSchema;
170
171
  const fontSize = startingFontSize || schemaFontSize || constants_js_1.DEFAULT_FONT_SIZE;
171
172
  if (!dynamicFontSizeSetting)
@@ -173,7 +174,7 @@ const calculateDynamicFontSize = async ({ textSchema, font, value, startingFontS
173
174
  if (dynamicFontSizeSetting.max < dynamicFontSizeSetting.min)
174
175
  return fontSize;
175
176
  const characterSpacing = schemaCharacterSpacing ?? constants_js_1.DEFAULT_CHARACTER_SPACING;
176
- const fontKitFont = await (0, exports.getFontKitFont)(textSchema, font);
177
+ const fontKitFont = await (0, exports.getFontKitFont)(textSchema, font, _cache);
177
178
  const paragraphs = value.split('\n');
178
179
  let dynamicFontSize = fontSize;
179
180
  if (dynamicFontSize < dynamicFontSizeSetting.min) {
@@ -1 +1 @@
1
- {"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../../src/text/helper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAmC;AAEnC,0CAUuB;AACvB,mCAAgC;AAEhC,iDASwB;AAEjB,MAAM,iCAAiC,GAAG,CAC/C,WAAwB,EACxB,QAAgB,EAChB,UAAkB,EAClB,iBAAyB,EACzB,EAAE;IACF,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,WAAW,CAAC;IAEpD,8FAA8F;IAC9F,MAAM,kBAAkB,GAAG,CAAC,MAAM,GAAG,OAAO,CAAC,GAAG,UAAU,CAAC;IAE3D,6BAA6B;IAC7B,6FAA6F;IAC7F,wDAAwD;IACxD,+FAA+F;IAC/F,qFAAqF;IACrF,MAAM,aAAa,GAAG,CAAC,kBAAkB,GAAG,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;IAErE,IAAI,iBAAiB,KAAK,iCAAkB,EAAE;QAC5C,OAAO,EAAE,MAAM,EAAE,IAAA,cAAK,EAAC,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;KACvD;IAED,2CAA2C;IAC3C,6FAA6F;IAC7F,wFAAwF;IACxF,oCAAoC;IACpC,8FAA8F;IAC9F,gFAAgF;IAChF,2FAA2F;IAC3F,4FAA4F;IAC5F,+DAA+D;IAC/D,2FAA2F;IAC3F,IAAI,gBAAgB,GAAG,CAAC,CAAC;IACzB,IAAI,UAAU,GAAG,kBAAkB,EAAE;QACnC,gBAAgB,GAAG,CAAC,CA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