retiam 1.0.2 → 2.0.0
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.
- package/COMMERCIAL_LICENSE.md +61 -0
- package/LICENSE +116 -0
- package/THIRD_PARTY_LICENSES.txt +17771 -0
- package/THIRD_PARTY_NOTICES.md +318 -0
- package/bin/export.js +4 -3
- package/bin/init.js +28 -4
- package/bin/prepare-notices.js +11 -0
- package/bin/third-party.d.ts +6 -0
- package/bin/third-party.js +92 -0
- package/dist/COMMERCIAL_LICENSE.md +61 -0
- package/dist/LICENSE +116 -0
- package/dist/THIRD_PARTY_LICENSES.txt +17771 -0
- package/dist/THIRD_PARTY_NOTICES.md +318 -0
- package/dist/{UTIF-X7q9996p.js → UTIF-2Ear_0Uo.js} +2 -1
- package/dist/{decompress-D5RzmD-2.js → decompress-CuY1lEpT.js} +1 -0
- package/dist/{index-Be4c9A99.js → index-B2sJBy4c.js} +15736 -16052
- package/dist/libs/charts/index.js +1 -0
- package/dist/libs/graphs/index.js +1 -0
- package/dist/libs/highlights/index.js +1 -0
- package/dist/libs/physics/index.js +1 -0
- package/dist/libs/rough/index.js +1 -0
- package/dist/libs/shapes/index.js +1 -0
- package/dist/libs/tts/index.js +1 -0
- package/dist/{main-IC5HXR90.js → main-D_G4uIju.js} +2 -1
- package/dist/{opentype.module-D6jx0UDN.js → opentype.module-DA3p9H4x.js} +1 -0
- package/dist/retiam.es.js +808 -802
- package/dist/src/engine/_core/VectorEntity.d.ts +14 -0
- package/dist/src/engine/animation/transform/TransformMatchingShapes.d.ts +14 -0
- package/dist/src/engine/animation/transform/TransformMatchingTex.d.ts +15 -0
- package/dist/src/engine/animation/transform/TransformMatchingText.d.ts +14 -0
- package/dist/src/engine/entities/composites/coordinates/Axes.d.ts +20 -0
- package/dist/src/engine/entities/composites/geometry/Arrow.d.ts +35 -0
- package/dist/src/engine/entities/composites/geometry/Arrow3D.d.ts +31 -0
- package/dist/src/engine/entities/composites/text/MarkupText.d.ts +0 -1
- package/dist/src/engine/entities/composites/text/Tex.d.ts +2 -3
- package/dist/src/engine/entities/composites/text/TexFontPatcher.d.ts +1 -5
- package/dist/src/engine/font/types.d.ts +1 -1
- package/dist/src/engine/utils/IndexInspector.d.ts +44 -0
- package/dist/src/engine/utils/PathEqualizer.d.ts +15 -0
- package/dist/src/index.d.ts +1 -1
- package/package.json +20 -5
- package/readme.md +24 -1
- package/dist/assets/Virgil.woff2 +0 -0
- package/dist/src/engine/entities/composites/text/virgilMathJaxData.d.ts +0 -3
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Color as c, VGroup as M, Vec3 as x, Rect as Y, SDFText as y, Line3D as W, CustomAnimation as k, Rate as C, Vec2 as b, Poly as v, Dot as z } from "retiam";
|
|
2
|
+
/*! Retiam: noncommercial use only unless separately licensed. See ../../LICENSE and ../../COMMERCIAL_LICENSE.md. Third-party notices: ../../THIRD_PARTY_NOTICES.md and ../../THIRD_PARTY_LICENSES.txt. */
|
|
2
3
|
class P {
|
|
3
4
|
domain;
|
|
4
5
|
range;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { hex as i, VGroup as A, Circle as V, NONE as G, Arrow as N, SDFText as v, CENTER as D, Vec3 as x, CustomAnimation as M, Rate as T, Color as X, Rect as W, ORIGIN as P, computeCatmullRom as Y, DOWN as O } from "retiam";
|
|
2
|
+
/*! Retiam: noncommercial use only unless separately licensed. See ../../LICENSE and ../../COMMERCIAL_LICENSE.md. Third-party notices: ../../THIRD_PARTY_NOTICES.md and ../../THIRD_PARTY_LICENSES.txt. */
|
|
2
3
|
const j = {
|
|
3
4
|
name: "CyberNeon",
|
|
4
5
|
nodeFill: i("#0E131F", 0.95),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AABB as V, Sequential as I, Color as x, Circle as G, Rect as X, CustomAnimation as U, Rate as M, Vec3 as w, Line as _, StateAnimation as g, Concurrent as E, Animation as Y, Entity as v, Line3D as q, VectorEntity as N } from "retiam";
|
|
2
|
+
/*! Retiam: noncommercial use only unless separately licensed. See ../../LICENSE and ../../COMMERCIAL_LICENSE.md. Third-party notices: ../../THIRD_PARTY_NOTICES.md and ../../THIRD_PARTY_LICENSES.txt. */
|
|
2
3
|
function W(f) {
|
|
3
4
|
if (Array.isArray(f)) {
|
|
4
5
|
if (f.length === 0)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Component as Oi, Poly as OB, Vec2 as nS, Circle as lC, Rect as Xo, Triangle as uo, earcut as Oh, Color as BD, Spring as RU, Vec3 as Ag, MathShape3D as lQ, Model as bB, ModelGeometry as bh, Sphere as rB, Cone as HB, Cylinder as pB, Box as nB, Plane as dB, Torus as OE } from "retiam";
|
|
2
|
+
/*! Retiam: noncommercial use only unless separately licensed. See ../../LICENSE and ../../COMMERCIAL_LICENSE.md. Third-party notices: ../../THIRD_PARTY_NOTICES.md and ../../THIRD_PARTY_LICENSES.txt. */
|
|
2
3
|
class wC extends Oi {
|
|
3
4
|
body;
|
|
4
5
|
kinematic;
|
package/dist/libs/rough/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PathModifierBase as It, PathModifierUtils as kt, seedFromEntityId as vt, VGroup as zt, VectorEntity as bt, Path as G, SVG as Rt, Color as $, Animation as Bt, Rate as Gt, createAnim as Nt, Concurrent as qt, hex as Vt } from "retiam";
|
|
2
|
+
/*! Retiam: noncommercial use only unless separately licensed. See ../../LICENSE and ../../COMMERCIAL_LICENSE.md. Third-party notices: ../../THIRD_PARTY_NOTICES.md and ../../THIRD_PARTY_LICENSES.txt. */
|
|
2
3
|
function it(n, t, e) {
|
|
3
4
|
if (n && n.length) {
|
|
4
5
|
const [s, i] = t, o = Math.PI / 180 * e, h = Math.cos(o), r = Math.sin(o);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Vec3 as X, Path as E, Model as z } from "retiam";
|
|
2
|
+
/*! Retiam: noncommercial use only unless separately licensed. See ../../LICENSE and ../../COMMERCIAL_LICENSE.md. Third-party notices: ../../THIRD_PARTY_NOTICES.md and ../../THIRD_PARTY_LICENSES.txt. */
|
|
2
3
|
function U(y, t = 0) {
|
|
3
4
|
const a = y.length;
|
|
4
5
|
if (a < 3) return "";
|
package/dist/libs/tts/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Component as te, Color as C, hex as w, VGroup as ie, SDFText as ae, CENTER as re, Rect as se, Animation as ne } from "retiam";
|
|
2
|
+
/*! Retiam: noncommercial use only unless separately licensed. See ../../LICENSE and ../../COMMERCIAL_LICENSE.md. Third-party notices: ../../THIRD_PARTY_NOTICES.md and ../../THIRD_PARTY_LICENSES.txt. */
|
|
2
3
|
function oe(a, e = 24e3) {
|
|
3
4
|
const s = e * 2, n = a.length * 2, l = new ArrayBuffer(44 + n), o = new DataView(l);
|
|
4
5
|
D(o, 0, "RIFF"), o.setUint32(4, 36 + n, !0), D(o, 8, "WAVE"), D(o, 12, "fmt "), o.setUint32(16, 16, !0), o.setUint16(20, 1, !0), o.setUint16(22, 1, !0), o.setUint32(24, e, !0), o.setUint32(28, s, !0), o.setUint16(32, 2, !0), o.setUint16(34, 16, !0), D(o, 36, "data"), o.setUint32(40, n, !0);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { g as Jh, a as Zh } from "./index-
|
|
1
|
+
import { g as Jh, a as Zh } from "./index-B2sJBy4c.js";
|
|
2
|
+
/*! Retiam: noncommercial use only unless separately licensed. See LICENSE and COMMERCIAL_LICENSE.md. Third-party notices: THIRD_PARTY_NOTICES.md and THIRD_PARTY_LICENSES.txt. */
|
|
2
3
|
function Qh(n, t) {
|
|
3
4
|
for (var e = 0; e < t.length; e++) {
|
|
4
5
|
const s = t[e];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/*! Retiam: noncommercial use only unless separately licensed. See LICENSE and COMMERCIAL_LICENSE.md. Third-party notices: THIRD_PARTY_NOTICES.md and THIRD_PARTY_LICENSES.txt. */
|
|
1
2
|
/*! https://mths.be/codepointat v0.2.0 by @mathias */
|
|
2
3
|
String.prototype.codePointAt || function() {
|
|
3
4
|
var e = function() {
|