@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.
Files changed (48) hide show
  1. package/README.md +1 -0
  2. package/dist/.sync-conflict-20260930-214520-JJOTM26.DS_Store +0 -0
  3. package/dist/{batch-5ZFEKXKS.js → batch-4TND6KNT.js} +4 -4
  4. package/dist/{batch-5ZFEKXKS.js.map → batch-4TND6KNT.js.map} +1 -1
  5. package/dist/{chunk-VCLLSNAK.js → chunk-CF3JWIHP.js} +4 -4
  6. package/dist/chunk-CF3JWIHP.js.map +1 -0
  7. package/dist/{chunk-UPJYLXYX.js → chunk-CLZJK33Q.js} +5 -4
  8. package/dist/chunk-CLZJK33Q.js.map +1 -0
  9. package/dist/{chunk-R6VNIBMG.js → chunk-DFCUJQIB.js} +3 -3
  10. package/dist/{chunk-R6VNIBMG.js.map → chunk-DFCUJQIB.js.map} +1 -1
  11. package/dist/cli.cjs +3 -2
  12. package/dist/cli.cjs.map +1 -1
  13. package/dist/cli.js +2 -2
  14. package/dist/convert/index.cjs +3 -2
  15. package/dist/convert/index.cjs.map +1 -1
  16. package/dist/convert/index.d.cts +1 -1
  17. package/dist/convert/index.d.ts +1 -1
  18. package/dist/convert/index.js +2 -2
  19. package/dist/index.cjs +3 -2
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.cts +2 -2
  22. package/dist/index.d.ts +2 -2
  23. package/dist/index.js +1 -1
  24. package/dist/{lay-J17-gS6O.d.cts → lay-CvZeVon3.d.cts} +1 -1
  25. package/dist/{lay-0LnKv1LL.d.ts → lay-DypMIIuf.d.ts} +1 -1
  26. package/dist/player/index.cjs +2 -2
  27. package/dist/player/index.cjs.map +1 -1
  28. package/dist/player/index.d.cts +5 -5
  29. package/dist/player/index.d.ts +5 -5
  30. package/dist/player/index.js +2 -2
  31. package/dist/{schedule-B1S53131.d.cts → schedule-C4sP7uFu.d.cts} +2 -2
  32. package/dist/{schedule-DtcYB-o4.d.ts → schedule-DjcqM6A4.d.ts} +2 -2
  33. package/dist/{schema-Cf_epUIC.d.cts → schema-DZag9qkF.d.cts} +8 -2
  34. package/dist/{schema-Cf_epUIC.d.ts → schema-DZag9qkF.d.ts} +8 -2
  35. package/dist/spec/index.cjs +3 -2
  36. package/dist/spec/index.cjs.map +1 -1
  37. package/dist/spec/index.d.cts +4 -4
  38. package/dist/spec/index.d.ts +4 -4
  39. package/dist/spec/index.js +1 -1
  40. package/dist/viewer/index.cjs +7 -6
  41. package/dist/viewer/index.cjs.map +1 -1
  42. package/dist/viewer/index.d.cts +3 -3
  43. package/dist/viewer/index.d.ts +3 -3
  44. package/dist/viewer/index.js +3 -3
  45. package/dist/viewer/index.js.map +1 -1
  46. package/package.json +1 -1
  47. package/dist/chunk-UPJYLXYX.js.map +0 -1
  48. package/dist/chunk-VCLLSNAK.js.map +0 -1
@@ -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-Cf_epUIC.cjs';
2
- import { L as Lay } from '../lay-J17-gS6O.cjs';
3
- import { D as DrumVoice, S as Schedule, P as PlayEvent } from '../schedule-B1S53131.cjs';
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
 
@@ -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-Cf_epUIC.js';
2
- import { L as Lay } from '../lay-0LnKv1LL.js';
3
- import { D as DrumVoice, S as Schedule, P as PlayEvent } from '../schedule-DtcYB-o4.js';
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
 
@@ -1,4 +1,4 @@
1
- import { isArcRaw, glideTargets, buildSchedule, drumPattern } from '../chunk-VCLLSNAK.js';
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 === "start") openAt(i, j);
234
- else if (note.meend === "end") closeAt(i, j);
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);