@cesdk/cesdk-js 1.4.3 → 1.5.0-alpha.1

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 (126) hide show
  1. package/BlockAPI.d.ts +7 -0
  2. package/EventAPI.d.ts +19 -0
  3. package/ThirdPartyLicenses.md +59 -256
  4. package/api.d.ts +3 -0
  5. package/assets/core/cesdk.data +0 -0
  6. package/assets/core/cesdk.js +1 -0
  7. package/assets/core/cesdk.wasm +0 -0
  8. package/assets/extensions/ch.post.fonts/README.md +3 -0
  9. package/assets/extensions/ch.post.fonts/fonts/imgly_font_intro_black.otf +0 -0
  10. package/assets/extensions/ch.post.fonts/fonts/imgly_font_intro_medium.otf +0 -0
  11. package/assets/extensions/ch.post.fonts/fonts/imgly_font_madelyn_regular.otf +0 -0
  12. package/assets/extensions/ch.post.fonts/fonts/imgly_font_mixa_extra_bold.otf +0 -0
  13. package/assets/extensions/ch.post.fonts/fonts/imgly_font_sensa_brush_fill.otf +0 -0
  14. package/assets/extensions/ch.post.fonts/manifest.json +42 -0
  15. package/assets/extensions/ch.post.fonts/preview.png +0 -0
  16. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_ad1920_5_5_128.png +0 -0
  17. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_ancient_5_5_128.png +0 -0
  18. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_bw_5_5_128.png +0 -0
  19. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_chestnut_8_8_512.png +0 -0
  20. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_classic_5_5_128.png +0 -0
  21. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_colla_5_5_128.png +0 -0
  22. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_colorful_5_5_128.png +0 -0
  23. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_cottoncandy_5_5_128.png +0 -0
  24. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_creamy_5_5_128.png +0 -0
  25. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_dusty_5_5_128.png +0 -0
  26. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_fixie_8_8_512.png +0 -0
  27. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_flat_black_8_8_512.png +0 -0
  28. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_food_5_5_128.png +0 -0
  29. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_fridge_8_8_512.png +0 -0
  30. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_glam_5_5_128.png +0 -0
  31. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_gobblin_5_5_128.png +0 -0
  32. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_golden_5_5_128.png +0 -0
  33. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_green_gap_5_5_128.png +0 -0
  34. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_greyed_5_5_128.png +0 -0
  35. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_hard_stuff_8_8_512.png +0 -0
  36. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_highcarb_5_5_128.png +0 -0
  37. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_highcontrast_5_5_128.png +0 -0
  38. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_identity_5_5_128.png +0 -0
  39. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_inferno_8_8_512.png +0 -0
  40. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_joran_5_5_128.png +0 -0
  41. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_k1_5_5_128.png +0 -0
  42. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_k6_5_5_128.png +0 -0
  43. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_kalmen_5_5_128.png +0 -0
  44. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_keen_5_5_128.png +0 -0
  45. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_lemon_5_5_128.png +0 -0
  46. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_levante_5_5_128.png +0 -0
  47. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_litho_5_5_128.png +0 -0
  48. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_lomo100_5_5_128.png +0 -0
  49. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_low_fire_5_5_128.png +0 -0
  50. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_lucid_5_5_128.png +0 -0
  51. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_mellow_8_8_512.png +0 -0
  52. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_moss_5_5_128.png +0 -0
  53. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_neat_5_5_128.png +0 -0
  54. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_oldtimer_8_8_512.png +0 -0
  55. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_pale_5_5_128.png +0 -0
  56. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_pebble_5_5_128.png +0 -0
  57. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_pitched_5_5_128.png +0 -0
  58. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_polaroid_5_5_128.png +0 -0
  59. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_polasx_5_5_128.png +0 -0
  60. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_pro400_5_5_128.png +0 -0
  61. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_pumpkin_5_5_128.png +0 -0
  62. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_quozi_5_5_128.png +0 -0
  63. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_sepia_5_5_128.png +0 -0
  64. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_settled_5_5_128.png +0 -0
  65. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_seventies_5_5_128.png +0 -0
  66. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_snappy_5_5_128.png +0 -0
  67. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_soft_5_5_128.png +0 -0
  68. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_softly_5_5_128.png +0 -0
  69. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_solanus_5_5_128.png +0 -0
  70. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_steel_5_5_128.png +0 -0
  71. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_summer_5_5_128.png +0 -0
  72. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_sunny_70s_8_8_512.png +0 -0
  73. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_sunrise_5_5_128.png +0 -0
  74. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_tender_5_5_128.png +0 -0
  75. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_twilight_5_5_128.png +0 -0
  76. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_weathered_5_5_128.png +0 -0
  77. package/assets/extensions/ly.img.cesdk.filters.lut/LUTs/imgly_lut_zephyr_5_5_128.png +0 -0
  78. package/assets/extensions/ly.img.cesdk.fonts/fonts/imgly_font_abril_fatface_regular.ttf +0 -0
  79. package/assets/extensions/ly.img.cesdk.fonts/fonts/imgly_font_bungee_inline.ttf +0 -0
  80. package/assets/extensions/ly.img.cesdk.fonts/fonts/imgly_font_permanent_marker.ttf +0 -0
  81. package/assets/extensions/ly.img.cesdk.fonts/fonts/imgly_font_petit_formal_script.ttf +0 -0
  82. package/assets/extensions/ly.img.cesdk.fonts/fonts/imgly_font_ultra.ttf +0 -0
  83. package/assets/extensions/ly.img.cesdk.fonts/manifest.json +1 -1
  84. package/assets/extensions/ly.img.cesdk.stickers.openmoji/genmoji.mjs +1 -108
  85. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/manifest.json +199 -0
  86. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/frame.png +0 -0
  87. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/halfcircle.png +0 -0
  88. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/organic1.png +0 -0
  89. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/organic2.png +0 -0
  90. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/organic3.png +0 -0
  91. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/organic4.png +0 -0
  92. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/organicdot1.png +0 -0
  93. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/organicdot2.png +0 -0
  94. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/quartercircle-outline.png +0 -0
  95. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/quartercircle.png +0 -0
  96. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/rectanglemask.png +0 -0
  97. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/roundmask.png +0 -0
  98. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/splash1.png +0 -0
  99. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/splash2.png +0 -0
  100. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/splash3.png +0 -0
  101. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/splash4.png +0 -0
  102. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/wiggle.png +0 -0
  103. package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails/ziczac.png +0 -0
  104. package/assets/extensions/ly.img.fonts/README.md +3 -0
  105. package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Light-Web/Font-EULA.pdf +0 -0
  106. package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Light-Web/Supply-Light.eot +0 -0
  107. package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Light-Web/Supply-Light.otf +0 -0
  108. package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Light-Web/Supply-Light.ttf +0 -0
  109. package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Light-Web/Supply-Light.woff +0 -0
  110. package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Light-Web/Supply-Light.woff2 +0 -0
  111. package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Regular-Web/Font-EULA.pdf +0 -0
  112. package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Regular-Web/Supply-Regular.eot +0 -0
  113. package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Regular-Web/Supply-Regular.otf +0 -0
  114. package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Regular-Web/Supply-Regular.ttf +0 -0
  115. package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Regular-Web/Supply-Regular.woff +0 -0
  116. package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Regular-Web/Supply-Regular.woff2 +0 -0
  117. package/assets/extensions/ly.img.fonts/manifest.json +24 -0
  118. package/assets/extensions/ly.img.fonts/preview.png +0 -0
  119. package/assets/i18n/de.json +22 -7
  120. package/assets/i18n/en.json +38 -23
  121. package/assets/ui/stylesheets/cesdk.css +4 -5
  122. package/cesdk-engine.umd.d.ts +3 -0
  123. package/cesdk-engine.umd.js +1 -1
  124. package/cesdk.umd.js +1 -1
  125. package/index.html +3 -23
  126. package/package.json +1 -1
package/BlockAPI.d.ts CHANGED
@@ -339,6 +339,13 @@ export default class BlockAPI {
339
339
  */
340
340
  destroy(id: DesignBlockId): void;
341
341
 
342
+ /**
343
+ * Check if a block is valid. A block becomes invalid once it has been destroyed.
344
+ * @param id The block to query.
345
+ * @returns True, if the block is valid.
346
+ */
347
+ isValid(id: DesignBlockId): boolean;
348
+
342
349
  /**
343
350
  * Query a block's parent.
344
351
  * @param id The block to query.
package/EventAPI.d.ts ADDED
@@ -0,0 +1,19 @@
1
+ type DesignBlockId = number;
2
+
3
+ export type BlockEvent = {
4
+ block: DesignBlockId;
5
+ type: 'Created' | 'Updated' | 'Destroyed';
6
+ };
7
+
8
+ export default class EventAPI {
9
+ /**
10
+ * @brief Subscribe to block life-cycle events.
11
+ * @param blocks A list of blocks to filter events by. If the list is empty, events for every block are sent.
12
+ * @param callback The event callback. Events are bundled and sent at the end of each engine update.
13
+ * @returns A method to unsubscribe.
14
+ */
15
+ subscribe(
16
+ blocks: DesignBlockId[],
17
+ callback: (events: BlockEvent[]) => void
18
+ ): () => void;
19
+ }
@@ -142,6 +142,34 @@ SOFTWARE.
142
142
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
143
143
  SOFTWARE
144
144
 
145
+ -------------------------------------------------------------------------------
146
+ ## c-uri-chop (https://github.com/chansen/c-uri-chop)
147
+
148
+ Copyright (c) 2013 Christian Hansen <chansen@cpan.org>
149
+ <https://github.com/chansen/c-uri-chop>
150
+ All rights reserved.
151
+
152
+ Redistribution and use in source and binary forms, with or without
153
+ modification, are permitted provided that the following conditions are met:
154
+
155
+ 1. Redistributions of source code must retain the above copyright notice, this
156
+ list of conditions and the following disclaimer.
157
+ 2. Redistributions in binary form must reproduce the above copyright notice,
158
+ this list of conditions and the following disclaimer in the documentation
159
+ and/or other materials provided with the distribution.
160
+
161
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
162
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
163
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
164
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
165
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
166
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
167
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
168
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
169
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
170
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
171
+
172
+
145
173
  -------------------------------------------------------------------------------
146
174
  ## cereal (http://uscilab.github.io/cereal/)
147
175
 
@@ -307,33 +335,6 @@ are met:
307
335
  holder and contributors may be used to endorse or promote products
308
336
  derived from this software without specific prior written permission.
309
337
 
310
- -------------------------------------------------------------------------------
311
- ## easyexif (https://github.com/mayanklahiri/easyexif)
312
-
313
- Copyright (c) 2010-2015 Mayank Lahiri
314
- mlahiri@gmail.com
315
- All rights reserved.
316
-
317
- Redistribution and use in source and binary forms, with or without
318
- modification, are permitted provided that the following conditions are met:
319
-
320
- -- Redistributions of source code must retain the above copyright notice,
321
- this list of conditions and the following disclaimer.
322
- -- Redistributions in binary form must reproduce the above copyright notice,
323
- this list of conditions and the following disclaimer in the documentation
324
- and/or other materials provided with the distribution.
325
-
326
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESS
327
- OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
328
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
329
- NO EVENT SHALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
330
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
331
- BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
332
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
333
- OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
334
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
335
- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
336
-
337
338
  -------------------------------------------------------------------------------
338
339
  ## entt (https://github.com/skypjack/entt/wiki)
339
340
 
@@ -1633,210 +1634,37 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1633
1634
  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1634
1635
 
1635
1636
  -------------------------------------------------------------------------------
1636
- ## spirv-cross (https://github.com/KhronosGroup/SPIRV-Cross)
1637
-
1638
-
1639
- Apache License
1640
- Version 2.0, January 2004
1641
- http://www.apache.org/licenses/
1642
-
1643
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1644
-
1645
- 1. Definitions.
1646
-
1647
- "License" shall mean the terms and conditions for use, reproduction,
1648
- and distribution as defined by Sections 1 through 9 of this document.
1649
-
1650
- "Licensor" shall mean the copyright owner or entity authorized by
1651
- the copyright owner that is granting the License.
1652
-
1653
- "Legal Entity" shall mean the union of the acting entity and all
1654
- other entities that control, are controlled by, or are under common
1655
- control with that entity. For the purposes of this definition,
1656
- "control" means (i) the power, direct or indirect, to cause the
1657
- direction or management of such entity, whether by contract or
1658
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
1659
- outstanding shares, or (iii) beneficial ownership of such entity.
1660
-
1661
- "You" (or "Your") shall mean an individual or Legal Entity
1662
- exercising permissions granted by this License.
1663
-
1664
- "Source" form shall mean the preferred form for making modifications,
1665
- including but not limited to software source code, documentation
1666
- source, and configuration files.
1667
-
1668
- "Object" form shall mean any form resulting from mechanical
1669
- transformation or translation of a Source form, including but
1670
- not limited to compiled object code, generated documentation,
1671
- and conversions to other media types.
1672
-
1673
- "Work" shall mean the work of authorship, whether in Source or
1674
- Object form, made available under the License, as indicated by a
1675
- copyright notice that is included in or attached to the work
1676
- (an example is provided in the Appendix below).
1677
-
1678
- "Derivative Works" shall mean any work, whether in Source or Object
1679
- form, that is based on (or derived from) the Work and for which the
1680
- editorial revisions, annotations, elaborations, or other modifications
1681
- represent, as a whole, an original work of authorship. For the purposes
1682
- of this License, Derivative Works shall not include works that remain
1683
- separable from, or merely link (or bind by name) to the interfaces of,
1684
- the Work and Derivative Works thereof.
1685
-
1686
- "Contribution" shall mean any work of authorship, including
1687
- the original version of the Work and any modifications or additions
1688
- to that Work or Derivative Works thereof, that is intentionally
1689
- submitted to Licensor for inclusion in the Work by the copyright owner
1690
- or by an individual or Legal Entity authorized to submit on behalf of
1691
- the copyright owner. For the purposes of this definition, "submitted"
1692
- means any form of electronic, verbal, or written communication sent
1693
- to the Licensor or its representatives, including but not limited to
1694
- communication on electronic mailing lists, source code control systems,
1695
- and issue tracking systems that are managed by, or on behalf of, the
1696
- Licensor for the purpose of discussing and improving the Work, but
1697
- excluding communication that is conspicuously marked or otherwise
1698
- designated in writing by the copyright owner as "Not a Contribution."
1699
-
1700
- "Contributor" shall mean Licensor and any individual or Legal Entity
1701
- on behalf of whom a Contribution has been received by Licensor and
1702
- subsequently incorporated within the Work.
1703
-
1704
- 2. Grant of Copyright License. Subject to the terms and conditions of
1705
- this License, each Contributor hereby grants to You a perpetual,
1706
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1707
- copyright license to reproduce, prepare Derivative Works of,
1708
- publicly display, publicly perform, sublicense, and distribute the
1709
- Work and such Derivative Works in Source or Object form.
1710
-
1711
- 3. Grant of Patent License. Subject to the terms and conditions of
1712
- this License, each Contributor hereby grants to You a perpetual,
1713
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1714
- (except as stated in this section) patent license to make, have made,
1715
- use, offer to sell, sell, import, and otherwise transfer the Work,
1716
- where such license applies only to those patent claims licensable
1717
- by such Contributor that are necessarily infringed by their
1718
- Contribution(s) alone or by combination of their Contribution(s)
1719
- with the Work to which such Contribution(s) was submitted. If You
1720
- institute patent litigation against any entity (including a
1721
- cross-claim or counterclaim in a lawsuit) alleging that the Work
1722
- or a Contribution incorporated within the Work constitutes direct
1723
- or contributory patent infringement, then any patent licenses
1724
- granted to You under this License for that Work shall terminate
1725
- as of the date such litigation is filed.
1726
-
1727
- 4. Redistribution. You may reproduce and distribute copies of the
1728
- Work or Derivative Works thereof in any medium, with or without
1729
- modifications, and in Source or Object form, provided that You
1730
- meet the following conditions:
1731
-
1732
- (a) You must give any other recipients of the Work or
1733
- Derivative Works a copy of this License; and
1734
-
1735
- (b) You must cause any modified files to carry prominent notices
1736
- stating that You changed the files; and
1737
-
1738
- (c) You must retain, in the Source form of any Derivative Works
1739
- that You distribute, all copyright, patent, trademark, and
1740
- attribution notices from the Source form of the Work,
1741
- excluding those notices that do not pertain to any part of
1742
- the Derivative Works; and
1743
-
1744
- (d) If the Work includes a "NOTICE" text file as part of its
1745
- distribution, then any Derivative Works that You distribute must
1746
- include a readable copy of the attribution notices contained
1747
- within such NOTICE file, excluding those notices that do not
1748
- pertain to any part of the Derivative Works, in at least one
1749
- of the following places: within a NOTICE text file distributed
1750
- as part of the Derivative Works; within the Source form or
1751
- documentation, if provided along with the Derivative Works; or,
1752
- within a display generated by the Derivative Works, if and
1753
- wherever such third-party notices normally appear. The contents
1754
- of the NOTICE file are for informational purposes only and
1755
- do not modify the License. You may add Your own attribution
1756
- notices within Derivative Works that You distribute, alongside
1757
- or as an addendum to the NOTICE text from the Work, provided
1758
- that such additional attribution notices cannot be construed
1759
- as modifying the License.
1760
-
1761
- You may add Your own copyright statement to Your modifications and
1762
- may provide additional or different license terms and conditions
1763
- for use, reproduction, or distribution of Your modifications, or
1764
- for any such Derivative Works as a whole, provided Your use,
1765
- reproduction, and distribution of the Work otherwise complies with
1766
- the conditions stated in this License.
1767
-
1768
- 5. Submission of Contributions. Unless You explicitly state otherwise,
1769
- any Contribution intentionally submitted for inclusion in the Work
1770
- by You to the Licensor shall be under the terms and conditions of
1771
- this License, without any additional terms or conditions.
1772
- Notwithstanding the above, nothing herein shall supersede or modify
1773
- the terms of any separate license agreement you may have executed
1774
- with Licensor regarding such Contributions.
1775
-
1776
- 6. Trademarks. This License does not grant permission to use the trade
1777
- names, trademarks, service marks, or product names of the Licensor,
1778
- except as required for reasonable and customary use in describing the
1779
- origin of the Work and reproducing the content of the NOTICE file.
1780
-
1781
- 7. Disclaimer of Warranty. Unless required by applicable law or
1782
- agreed to in writing, Licensor provides the Work (and each
1783
- Contributor provides its Contributions) on an "AS IS" BASIS,
1784
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1785
- implied, including, without limitation, any warranties or conditions
1786
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1787
- PARTICULAR PURPOSE. You are solely responsible for determining the
1788
- appropriateness of using or redistributing the Work and assume any
1789
- risks associated with Your exercise of permissions under this License.
1790
-
1791
- 8. Limitation of Liability. In no event and under no legal theory,
1792
- whether in tort (including negligence), contract, or otherwise,
1793
- unless required by applicable law (such as deliberate and grossly
1794
- negligent acts) or agreed to in writing, shall any Contributor be
1795
- liable to You for damages, including any direct, indirect, special,
1796
- incidental, or consequential damages of any character arising as a
1797
- result of this License or out of the use or inability to use the
1798
- Work (including but not limited to damages for loss of goodwill,
1799
- work stoppage, computer failure or malfunction, or any and all
1800
- other commercial damages or losses), even if such Contributor
1801
- has been advised of the possibility of such damages.
1802
-
1803
- 9. Accepting Warranty or Additional Liability. While redistributing
1804
- the Work or Derivative Works thereof, You may choose to offer,
1805
- and charge a fee for, acceptance of support, warranty, indemnity,
1806
- or other liability obligations and/or rights consistent with this
1807
- License. However, in accepting such obligations, You may act only
1808
- on Your own behalf and on Your sole responsibility, not on behalf
1809
- of any other Contributor, and only if You agree to indemnify,
1810
- defend, and hold each Contributor harmless for any liability
1811
- incurred by, or claims asserted against, such Contributor by reason
1812
- of your accepting any such warranty or additional liability.
1813
-
1814
- END OF TERMS AND CONDITIONS
1815
-
1816
- APPENDIX: How to apply the Apache License to your work.
1817
-
1818
- To apply the Apache License to your work, attach the following
1819
- boilerplate notice, with the fields enclosed by brackets "[]"
1820
- replaced with your own identifying information. (Don't include
1821
- the brackets!) The text should be enclosed in the appropriate
1822
- comment syntax for the file format. We also recommend that a
1823
- file or class name and description of purpose be included on the
1824
- same "printed page" as the copyright notice for easier
1825
- identification within third-party archives.
1826
-
1827
- Copyright 2021 The Khronos Group Inc
1828
-
1829
- Licensed under the Apache License, Version 2.0 (the "License");
1830
- you may not use this file except in compliance with the License.
1831
- You may obtain a copy of the License at
1832
-
1833
- http://www.apache.org/licenses/LICENSE-2.0
1834
-
1835
- Unless required by applicable law or agreed to in writing, software
1836
- distributed under the License is distributed on an "AS IS" BASIS,
1837
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1838
- See the License for the specific language governing permissions and
1839
- limitations under the License.
1637
+ ## skia (https://github.com/google/skia)
1638
+
1639
+ Copyright (c) 2011 Google Inc. All rights reserved.
1640
+
1641
+ Redistribution and use in source and binary forms, with or without
1642
+ modification, are permitted provided that the following conditions are
1643
+ met:
1644
+
1645
+ * Redistributions of source code must retain the above copyright
1646
+ notice, this list of conditions and the following disclaimer.
1647
+
1648
+ * Redistributions in binary form must reproduce the above copyright
1649
+ notice, this list of conditions and the following disclaimer in
1650
+ the documentation and/or other materials provided with the
1651
+ distribution.
1652
+
1653
+ * Neither the name of the copyright holder nor the names of its
1654
+ contributors may be used to endorse or promote products derived
1655
+ from this software without specific prior written permission.
1656
+
1657
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1658
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1659
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1660
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1661
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1662
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1663
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1664
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1665
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1666
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1667
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1840
1668
 
1841
1669
  -------------------------------------------------------------------------------
1842
1670
  ## stb (https://github.com/nothings/stb#stb_libs)
@@ -1858,31 +1686,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1858
1686
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1859
1687
  SOFTWARE.
1860
1688
 
1861
- -------------------------------------------------------------------------------
1862
- ## tinyspline (https://github.com/msteinbeck/tinyspline)
1863
-
1864
- The MIT License (MIT)
1865
-
1866
- Copyright (c) 2016 Marcel Steinbeck
1867
-
1868
- Permission is hereby granted, free of charge, to any person obtaining a copy
1869
- of this software and associated documentation files (the "Software"), to deal
1870
- in the Software without restriction, including without limitation the rights
1871
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1872
- copies of the Software, and to permit persons to whom the Software is
1873
- furnished to do so, subject to the following conditions:
1874
-
1875
- The above copyright notice and this permission notice shall be included in all
1876
- copies or substantial portions of the Software.
1877
-
1878
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1879
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1880
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1881
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1882
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1883
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1884
- SOFTWARE.
1885
-
1886
1689
  -------------------------------------------------------------------------------
1887
1690
  ## tippy.js (https://atomiks.github.io/tippyjs/)
1888
1691
 
package/api.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import BlockAPI from './BlockAPI';
2
2
  import SceneAPI from './SceneAPI';
3
3
  import VariableAPI from './VariableAPI';
4
+ import EventAPI from './EventAPI';
4
5
 
5
6
  export default class API {
6
7
  block: BlockAPI;
@@ -8,4 +9,6 @@ export default class API {
8
9
  scene: SceneAPI;
9
10
 
10
11
  variable: VariableAPI;
12
+
13
+ event: EventAPI;
11
14
  }
Binary file