@hufe921/canvas-editor 0.9.97 → 0.9.99

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 (32) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/canvas-editor.es.js +587 -137
  3. package/dist/canvas-editor.es.js.map +1 -1
  4. package/dist/canvas-editor.umd.js +36 -35
  5. package/dist/canvas-editor.umd.js.map +1 -1
  6. package/dist/src/editor/core/command/Command.d.ts +4 -0
  7. package/dist/src/editor/core/command/CommandAdapt.d.ts +9 -4
  8. package/dist/src/editor/core/draw/Draw.d.ts +3 -0
  9. package/dist/src/editor/core/draw/control/Control.d.ts +3 -1
  10. package/dist/src/editor/core/draw/control/number/NumberControl.d.ts +3 -0
  11. package/dist/src/editor/core/draw/control/select/SelectControl.d.ts +5 -2
  12. package/dist/src/editor/core/draw/frame/Badge.d.ts +14 -0
  13. package/dist/src/editor/core/draw/interactive/Area.d.ts +1 -0
  14. package/dist/src/editor/core/draw/particle/table/TableOperate.d.ts +1 -0
  15. package/dist/src/editor/core/event/CanvasEvent.d.ts +2 -1
  16. package/dist/src/editor/core/event/handlers/copy.d.ts +2 -1
  17. package/dist/src/editor/dataset/constant/Badge.d.ts +2 -0
  18. package/dist/src/editor/dataset/enum/Common.d.ts +4 -0
  19. package/dist/src/editor/dataset/enum/Control.d.ts +4 -1
  20. package/dist/src/editor/index.d.ts +4 -3
  21. package/dist/src/editor/interface/Badge.d.ts +15 -0
  22. package/dist/src/editor/interface/Control.d.ts +14 -1
  23. package/dist/src/editor/interface/Editor.d.ts +2 -0
  24. package/dist/src/editor/interface/Element.d.ts +1 -0
  25. package/dist/src/editor/interface/Event.d.ts +3 -0
  26. package/dist/src/editor/interface/table/Table.d.ts +1 -0
  27. package/dist/src/editor/utils/index.d.ts +1 -0
  28. package/package.json +1 -1
  29. /package/dist/src/editor/core/draw/particle/{PageBreak.d.ts → PageBreakParticle.d.ts} +0 -0
  30. /package/dist/src/editor/core/draw/particle/{Separator.d.ts → SeparatorParticle.d.ts} +0 -0
  31. /package/dist/src/editor/core/draw/particle/{Subscript.d.ts → SubscriptParticle.d.ts} +0 -0
  32. /package/dist/src/editor/core/draw/particle/{Superscript.d.ts → SuperscriptParticle.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,53 @@
1
+ ## [0.9.99](https://github.com/Hufe921/canvas-editor/compare/v0.9.98...v0.9.99) (2024-12-20)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * locate catalog when the context is within the table ([012dc7d](https://github.com/Hufe921/canvas-editor/commit/012dc7debcce4366c8e094cbc2af1a7892227ad2))
7
+ * optimize image caching method #933 ([8516931](https://github.com/Hufe921/canvas-editor/commit/85169313bd8f51feb9f442cb32b774dcbc580e96)), closes [#933](https://github.com/Hufe921/canvas-editor/issues/933)
8
+ * verify control integrity boundary error #920 ([77a2550](https://github.com/Hufe921/canvas-editor/commit/77a25504bc40caaf20390944f286748bdf113e39)), closes [#920](https://github.com/Hufe921/canvas-editor/issues/920)
9
+
10
+
11
+ ### Chores
12
+
13
+ * rename some particles ([b5d18d3](https://github.com/Hufe921/canvas-editor/commit/b5d18d3a59f89a701758af160fc889e49ba1f5c6))
14
+
15
+
16
+ ### Features
17
+
18
+ * add badge option #918 ([190785a](https://github.com/Hufe921/canvas-editor/commit/190785ac69f6187d10abb070eab32a523e394b34)), closes [#918](https://github.com/Hufe921/canvas-editor/issues/918)
19
+ * add control flex direction option #652 ([c599d56](https://github.com/Hufe921/canvas-editor/commit/c599d563b631f29a6bea6fe94624afa05c6879ef)), closes [#652](https://github.com/Hufe921/canvas-editor/issues/652)
20
+ * add number control #925 ([aff4979](https://github.com/Hufe921/canvas-editor/commit/aff49797da3f7e966b9f692269468ccb792af309)), closes [#925](https://github.com/Hufe921/canvas-editor/issues/925)
21
+ * delete control by id or conceptId #905 ([5d434bd](https://github.com/Hufe921/canvas-editor/commit/5d434bd7d3dce31f761a0e1f6c81dfa7a80bb03e)), closes [#905](https://github.com/Hufe921/canvas-editor/issues/905)
22
+ * element id support customization ([c79be3a](https://github.com/Hufe921/canvas-editor/commit/c79be3ab72e9e1cda75e7af2b8b8d50e1ba2085a))
23
+ * optimize cursor focus when dragging elements #926 ([3679cbd](https://github.com/Hufe921/canvas-editor/commit/3679cbd4205427a1337e023c318ea98be3c952f8)), closes [#926](https://github.com/Hufe921/canvas-editor/issues/926)
24
+
25
+
26
+
27
+ ## [0.9.98](https://github.com/Hufe921/canvas-editor/compare/v0.9.97...v0.9.98) (2024-12-01)
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * fix: paste error caused by different line breaks #912 ([e45f4e9](https://github.com/Hufe921/canvas-editor/commit/e45f4e96389a5273a13aebacc5f5577721bb2da1)), closes [#912](https://github.com/Hufe921/canvas-editor/issues/912)
33
+ * control property modification #914 ([a827138](https://github.com/Hufe921/canvas-editor/commit/a827138978bb9953d351d30d994f586738f080fd)), closes [#914](https://github.com/Hufe921/canvas-editor/issues/914)
34
+ * copy elements within the control #901 ([750bf14](https://github.com/Hufe921/canvas-editor/commit/750bf14428c7c7e55ed55f88c0c2b20f31f76e59)), closes [#901](https://github.com/Hufe921/canvas-editor/issues/901)
35
+ * insertControl and insertTitle apis add area context #911 ([b6294b2](https://github.com/Hufe921/canvas-editor/commit/b6294b264a93a25c12acdae2041132ba88c79ba0)), closes [#911](https://github.com/Hufe921/canvas-editor/issues/911)
36
+ * processing area property is empty ([5112451](https://github.com/Hufe921/canvas-editor/commit/5112451f912e814af8439b907eb87ce5df6ee38c))
37
+ * table row height calculation boundary error #909 ([bbb554f](https://github.com/Hufe921/canvas-editor/commit/bbb554feabec664df89fd7d751be4f89c97b5145)), closes [#909](https://github.com/Hufe921/canvas-editor/issues/909)
38
+
39
+
40
+ ### Features
41
+
42
+ * add executePageScale api #906 ([2430bf7](https://github.com/Hufe921/canvas-editor/commit/2430bf70d69ce97c0cc10d5b99d50f58ff1838ed)), closes [#906](https://github.com/Hufe921/canvas-editor/issues/906)
43
+ * add plain text copy option ([34c4401](https://github.com/Hufe921/canvas-editor/commit/34c4401cb0c461cc64e223f0b23fddc679bc88c7))
44
+ * add select control can input option #518 ([1d01576](https://github.com/Hufe921/canvas-editor/commit/1d01576769960fa130f8a16410c74d5a285084ee)), closes [#518](https://github.com/Hufe921/canvas-editor/issues/518)
45
+ * add table border color #897 ([7e8af04](https://github.com/Hufe921/canvas-editor/commit/7e8af04977d8c8038e8af262c0cfde2b46704a03)), closes [#897](https://github.com/Hufe921/canvas-editor/issues/897)
46
+ * add text before and after the control #902 ([5e15ffe](https://github.com/Hufe921/canvas-editor/commit/5e15ffebc6b34394138b4a6c47fc90033bd82819)), closes [#902](https://github.com/Hufe921/canvas-editor/issues/902)
47
+ * the select control support multiple selection #518 ([62ae039](https://github.com/Hufe921/canvas-editor/commit/62ae039d58768ad580696229695ce80af0c1b257)), closes [#518](https://github.com/Hufe921/canvas-editor/issues/518)
48
+
49
+
50
+
1
51
  ## [0.9.97](https://github.com/Hufe921/canvas-editor/compare/v0.9.96...v0.9.97) (2024-11-22)
2
52
 
3
53