smoosic 1.0.40 → 1.0.41

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 (71) hide show
  1. package/build/smoosic.js +3 -3
  2. package/package.json +1 -1
  3. package/release/smoosic.js +3 -3
  4. package/src/smo/data/scoreModifiers.ts +2 -2
  5. package/src/ui/components/dialogs/timeSignature.vue +25 -4
  6. package/types/src/application/application.d.ts +103 -102
  7. package/types/src/application/common.d.ts +6 -0
  8. package/types/src/application/configuration.d.ts +75 -75
  9. package/types/src/application/dynamicInit.d.ts +6 -6
  10. package/types/src/application/eventHandler.d.ts +87 -81
  11. package/types/src/application/exports.d.ts +482 -485
  12. package/types/src/render/audio/oscillator.d.ts +99 -99
  13. package/types/src/render/audio/player.d.ts +143 -143
  14. package/types/src/render/audio/samples.d.ts +56 -56
  15. package/types/src/render/sui/NoteEntryCaret.d.ts +107 -0
  16. package/types/src/render/sui/NoteEntryMediator.d.ts +24 -0
  17. package/types/src/render/sui/configuration.d.ts +53 -49
  18. package/types/src/render/sui/formatter.d.ts +163 -161
  19. package/types/src/render/sui/layoutDebug.d.ts +46 -46
  20. package/types/src/render/sui/mapper.d.ts +138 -135
  21. package/types/src/render/sui/renderState.d.ts +92 -90
  22. package/types/src/render/sui/scoreRender.d.ts +97 -96
  23. package/types/src/render/sui/scoreView.d.ts +280 -279
  24. package/types/src/render/sui/scoreViewOperations.d.ts +604 -594
  25. package/types/src/render/sui/scroller.d.ts +41 -41
  26. package/types/src/render/sui/svgPageMap.d.ts +344 -344
  27. package/types/src/render/sui/textEdit.d.ts +316 -316
  28. package/types/src/render/sui/tracker.d.ts +10 -4
  29. package/types/src/render/vex/vxMeasure.d.ts +97 -97
  30. package/types/src/smo/data/common.d.ts +220 -220
  31. package/types/src/smo/data/measure.d.ts +511 -511
  32. package/types/src/smo/data/measureModifiers.d.ts +509 -508
  33. package/types/src/smo/data/music.d.ts +2 -1
  34. package/types/src/smo/data/note.d.ts +2 -0
  35. package/types/src/smo/data/noteModifiers.d.ts +2 -0
  36. package/types/src/smo/data/score.d.ts +7 -5
  37. package/types/src/smo/data/scoreModifiers.d.ts +441 -440
  38. package/types/src/smo/data/systemStaff.d.ts +2 -2
  39. package/types/src/smo/data/tuplet.d.ts +7 -0
  40. package/types/src/smo/midi/midiToSmo.d.ts +12 -12
  41. package/types/src/smo/midi/smoToMidi.d.ts +3 -3
  42. package/types/src/smo/mxml/smoToXml.d.ts +4 -4
  43. package/types/src/smo/mxml/xmlState.d.ts +3 -3
  44. package/types/src/smo/mxml/xmlToSmo.d.ts +2 -2
  45. package/types/src/smo/xform/operations.d.ts +3 -3
  46. package/types/src/smo/xform/selections.d.ts +154 -154
  47. package/types/src/ui/buttons/display.d.ts +1 -0
  48. package/types/src/ui/common.d.ts +69 -67
  49. package/types/src/ui/composable/draggable.d.ts +1 -1
  50. package/types/src/ui/configuration.d.ts +30 -30
  51. package/types/src/ui/dialogs/chordChange.d.ts +35 -35
  52. package/types/src/ui/dialogs/components/baseComponent.d.ts +158 -158
  53. package/types/src/ui/dialogs/components/button.d.ts +54 -54
  54. package/types/src/ui/dialogs/components/dropdown.d.ts +78 -78
  55. package/types/src/ui/dialogs/components/pitch.d.ts +95 -95
  56. package/types/src/ui/dialogs/components/rocker.d.ts +66 -66
  57. package/types/src/ui/dialogs/components/textInPlace.d.ts +90 -90
  58. package/types/src/ui/dialogs/components/textInput.d.ts +58 -58
  59. package/types/src/ui/dialogs/components/toggle.d.ts +53 -53
  60. package/types/src/ui/dialogs/dialog.d.ts +203 -203
  61. package/types/src/ui/dialogs/endings.d.ts +2 -2
  62. package/types/src/ui/dialogs/lyric.d.ts +39 -39
  63. package/types/src/ui/dialogs/measureFormat.d.ts +2 -2
  64. package/types/src/ui/dialogs/tempo.d.ts +3 -3
  65. package/types/src/ui/dialogs/textBlock.d.ts +55 -61
  66. package/types/src/ui/dialogs/timeSignature.d.ts +2 -34
  67. package/types/src/ui/exceptions.d.ts +15 -15
  68. package/types/src/ui/help.d.ts +6 -1
  69. package/types/src/ui/menus/manager.d.ts +59 -59
  70. package/types/src/ui/navigation.d.ts +44 -37
  71. package/types/typedoc.d.ts +157 -157
@@ -1,41 +1,41 @@
1
- import { SvgBox, SvgPoint } from '../../smo/data/common';
2
- import { SvgPageMap } from './svgPageMap';
3
- import { layoutDebug } from './layoutDebug';
4
- export interface SuiScrollerParams {
5
- selector: HTMLElement;
6
- svgPages: SvgPageMap;
7
- debug: layoutDebug;
8
- }
9
- /**
10
- * Respond to scroll events in music DOM, and handle the scroll of the viewport
11
- * @category SuiRender
12
- */
13
- export declare class SuiScroller {
14
- selector: HTMLElement;
15
- svgPages: SvgPageMap;
16
- _scroll: SvgPoint;
17
- _offsetInitial: SvgPoint;
18
- viewport: SvgBox;
19
- logicalViewport: SvgBox;
20
- scrolling: boolean;
21
- debug: layoutDebug;
22
- constructor(params: SuiScrollerParams);
23
- get scrollState(): SvgPoint;
24
- restoreScrollState(state: SvgPoint): void;
25
- handleScroll(x: number, y: number): void;
26
- updateDebug(): void;
27
- deferUpdateDebug(): void;
28
- scrollAbsolute(x: number, y: number): void;
29
- /**
30
- * Scroll such that the box is fully visible, if possible (if it is
31
- * not larger than the screen)
32
- **/
33
- scrollVisibleBox(box: SvgBox): void;
34
- updateViewport(): void;
35
- get scrollBox(): SvgBox;
36
- scrollOffset(x: number, y: number): void;
37
- get netScroll(): {
38
- x: number;
39
- y: number;
40
- };
41
- }
1
+ import { SvgBox, SvgPoint } from '../../smo/data/common';
2
+ import { SvgPageMap } from './svgPageMap';
3
+ import { layoutDebug } from './layoutDebug';
4
+ export interface SuiScrollerParams {
5
+ selector: HTMLElement;
6
+ svgPages: SvgPageMap;
7
+ debug: layoutDebug;
8
+ }
9
+ /**
10
+ * Respond to scroll events in music DOM, and handle the scroll of the viewport
11
+ * @category SuiRender
12
+ */
13
+ export declare class SuiScroller {
14
+ selector: HTMLElement;
15
+ svgPages: SvgPageMap;
16
+ _scroll: SvgPoint;
17
+ _offsetInitial: SvgPoint;
18
+ viewport: SvgBox;
19
+ logicalViewport: SvgBox;
20
+ scrolling: boolean;
21
+ debug: layoutDebug;
22
+ constructor(params: SuiScrollerParams);
23
+ get scrollState(): SvgPoint;
24
+ restoreScrollState(state: SvgPoint): void;
25
+ handleScroll(x: number, y: number): void;
26
+ updateDebug(): void;
27
+ deferUpdateDebug(): void;
28
+ scrollAbsolute(x: number, y: number): void;
29
+ /**
30
+ * Scroll such that the box is fully visible, if possible (if it is
31
+ * not larger than the screen)
32
+ **/
33
+ scrollVisibleBox(box: SvgBox): void;
34
+ updateViewport(): void;
35
+ get scrollBox(): SvgBox;
36
+ scrollOffset(x: number, y: number): void;
37
+ get netScroll(): {
38
+ x: number;
39
+ y: number;
40
+ };
41
+ }