@pdfme/schemas 5.3.4-dev.2 → 5.3.4

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 (43) hide show
  1. package/dist/cjs/__tests__/text.test.js +0 -82
  2. package/dist/cjs/__tests__/text.test.js.map +1 -1
  3. package/dist/cjs/src/tables/propPanel.js +1 -1
  4. package/dist/cjs/src/text/constants.js +1 -75
  5. package/dist/cjs/src/text/constants.js.map +1 -1
  6. package/dist/cjs/src/text/extraFormatter.js +1 -2
  7. package/dist/cjs/src/text/extraFormatter.js.map +1 -1
  8. package/dist/cjs/src/text/helper.js +5 -182
  9. package/dist/cjs/src/text/helper.js.map +1 -1
  10. package/dist/cjs/src/text/icons/index.js +1 -2
  11. package/dist/cjs/src/text/icons/index.js.map +1 -1
  12. package/dist/cjs/src/text/pdfRender.js +3 -17
  13. package/dist/cjs/src/text/pdfRender.js.map +1 -1
  14. package/dist/cjs/src/text/propPanel.js +3 -3
  15. package/dist/esm/__tests__/text.test.js +1 -83
  16. package/dist/esm/__tests__/text.test.js.map +1 -1
  17. package/dist/esm/src/tables/propPanel.js +1 -1
  18. package/dist/esm/src/text/constants.js +0 -74
  19. package/dist/esm/src/text/constants.js.map +1 -1
  20. package/dist/esm/src/text/extraFormatter.js +3 -4
  21. package/dist/esm/src/text/extraFormatter.js.map +1 -1
  22. package/dist/esm/src/text/helper.js +5 -180
  23. package/dist/esm/src/text/helper.js.map +1 -1
  24. package/dist/esm/src/text/icons/index.js +1 -2
  25. package/dist/esm/src/text/icons/index.js.map +1 -1
  26. package/dist/esm/src/text/pdfRender.js +3 -17
  27. package/dist/esm/src/text/pdfRender.js.map +1 -1
  28. package/dist/esm/src/text/propPanel.js +3 -3
  29. package/dist/types/src/tables/types.d.ts +1 -1
  30. package/dist/types/src/text/constants.d.ts +0 -3
  31. package/dist/types/src/text/helper.d.ts +0 -2
  32. package/dist/types/src/text/icons/index.d.ts +0 -1
  33. package/dist/types/src/text/types.d.ts +1 -1
  34. package/package.json +1 -1
  35. package/src/tables/propPanel.ts +1 -1
  36. package/src/tables/types.ts +1 -1
  37. package/src/text/constants.ts +0 -81
  38. package/src/text/extraFormatter.ts +1 -4
  39. package/src/text/helper.ts +6 -181
  40. package/src/text/icons/index.ts +0 -3
  41. package/src/text/pdfRender.ts +6 -21
  42. package/src/text/propPanel.ts +3 -3
  43. package/src/text/types.ts +1 -1
@@ -27,7 +27,6 @@ const fs_1 = require("fs");
27
27
  const path = __importStar(require("path"));
28
28
  const common_1 = require("@pdfme/common");
29
29
  const helper_1 = require("../src/text/helper");
30
- const constants_1 = require("../src/text/constants");
31
30
  const sansData = (0, fs_1.readFileSync)(path.join(__dirname, `/assets/fonts/SauceHanSansJP.ttf`));
32
31
  const serifData = (0, fs_1.readFileSync)(path.join(__dirname, `/assets/fonts/SauceHanSerifJP.ttf`));
33
32
  const getSampleFont = () => ({
@@ -325,85 +324,4 @@ describe('getBrowserVerticalFontAdjustments test', () => {
325
324
  });
326
325
  });
327
326
  });
328
- describe('filterStartJP', () => {
329
- test('空の配列を渡すと空の配列を返す', () => {
330
- expect((0, helper_1.filterStartJP)([])).toEqual([]);
331
- });
332
- test('禁則文字を含まない行はそのまま返す', () => {
333
- const input = ['これは', '普通の', '文章です。'];
334
- expect((0, helper_1.filterStartJP)(input)).toEqual(input);
335
- });
336
- test('行頭の禁則文字を前の行の末尾に移動する', () => {
337
- const input = ['これは', '。文章', 'です'];
338
- const expected = ['これは。', '文章', 'です'];
339
- expect((0, helper_1.filterStartJP)(input)).toEqual(expected);
340
- });
341
- test('複数の禁則文字を正しく処理する', () => {
342
- const input = ['これは', '。とても', '、長い', '」文章', 'です'];
343
- const expected = ['これは。', 'とても、', '長い」', '文章', 'です'];
344
- expect((0, helper_1.filterStartJP)(input)).toEqual(expected);
345
- });
346
- test('空の行を保持する', () => {
347
- const input = ['これは', '', '。文章', 'です'];
348
- const expected = ['これは。', '', '文章', 'です'];
349
- expect((0, helper_1.filterStartJP)(input)).toEqual(expected);
350
- });
351
- test('1文字の行(禁則文字のみ)はそのまま保持する', () => {
352
- const input = ['これは', '。', '文章', 'です'];
353
- // const expected = ['これは。', '文章', 'です'];
354
- const expected = ['これは', '。', '文章', 'です'];
355
- expect((0, helper_1.filterStartJP)(input)).toEqual(expected);
356
- });
357
- test('すべての禁則文字を正しく処理する', () => {
358
- const input = constants_1.LINE_START_FORBIDDEN_CHARS.map((char) => ['この', char + '文字']).flat();
359
- const expected = constants_1.LINE_START_FORBIDDEN_CHARS.map((char) => [
360
- 'この' + char,
361
- '文字',
362
- ]).flat();
363
- expect((0, helper_1.filterStartJP)(input)).toEqual(expected);
364
- });
365
- });
366
- describe('filterEndJP', () => {
367
- test('空の配列を渡すと空の配列を返す', () => {
368
- expect((0, helper_1.filterEndJP)([])).toEqual([]);
369
- });
370
- test('禁則文字を含まない行はそのまま返す', () => {
371
- const input = ['これは', '普通の', '文章です。'];
372
- expect((0, helper_1.filterEndJP)(input)).toEqual(input);
373
- });
374
- test('行末の禁則文字を次の行の先頭に移動する', () => {
375
- const input = ['これは「', '文章', 'です。'];
376
- const expected = ['これは', '「文章', 'です。'];
377
- expect((0, helper_1.filterEndJP)(input)).toEqual(expected);
378
- });
379
- test('複数の禁則文字を正しく処理する', () => {
380
- const input = ['これは「', '長い『', '文章(', 'です。'];
381
- const expected = ['これは', '「長い', '『文章', '(です。'];
382
- expect((0, helper_1.filterEndJP)(input)).toEqual(expected);
383
- });
384
- // Cant understand purpose of this test...
385
- // test('空の行を保持する', () => {
386
- // const input = ['これは「', '', '文章', 'です。'];
387
- // const expected = ['これは', '「', '', '文章', 'です。'];
388
- // expect(filterEndJP(input)).toEqual(expected);
389
- // });
390
- test('1文字の行(禁則文字のみ)はそのまま保持する', () => {
391
- const input = ['これは', '「', '文章', 'です。'];
392
- const expected = ['これは', '「', '文章', 'です。'];
393
- expect((0, helper_1.filterEndJP)(input)).toEqual(expected);
394
- });
395
- test('すべての禁則文字を正しく処理する', () => {
396
- const input = constants_1.LINE_END_FORBIDDEN_CHARS.map((char) => ['これは' + char, '文章']).flat();
397
- const expected = constants_1.LINE_END_FORBIDDEN_CHARS.map((char) => [
398
- 'これは',
399
- char + '文章',
400
- ]).flat();
401
- expect((0, helper_1.filterEndJP)(input)).toEqual(expected);
402
- });
403
- test('最後の行の禁則文字は移動しない', () => {
404
- const input = ['これは「', '文章「', 'です「'];
405
- const expected = ['これは', '「文章', '「です「'];
406
- expect((0, helper_1.filterEndJP)(input)).toEqual(expected);
407
- });
408
- });
409
327
  //# sourceMappingURL=text.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.test.js","sourceRoot":"","sources":["../../../__tests__/text.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAkC;AAClC,2CAA6B;AAE7B,0CAAqD;AACrD,+CAQ4B;AAC5B,qDAA6F;AAI7F,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;IACjC,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE;IAClD,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;CACrC,CAAC,CAAC;AAEH,MAAM,aAAa,GAAG,GAAG,EAAE;IACzB,MAAM,UAAU,GAAe;QAC7B,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;QACxB,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,SAAS,EAAE,MAAM;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C,CAAC,CAAC;IAEH,IAAI,CAAC,iFAAiF,EAAE,GAAG,EAAE;QAC3F,MAAM,CAAC,IAAA,0CAAiC,EAAC,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC;YAC1E,MAAM,EAAE,CAAC;YACT,SAAS,EAAE,CAAC;SACb,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,iFAAiF,EAAE,GAAG,EAAE;QAC3F,MAAM,QAAQ,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAiB,CAAC;QAChF,MAAM,CAAC,IAAA,0CAAiC,EAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC;YAC7E,MAAM,EAAE,CAAC;YACT,SAAS,EAAE,CAAC;SACb,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -39,7 +39,7 @@ exports.propPanel = {
39
39
  type: 'string',
40
40
  widget: 'color',
41
41
  props: {
42
- disabledAlpha: true,
42
+ disabledAlpha: true
43
43
  },
44
44
  rules: [{ pattern: constants_js_1.HEX_COLOR_PATTERN, message: i18n('validation.hexColor') }],
45
45
  },
@@ -1,11 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LINE_END_FORBIDDEN_CHARS = exports.LINE_START_FORBIDDEN_CHARS = 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_JUSTIFY = 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';
7
7
  exports.ALIGN_RIGHT = 'right';
8
- exports.ALIGN_JUSTIFY = 'justify';
9
8
  exports.DEFAULT_ALIGNMENT = exports.ALIGN_LEFT;
10
9
  exports.VERTICAL_ALIGN_TOP = 'top';
11
10
  exports.VERTICAL_ALIGN_MIDDLE = 'middle';
@@ -21,77 +20,4 @@ exports.DEFAULT_DYNAMIC_FIT = exports.DYNAMIC_FIT_VERTICAL;
21
20
  exports.DEFAULT_DYNAMIC_MIN_FONT_SIZE = 4;
22
21
  exports.DEFAULT_DYNAMIC_MAX_FONT_SIZE = 72;
23
22
  exports.FONT_SIZE_ADJUSTMENT = 0.25;
24
- exports.LINE_START_FORBIDDEN_CHARS = [
25
- // 句読点
26
- '、',
27
- '。',
28
- ',',
29
- '.',
30
- // 閉じカッコ類
31
- '」',
32
- '』',
33
- ')',
34
- '}',
35
- '】',
36
- '>',
37
- '≫',
38
- ']',
39
- // 記号
40
- '・',
41
- 'ー',
42
- '―',
43
- '-',
44
- // 約物
45
- '!',
46
- '!',
47
- '?',
48
- '?',
49
- ':',
50
- ':',
51
- ';',
52
- ';',
53
- '/',
54
- '/',
55
- // 繰り返し記号
56
- 'ゝ',
57
- '々',
58
- '〃',
59
- // 拗音・促音(小書きのかな)
60
- 'ぁ',
61
- 'ぃ',
62
- 'ぅ',
63
- 'ぇ',
64
- 'ぉ',
65
- 'っ',
66
- 'ゃ',
67
- 'ゅ',
68
- 'ょ',
69
- 'ァ',
70
- 'ィ',
71
- 'ゥ',
72
- 'ェ',
73
- 'ォ',
74
- 'ッ',
75
- 'ャ',
76
- 'ュ',
77
- 'ョ',
78
- ];
79
- exports.LINE_END_FORBIDDEN_CHARS = [
80
- // 始め括弧類
81
- '「',
82
- '『',
83
- '(',
84
- '{',
85
- '【',
86
- '<',
87
- '≪',
88
- '[',
89
- '〘',
90
- '〖',
91
- '〝',
92
- '‘',
93
- '“',
94
- '⦅',
95
- '«',
96
- ];
97
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,aAAa,GAAG,SAAsB,CAAC;AACvC,QAAA,iBAAiB,GAAG,kBAAU,CAAC;AAC/B,QAAA,kBAAkB,GAAG,KAA2B,CAAC;AACjD,QAAA,qBAAqB,GAAG,QAA8B,CAAC;AACvD,Q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ACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;CACJ,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"}
@@ -17,7 +17,6 @@ function getExtraFormatterSchema(i18n) {
17
17
  { key: Formatter.ALIGNMENT, icon: icons_1.TextAlignLeftIcon, type: 'select', value: constants_1.DEFAULT_ALIGNMENT },
18
18
  { key: Formatter.ALIGNMENT, icon: icons_1.TextAlignCenterIcon, type: 'select', value: constants_1.ALIGN_CENTER },
19
19
  { key: Formatter.ALIGNMENT, icon: icons_1.TextAlignRightIcon, type: 'select', value: constants_1.ALIGN_RIGHT },
20
- { key: Formatter.ALIGNMENT, icon: icons_1.TextAlignJustifyIcon, type: 'select', value: constants_1.ALIGN_JUSTIFY },
21
20
  {
22
21
  key: Formatter.VERTICAL_ALIGNMENT,
23
22
  icon: icons_1.TextVerticalAlignTopIcon,
@@ -41,7 +40,7 @@ function getExtraFormatterSchema(i18n) {
41
40
  title: i18n('schemas.text.format'),
42
41
  widget: 'ButtonGroup',
43
42
  buttons,
44
- span: 24,
43
+ span: 17,
45
44
  };
46
45
  }
47
46
  exports.getExtraFormatterSchema = getExtraFormatterSchema;
@@ -1 +1 @@
1
- {"version":3,"file":"extraFormatter.js","sourceRoot":"","sources":["../../../../src/text/extraFormatter.ts"],"names":[],"mappings":";;;AACA,mCAUiB;AACjB,2CAQqB;AAErB,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4CAA+B,CAAA;IAC/B,oCAAuB,CAAA;IACvB,oCAAuB,CAAA;IACvB,qDAAwC,CAAA;AAC1C,CAAC,EALW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAKpB;AAiBD,SAAgB,uBAAuB,CAAC,IAA0C;IAMhF,MAAM,OAAO,GAAkB;QAC7B,EAAE,GAAG,EAAE,SAAS,CAAC,aAAa,EAAE,IAAI,EAAE,6BAAqB,EAAE,IAAI,EAAE,SAAS,EAAE;QAC9E,EAAE,GAAG,EAAE,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,yBAAiB,EAAE,IAAI,EAAE,SAAS,EAAE;QACtE,EAAE,GAAG,EAAE,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,yBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,6BAAiB,EAAE;QAC/F,EAAE,GAAG,EAAE,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,2BAAmB,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,wBAAY,EAAE;QAC5F,EAAE,GAAG,EAAE,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,0BAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,uBA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E,EAAE,GAAG,EAAE,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,yBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,6BAAiB,EAAE;QAC/F,EAAE,GAAG,EAAE,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,2BAAmB,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,wBAAY,EAAE;QAC5F,EAAE,GAAG,EAAE,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,0BAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,uBAAW,EAAE;QAC1F;YACE,GAAG,EAAE,SAAS,CAAC,kBAAkB;YACjC,IAAI,EAAE,gCAAwB;YAC9B,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,sCAA0B;SAClC;QACD;YACE,GAAG,EAAE,SAAS,CAAC,kBAAkB;YACjC,IAAI,EAAE,mCAA2B;YACjC,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,iCAAqB;SAC7B;QACD;YACE,GAAG,EAAE,SAAS,CAAC,kBAAkB;YACjC,IAAI,EAAE,mCAA2B;YACjC,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,iCAAqB;SAC7B;KACF,CAAC;IACF,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClC,MAAM,EAAE,aAAa;QACrB,OAAO;QACP,IAAI,EAAE,EAAE;KACT,CAAC;AACJ,CAAC;AArCD,0DAqCC"}
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.filterEndJP = exports.filterStartJP = exports.isFirefox = exports.splitTextToSize = exports.calculateDynamicFontSize = exports.getSplittedLines = exports.getFontKitFont = exports.widthOfTextAtSize = exports.heightOfFontAtSize = exports.getFontDescentInPt = exports.getBrowserVerticalFontAdjustments = void 0;
26
+ exports.isFirefox = exports.splitTextToSize = exports.calculateDynamicFontSize = exports.getSplittedLines = exports.getFontKitFont = exports.widthOfTextAtSize = exports.heightOfFontAtSize = exports.getFontDescentInPt = exports.getBrowserVerticalFontAdjustments = void 0;
27
27
  const fontkit = __importStar(require("fontkit"));
28
28
  const common_1 = require("@pdfme/common");
29
29
  const buffer_1 = require("buffer");
@@ -133,7 +133,7 @@ const getOverPosition = (textLine, calcValues) => {
133
133
  * However, this might need to be revisited for broader language support.
134
134
  */
135
135
  const isLineBreakableChar = (char) => {
136
- const lineBreakableChars = [' ', '-', '\u2014', '\u2013'];
136
+ const lineBreakableChars = [' ', '-', "\u2014", "\u2013"];
137
137
  return lineBreakableChars.includes(char);
138
138
  };
139
139
  /**
@@ -209,7 +209,7 @@ const calculateDynamicFontSize = ({ textSchema, fontKitFont, value, startingFont
209
209
  const firstLineHeightInMm = (0, common_1.pt2mm)(firstLineTextHeight * lineHeight);
210
210
  const otherRowHeightInMm = (0, common_1.pt2mm)(size * lineHeight);
211
211
  paragraphs.forEach((paragraph, paraIndex) => {
212
- const lines = getSplittedLinesBySegmenter(paragraph, {
212
+ const lines = (0, exports.getSplittedLines)(paragraph, {
213
213
  font: fontKitFont,
214
214
  fontSize: size,
215
215
  characterSpacing,
@@ -218,7 +218,7 @@ const calculateDynamicFontSize = ({ textSchema, fontKitFont, value, startingFont
218
218
  lines.forEach((line, lineIndex) => {
219
219
  if (dynamicFontFit === constants_js_1.DYNAMIC_FIT_VERTICAL) {
220
220
  // For vertical fit we want to consider the width of text lines where we detect a split
221
- const textWidth = (0, exports.widthOfTextAtSize)(line.replace('\n', ''), fontKitFont, size, characterSpacing);
221
+ const textWidth = (0, exports.widthOfTextAtSize)(line, fontKitFont, size, characterSpacing);
222
222
  const textWidthInMm = (0, common_1.pt2mm)(textWidth);
223
223
  totalWidthInMm = Math.max(totalWidthInMm, textWidthInMm);
224
224
  }
@@ -285,188 +285,11 @@ const splitTextToSize = (arg) => {
285
285
  };
286
286
  let lines = [];
287
287
  value.split(/\r\n|\r|\n|\f|\u000B/g).forEach((line) => {
288
- lines = lines.concat(getSplittedLinesBySegmenter(line, fontWidthCalcValues));
288
+ lines = lines.concat((0, exports.getSplittedLines)(line, fontWidthCalcValues));
289
289
  });
290
290
  return lines;
291
291
  };
292
292
  exports.splitTextToSize = splitTextToSize;
293
293
  const isFirefox = () => navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
294
294
  exports.isFirefox = isFirefox;
295
- const getSplittedLinesBySegmenter = (line, calcValues) => {
296
- // nothing to process but need to keep this for new lines.
297
- if (line.trim() === '') {
298
- return [''];
299
- }
300
- const { font, fontSize, characterSpacing, boxWidthInPt } = calcValues;
301
- const segmenter = new Intl.Segmenter(undefined, { granularity: 'word' });
302
- const iterator = segmenter.segment(line.trimEnd())[Symbol.iterator]();
303
- let lines = [];
304
- let lineCounter = 0;
305
- let currentTextSize = 0;
306
- while (true) {
307
- const chunk = iterator.next();
308
- if (chunk.done)
309
- break;
310
- const segment = chunk.value.segment;
311
- const textWidth = (0, exports.widthOfTextAtSize)(segment, font, fontSize, characterSpacing);
312
- if (currentTextSize + textWidth <= boxWidthInPt) {
313
- // the size of boxWidth is large enough to add the segment
314
- if (lines[lineCounter]) {
315
- lines[lineCounter] += segment;
316
- currentTextSize += textWidth + characterSpacing;
317
- }
318
- else {
319
- lines[lineCounter] = segment;
320
- currentTextSize = textWidth + characterSpacing;
321
- }
322
- }
323
- else if (segment.trim() === '') {
324
- // a segment can be consist of multiple spaces like ' '
325
- // if they overflow the box, treat them as a line break and move to the next line
326
- lines[++lineCounter] = '';
327
- currentTextSize = 0;
328
- }
329
- else if (textWidth <= boxWidthInPt) {
330
- // the segment is small enough to be added to the next line
331
- lines[++lineCounter] = segment;
332
- currentTextSize = textWidth + characterSpacing;
333
- }
334
- else {
335
- // the segment is too large to fit in the boxWidth, we wrap the segment
336
- for (const char of segment) {
337
- const size = (0, exports.widthOfTextAtSize)(char, font, fontSize, characterSpacing);
338
- if (currentTextSize + size <= boxWidthInPt) {
339
- if (lines[lineCounter]) {
340
- lines[lineCounter] += char;
341
- currentTextSize += size + characterSpacing;
342
- }
343
- else {
344
- lines[lineCounter] = char;
345
- currentTextSize = size + characterSpacing;
346
- }
347
- }
348
- else {
349
- lines[++lineCounter] = char;
350
- currentTextSize = size + characterSpacing;
351
- }
352
- }
353
- }
354
- }
355
- if (lines.some(containsJapanese)) {
356
- return adjustEndOfLine((0, exports.filterEndJP)((0, exports.filterStartJP)(lines)));
357
- }
358
- else {
359
- return adjustEndOfLine(lines);
360
- }
361
- };
362
- // add a newline if the line is the end of the paragraph
363
- const adjustEndOfLine = (lines) => {
364
- return lines.map((line, index) => {
365
- if (index === lines.length - 1) {
366
- return line.trimEnd() + '\n';
367
- }
368
- else {
369
- return line.trimEnd();
370
- }
371
- });
372
- };
373
- function containsJapanese(text) {
374
- return /[\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Han}]/u.test(text);
375
- }
376
- //
377
- // 日本語禁則処理
378
- //
379
- // https://www.morisawa.co.jp/blogs/MVP/8760
380
- //
381
- // 行頭禁則
382
- const filterStartJP = (lines) => {
383
- const filtered = [];
384
- let charToAppend = null;
385
- lines
386
- .slice()
387
- .reverse()
388
- .forEach((line) => {
389
- if (line.trim().length === 0) {
390
- filtered.push('');
391
- }
392
- else {
393
- const charAtStart = line.charAt(0);
394
- if (constants_js_1.LINE_START_FORBIDDEN_CHARS.includes(charAtStart)) {
395
- if (line.trim().length === 1) {
396
- filtered.push(line);
397
- charToAppend = null;
398
- }
399
- else {
400
- if (charToAppend) {
401
- filtered.push(line.slice(1) + charToAppend);
402
- }
403
- else {
404
- filtered.push(line.slice(1));
405
- }
406
- charToAppend = charAtStart;
407
- }
408
- }
409
- else {
410
- if (charToAppend) {
411
- filtered.push(line + charToAppend);
412
- charToAppend = null;
413
- }
414
- else {
415
- filtered.push(line);
416
- }
417
- }
418
- }
419
- });
420
- if (charToAppend) {
421
- return [charToAppend + filtered.slice(0, 1)[0], ...filtered.slice(1)].reverse();
422
- }
423
- else {
424
- return filtered.reverse();
425
- }
426
- };
427
- exports.filterStartJP = filterStartJP;
428
- // 行末禁則
429
- const filterEndJP = (lines) => {
430
- const filtered = [];
431
- let charToPrepend = null;
432
- lines.forEach((line) => {
433
- if (line.trim().length === 0) {
434
- filtered.push('');
435
- }
436
- else {
437
- const chartAtEnd = line.slice(-1);
438
- if (constants_js_1.LINE_END_FORBIDDEN_CHARS.includes(chartAtEnd)) {
439
- if (line.trim().length === 1) {
440
- filtered.push(line);
441
- charToPrepend = null;
442
- }
443
- else {
444
- if (charToPrepend) {
445
- filtered.push(charToPrepend + line.slice(0, -1));
446
- }
447
- else {
448
- filtered.push(line.slice(0, -1));
449
- }
450
- charToPrepend = chartAtEnd;
451
- }
452
- }
453
- else {
454
- if (charToPrepend) {
455
- filtered.push(charToPrepend + line);
456
- charToPrepend = null;
457
- }
458
- else {
459
- filtered.push(line);
460
- }
461
- }
462
- }
463
- });
464
- if (charToPrepend) {
465
- return [...filtered.slice(0, -1), filtered.slice(-1)[0] + charToPrepend];
466
- }
467
- else {
468
- return filtered;
469
- }
470
- };
471
- exports.filterEndJP = filterEndJP;
472
295
  //# sourceMappingURL=helper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../../src/text/helper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAmC;AAEnC,0CASuB;AACvB,mCAAgC;AAEhC,iDAWwB;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,qFA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SACP;KACF;IAED,wDAAwD;IACxD,OAAO,qBAAqB,CAAC,cAAc,EAAE,eAAe,CAAC,EAAE;QAC7D,eAAe,IAAI,mCAAoB,CAAC;QACxC,CAAC,EAAE,cAAc,EAAE,eAAe,EAAE,GAAG,oBAAoB,CAAC,eAAe,CAAC,CAAC,CAAC;KAC/E;IAED,OAAO,eAAe,CAAC;AACzB,CAAC,CAAC;AApHW,QAAA,wBAAwB,4BAoHnC;AAEK,MAAM,eAAe,GAAG,CAAC,GAM/B,EAAE,EAAE;IACH,MAAM,EAAE,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,GAAG,CAAC;IAC7E,MAAM,mBAAmB,GAAwB;QAC/C,IAAI,EAAE,WAAW;QACjB,QAAQ;QACR,gBAAgB;QAChB,YAAY;KACb,CAAC;IACF,IAAI,KAAK,GAAa,EAAE,CAAC;IACzB,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC,CAAC,IAAY,EAAE,EAAE;QAC5D,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,IAAA,wBAAgB,EAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC,CAAC;IACpE,CAAC,CAAC,CAAC;IACH,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAnBW,QAAA,eAAe,mBAmB1B;AACK,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AAA5E,QAAA,SAAS,aAAmE"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextVerticalAlignBottomIcon = exports.TextVerticalAlignMiddleIcon = exports.TextVerticalAlignTopIcon = exports.TextAlignJustifyIcon = exports.TextAlignRightIcon = exports.TextAlignCenterIcon = exports.TextAlignLeftIcon = exports.TextUnderlineIcon = exports.TextStrikethroughIcon = void 0;
3
+ exports.TextVerticalAlignBottomIcon = exports.TextVerticalAlignMiddleIcon = exports.TextVerticalAlignTopIcon = exports.TextAlignRightIcon = exports.TextAlignCenterIcon = exports.TextAlignLeftIcon = exports.TextUnderlineIcon = exports.TextStrikethroughIcon = void 0;
4
4
  const lucide_1 = require("lucide");
5
5
  const utils_js_1 = require("../../utils.js");
6
6
  exports.TextStrikethroughIcon = (0, utils_js_1.createSvgStr)(lucide_1.Strikethrough);
@@ -8,7 +8,6 @@ exports.TextUnderlineIcon = (0, utils_js_1.createSvgStr)(lucide_1.Underline);
8
8
  exports.TextAlignLeftIcon = (0, utils_js_1.createSvgStr)(lucide_1.AlignLeft);
9
9
  exports.TextAlignCenterIcon = (0, utils_js_1.createSvgStr)(lucide_1.AlignCenter);
10
10
  exports.TextAlignRightIcon = (0, utils_js_1.createSvgStr)(lucide_1.AlignRight);
11
- exports.TextAlignJustifyIcon = (0, utils_js_1.createSvgStr)(lucide_1.AlignJustify);
12
11
  exports.TextVerticalAlignTopIcon = (0, utils_js_1.createSvgStr)(lucide_1.ArrowUpToLine);
13
12
  // svg icons are material icons from https://www.xicons.org
14
13
  exports.TextVerticalAlignMiddleIcon = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M8 19h3v4h2v-4h3l-4-4l-4 4zm8-14h-3V1h-2v4H8l4 4l4-4zM4 11v2h16v-2H4z" fill="currentColor"></path></svg>`;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/text/icons/index.ts"],"names":[],"mappings":";;;AAAA,mCASgB;AAChB,6CAA8C;AAEjC,QAAA,qBAAqB,GAAG,IAAA,uBAAY,EAAC,sBAAa,CAAC,CAAC;AAEpD,QAAA,iBAAiB,GAAG,IAAA,uBAAY,EAAC,kBAAS,CAAC,CAAC;AAE5C,QAAA,iBAAiB,GAAG,IAAA,uBAAY,EAAC,k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