@ugfoundation/swaralipi-js 0.10.1 → 0.11.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/README.md +1 -0
- package/dist/.sync-conflict-20260930-214520-JJOTM26.DS_Store +0 -0
- package/dist/{batch-5ZFEKXKS.js → batch-4TND6KNT.js} +4 -4
- package/dist/{batch-5ZFEKXKS.js.map → batch-4TND6KNT.js.map} +1 -1
- package/dist/{chunk-VCLLSNAK.js → chunk-CF3JWIHP.js} +4 -4
- package/dist/chunk-CF3JWIHP.js.map +1 -0
- package/dist/{chunk-UPJYLXYX.js → chunk-CLZJK33Q.js} +5 -4
- package/dist/chunk-CLZJK33Q.js.map +1 -0
- package/dist/{chunk-R6VNIBMG.js → chunk-DFCUJQIB.js} +3 -3
- package/dist/{chunk-R6VNIBMG.js.map → chunk-DFCUJQIB.js.map} +1 -1
- package/dist/cli.cjs +3 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +2 -2
- package/dist/convert/index.cjs +3 -2
- package/dist/convert/index.cjs.map +1 -1
- package/dist/convert/index.d.cts +1 -1
- package/dist/convert/index.d.ts +1 -1
- package/dist/convert/index.js +2 -2
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/{lay-J17-gS6O.d.cts → lay-CvZeVon3.d.cts} +1 -1
- package/dist/{lay-0LnKv1LL.d.ts → lay-DypMIIuf.d.ts} +1 -1
- package/dist/player/index.cjs +2 -2
- package/dist/player/index.cjs.map +1 -1
- package/dist/player/index.d.cts +5 -5
- package/dist/player/index.d.ts +5 -5
- package/dist/player/index.js +2 -2
- package/dist/{schedule-B1S53131.d.cts → schedule-C4sP7uFu.d.cts} +2 -2
- package/dist/{schedule-DtcYB-o4.d.ts → schedule-DjcqM6A4.d.ts} +2 -2
- package/dist/{schema-Cf_epUIC.d.cts → schema-DZag9qkF.d.cts} +8 -2
- package/dist/{schema-Cf_epUIC.d.ts → schema-DZag9qkF.d.ts} +8 -2
- package/dist/spec/index.cjs +3 -2
- package/dist/spec/index.cjs.map +1 -1
- package/dist/spec/index.d.cts +4 -4
- package/dist/spec/index.d.ts +4 -4
- package/dist/spec/index.js +1 -1
- package/dist/viewer/index.cjs +7 -6
- package/dist/viewer/index.cjs.map +1 -1
- package/dist/viewer/index.d.cts +3 -3
- package/dist/viewer/index.d.ts +3 -3
- package/dist/viewer/index.js +3 -3
- package/dist/viewer/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-UPJYLXYX.js.map +0 -1
- package/dist/chunk-VCLLSNAK.js.map +0 -1
package/dist/viewer/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as Octave, a as SvaraLetter, N as Note, M as Meta, S as Swaralipi, T as Taal } from '../schema-
|
|
2
|
-
import { L as Lay } from '../lay-
|
|
3
|
-
import { D as DrumVoice, S as Schedule, P as PlayEvent } from '../schedule-
|
|
1
|
+
import { O as Octave, a as SvaraLetter, N as Note, M as Meta, S as Swaralipi, T as Taal } from '../schema-DZag9qkF.cjs';
|
|
2
|
+
import { L as Lay } from '../lay-CvZeVon3.cjs';
|
|
3
|
+
import { D as DrumVoice, S as Schedule, P as PlayEvent } from '../schedule-C4sP7uFu.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'tone';
|
|
6
6
|
|
package/dist/viewer/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as Octave, a as SvaraLetter, N as Note, M as Meta, S as Swaralipi, T as Taal } from '../schema-
|
|
2
|
-
import { L as Lay } from '../lay-
|
|
3
|
-
import { D as DrumVoice, S as Schedule, P as PlayEvent } from '../schedule-
|
|
1
|
+
import { O as Octave, a as SvaraLetter, N as Note, M as Meta, S as Swaralipi, T as Taal } from '../schema-DZag9qkF.js';
|
|
2
|
+
import { L as Lay } from '../lay-DypMIIuf.js';
|
|
3
|
+
import { D as DrumVoice, S as Schedule, P as PlayEvent } from '../schedule-DjcqM6A4.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'tone';
|
|
6
6
|
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isArcRaw, glideTargets, buildSchedule, drumPattern } from '../chunk-
|
|
1
|
+
import { isArcRaw, glideTargets, buildSchedule, drumPattern } from '../chunk-CF3JWIHP.js';
|
|
2
2
|
import { hasKomal, isTaalFerta, sameTaal, TAALS, graceNotes } from '../chunk-SR7NFEGL.js';
|
|
3
3
|
|
|
4
4
|
// src/viewer/glyphs.ts
|
|
@@ -230,8 +230,8 @@ function resolveArcs(cells) {
|
|
|
230
230
|
const last = pitched[pitched.length - 1] ?? cell.notes.length - 1;
|
|
231
231
|
let marks = "";
|
|
232
232
|
cell.notes.forEach((note, j) => {
|
|
233
|
-
if (note.meend === "
|
|
234
|
-
|
|
233
|
+
if (note.meend === "end" || note.meend === "both") closeAt(i, j);
|
|
234
|
+
if (note.meend === "start" || note.meend === "both") openAt(i, j);
|
|
235
235
|
for (const b of note.below ?? []) if (isArcRaw(b.raw)) marks += b.raw;
|
|
236
236
|
});
|
|
237
237
|
const reopens = /[xX].*[wW]/.test(marks);
|