@_unit/unit 1.0.7 → 1.0.8

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 (57) hide show
  1. package/build/web.js +1201 -0
  2. package/package.json +1 -1
  3. package/public/_worker.js +294 -103
  4. package/public/_worker.js.map +4 -4
  5. package/public/app/html/index.html +74 -0
  6. package/public/build.json +1 -1
  7. package/public/index.js +297 -103
  8. package/public/index.js.map +4 -4
  9. package/src/API.ts +1 -0
  10. package/src/Class/Graph/index.ts +14 -1
  11. package/src/Class/Graph/interface.ts +7 -0
  12. package/src/Class/Graph/moveSubgraph.ts +25 -25
  13. package/src/client/component.ts +18 -7
  14. package/src/client/extractStyle.ts +161 -0
  15. package/src/client/isTextLike.ts +16 -0
  16. package/src/client/platform/web/api/document.ts +3 -0
  17. package/src/debug/graph/watchGraphInternal.ts +2 -0
  18. package/src/debug/graph/watchGraphSetUnitPinSetIdEvent.ts +39 -0
  19. package/src/docs/concept/README.md +8 -2
  20. package/src/interface.ts +1 -0
  21. package/src/script/build/client.ts +4 -2
  22. package/src/spec/Lazy.ts +10 -2
  23. package/src/spec/util.ts +4 -0
  24. package/src/system/_classes.ts +2 -2
  25. package/src/system/_ids.ts +1 -1
  26. package/src/system/_specs.ts +1 -1
  27. package/src/system/core/unit/MergeInput/spec.json +1 -1
  28. package/src/system/globalComponent.ts +29 -0
  29. package/src/system/platform/api/canvas/AddRect/index.ts +2 -6
  30. package/src/system/platform/api/canvas/ToBlob/index.ts +5 -1
  31. package/src/system/platform/api/media/MediaRecorder/index.ts +6 -0
  32. package/src/system/platform/api/media/RequestPictureInPicture/index.ts +10 -5
  33. package/src/system/platform/api/media/image/{BlobToBitmap → ImageToBitmap}/index.ts +10 -10
  34. package/src/system/platform/api/media/image/{BlobToBitmap → ImageToBitmap}/spec.json +9 -18
  35. package/src/system/platform/component/Iframe/Component.ts +2 -0
  36. package/src/system/platform/component/Inherit/Component.ts +0 -18
  37. package/src/system/platform/component/app/Editor/Component.ts +214 -77
  38. package/src/system/platform/component/app/GUI/Component.ts +19 -4
  39. package/src/system/platform/component/canvas/Canvas/index.ts +2 -2
  40. package/src/system/platform/component/media/Video/index.ts +15 -2
  41. package/src/system/platform/core/SetCurrentTime/spec.json +1 -1
  42. package/src/system/platform/core/SetScale/spec.json +1 -1
  43. package/src/system/platform/core/api/location/LocationQuery/spec.json +1 -1
  44. package/src/system/platform/core/asset/IconNames/spec.json +1 -1
  45. package/src/system/platform/core/canvas/DownloadBlob/spec.json +1 -1
  46. package/src/system/platform/core/component/Charcode/spec.json +1 -1
  47. package/src/system/platform/core/download/DownloadGraph/spec.json +1 -1
  48. package/src/system/platform/core/math/geometry/trigonometry/Hypotenuse/spec.json +1 -1
  49. package/src/system/platform/core/math/power/Pow2/spec.json +1 -1
  50. package/src/system/platform/core/string/RemoveNewLine/spec.json +1 -1
  51. package/src/test/system/core/MergeSort.ts +1 -1
  52. package/src/types/GraphSpec.ts +0 -1
  53. package/src/types/interface/B.ts +3 -1
  54. package/src/types/interface/G.ts +8 -0
  55. package/src/types/interface/async/$G.ts +3 -0
  56. package/src/types/interface/async/AsyncG.ts +10 -0
  57. package/public/metadata.mp4 +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_unit/unit",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "main": "lib/index.js",
5
5
  "bin": "./lib/server/index.js",
6
6
  "repository": "git@github.com:samuelmtimbo/unit.git",