@coderline/alphatab 1.3.0-alpha.292 → 1.3.0-alpha.306
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/dist/alphaTab.d.ts +38 -4
- package/dist/alphaTab.js +226 -102
- package/dist/alphaTab.min.js +2 -2
- package/dist/alphaTab.min.mjs +2 -2
- package/dist/alphaTab.mjs +226 -102
- package/package.json +4 -4
package/dist/alphaTab.d.ts
CHANGED
|
@@ -1407,18 +1407,23 @@ declare class RepeatGroup {
|
|
|
1407
1407
|
* All masterbars repeated within this group
|
|
1408
1408
|
*/
|
|
1409
1409
|
masterBars: MasterBar[];
|
|
1410
|
+
/**
|
|
1411
|
+
* the masterbars which opens the group.
|
|
1412
|
+
*/
|
|
1413
|
+
opening: MasterBar | null;
|
|
1410
1414
|
/**
|
|
1411
1415
|
* a list of masterbars which open the group.
|
|
1416
|
+
* @deprecated There can only be one opening, use the opening property instead
|
|
1412
1417
|
*/
|
|
1413
|
-
openings: MasterBar[];
|
|
1418
|
+
get openings(): MasterBar[];
|
|
1414
1419
|
/**
|
|
1415
1420
|
* a list of masterbars which close the group.
|
|
1416
1421
|
*/
|
|
1417
1422
|
closings: MasterBar[];
|
|
1418
1423
|
/**
|
|
1419
|
-
*
|
|
1424
|
+
* Gets whether this repeat group is really opened as a repeat.
|
|
1420
1425
|
*/
|
|
1421
|
-
isOpened: boolean;
|
|
1426
|
+
get isOpened(): boolean;
|
|
1422
1427
|
/**
|
|
1423
1428
|
* true if the repeat group was closed well
|
|
1424
1429
|
*/
|
|
@@ -1854,6 +1859,8 @@ declare class Track {
|
|
|
1854
1859
|
*/
|
|
1855
1860
|
declare class Score {
|
|
1856
1861
|
private _currentRepeatGroup;
|
|
1862
|
+
private _openedRepeatGroups;
|
|
1863
|
+
private _properlyOpenedRepeatGroups;
|
|
1857
1864
|
/**
|
|
1858
1865
|
* The album of this song.
|
|
1859
1866
|
*/
|
|
@@ -1918,6 +1925,11 @@ declare class Score {
|
|
|
1918
1925
|
stylesheet: RenderStylesheet;
|
|
1919
1926
|
rebuildRepeatGroups(): void;
|
|
1920
1927
|
addMasterBar(bar: MasterBar): void;
|
|
1928
|
+
/**
|
|
1929
|
+
* Adds the given bar correctly into the current repeat group setup.
|
|
1930
|
+
* @param bar
|
|
1931
|
+
*/
|
|
1932
|
+
private addMasterBarToRepeatGroups;
|
|
1921
1933
|
addTrack(track: Track): void;
|
|
1922
1934
|
finish(settings: Settings): void;
|
|
1923
1935
|
}
|
|
@@ -4742,6 +4754,17 @@ interface IUiFacade<TSettings> {
|
|
|
4742
4754
|
readonly rootContainerBecameVisible: IEventEmitter;
|
|
4743
4755
|
}
|
|
4744
4756
|
|
|
4757
|
+
/**
|
|
4758
|
+
* Represents the information related to the beats actively being played now.
|
|
4759
|
+
*/
|
|
4760
|
+
declare class ActiveBeatsChangedEventArgs {
|
|
4761
|
+
/**
|
|
4762
|
+
* The currently active beats across all tracks and voices.
|
|
4763
|
+
*/
|
|
4764
|
+
activeBeats: Beat[];
|
|
4765
|
+
constructor(activeBeats: Beat[]);
|
|
4766
|
+
}
|
|
4767
|
+
|
|
4745
4768
|
/**
|
|
4746
4769
|
* This class represents the public API of alphaTab and provides all logic to display
|
|
4747
4770
|
* a music sheet in any UI using the given {@link IUiFacade}
|
|
@@ -4932,7 +4955,8 @@ declare class AlphaTabApiBase<TSettings> {
|
|
|
4932
4955
|
private _previousCursorCache;
|
|
4933
4956
|
private _lastScroll;
|
|
4934
4957
|
private destroyCursors;
|
|
4935
|
-
private
|
|
4958
|
+
private updateCursors;
|
|
4959
|
+
private setupPlayerEvents;
|
|
4936
4960
|
/**
|
|
4937
4961
|
* updates the cursors to highlight the beat at the specified tick position
|
|
4938
4962
|
* @param tick
|
|
@@ -4952,6 +4976,8 @@ declare class AlphaTabApiBase<TSettings> {
|
|
|
4952
4976
|
private internalCursorUpdateBeat;
|
|
4953
4977
|
playedBeatChanged: IEventEmitterOfT<Beat>;
|
|
4954
4978
|
private onPlayedBeatChanged;
|
|
4979
|
+
activeBeatsChanged: IEventEmitterOfT<ActiveBeatsChangedEventArgs>;
|
|
4980
|
+
private onActiveBeatsChanged;
|
|
4955
4981
|
private _beatMouseDown;
|
|
4956
4982
|
private _noteMouseDown;
|
|
4957
4983
|
private _selectionStart;
|
|
@@ -5001,6 +5027,11 @@ declare class AlphaTabApiBase<TSettings> {
|
|
|
5001
5027
|
private onMidiEventsPlayed;
|
|
5002
5028
|
playbackRangeChanged: IEventEmitterOfT<PlaybackRangeChangedEventArgs>;
|
|
5003
5029
|
private onPlaybackRangeChanged;
|
|
5030
|
+
/**
|
|
5031
|
+
* @internal
|
|
5032
|
+
*/
|
|
5033
|
+
settingsUpdated: IEventEmitter;
|
|
5034
|
+
private onSettingsUpdated;
|
|
5004
5035
|
}
|
|
5005
5036
|
|
|
5006
5037
|
/**
|
|
@@ -6816,6 +6847,8 @@ type index_d_PlaybackRangeChangedEventArgs = PlaybackRangeChangedEventArgs;
|
|
|
6816
6847
|
declare const index_d_PlaybackRangeChangedEventArgs: typeof PlaybackRangeChangedEventArgs;
|
|
6817
6848
|
type index_d_PositionChangedEventArgs = PositionChangedEventArgs;
|
|
6818
6849
|
declare const index_d_PositionChangedEventArgs: typeof PositionChangedEventArgs;
|
|
6850
|
+
type index_d_ActiveBeatsChangedEventArgs = ActiveBeatsChangedEventArgs;
|
|
6851
|
+
declare const index_d_ActiveBeatsChangedEventArgs: typeof ActiveBeatsChangedEventArgs;
|
|
6819
6852
|
type index_d_AlphaSynthWebWorkerApi = AlphaSynthWebWorkerApi;
|
|
6820
6853
|
declare const index_d_AlphaSynthWebWorkerApi: typeof AlphaSynthWebWorkerApi;
|
|
6821
6854
|
declare namespace index_d {
|
|
@@ -6826,6 +6859,7 @@ declare namespace index_d {
|
|
|
6826
6859
|
index_d_PlayerStateChangedEventArgs as PlayerStateChangedEventArgs,
|
|
6827
6860
|
index_d_PlaybackRangeChangedEventArgs as PlaybackRangeChangedEventArgs,
|
|
6828
6861
|
index_d_PositionChangedEventArgs as PositionChangedEventArgs,
|
|
6862
|
+
index_d_ActiveBeatsChangedEventArgs as ActiveBeatsChangedEventArgs,
|
|
6829
6863
|
index_d_AlphaSynthWebWorkerApi as AlphaSynthWebWorkerApi,
|
|
6830
6864
|
};
|
|
6831
6865
|
}
|