@plait/core 0.24.0-next.0 → 0.24.0-next.10

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 (133) hide show
  1. package/board/board.component.d.ts +1 -1
  2. package/board/board.component.interface.d.ts +3 -1
  3. package/constants/selection.d.ts +2 -0
  4. package/core/children/children.component.d.ts +1 -1
  5. package/core/element/element.component.d.ts +1 -1
  6. package/core/element/plugin-element.d.ts +1 -1
  7. package/core/island/island-base.component.d.ts +4 -2
  8. package/esm2022/board/board.component.interface.mjs +2 -0
  9. package/esm2022/board/board.component.mjs +405 -0
  10. package/esm2022/constants/selection.mjs +4 -0
  11. package/{esm2020 → esm2022}/core/children/children.component.mjs +6 -6
  12. package/{esm2020 → esm2022}/core/element/element.component.mjs +4 -4
  13. package/{esm2020 → esm2022}/core/element/plugin-element.mjs +4 -4
  14. package/esm2022/core/island/island-base.component.mjs +72 -0
  15. package/{esm2020 → esm2022}/interfaces/board.mjs +1 -1
  16. package/esm2022/interfaces/rectangle-client.mjs +65 -0
  17. package/{esm2020 → esm2022}/plait.module.mjs +5 -5
  18. package/esm2022/plugins/create-board.mjs +106 -0
  19. package/esm2022/plugins/with-hotkey.mjs +62 -0
  20. package/esm2022/plugins/with-moving.mjs +116 -0
  21. package/esm2022/plugins/with-selection.mjs +193 -0
  22. package/{esm2020 → esm2022}/services/image-context.service.mjs +4 -4
  23. package/esm2022/transforms/element.mjs +22 -0
  24. package/esm2022/transforms/index.mjs +13 -0
  25. package/esm2022/transforms/selection.mjs +26 -0
  26. package/esm2022/utils/dom/common.mjs +76 -0
  27. package/esm2022/utils/dom/foreign.mjs +25 -0
  28. package/esm2022/utils/draw/line.mjs +47 -0
  29. package/esm2022/utils/draw/rectangle.mjs +34 -0
  30. package/esm2022/utils/element.mjs +71 -0
  31. package/esm2022/utils/math.mjs +176 -0
  32. package/esm2022/utils/reaction-manager.mjs +185 -0
  33. package/esm2022/utils/touch.mjs +35 -0
  34. package/esm2022/utils/weak-maps.mjs +21 -0
  35. package/{fesm2020 → fesm2022}/plait-core.mjs +2430 -1945
  36. package/fesm2022/plait-core.mjs.map +1 -0
  37. package/interfaces/board.d.ts +2 -1
  38. package/interfaces/rectangle-client.d.ts +8 -0
  39. package/package.json +14 -14
  40. package/plugins/with-selection.d.ts +5 -1
  41. package/styles/styles.scss +1 -1
  42. package/transforms/element.d.ts +6 -0
  43. package/transforms/index.d.ts +1 -0
  44. package/transforms/selection.d.ts +2 -2
  45. package/utils/dom/common.d.ts +6 -0
  46. package/utils/dom/foreign.d.ts +2 -1
  47. package/utils/draw/line.d.ts +1 -1
  48. package/utils/draw/rectangle.d.ts +3 -0
  49. package/utils/element.d.ts +5 -0
  50. package/utils/math.d.ts +9 -0
  51. package/utils/reaction-manager.d.ts +25 -0
  52. package/utils/touch.d.ts +14 -1
  53. package/utils/weak-maps.d.ts +4 -2
  54. package/esm2020/board/board.component.interface.mjs +0 -2
  55. package/esm2020/board/board.component.mjs +0 -411
  56. package/esm2020/constants/selection.mjs +0 -2
  57. package/esm2020/core/island/island-base.component.mjs +0 -69
  58. package/esm2020/interfaces/rectangle-client.mjs +0 -40
  59. package/esm2020/plugins/create-board.mjs +0 -101
  60. package/esm2020/plugins/with-hotkey.mjs +0 -57
  61. package/esm2020/plugins/with-moving.mjs +0 -97
  62. package/esm2020/plugins/with-selection.mjs +0 -183
  63. package/esm2020/transforms/index.mjs +0 -12
  64. package/esm2020/transforms/selection.mjs +0 -16
  65. package/esm2020/utils/dom/common.mjs +0 -53
  66. package/esm2020/utils/dom/foreign.mjs +0 -19
  67. package/esm2020/utils/draw/line.mjs +0 -43
  68. package/esm2020/utils/draw/rectangle.mjs +0 -26
  69. package/esm2020/utils/element.mjs +0 -44
  70. package/esm2020/utils/math.mjs +0 -48
  71. package/esm2020/utils/touch.mjs +0 -8
  72. package/esm2020/utils/weak-maps.mjs +0 -22
  73. package/fesm2015/plait-core.mjs +0 -3458
  74. package/fesm2015/plait-core.mjs.map +0 -1
  75. package/fesm2020/plait-core.mjs.map +0 -1
  76. /package/{esm2020 → esm2022}/constants/index.mjs +0 -0
  77. /package/{esm2020 → esm2022}/constants/keycodes.mjs +0 -0
  78. /package/{esm2020 → esm2022}/constants/resize.mjs +0 -0
  79. /package/{esm2020 → esm2022}/core/children/effect.mjs +0 -0
  80. /package/{esm2020 → esm2022}/core/element/context-change.mjs +0 -0
  81. /package/{esm2020 → esm2022}/core/element/context.mjs +0 -0
  82. /package/{esm2020 → esm2022}/interfaces/custom-types.mjs +0 -0
  83. /package/{esm2020 → esm2022}/interfaces/element.mjs +0 -0
  84. /package/{esm2020 → esm2022}/interfaces/history.mjs +0 -0
  85. /package/{esm2020 → esm2022}/interfaces/index.mjs +0 -0
  86. /package/{esm2020 → esm2022}/interfaces/node.mjs +0 -0
  87. /package/{esm2020 → esm2022}/interfaces/operation.mjs +0 -0
  88. /package/{esm2020 → esm2022}/interfaces/path-ref.mjs +0 -0
  89. /package/{esm2020 → esm2022}/interfaces/path.mjs +0 -0
  90. /package/{esm2020 → esm2022}/interfaces/plugin-key.mjs +0 -0
  91. /package/{esm2020 → esm2022}/interfaces/plugin.mjs +0 -0
  92. /package/{esm2020 → esm2022}/interfaces/point.mjs +0 -0
  93. /package/{esm2020 → esm2022}/interfaces/pointer.mjs +0 -0
  94. /package/{esm2020 → esm2022}/interfaces/selection.mjs +0 -0
  95. /package/{esm2020 → esm2022}/interfaces/theme.mjs +0 -0
  96. /package/{esm2020 → esm2022}/interfaces/viewport.mjs +0 -0
  97. /package/{esm2020 → esm2022}/plait-core.mjs +0 -0
  98. /package/{esm2020 → esm2022}/plugins/with-board.mjs +0 -0
  99. /package/{esm2020 → esm2022}/plugins/with-hand.mjs +0 -0
  100. /package/{esm2020 → esm2022}/plugins/with-history.mjs +0 -0
  101. /package/{esm2020 → esm2022}/plugins/with-options.mjs +0 -0
  102. /package/{esm2020 → esm2022}/plugins/with-viewport.mjs +0 -0
  103. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  104. /package/{esm2020 → esm2022}/testing/core/create-board.mjs +0 -0
  105. /package/{esm2020 → esm2022}/testing/core/fake-weak-map.mjs +0 -0
  106. /package/{esm2020 → esm2022}/testing/core/index.mjs +0 -0
  107. /package/{esm2020 → esm2022}/testing/fake-events/event-objects.mjs +0 -0
  108. /package/{esm2020 → esm2022}/testing/fake-events/index.mjs +0 -0
  109. /package/{esm2020 → esm2022}/testing/index.mjs +0 -0
  110. /package/{esm2020 → esm2022}/testing/test-element.mjs +0 -0
  111. /package/{esm2020 → esm2022}/transforms/board.mjs +0 -0
  112. /package/{esm2020 → esm2022}/transforms/general.mjs +0 -0
  113. /package/{esm2020 → esm2022}/transforms/node.mjs +0 -0
  114. /package/{esm2020 → esm2022}/transforms/theme.mjs +0 -0
  115. /package/{esm2020 → esm2022}/transforms/viewport.mjs +0 -0
  116. /package/{esm2020 → esm2022}/utils/board.mjs +0 -0
  117. /package/{esm2020 → esm2022}/utils/clipboard.mjs +0 -0
  118. /package/{esm2020 → esm2022}/utils/common.mjs +0 -0
  119. /package/{esm2020 → esm2022}/utils/dom/environment.mjs +0 -0
  120. /package/{esm2020 → esm2022}/utils/dom/index.mjs +0 -0
  121. /package/{esm2020 → esm2022}/utils/draw/arrow.mjs +0 -0
  122. /package/{esm2020 → esm2022}/utils/draw/circle.mjs +0 -0
  123. /package/{esm2020 → esm2022}/utils/environment.mjs +0 -0
  124. /package/{esm2020 → esm2022}/utils/helper.mjs +0 -0
  125. /package/{esm2020 → esm2022}/utils/history.mjs +0 -0
  126. /package/{esm2020 → esm2022}/utils/hotkeys.mjs +0 -0
  127. /package/{esm2020 → esm2022}/utils/id-creator.mjs +0 -0
  128. /package/{esm2020 → esm2022}/utils/index.mjs +0 -0
  129. /package/{esm2020 → esm2022}/utils/moving-element.mjs +0 -0
  130. /package/{esm2020 → esm2022}/utils/selected-element.mjs +0 -0
  131. /package/{esm2020 → esm2022}/utils/to-image.mjs +0 -0
  132. /package/{esm2020 → esm2022}/utils/tree.mjs +0 -0
  133. /package/{esm2020 → esm2022}/utils/viewport.mjs +0 -0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes