@viji-dev/core 0.7.5 → 0.7.6
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/dist/artist-dts-p5.js +1 -1
- package/dist/artist-dts.js +1 -1
- package/dist/artist-global-p5.d.ts +15 -3
- package/dist/artist-global.d.ts +15 -3
- package/dist/artist-jsdoc.d.ts +2 -2
- package/dist/assets/{viji.worker-CXp6CGrq.js → viji.worker-D4GXsHWY.js} +2229 -2205
- package/dist/docs-api.js +27 -17
- package/dist/{essentia-wasm.web-Bh9tTilM.js → essentia-wasm.web-B9C3y5iZ.js} +2 -2
- package/dist/{index-B1JJ8Mko.js → index-DkwlRK6X.js} +3 -3
- package/dist/index.d.ts +21 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as kn } from "./index-
|
|
1
|
+
import { g as kn } from "./index-DkwlRK6X.js";
|
|
2
2
|
function jn(Oe, ot) {
|
|
3
3
|
for (var ve = 0; ve < ot.length; ve++) {
|
|
4
4
|
const Z = ot[ve];
|
|
@@ -3374,4 +3374,4 @@ const xn = /* @__PURE__ */ kn(yi), Ln = /* @__PURE__ */ jn({
|
|
|
3374
3374
|
export {
|
|
3375
3375
|
Ln as e
|
|
3376
3376
|
};
|
|
3377
|
-
//# sourceMappingURL=essentia-wasm.web-
|
|
3377
|
+
//# sourceMappingURL=essentia-wasm.web-B9C3y5iZ.js.map
|
|
@@ -536,7 +536,7 @@ class DB {
|
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
const oB = "" + new URL("assets/viji.worker-
|
|
539
|
+
const oB = "" + new URL("assets/viji.worker-D4GXsHWY.js", import.meta.url).href, hB = new URL("assets/wasm/vision_wasm_internal.js", import.meta.url).href, RB = new URL("assets/wasm/vision_wasm_internal.wasm", import.meta.url).href, wB = new URL("assets/wasm/vision_wasm_nosimd_internal.js", import.meta.url).href, sB = new URL("assets/wasm/vision_wasm_nosimd_internal.wasm", import.meta.url).href;
|
|
540
540
|
class FB {
|
|
541
541
|
constructor(A, B, I) {
|
|
542
542
|
this.iframeManager = A, this.sceneCode = B, this.init = I;
|
|
@@ -1520,7 +1520,7 @@ class YB {
|
|
|
1520
1520
|
if (!this.isInitialized)
|
|
1521
1521
|
return this.initPromise ? this.initPromise : (this.initPromise = (async () => {
|
|
1522
1522
|
try {
|
|
1523
|
-
const A = await import("./essentia.js-core.es-CC_3Ap1i.js"), B = await import("./essentia-wasm.web-
|
|
1523
|
+
const A = await import("./essentia.js-core.es-CC_3Ap1i.js"), B = await import("./essentia-wasm.web-B9C3y5iZ.js").then((g) => g.e), I = A.Essentia || A.default?.Essentia || A.default;
|
|
1524
1524
|
let Q = B.default || B.EssentiaWASM || B.default?.EssentiaWASM;
|
|
1525
1525
|
if (!Q)
|
|
1526
1526
|
throw new Error("WASM module not found - check essentia-wasm.web.js export");
|
|
@@ -8406,4 +8406,4 @@ export {
|
|
|
8406
8406
|
S as b,
|
|
8407
8407
|
vB as g
|
|
8408
8408
|
};
|
|
8409
|
-
//# sourceMappingURL=index-
|
|
8409
|
+
//# sourceMappingURL=index-DkwlRK6X.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1442,7 +1442,13 @@ declare interface NumberConfig {
|
|
|
1442
1442
|
min?: number;
|
|
1443
1443
|
/** Inclusive maximum value. Default: `100`. */
|
|
1444
1444
|
max?: number;
|
|
1445
|
-
/**
|
|
1445
|
+
/**
|
|
1446
|
+
* Increment between values. When omitted, auto-derives from `min`/`max` as
|
|
1447
|
+
* the largest power of 10 giving ~100 positions across the range (e.g.,
|
|
1448
|
+
* range `0..1` → `0.01`, range `0..100` → `1`, range `0.1..5` → `0.01`).
|
|
1449
|
+
* Specify explicitly for integer counts (`step: 1`) or fine precision
|
|
1450
|
+
* (`step: 0.001`).
|
|
1451
|
+
*/
|
|
1446
1452
|
step?: number;
|
|
1447
1453
|
/** Display name shown next to the input in the parameter UI. Required. */
|
|
1448
1454
|
label: string;
|
|
@@ -1521,6 +1527,13 @@ declare type ParameterCategory = 'audio' | 'video' | 'interaction' | 'general';
|
|
|
1521
1527
|
export declare interface ParameterConfig {
|
|
1522
1528
|
min?: number;
|
|
1523
1529
|
max?: number;
|
|
1530
|
+
/**
|
|
1531
|
+
* Increment between values. When omitted, auto-derives from `min`/`max` as
|
|
1532
|
+
* the largest power of 10 giving ~100 positions across the range (e.g.,
|
|
1533
|
+
* range `0..1` → `0.01`, range `0..100` → `1`, range `0.1..5` → `0.01`).
|
|
1534
|
+
* Specify explicitly for integer counts (`step: 1`) or fine precision
|
|
1535
|
+
* (`step: 0.001`).
|
|
1536
|
+
*/
|
|
1524
1537
|
step?: number;
|
|
1525
1538
|
options?: string[] | number[];
|
|
1526
1539
|
maxLength?: number;
|
|
@@ -2201,7 +2214,13 @@ declare interface SliderConfig {
|
|
|
2201
2214
|
min?: number;
|
|
2202
2215
|
/** Inclusive maximum value of the slider. Default: `100`. */
|
|
2203
2216
|
max?: number;
|
|
2204
|
-
/**
|
|
2217
|
+
/**
|
|
2218
|
+
* Increment between values. When omitted, auto-derives from `min`/`max` as
|
|
2219
|
+
* the largest power of 10 giving ~100 positions across the range (e.g.,
|
|
2220
|
+
* range `0..1` → `0.01`, range `0..100` → `1`, range `0.1..5` → `0.01`,
|
|
2221
|
+
* range `0..1000` → `10`). Specify explicitly for integer counts
|
|
2222
|
+
* (`step: 1` on a range of `3..30`) or fine precision (`step: 0.001`).
|
|
2223
|
+
*/
|
|
2205
2224
|
step?: number;
|
|
2206
2225
|
/** Display name shown next to the control in the parameter UI. Required. */
|
|
2207
2226
|
label: string;
|
package/dist/index.js
CHANGED