@hufe921/canvas-editor 0.9.22 → 0.9.24

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 (30) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/README.md +3 -3
  3. package/dist/canvas-editor.es.js +600 -166
  4. package/dist/canvas-editor.es.js.map +1 -1
  5. package/dist/canvas-editor.umd.js +19 -19
  6. package/dist/canvas-editor.umd.js.map +1 -1
  7. package/dist/src/editor/core/command/Command.d.ts +5 -1
  8. package/dist/src/editor/core/command/CommandAdapt.d.ts +3 -0
  9. package/dist/src/editor/core/draw/Draw.d.ts +19 -6
  10. package/dist/src/editor/core/draw/frame/Header.d.ts +18 -1
  11. package/dist/src/editor/core/event/CanvasEvent.d.ts +1 -1
  12. package/dist/src/editor/core/event/handlers/click.d.ts +1 -1
  13. package/dist/src/editor/core/position/Position.d.ts +8 -4
  14. package/dist/src/editor/core/range/RangeManager.d.ts +2 -0
  15. package/dist/src/editor/core/zone/Zone.d.ts +15 -0
  16. package/dist/src/editor/dataset/constant/Header.d.ts +2 -0
  17. package/dist/src/editor/dataset/constant/PageNumber.d.ts +2 -0
  18. package/dist/src/editor/dataset/enum/Editor.d.ts +5 -0
  19. package/dist/src/editor/dataset/enum/Header.d.ts +5 -0
  20. package/dist/src/editor/dataset/enum/VerticalAlign.d.ts +5 -0
  21. package/dist/src/editor/index.d.ts +6 -5
  22. package/dist/src/editor/interface/Draw.d.ts +10 -1
  23. package/dist/src/editor/interface/Editor.d.ts +11 -5
  24. package/dist/src/editor/interface/Header.d.ts +3 -4
  25. package/dist/src/editor/interface/Listener.d.ts +1 -0
  26. package/dist/src/editor/interface/PageNumber.d.ts +8 -0
  27. package/dist/src/editor/interface/Position.d.ts +2 -0
  28. package/dist/src/editor/interface/Range.d.ts +2 -0
  29. package/dist/src/editor/interface/table/Td.d.ts +2 -0
  30. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,74 @@
1
+ ## [0.9.24](https://github.com/Hufe921/canvas-editor/compare/v0.9.23...v0.9.24) (2023-03-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * table cell auto height #150 ([e68c0be](https://github.com/Hufe921/canvas-editor/commit/e68c0bebc380f9dd9e870677eac888a7b04c56cb)), closes [#150](https://github.com/Hufe921/canvas-editor/issues/150)
7
+ * cannot copy table element when it in the first position ([73457cb](https://github.com/Hufe921/canvas-editor/commit/73457cb2e8cc693138e4785c382ae4c025d8fedd))
8
+ * compute only the main body word count ([4306d44](https://github.com/Hufe921/canvas-editor/commit/4306d44ed62a0233fdb0fe9b3c3f7d00423ba4da))
9
+ * some IME position error #155 ([b6dfcb5](https://github.com/Hufe921/canvas-editor/commit/b6dfcb5f08f42790395059963b16a57d20367978)), closes [#155](https://github.com/Hufe921/canvas-editor/issues/155)
10
+
11
+
12
+ ### Documentation
13
+
14
+ * table cell vertical align ([47918db](https://github.com/Hufe921/canvas-editor/commit/47918db3bbcf78d4af60e43e7ed1183c5525a758))
15
+ * page number options ([c753a9d](https://github.com/Hufe921/canvas-editor/commit/c753a9d00dd3a5bda0b75df7e6237448bd16f21f))
16
+ * font size setting api ([690aa1b](https://github.com/Hufe921/canvas-editor/commit/690aa1b96d185ca7d80b9af884d23a39dac9a2bf))
17
+ * next features road map ([0e8c5fd](https://github.com/Hufe921/canvas-editor/commit/0e8c5fd388a81fabe28a66cf1239348930ae5346))
18
+
19
+
20
+ ### Features
21
+
22
+ * table cell vertical align contextmenu i18n ([32643a5](https://github.com/Hufe921/canvas-editor/commit/32643a5573660e66fd7084fa33ae599521457ced))
23
+ * table cell vertical align ([665e201](https://github.com/Hufe921/canvas-editor/commit/665e2018aaae38aacd6ec9d32980fba245f12ddd))
24
+ * page number set row flex ([0a9f44e](https://github.com/Hufe921/canvas-editor/commit/0a9f44eed8fd72ff3318a34222ff91d4f140de9b))
25
+ * add fontSize settings API ([d951532](https://github.com/Hufe921/canvas-editor/commit/d95153299880ef7139d3a2d64d7d3dc16fbef615))
26
+ * fontSize setting Example ([3f218f6](https://github.com/Hufe921/canvas-editor/commit/3f218f698bd361ae73eac9043f31585c97058963))
27
+
28
+
29
+ ### Performance Improvements
30
+
31
+ * font size setting api ([84e2fc9](https://github.com/Hufe921/canvas-editor/commit/84e2fc95699adf81fd361ff7a76b900abfd2b164))
32
+
33
+
34
+ ### Tests
35
+
36
+ * font size setting ([89012b7](https://github.com/Hufe921/canvas-editor/commit/89012b7183327f3a5e6497ad96741e6f5badc699))
37
+
38
+
39
+
40
+ ## [0.9.23](https://github.com/Hufe921/canvas-editor/compare/v0.9.22...v0.9.23) (2023-03-19)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * set editor zone method ([9de29ed](https://github.com/Hufe921/canvas-editor/commit/9de29ed934ffb9556e473911fdb715524f1d2fad))
46
+ * table cursor position in page header ([85a2bbe](https://github.com/Hufe921/canvas-editor/commit/85a2bbea60867d4314b571586785ad03dfd716da))
47
+
48
+
49
+ ### Documentation
50
+
51
+ * next features road map ([debc6c1](https://github.com/Hufe921/canvas-editor/commit/debc6c128383a45791763b230d6802b6219d6d8d))
52
+ * add page header ([6d47ce0](https://github.com/Hufe921/canvas-editor/commit/6d47ce0a67144a891a3cb16850bfc25396ba3b55))
53
+
54
+
55
+ ### Features
56
+
57
+ * add header indicator ([86707ca](https://github.com/Hufe921/canvas-editor/commit/86707cad47381e8f807aece3ffc76e34f8cffa24))
58
+ * zoom page header ([c0fee3e](https://github.com/Hufe921/canvas-editor/commit/c0fee3ea143412928650aa44f4954fe8209ab264))
59
+ * export page header type ([23b6cd2](https://github.com/Hufe921/canvas-editor/commit/23b6cd28ad80bf8dc4ecf5968e53909681307c6d))
60
+ * paging cursor position ([7b4b33b](https://github.com/Hufe921/canvas-editor/commit/7b4b33b5c5d4b1c27224f7ee25d78f4ba3fe9619))
61
+ * page header boundary value ([ed79d25](https://github.com/Hufe921/canvas-editor/commit/ed79d2587ca2932e0c6e1229c72ac24d71d953fc))
62
+ * edit page header ([6082ab2](https://github.com/Hufe921/canvas-editor/commit/6082ab26d110d5c90e2742ee51688cdf3e4a41fa))
63
+ * render header element ([da2dfd3](https://github.com/Hufe921/canvas-editor/commit/da2dfd3a16d8e87689ea92aae9907cb4f9e21d50))
64
+
65
+
66
+ ### Tests
67
+
68
+ * update get editor value ([436d1de](https://github.com/Hufe921/canvas-editor/commit/436d1de2845599e5767833648ffc836647d7e292))
69
+
70
+
71
+
1
72
  ## [0.9.22](https://github.com/Hufe921/canvas-editor/compare/v0.9.21...v0.9.22) (2023-03-15)
2
73
 
3
74
 
package/README.md CHANGED
@@ -28,14 +28,14 @@ new Editor(document.querySelector(".canvas-editor"), [
28
28
 
29
29
  ## next features
30
30
 
31
- 1. improve performance
32
- 2. page header and footer
31
+ 1. line beginning punctuation
32
+ 2. improve performance
33
33
  3. control rules
34
34
  4. table paging
35
35
 
36
36
  ## snapshot
37
37
 
38
- ![image](https://github.com/Hufe921/canvas-editor/blob/main/src/assets/snapshots/main_v0.9.8.png)
38
+ ![image](https://github.com/Hufe921/canvas-editor/blob/main/src/assets/snapshots/main_v0.9.23.png)
39
39
 
40
40
  ## install
41
41