@ugfoundation/swaralipi-js 0.10.0 → 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 (52) hide show
  1. package/README.md +1 -0
  2. package/dist/.sync-conflict-20260930-214520-JJOTM26.DS_Store +0 -0
  3. package/dist/{batch-3PHPNX2P.js → batch-4TND6KNT.js} +5 -5
  4. package/dist/{batch-3PHPNX2P.js.map → batch-4TND6KNT.js.map} +1 -1
  5. package/dist/{chunk-JEJYMKKZ.js → chunk-CF3JWIHP.js} +5 -5
  6. package/dist/chunk-CF3JWIHP.js.map +1 -0
  7. package/dist/{chunk-I5GJWSD2.js → chunk-CLZJK33Q.js} +5 -4
  8. package/dist/chunk-CLZJK33Q.js.map +1 -0
  9. package/dist/{chunk-FGMULPL2.js → chunk-DFCUJQIB.js} +7 -7
  10. package/dist/chunk-DFCUJQIB.js.map +1 -0
  11. package/dist/{chunk-MYVIQU4O.js → chunk-SR7NFEGL.js} +5 -3
  12. package/dist/chunk-SR7NFEGL.js.map +1 -0
  13. package/dist/cli.cjs +9 -6
  14. package/dist/cli.cjs.map +1 -1
  15. package/dist/cli.js +3 -3
  16. package/dist/convert/index.cjs +9 -6
  17. package/dist/convert/index.cjs.map +1 -1
  18. package/dist/convert/index.d.cts +1 -1
  19. package/dist/convert/index.d.ts +1 -1
  20. package/dist/convert/index.js +3 -3
  21. package/dist/index.cjs +6 -3
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.d.cts +2 -2
  24. package/dist/index.d.ts +2 -2
  25. package/dist/index.js +2 -2
  26. package/dist/{lay-CfDlPhH2.d.cts → lay-CvZeVon3.d.cts} +8 -2
  27. package/dist/{lay-CZIzR9cM.d.ts → lay-DypMIIuf.d.ts} +8 -2
  28. package/dist/player/index.cjs +5 -3
  29. package/dist/player/index.cjs.map +1 -1
  30. package/dist/player/index.d.cts +5 -5
  31. package/dist/player/index.d.ts +5 -5
  32. package/dist/player/index.js +4 -4
  33. package/dist/{schedule-IBu8lr-3.d.cts → schedule-C4sP7uFu.d.cts} +2 -2
  34. package/dist/{schedule-BUopqmWm.d.ts → schedule-DjcqM6A4.d.ts} +2 -2
  35. package/dist/{schema-Cf_epUIC.d.cts → schema-DZag9qkF.d.cts} +8 -2
  36. package/dist/{schema-Cf_epUIC.d.ts → schema-DZag9qkF.d.ts} +8 -2
  37. package/dist/spec/index.cjs +6 -3
  38. package/dist/spec/index.cjs.map +1 -1
  39. package/dist/spec/index.d.cts +4 -4
  40. package/dist/spec/index.d.ts +4 -4
  41. package/dist/spec/index.js +2 -2
  42. package/dist/viewer/index.cjs +10 -7
  43. package/dist/viewer/index.cjs.map +1 -1
  44. package/dist/viewer/index.d.cts +3 -3
  45. package/dist/viewer/index.d.ts +3 -3
  46. package/dist/viewer/index.js +4 -4
  47. package/dist/viewer/index.js.map +1 -1
  48. package/package.json +1 -1
  49. package/dist/chunk-FGMULPL2.js.map +0 -1
  50. package/dist/chunk-I5GJWSD2.js.map +0 -1
  51. package/dist/chunk-JEJYMKKZ.js.map +0 -1
  52. package/dist/chunk-MYVIQU4O.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-CfDlPhH2.cjs';
3
- import { D as DrumVoice, S as Schedule, P as PlayEvent } from '../schedule-IBu8lr-3.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-CZIzR9cM.js';
3
- import { D as DrumVoice, S as Schedule, P as PlayEvent } from '../schedule-BUopqmWm.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,5 +1,5 @@
1
- import { isArcRaw, glideTargets, buildSchedule, drumPattern } from '../chunk-JEJYMKKZ.js';
2
- import { hasKomal, isTaalFerta, sameTaal, TAALS, graceNotes } from '../chunk-MYVIQU4O.js';
1
+ import { isArcRaw, glideTargets, buildSchedule, drumPattern } from '../chunk-CF3JWIHP.js';
2
+ import { hasKomal, isTaalFerta, sameTaal, TAALS, graceNotes } from '../chunk-SR7NFEGL.js';
3
3
 
4
4
  // src/viewer/glyphs.ts
5
5
  var SWARABITAN_SHUDDHA = {
@@ -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);