smoosic 1.0.34 → 1.0.35
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/build/html/smoosic.html +1 -0
- package/build/smoosic.js +36 -14
- package/package.json +1 -1
- package/release/html/smoosic.html +4 -3
- package/release/smoosic.js +36 -14
- package/release/styles/general.css +15 -0
- package/src/application/common.ts +20 -0
- package/src/application/eventHandler.ts +44 -8
- package/src/render/sui/NoteEntryCaret.ts +739 -0
- package/src/render/sui/NoteEntryMediator.ts +58 -0
- package/src/render/sui/mapper.ts +22 -4
- package/src/render/sui/scoreRender.ts +7 -7
- package/src/render/sui/scoreViewOperations.ts +46 -0
- package/src/render/sui/tracker.ts +93 -47
- package/src/render/vex/vxMeasure.ts +2 -1
- package/src/render/vex/vxNote.ts +1 -0
- package/src/smo/data/music.ts +17 -0
- package/src/smo/data/note.ts +3 -1
- package/src/smo/data/noteModifiers.ts +2 -0
- package/src/smo/data/scoreModifiers.ts +0 -3
- package/src/styles/general.css +22 -0
- package/src/ui/components/dialogs/scorePreferences.vue +1 -11
- package/types/src/application/application.d.ts +102 -102
- package/types/src/application/configuration.d.ts +74 -74
- package/types/src/application/dynamicInit.d.ts +1 -1
- package/types/src/application/eventHandler.d.ts +78 -78
- package/types/src/application/exports.d.ts +494 -494
- package/types/src/render/audio/oscillator.d.ts +98 -98
- package/types/src/render/audio/player.d.ts +141 -141
- package/types/src/render/audio/samples.d.ts +56 -56
- package/types/src/render/sui/configuration.d.ts +12 -12
- package/types/src/render/sui/formatter.d.ts +151 -151
- package/types/src/render/sui/layoutDebug.d.ts +43 -43
- package/types/src/render/sui/mapper.d.ts +116 -116
- package/types/src/render/sui/renderState.d.ts +88 -88
- package/types/src/render/sui/scoreRender.d.ts +93 -93
- package/types/src/render/sui/scoreView.d.ts +267 -267
- package/types/src/render/sui/scoreViewOperations.d.ts +594 -594
- package/types/src/render/sui/scroller.d.ts +34 -34
- package/types/src/render/sui/svgPageMap.d.ts +318 -318
- package/types/src/render/sui/textEdit.d.ts +310 -310
- package/types/src/render/vex/vxMeasure.d.ts +95 -95
- package/types/src/smo/data/common.d.ts +220 -220
- package/types/src/smo/data/measure.d.ts +510 -510
- package/types/src/smo/data/measureModifiers.d.ts +506 -506
- package/types/src/smo/data/scoreModifiers.d.ts +433 -433
- package/types/src/smo/xform/selections.d.ts +153 -153
- package/types/src/ui/common.d.ts +45 -45
- package/types/src/ui/configuration.d.ts +31 -31
- package/types/src/ui/dialogs/chordChange.d.ts +35 -35
- package/types/src/ui/dialogs/components/baseComponent.d.ts +158 -158
- package/types/src/ui/dialogs/components/button.d.ts +54 -54
- package/types/src/ui/dialogs/components/dropdown.d.ts +78 -78
- package/types/src/ui/dialogs/components/pitch.d.ts +95 -95
- package/types/src/ui/dialogs/components/rocker.d.ts +66 -66
- package/types/src/ui/dialogs/components/textInPlace.d.ts +90 -90
- package/types/src/ui/dialogs/components/textInput.d.ts +58 -58
- package/types/src/ui/dialogs/components/toggle.d.ts +53 -53
- package/types/src/ui/dialogs/dialog.d.ts +201 -201
- package/types/src/ui/dialogs/endings.d.ts +61 -61
- package/types/src/ui/dialogs/lyric.d.ts +39 -39
- package/types/src/ui/dialogs/measureFormat.d.ts +52 -52
- package/types/src/ui/dialogs/textBlock.d.ts +61 -61
- package/types/src/ui/exceptions.d.ts +12 -12
- package/types/src/ui/menus/manager.d.ts +57 -57
- package/types/src/ui/navigation.d.ts +15 -15
- package/types/typedoc.d.ts +158 -158
- package/release/styles/styles.css +0 -0
- package/src/styles/fonts/Roboto-Italic-VariableFont_wdth,wght.ttf +0 -0
- package/src/styles/fonts/Roboto-VariableFont_wdth,wght.ttf +0 -0
- package/src/styles/styles.css +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { SvgBox, SvgPoint } from '../../smo/data/common';
|
|
2
|
-
import { SvgPageMap } from './svgPageMap';
|
|
3
|
-
/**
|
|
4
|
-
* Respond to scroll events in music DOM, and handle the scroll of the viewport
|
|
5
|
-
* @category SuiRender
|
|
6
|
-
*/
|
|
7
|
-
export declare class SuiScroller {
|
|
8
|
-
selector: HTMLElement;
|
|
9
|
-
svgPages: SvgPageMap;
|
|
10
|
-
_scroll: SvgPoint;
|
|
11
|
-
_offsetInitial: SvgPoint;
|
|
12
|
-
viewport: SvgBox;
|
|
13
|
-
logicalViewport: SvgBox;
|
|
14
|
-
scrolling: boolean;
|
|
15
|
-
constructor(selector: HTMLElement, svgPages: SvgPageMap);
|
|
16
|
-
get scrollState(): SvgPoint;
|
|
17
|
-
restoreScrollState(state: SvgPoint): void;
|
|
18
|
-
handleScroll(x: number, y: number): void;
|
|
19
|
-
updateDebug(): void;
|
|
20
|
-
deferUpdateDebug(): void;
|
|
21
|
-
scrollAbsolute(x: number, y: number): void;
|
|
22
|
-
/**
|
|
23
|
-
* Scroll such that the box is fully visible, if possible (if it is
|
|
24
|
-
* not larger than the screen)
|
|
25
|
-
**/
|
|
26
|
-
scrollVisibleBox(box: SvgBox): void;
|
|
27
|
-
updateViewport(): void;
|
|
28
|
-
get scrollBox(): SvgBox;
|
|
29
|
-
scrollOffset(x: number, y: number): void;
|
|
30
|
-
get netScroll(): {
|
|
31
|
-
x: number;
|
|
32
|
-
y: number;
|
|
33
|
-
};
|
|
34
|
-
}
|
|
1
|
+
import { SvgBox, SvgPoint } from '../../smo/data/common';
|
|
2
|
+
import { SvgPageMap } from './svgPageMap';
|
|
3
|
+
/**
|
|
4
|
+
* Respond to scroll events in music DOM, and handle the scroll of the viewport
|
|
5
|
+
* @category SuiRender
|
|
6
|
+
*/
|
|
7
|
+
export declare class SuiScroller {
|
|
8
|
+
selector: HTMLElement;
|
|
9
|
+
svgPages: SvgPageMap;
|
|
10
|
+
_scroll: SvgPoint;
|
|
11
|
+
_offsetInitial: SvgPoint;
|
|
12
|
+
viewport: SvgBox;
|
|
13
|
+
logicalViewport: SvgBox;
|
|
14
|
+
scrolling: boolean;
|
|
15
|
+
constructor(selector: HTMLElement, svgPages: SvgPageMap);
|
|
16
|
+
get scrollState(): SvgPoint;
|
|
17
|
+
restoreScrollState(state: SvgPoint): void;
|
|
18
|
+
handleScroll(x: number, y: number): void;
|
|
19
|
+
updateDebug(): void;
|
|
20
|
+
deferUpdateDebug(): void;
|
|
21
|
+
scrollAbsolute(x: number, y: number): void;
|
|
22
|
+
/**
|
|
23
|
+
* Scroll such that the box is fully visible, if possible (if it is
|
|
24
|
+
* not larger than the screen)
|
|
25
|
+
**/
|
|
26
|
+
scrollVisibleBox(box: SvgBox): void;
|
|
27
|
+
updateViewport(): void;
|
|
28
|
+
get scrollBox(): SvgBox;
|
|
29
|
+
scrollOffset(x: number, y: number): void;
|
|
30
|
+
get netScroll(): {
|
|
31
|
+
x: number;
|
|
32
|
+
y: number;
|
|
33
|
+
};
|
|
34
|
+
}
|