smoosic 1.0.24 → 1.0.26
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/smoosic.js +1 -1
- package/package.json +1 -1
- package/release/smoosic.js +1 -1
- package/release/styles/ribbon.css +5 -10
- package/src/application/exports.ts +1 -0
- package/src/styles/ribbon.css +5 -10
- package/types/src/application/application.d.ts +102 -102
- package/types/src/application/common.d.ts +74 -74
- package/types/src/application/configuration.d.ts +74 -74
- package/types/src/application/dom.d.ts +8 -8
- 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 -493
- package/types/src/application/generateVexTests.d.ts +10 -10
- package/types/src/application/keyCommands.d.ts +90 -90
- package/types/src/common/bootstrap.bundle.d.ts +1138 -1138
- package/types/src/common/htmlHelpers.d.ts +105 -105
- package/types/src/common/jszip.d.ts +2 -2
- package/types/src/common/midi-parser.d.ts +38 -38
- package/types/src/common/promiseHelpers.d.ts +30 -30
- package/types/src/common/serializationHelpers.d.ts +29 -29
- package/types/src/common/textformatter.d.ts +140 -140
- package/types/src/common/vex.d.ts +222 -222
- package/types/src/render/audio/musicCursor.d.ts +25 -25
- 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/piano.d.ts +46 -46
- 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/svgHelpers.d.ts +85 -85
- package/types/src/render/sui/svgPageMap.d.ts +318 -318
- package/types/src/render/sui/textEdit.d.ts +310 -310
- package/types/src/render/sui/textRender.d.ts +189 -189
- package/types/src/render/sui/tracker.d.ts +90 -90
- package/types/src/render/vex/glyphDimensions.d.ts +23 -23
- package/types/src/render/vex/smoAdapter.d.ts +46 -46
- package/types/src/render/vex/toVex.d.ts +13 -13
- package/types/src/render/vex/vxMeasure.d.ts +95 -95
- package/types/src/render/vex/vxNote.d.ts +55 -55
- package/types/src/render/vex/vxSystem.d.ts +64 -64
- 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/music.d.ts +438 -438
- package/types/src/smo/data/note.d.ts +485 -485
- package/types/src/smo/data/noteModifiers.d.ts +590 -590
- package/types/src/smo/data/partInfo.d.ts +162 -162
- package/types/src/smo/data/score.d.ts +395 -395
- package/types/src/smo/data/scoreModifiers.d.ts +433 -433
- package/types/src/smo/data/scoreText.d.ts +277 -277
- package/types/src/smo/data/staffModifiers.d.ts +767 -767
- package/types/src/smo/data/systemStaff.d.ts +238 -238
- package/types/src/smo/data/tuplet.d.ts +146 -146
- package/types/src/smo/midi/midiToSmo.d.ts +198 -198
- package/types/src/smo/midi/smoToMidi.d.ts +23 -23
- package/types/src/smo/mxml/smoToXml.d.ts +165 -165
- package/types/src/smo/mxml/xmlHelpers.d.ts +140 -140
- package/types/src/smo/mxml/xmlState.d.ts +257 -257
- package/types/src/smo/mxml/xmlToSmo.d.ts +92 -92
- package/types/src/smo/xform/beamers.d.ts +46 -46
- package/types/src/smo/xform/copypaste.d.ts +99 -99
- package/types/src/smo/xform/operations.d.ts +127 -127
- package/types/src/smo/xform/roadmap.d.ts +70 -70
- package/types/src/smo/xform/selections.d.ts +153 -153
- package/types/src/smo/xform/tickDuration.d.ts +155 -155
- package/types/src/smo/xform/tickMap.d.ts +34 -34
- package/types/src/smo/xform/undo.d.ts +142 -142
- package/types/src/smo/xform/updateAudio.d.ts +9 -9
- package/types/src/styles/font_metrics/Commissioner-Medium-Metrics.d.ts +871 -871
- package/types/src/styles/font_metrics/ConcertOne-Regular.d.ts +871 -871
- package/types/src/styles/font_metrics/Merriweather-Regular.d.ts +871 -871
- package/types/src/styles/font_metrics/arial_metrics.d.ts +870 -870
- package/types/src/styles/font_metrics/ssp-sans-metrics.d.ts +871 -871
- package/types/src/styles/font_metrics/ssp-serif-metrics.d.ts +871 -871
- package/types/src/styles/font_metrics/times_metrics.d.ts +870 -870
- package/types/src/ui/buttons/button.d.ts +95 -95
- package/types/src/ui/buttons/collapsable.d.ts +42 -42
- package/types/src/ui/buttons/display.d.ts +23 -23
- package/types/src/ui/buttons/ribbon.d.ts +76 -76
- package/types/src/ui/common.d.ts +45 -45
- package/types/src/ui/composable/draggable.d.ts +12 -12
- package/types/src/ui/configuration.d.ts +31 -31
- package/types/src/ui/dialogs/adapter.d.ts +107 -107
- package/types/src/ui/dialogs/addMeasure.d.ts +20 -20
- package/types/src/ui/dialogs/arpeggio.d.ts +2 -2
- package/types/src/ui/dialogs/articulation.d.ts +2 -2
- package/types/src/ui/dialogs/audioSettings.d.ts +32 -32
- package/types/src/ui/dialogs/chordChange.d.ts +35 -35
- package/types/src/ui/dialogs/clefChange.d.ts +2 -2
- 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/buttonArray.d.ts +101 -101
- package/types/src/ui/dialogs/components/checkdrop.d.ts +27 -27
- package/types/src/ui/dialogs/components/dragText.d.ts +27 -27
- package/types/src/ui/dialogs/components/dropdown.d.ts +78 -78
- package/types/src/ui/dialogs/components/fileDownload.d.ts +28 -28
- package/types/src/ui/dialogs/components/fontComponent.d.ts +32 -32
- package/types/src/ui/dialogs/components/noteText.d.ts +98 -98
- 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/staffComponents.d.ts +77 -77
- package/types/src/ui/dialogs/components/textCheck.d.ts +38 -38
- 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/tie.d.ts +41 -41
- package/types/src/ui/dialogs/components/toggle.d.ts +53 -53
- package/types/src/ui/dialogs/components/tree.d.ts +46 -46
- package/types/src/ui/dialogs/customTuplets.d.ts +25 -25
- package/types/src/ui/dialogs/dialog.d.ts +201 -201
- package/types/src/ui/dialogs/durations.d.ts +2 -2
- package/types/src/ui/dialogs/dynamics.d.ts +37 -37
- package/types/src/ui/dialogs/endings.d.ts +61 -61
- package/types/src/ui/dialogs/factory.d.ts +15 -15
- package/types/src/ui/dialogs/fileDialogs.d.ts +4 -4
- package/types/src/ui/dialogs/fonts.d.ts +2 -2
- package/types/src/ui/dialogs/globalLayout.d.ts +2 -2
- package/types/src/ui/dialogs/gracenote.d.ts +2 -2
- package/types/src/ui/dialogs/hairpin.d.ts +35 -35
- package/types/src/ui/dialogs/instrument.d.ts +3 -3
- package/types/src/ui/dialogs/keySignature.d.ts +33 -33
- package/types/src/ui/dialogs/library.d.ts +70 -70
- 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/microtones.d.ts +2 -2
- package/types/src/ui/dialogs/noteHead.d.ts +2 -2
- package/types/src/ui/dialogs/ornament.d.ts +2 -2
- package/types/src/ui/dialogs/pageLayout.d.ts +2 -2
- package/types/src/ui/dialogs/partInfo.d.ts +2 -2
- package/types/src/ui/dialogs/pedalMarking.d.ts +35 -35
- package/types/src/ui/dialogs/pitch.d.ts +2 -2
- package/types/src/ui/dialogs/preferences.d.ts +2 -2
- package/types/src/ui/dialogs/scoreId.d.ts +2 -2
- package/types/src/ui/dialogs/scoreView.d.ts +2 -2
- package/types/src/ui/dialogs/slur.d.ts +57 -57
- package/types/src/ui/dialogs/staffGroup.d.ts +2 -2
- package/types/src/ui/dialogs/tabNote.d.ts +32 -32
- package/types/src/ui/dialogs/tabStave.d.ts +43 -43
- package/types/src/ui/dialogs/tempo.d.ts +50 -50
- package/types/src/ui/dialogs/textBlock.d.ts +61 -61
- package/types/src/ui/dialogs/textBracket.d.ts +35 -35
- package/types/src/ui/dialogs/tie.d.ts +41 -41
- package/types/src/ui/dialogs/timeSignature.d.ts +34 -34
- package/types/src/ui/dialogs/transposeScore.d.ts +2 -2
- package/types/src/ui/dialogs/volta.d.ts +40 -40
- package/types/src/ui/eventSource.d.ts +63 -63
- package/types/src/ui/exceptions.d.ts +12 -12
- package/types/src/ui/fileio/fileInput.d.ts +12 -12
- package/types/src/ui/fileio/library.d.ts +40 -40
- package/types/src/ui/fileio/xhrLoader.d.ts +18 -18
- package/types/src/ui/help.d.ts +22 -22
- package/types/src/ui/i18n/language.d.ts +37 -37
- package/types/src/ui/i18n/language_ar.d.ts +5 -5
- package/types/src/ui/i18n/language_de.d.ts +1 -1
- package/types/src/ui/i18n/language_en.d.ts +18 -18
- package/types/src/ui/i18n/translationEditor.d.ts +14 -14
- package/types/src/ui/keyBindings/default/editorKeys.d.ts +7 -7
- package/types/src/ui/keyBindings/default/trackerKeys.d.ts +7 -7
- package/types/src/ui/menus/beams.d.ts +13 -13
- package/types/src/ui/menus/edit.d.ts +8 -8
- package/types/src/ui/menus/file.d.ts +26 -26
- package/types/src/ui/menus/help.d.ts +8 -8
- package/types/src/ui/menus/keySignature.d.ts +13 -13
- package/types/src/ui/menus/language.d.ts +12 -12
- package/types/src/ui/menus/manager.d.ts +57 -57
- package/types/src/ui/menus/measure.d.ts +8 -8
- package/types/src/ui/menus/menu.d.ts +136 -136
- package/types/src/ui/menus/note.d.ts +8 -8
- package/types/src/ui/menus/partSelection.d.ts +19 -19
- package/types/src/ui/menus/parts.d.ts +50 -50
- package/types/src/ui/menus/score.d.ts +20 -20
- package/types/src/ui/menus/staffModifier.d.ts +21 -21
- package/types/src/ui/menus/text.d.ts +8 -8
- package/types/src/ui/menus/timeSignature.d.ts +12 -12
- package/types/src/ui/menus/tuplets.d.ts +13 -13
- package/types/src/ui/menus/voices.d.ts +8 -8
- package/types/src/ui/modalDialogs.d.ts +1 -1
- package/types/src/ui/navigation.d.ts +15 -15
- package/types/src/ui/qwerty.d.ts +41 -41
- package/types/src/ui/ribbonLayout/default/defaultRibbon.d.ts +15 -15
- package/types/src/ui/ribbonLayout/default/tabletRibbon.d.ts +22 -22
- package/types/typedoc.d.ts +158 -158
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { DialogDefinition, SuiDialogParams } from './dialog';
|
|
2
|
-
import { SmoSlur } from '../../smo/data/staffModifiers';
|
|
3
|
-
import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
|
|
4
|
-
import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
|
|
5
|
-
export type SlurNumber = 'spacing' | 'thickness' | 'xOffset' | 'yOffset' | 'position' | 'position_end' | 'cp1x' | 'cp1y' | 'cp2x' | 'cp2y' | 'orientation';
|
|
6
|
-
/**
|
|
7
|
-
* Slur properties
|
|
8
|
-
* @category SuiDialog
|
|
9
|
-
*/
|
|
10
|
-
export declare class SuiSlurAdapter extends SuiComponentAdapter {
|
|
11
|
-
slur: SmoSlur;
|
|
12
|
-
backup: SmoSlur;
|
|
13
|
-
changed: boolean;
|
|
14
|
-
updating: boolean;
|
|
15
|
-
constructor(view: SuiScoreViewOperations, slur: SmoSlur);
|
|
16
|
-
writeSlurNumber(view: SuiScoreViewOperations, slur: SmoSlur, key: SlurNumber, value: number): void;
|
|
17
|
-
cancel(): Promise<void>;
|
|
18
|
-
commit(): Promise<any>;
|
|
19
|
-
get resetAll(): boolean;
|
|
20
|
-
set resetAll(value: boolean);
|
|
21
|
-
get resetDefaults(): boolean;
|
|
22
|
-
set resetDefaults(value: boolean);
|
|
23
|
-
get cp2y(): number;
|
|
24
|
-
set cp2y(value: number);
|
|
25
|
-
get cp2x(): number;
|
|
26
|
-
set cp2x(value: number);
|
|
27
|
-
get cp1y(): number;
|
|
28
|
-
set cp1y(value: number);
|
|
29
|
-
get cp1x(): number;
|
|
30
|
-
set cp1x(value: number);
|
|
31
|
-
get orientation(): number;
|
|
32
|
-
set orientation(value: number);
|
|
33
|
-
get position_end(): number;
|
|
34
|
-
set position_end(value: number);
|
|
35
|
-
get position(): number;
|
|
36
|
-
set position(value: number);
|
|
37
|
-
get yOffset(): number;
|
|
38
|
-
set yOffset(value: number);
|
|
39
|
-
get xOffset(): number;
|
|
40
|
-
set xOffset(value: number);
|
|
41
|
-
get thickness(): number;
|
|
42
|
-
set thickness(value: number);
|
|
43
|
-
get spacing(): number;
|
|
44
|
-
set spacing(value: number);
|
|
45
|
-
remove(): Promise<void>;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @category SuiDialog
|
|
49
|
-
*/
|
|
50
|
-
export declare class SuiSlurAttributesDialog extends SuiDialogAdapterBase<SuiSlurAdapter> {
|
|
51
|
-
static dialogElements: DialogDefinition;
|
|
52
|
-
disableClose(): void;
|
|
53
|
-
enableClose(): void;
|
|
54
|
-
modalPromise(): Promise<void>;
|
|
55
|
-
changed(): Promise<void>;
|
|
56
|
-
constructor(parameters: SuiDialogParams);
|
|
57
|
-
}
|
|
1
|
+
import { DialogDefinition, SuiDialogParams } from './dialog';
|
|
2
|
+
import { SmoSlur } from '../../smo/data/staffModifiers';
|
|
3
|
+
import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
|
|
4
|
+
import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
|
|
5
|
+
export type SlurNumber = 'spacing' | 'thickness' | 'xOffset' | 'yOffset' | 'position' | 'position_end' | 'cp1x' | 'cp1y' | 'cp2x' | 'cp2y' | 'orientation';
|
|
6
|
+
/**
|
|
7
|
+
* Slur properties
|
|
8
|
+
* @category SuiDialog
|
|
9
|
+
*/
|
|
10
|
+
export declare class SuiSlurAdapter extends SuiComponentAdapter {
|
|
11
|
+
slur: SmoSlur;
|
|
12
|
+
backup: SmoSlur;
|
|
13
|
+
changed: boolean;
|
|
14
|
+
updating: boolean;
|
|
15
|
+
constructor(view: SuiScoreViewOperations, slur: SmoSlur);
|
|
16
|
+
writeSlurNumber(view: SuiScoreViewOperations, slur: SmoSlur, key: SlurNumber, value: number): void;
|
|
17
|
+
cancel(): Promise<void>;
|
|
18
|
+
commit(): Promise<any>;
|
|
19
|
+
get resetAll(): boolean;
|
|
20
|
+
set resetAll(value: boolean);
|
|
21
|
+
get resetDefaults(): boolean;
|
|
22
|
+
set resetDefaults(value: boolean);
|
|
23
|
+
get cp2y(): number;
|
|
24
|
+
set cp2y(value: number);
|
|
25
|
+
get cp2x(): number;
|
|
26
|
+
set cp2x(value: number);
|
|
27
|
+
get cp1y(): number;
|
|
28
|
+
set cp1y(value: number);
|
|
29
|
+
get cp1x(): number;
|
|
30
|
+
set cp1x(value: number);
|
|
31
|
+
get orientation(): number;
|
|
32
|
+
set orientation(value: number);
|
|
33
|
+
get position_end(): number;
|
|
34
|
+
set position_end(value: number);
|
|
35
|
+
get position(): number;
|
|
36
|
+
set position(value: number);
|
|
37
|
+
get yOffset(): number;
|
|
38
|
+
set yOffset(value: number);
|
|
39
|
+
get xOffset(): number;
|
|
40
|
+
set xOffset(value: number);
|
|
41
|
+
get thickness(): number;
|
|
42
|
+
set thickness(value: number);
|
|
43
|
+
get spacing(): number;
|
|
44
|
+
set spacing(value: number);
|
|
45
|
+
remove(): Promise<void>;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @category SuiDialog
|
|
49
|
+
*/
|
|
50
|
+
export declare class SuiSlurAttributesDialog extends SuiDialogAdapterBase<SuiSlurAdapter> {
|
|
51
|
+
static dialogElements: DialogDefinition;
|
|
52
|
+
disableClose(): void;
|
|
53
|
+
enableClose(): void;
|
|
54
|
+
modalPromise(): Promise<void>;
|
|
55
|
+
changed(): Promise<void>;
|
|
56
|
+
constructor(parameters: SuiDialogParams);
|
|
57
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SuiDialogParams } from './dialog';
|
|
2
|
-
export declare const SuiStaffGroupDialogVue: (parameters: SuiDialogParams) => void;
|
|
1
|
+
import { SuiDialogParams } from './dialog';
|
|
2
|
+
export declare const SuiStaffGroupDialogVue: (parameters: SuiDialogParams) => void;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { SmoTabNote } from '../../smo/data/noteModifiers';
|
|
2
|
-
import { SmoSelection } from '../../smo/xform/selections';
|
|
3
|
-
import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
|
|
4
|
-
import { DialogDefinition, SuiDialogParams } from './dialog';
|
|
5
|
-
import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
|
|
6
|
-
/**
|
|
7
|
-
* This is incomplete
|
|
8
|
-
* @category SuiDialog
|
|
9
|
-
*/
|
|
10
|
-
export declare class SuiTabNoteAdapter extends SuiComponentAdapter {
|
|
11
|
-
selections: SmoSelection[];
|
|
12
|
-
tabNote: SmoTabNote;
|
|
13
|
-
constructor(view: SuiScoreViewOperations, modifier?: SmoTabNote);
|
|
14
|
-
get strings(): number[];
|
|
15
|
-
set strings(value: number[]);
|
|
16
|
-
commit(): Promise<void>;
|
|
17
|
-
cancel(): Promise<void>;
|
|
18
|
-
remove(): Promise<void>;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* This is incomplete
|
|
22
|
-
* @category SuiDialog
|
|
23
|
-
*/
|
|
24
|
-
export declare class SuiTabNoteDialog extends SuiDialogAdapterBase<SuiTabNoteAdapter> {
|
|
25
|
-
static get applyTo(): {
|
|
26
|
-
score: number;
|
|
27
|
-
selected: number;
|
|
28
|
-
remaining: number;
|
|
29
|
-
};
|
|
30
|
-
static dialogElements: DialogDefinition;
|
|
31
|
-
constructor(parameters: SuiDialogParams);
|
|
32
|
-
}
|
|
1
|
+
import { SmoTabNote } from '../../smo/data/noteModifiers';
|
|
2
|
+
import { SmoSelection } from '../../smo/xform/selections';
|
|
3
|
+
import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
|
|
4
|
+
import { DialogDefinition, SuiDialogParams } from './dialog';
|
|
5
|
+
import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
|
|
6
|
+
/**
|
|
7
|
+
* This is incomplete
|
|
8
|
+
* @category SuiDialog
|
|
9
|
+
*/
|
|
10
|
+
export declare class SuiTabNoteAdapter extends SuiComponentAdapter {
|
|
11
|
+
selections: SmoSelection[];
|
|
12
|
+
tabNote: SmoTabNote;
|
|
13
|
+
constructor(view: SuiScoreViewOperations, modifier?: SmoTabNote);
|
|
14
|
+
get strings(): number[];
|
|
15
|
+
set strings(value: number[]);
|
|
16
|
+
commit(): Promise<void>;
|
|
17
|
+
cancel(): Promise<void>;
|
|
18
|
+
remove(): Promise<void>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* This is incomplete
|
|
22
|
+
* @category SuiDialog
|
|
23
|
+
*/
|
|
24
|
+
export declare class SuiTabNoteDialog extends SuiDialogAdapterBase<SuiTabNoteAdapter> {
|
|
25
|
+
static get applyTo(): {
|
|
26
|
+
score: number;
|
|
27
|
+
selected: number;
|
|
28
|
+
remaining: number;
|
|
29
|
+
};
|
|
30
|
+
static dialogElements: DialogDefinition;
|
|
31
|
+
constructor(parameters: SuiDialogParams);
|
|
32
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { SmoTabStave } from '../../smo/data/staffModifiers';
|
|
2
|
-
import { Pitch } from '../../smo/data/common';
|
|
3
|
-
import { SmoSelection } from '../../smo/xform/selections';
|
|
4
|
-
import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
|
|
5
|
-
import { DialogDefinition, SuiDialogParams } from './dialog';
|
|
6
|
-
import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
|
|
7
|
-
export declare const SuiTabStaveDialogVue: (parameters: SuiDialogParams) => Promise<void>;
|
|
8
|
-
/**
|
|
9
|
-
* Create or edit guitar tablature settings for a stave
|
|
10
|
-
* @category SuiDialog
|
|
11
|
-
*/
|
|
12
|
-
export declare class SuiTabStaveAdapter extends SuiComponentAdapter {
|
|
13
|
-
selections: SmoSelection[];
|
|
14
|
-
tabStave: SmoTabStave;
|
|
15
|
-
constructor(view: SuiScoreViewOperations, modifier?: SmoTabStave);
|
|
16
|
-
get numLines(): number;
|
|
17
|
-
set numLines(value: number);
|
|
18
|
-
set spacing(value: number);
|
|
19
|
-
get spacing(): number;
|
|
20
|
-
get showStems(): boolean;
|
|
21
|
-
set showStems(value: boolean);
|
|
22
|
-
get allMeasures(): boolean;
|
|
23
|
-
set allMeasures(value: boolean);
|
|
24
|
-
get stringPitches(): Pitch[];
|
|
25
|
-
set stringPitches(value: Pitch[]);
|
|
26
|
-
resetStrings(): void;
|
|
27
|
-
commit(): Promise<void>;
|
|
28
|
-
cancel(): Promise<void>;
|
|
29
|
-
remove(): Promise<void>;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Create or edit guitar tablature settings for a stave
|
|
33
|
-
* @category SuiDialog
|
|
34
|
-
*/
|
|
35
|
-
export declare class SuiTabStaveDialog extends SuiDialogAdapterBase<SuiTabStaveAdapter> {
|
|
36
|
-
static get applyTo(): {
|
|
37
|
-
score: number;
|
|
38
|
-
selected: number;
|
|
39
|
-
remaining: number;
|
|
40
|
-
};
|
|
41
|
-
static dialogElements: DialogDefinition;
|
|
42
|
-
constructor(parameters: SuiDialogParams);
|
|
43
|
-
}
|
|
1
|
+
import { SmoTabStave } from '../../smo/data/staffModifiers';
|
|
2
|
+
import { Pitch } from '../../smo/data/common';
|
|
3
|
+
import { SmoSelection } from '../../smo/xform/selections';
|
|
4
|
+
import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
|
|
5
|
+
import { DialogDefinition, SuiDialogParams } from './dialog';
|
|
6
|
+
import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
|
|
7
|
+
export declare const SuiTabStaveDialogVue: (parameters: SuiDialogParams) => Promise<void>;
|
|
8
|
+
/**
|
|
9
|
+
* Create or edit guitar tablature settings for a stave
|
|
10
|
+
* @category SuiDialog
|
|
11
|
+
*/
|
|
12
|
+
export declare class SuiTabStaveAdapter extends SuiComponentAdapter {
|
|
13
|
+
selections: SmoSelection[];
|
|
14
|
+
tabStave: SmoTabStave;
|
|
15
|
+
constructor(view: SuiScoreViewOperations, modifier?: SmoTabStave);
|
|
16
|
+
get numLines(): number;
|
|
17
|
+
set numLines(value: number);
|
|
18
|
+
set spacing(value: number);
|
|
19
|
+
get spacing(): number;
|
|
20
|
+
get showStems(): boolean;
|
|
21
|
+
set showStems(value: boolean);
|
|
22
|
+
get allMeasures(): boolean;
|
|
23
|
+
set allMeasures(value: boolean);
|
|
24
|
+
get stringPitches(): Pitch[];
|
|
25
|
+
set stringPitches(value: Pitch[]);
|
|
26
|
+
resetStrings(): void;
|
|
27
|
+
commit(): Promise<void>;
|
|
28
|
+
cancel(): Promise<void>;
|
|
29
|
+
remove(): Promise<void>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Create or edit guitar tablature settings for a stave
|
|
33
|
+
* @category SuiDialog
|
|
34
|
+
*/
|
|
35
|
+
export declare class SuiTabStaveDialog extends SuiDialogAdapterBase<SuiTabStaveAdapter> {
|
|
36
|
+
static get applyTo(): {
|
|
37
|
+
score: number;
|
|
38
|
+
selected: number;
|
|
39
|
+
remaining: number;
|
|
40
|
+
};
|
|
41
|
+
static dialogElements: DialogDefinition;
|
|
42
|
+
constructor(parameters: SuiDialogParams);
|
|
43
|
+
}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { SmoTempoText, SmoTempoNumberAttribute, SmoTempoStringAttribute, SmoTempoBooleanAttribute } from '../../smo/data/measureModifiers';
|
|
2
|
-
import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
|
|
3
|
-
import { DialogDefinition, SuiDialogParams } from './dialog';
|
|
4
|
-
import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
|
|
5
|
-
import { SmoMeasure } from '../../smo/data/measure';
|
|
6
|
-
/**
|
|
7
|
-
* Manage tempo map for the score
|
|
8
|
-
* @category SuiDialog
|
|
9
|
-
*/
|
|
10
|
-
export declare class SuiTempoAdapter extends SuiComponentAdapter {
|
|
11
|
-
smoTempoText: SmoTempoText;
|
|
12
|
-
backup: SmoTempoText;
|
|
13
|
-
applyToAllVal: boolean;
|
|
14
|
-
applyToSelection: boolean;
|
|
15
|
-
edited: boolean;
|
|
16
|
-
measure: SmoMeasure;
|
|
17
|
-
constructor(view: SuiScoreViewOperations, measure: SmoMeasure);
|
|
18
|
-
writeNumber(param: SmoTempoNumberAttribute, value: number): void;
|
|
19
|
-
writeBoolean(param: SmoTempoBooleanAttribute, value: boolean): void;
|
|
20
|
-
writeString(param: SmoTempoStringAttribute, value: string): void;
|
|
21
|
-
remove(): Promise<void>;
|
|
22
|
-
cancel(): Promise<void>;
|
|
23
|
-
get applyToAll(): boolean;
|
|
24
|
-
set applyToAll(val: boolean);
|
|
25
|
-
commit(): Promise<any>;
|
|
26
|
-
get tempoText(): string;
|
|
27
|
-
set tempoText(value: string);
|
|
28
|
-
get tempoMode(): string;
|
|
29
|
-
set tempoMode(value: string);
|
|
30
|
-
get customText(): string;
|
|
31
|
-
set customText(value: string);
|
|
32
|
-
get bpm(): number;
|
|
33
|
-
set bpm(value: number);
|
|
34
|
-
get display(): boolean;
|
|
35
|
-
set display(value: boolean);
|
|
36
|
-
get beatDuration(): number;
|
|
37
|
-
set beatDuration(value: number);
|
|
38
|
-
get yOffset(): number;
|
|
39
|
-
set yOffset(value: number);
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* @category SuiDialog
|
|
43
|
-
*/
|
|
44
|
-
export declare class SuiTempoDialog extends SuiDialogAdapterBase<SuiTempoAdapter> {
|
|
45
|
-
static dialogElements: DialogDefinition;
|
|
46
|
-
showHideCustom(): void;
|
|
47
|
-
changed(): Promise<void>;
|
|
48
|
-
initialValue(): void;
|
|
49
|
-
constructor(parameters: SuiDialogParams);
|
|
50
|
-
}
|
|
1
|
+
import { SmoTempoText, SmoTempoNumberAttribute, SmoTempoStringAttribute, SmoTempoBooleanAttribute } from '../../smo/data/measureModifiers';
|
|
2
|
+
import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
|
|
3
|
+
import { DialogDefinition, SuiDialogParams } from './dialog';
|
|
4
|
+
import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
|
|
5
|
+
import { SmoMeasure } from '../../smo/data/measure';
|
|
6
|
+
/**
|
|
7
|
+
* Manage tempo map for the score
|
|
8
|
+
* @category SuiDialog
|
|
9
|
+
*/
|
|
10
|
+
export declare class SuiTempoAdapter extends SuiComponentAdapter {
|
|
11
|
+
smoTempoText: SmoTempoText;
|
|
12
|
+
backup: SmoTempoText;
|
|
13
|
+
applyToAllVal: boolean;
|
|
14
|
+
applyToSelection: boolean;
|
|
15
|
+
edited: boolean;
|
|
16
|
+
measure: SmoMeasure;
|
|
17
|
+
constructor(view: SuiScoreViewOperations, measure: SmoMeasure);
|
|
18
|
+
writeNumber(param: SmoTempoNumberAttribute, value: number): void;
|
|
19
|
+
writeBoolean(param: SmoTempoBooleanAttribute, value: boolean): void;
|
|
20
|
+
writeString(param: SmoTempoStringAttribute, value: string): void;
|
|
21
|
+
remove(): Promise<void>;
|
|
22
|
+
cancel(): Promise<void>;
|
|
23
|
+
get applyToAll(): boolean;
|
|
24
|
+
set applyToAll(val: boolean);
|
|
25
|
+
commit(): Promise<any>;
|
|
26
|
+
get tempoText(): string;
|
|
27
|
+
set tempoText(value: string);
|
|
28
|
+
get tempoMode(): string;
|
|
29
|
+
set tempoMode(value: string);
|
|
30
|
+
get customText(): string;
|
|
31
|
+
set customText(value: string);
|
|
32
|
+
get bpm(): number;
|
|
33
|
+
set bpm(value: number);
|
|
34
|
+
get display(): boolean;
|
|
35
|
+
set display(value: boolean);
|
|
36
|
+
get beatDuration(): number;
|
|
37
|
+
set beatDuration(value: number);
|
|
38
|
+
get yOffset(): number;
|
|
39
|
+
set yOffset(value: number);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @category SuiDialog
|
|
43
|
+
*/
|
|
44
|
+
export declare class SuiTempoDialog extends SuiDialogAdapterBase<SuiTempoAdapter> {
|
|
45
|
+
static dialogElements: DialogDefinition;
|
|
46
|
+
showHideCustom(): void;
|
|
47
|
+
changed(): Promise<void>;
|
|
48
|
+
initialValue(): void;
|
|
49
|
+
constructor(parameters: SuiDialogParams);
|
|
50
|
+
}
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { SmoScoreText, SmoTextGroup } from '../../smo/data/scoreText';
|
|
2
|
-
import { OutlineInfo } from '../../render/sui/svgHelpers';
|
|
3
|
-
import { DialogDefinition, SuiDialogBase, SuiDialogParams } from './dialog';
|
|
4
|
-
import { SuiDragText } from './components/dragText';
|
|
5
|
-
import { SuiTextInPlace } from './components/textInPlace';
|
|
6
|
-
import { SuiDropdownComponent } from './components/dropdown';
|
|
7
|
-
import { SuiToggleComponent } from './components/toggle';
|
|
8
|
-
import { SuiRockerComponent } from './components/rocker';
|
|
9
|
-
import { SuiFontComponent } from './components/fontComponent';
|
|
10
|
-
import { SuiTextBlockComponent } from './components/textInPlace';
|
|
11
|
-
import { EventHandler } from '../eventSource';
|
|
12
|
-
/**
|
|
13
|
-
* Complex dialog for managing score text (not associated with music)
|
|
14
|
-
* @category SuiDialog
|
|
15
|
-
*/
|
|
16
|
-
export declare class SuiTextBlockDialog extends SuiDialogBase {
|
|
17
|
-
get textEditorCtrl(): SuiTextInPlace;
|
|
18
|
-
get insertCodeCtrl(): SuiDropdownComponent;
|
|
19
|
-
get textDraggerCtrl(): SuiDragText;
|
|
20
|
-
get yCtrl(): SuiRockerComponent;
|
|
21
|
-
get xCtrl(): SuiRockerComponent;
|
|
22
|
-
get fontCtrl(): SuiFontComponent;
|
|
23
|
-
get textBlockCtrl(): SuiTextBlockComponent;
|
|
24
|
-
get paginationCtrl(): SuiDropdownComponent;
|
|
25
|
-
get attachToSelectorCtrl(): SuiToggleComponent;
|
|
26
|
-
static dialogElements: DialogDefinition;
|
|
27
|
-
edited: boolean;
|
|
28
|
-
isNew: boolean;
|
|
29
|
-
modifier: SmoTextGroup;
|
|
30
|
-
originalTextGroup: SmoTextGroup | null;
|
|
31
|
-
activeScoreText: SmoScoreText;
|
|
32
|
-
textElement: any;
|
|
33
|
-
mouseMoveHandler: EventHandler | null;
|
|
34
|
-
mouseUpHandler: EventHandler | null;
|
|
35
|
-
mouseDownHandler: EventHandler | null;
|
|
36
|
-
mouseClickHandler: EventHandler | null;
|
|
37
|
-
outlineRect: OutlineInfo | null;
|
|
38
|
-
constructor(parameters: SuiDialogParams);
|
|
39
|
-
populateInitial(): void;
|
|
40
|
-
static unrenderTextGroup(tg: SmoTextGroup): void;
|
|
41
|
-
unrenderOriginal(): void;
|
|
42
|
-
display(): void;
|
|
43
|
-
_resetAttachToSelector(): void;
|
|
44
|
-
_activateAttachToSelector(): void;
|
|
45
|
-
changed(): void;
|
|
46
|
-
highlightActiveRegion(): void;
|
|
47
|
-
evKey(evdata: any): void;
|
|
48
|
-
mouseUp(): void;
|
|
49
|
-
mouseMove(ev: any): void;
|
|
50
|
-
mouseClick(ev: any): void;
|
|
51
|
-
mouseDown(ev: any): void;
|
|
52
|
-
_complete(): void;
|
|
53
|
-
_removeText(): void;
|
|
54
|
-
bindElements(): void;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* @category SuiDialog
|
|
58
|
-
*/
|
|
59
|
-
export declare class helpModal {
|
|
60
|
-
static createAndDisplay(): Promise<void>;
|
|
61
|
-
}
|
|
1
|
+
import { SmoScoreText, SmoTextGroup } from '../../smo/data/scoreText';
|
|
2
|
+
import { OutlineInfo } from '../../render/sui/svgHelpers';
|
|
3
|
+
import { DialogDefinition, SuiDialogBase, SuiDialogParams } from './dialog';
|
|
4
|
+
import { SuiDragText } from './components/dragText';
|
|
5
|
+
import { SuiTextInPlace } from './components/textInPlace';
|
|
6
|
+
import { SuiDropdownComponent } from './components/dropdown';
|
|
7
|
+
import { SuiToggleComponent } from './components/toggle';
|
|
8
|
+
import { SuiRockerComponent } from './components/rocker';
|
|
9
|
+
import { SuiFontComponent } from './components/fontComponent';
|
|
10
|
+
import { SuiTextBlockComponent } from './components/textInPlace';
|
|
11
|
+
import { EventHandler } from '../eventSource';
|
|
12
|
+
/**
|
|
13
|
+
* Complex dialog for managing score text (not associated with music)
|
|
14
|
+
* @category SuiDialog
|
|
15
|
+
*/
|
|
16
|
+
export declare class SuiTextBlockDialog extends SuiDialogBase {
|
|
17
|
+
get textEditorCtrl(): SuiTextInPlace;
|
|
18
|
+
get insertCodeCtrl(): SuiDropdownComponent;
|
|
19
|
+
get textDraggerCtrl(): SuiDragText;
|
|
20
|
+
get yCtrl(): SuiRockerComponent;
|
|
21
|
+
get xCtrl(): SuiRockerComponent;
|
|
22
|
+
get fontCtrl(): SuiFontComponent;
|
|
23
|
+
get textBlockCtrl(): SuiTextBlockComponent;
|
|
24
|
+
get paginationCtrl(): SuiDropdownComponent;
|
|
25
|
+
get attachToSelectorCtrl(): SuiToggleComponent;
|
|
26
|
+
static dialogElements: DialogDefinition;
|
|
27
|
+
edited: boolean;
|
|
28
|
+
isNew: boolean;
|
|
29
|
+
modifier: SmoTextGroup;
|
|
30
|
+
originalTextGroup: SmoTextGroup | null;
|
|
31
|
+
activeScoreText: SmoScoreText;
|
|
32
|
+
textElement: any;
|
|
33
|
+
mouseMoveHandler: EventHandler | null;
|
|
34
|
+
mouseUpHandler: EventHandler | null;
|
|
35
|
+
mouseDownHandler: EventHandler | null;
|
|
36
|
+
mouseClickHandler: EventHandler | null;
|
|
37
|
+
outlineRect: OutlineInfo | null;
|
|
38
|
+
constructor(parameters: SuiDialogParams);
|
|
39
|
+
populateInitial(): void;
|
|
40
|
+
static unrenderTextGroup(tg: SmoTextGroup): void;
|
|
41
|
+
unrenderOriginal(): void;
|
|
42
|
+
display(): void;
|
|
43
|
+
_resetAttachToSelector(): void;
|
|
44
|
+
_activateAttachToSelector(): void;
|
|
45
|
+
changed(): void;
|
|
46
|
+
highlightActiveRegion(): void;
|
|
47
|
+
evKey(evdata: any): void;
|
|
48
|
+
mouseUp(): void;
|
|
49
|
+
mouseMove(ev: any): void;
|
|
50
|
+
mouseClick(ev: any): void;
|
|
51
|
+
mouseDown(ev: any): void;
|
|
52
|
+
_complete(): void;
|
|
53
|
+
_removeText(): void;
|
|
54
|
+
bindElements(): void;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @category SuiDialog
|
|
58
|
+
*/
|
|
59
|
+
export declare class helpModal {
|
|
60
|
+
static createAndDisplay(): Promise<void>;
|
|
61
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { DialogDefinition, SuiDialogParams } from './dialog';
|
|
2
|
-
import { SmoStaffTextBracket, SmoTextBracketNumberType, SmoTextBracketStringType } from '../../smo/data/staffModifiers';
|
|
3
|
-
import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
|
|
4
|
-
import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
|
|
5
|
-
/**
|
|
6
|
-
* I think this is not used currently. Allow the user to choose bracket settings for a
|
|
7
|
-
* staff group.
|
|
8
|
-
* @category SuiDialog
|
|
9
|
-
*/
|
|
10
|
-
export declare class SuiTextBracketAdapter extends SuiComponentAdapter {
|
|
11
|
-
backup: SmoStaffTextBracket;
|
|
12
|
-
bracket: SmoStaffTextBracket;
|
|
13
|
-
changed: boolean;
|
|
14
|
-
constructor(view: SuiScoreViewOperations, bracket: SmoStaffTextBracket);
|
|
15
|
-
cancel(): Promise<void>;
|
|
16
|
-
remove(): Promise<void>;
|
|
17
|
-
commit(): Promise<any>;
|
|
18
|
-
updateValue(param: SmoTextBracketNumberType, val: number): Promise<void>;
|
|
19
|
-
updateText(param: SmoTextBracketStringType, val: string): Promise<void>;
|
|
20
|
-
get text(): string;
|
|
21
|
-
set text(val: string);
|
|
22
|
-
get superscript(): string;
|
|
23
|
-
set superscript(val: string);
|
|
24
|
-
get position(): number;
|
|
25
|
-
set position(val: number);
|
|
26
|
-
get line(): number;
|
|
27
|
-
set line(val: number);
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* @category SuiDialog
|
|
31
|
-
*/
|
|
32
|
-
export declare class SuiTextBracketDialog extends SuiDialogAdapterBase<SuiTextBracketAdapter> {
|
|
33
|
-
static dialogElements: DialogDefinition;
|
|
34
|
-
constructor(parameters: SuiDialogParams);
|
|
35
|
-
}
|
|
1
|
+
import { DialogDefinition, SuiDialogParams } from './dialog';
|
|
2
|
+
import { SmoStaffTextBracket, SmoTextBracketNumberType, SmoTextBracketStringType } from '../../smo/data/staffModifiers';
|
|
3
|
+
import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
|
|
4
|
+
import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
|
|
5
|
+
/**
|
|
6
|
+
* I think this is not used currently. Allow the user to choose bracket settings for a
|
|
7
|
+
* staff group.
|
|
8
|
+
* @category SuiDialog
|
|
9
|
+
*/
|
|
10
|
+
export declare class SuiTextBracketAdapter extends SuiComponentAdapter {
|
|
11
|
+
backup: SmoStaffTextBracket;
|
|
12
|
+
bracket: SmoStaffTextBracket;
|
|
13
|
+
changed: boolean;
|
|
14
|
+
constructor(view: SuiScoreViewOperations, bracket: SmoStaffTextBracket);
|
|
15
|
+
cancel(): Promise<void>;
|
|
16
|
+
remove(): Promise<void>;
|
|
17
|
+
commit(): Promise<any>;
|
|
18
|
+
updateValue(param: SmoTextBracketNumberType, val: number): Promise<void>;
|
|
19
|
+
updateText(param: SmoTextBracketStringType, val: string): Promise<void>;
|
|
20
|
+
get text(): string;
|
|
21
|
+
set text(val: string);
|
|
22
|
+
get superscript(): string;
|
|
23
|
+
set superscript(val: string);
|
|
24
|
+
get position(): number;
|
|
25
|
+
set position(val: number);
|
|
26
|
+
get line(): number;
|
|
27
|
+
set line(val: number);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @category SuiDialog
|
|
31
|
+
*/
|
|
32
|
+
export declare class SuiTextBracketDialog extends SuiDialogAdapterBase<SuiTextBracketAdapter> {
|
|
33
|
+
static dialogElements: DialogDefinition;
|
|
34
|
+
constructor(parameters: SuiDialogParams);
|
|
35
|
+
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { DialogDefinition, SuiDialogParams } from './dialog';
|
|
2
|
-
import { SmoTie, TieLine } from '../../smo/data/staffModifiers';
|
|
3
|
-
import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
|
|
4
|
-
import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
|
|
5
|
-
export type TieNumber = 'tie_spacing' | 'cp1' | 'cp2' | 'first_x_shift' | 'last_x_shift' | 'y_shift';
|
|
6
|
-
/**
|
|
7
|
-
* Edit tie mapping for pitches on chords
|
|
8
|
-
* @category SuiDialog
|
|
9
|
-
*/
|
|
10
|
-
export declare class SuiTieAdapter extends SuiComponentAdapter {
|
|
11
|
-
tie: SmoTie;
|
|
12
|
-
backup: SmoTie;
|
|
13
|
-
changed: boolean;
|
|
14
|
-
constructor(view: SuiScoreViewOperations, tie: SmoTie);
|
|
15
|
-
writeTieNumber(value: number, param: TieNumber): void;
|
|
16
|
-
get lines(): TieLine[];
|
|
17
|
-
set lines(value: TieLine[]);
|
|
18
|
-
get tie_spacing(): number;
|
|
19
|
-
set tie_spacing(value: number);
|
|
20
|
-
get first_x_shift(): number;
|
|
21
|
-
set first_x_shift(value: number);
|
|
22
|
-
get last_x_shift(): number;
|
|
23
|
-
set last_x_shift(value: number);
|
|
24
|
-
get y_shift(): number;
|
|
25
|
-
set y_shift(value: number);
|
|
26
|
-
get cp1(): number;
|
|
27
|
-
set cp1(value: number);
|
|
28
|
-
get cp2(): number;
|
|
29
|
-
set cp2(value: number);
|
|
30
|
-
commit(): Promise<any>;
|
|
31
|
-
cancel(): Promise<void>;
|
|
32
|
-
remove(): Promise<void>;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Edit tie mapping for pitches on chords
|
|
36
|
-
* @category SuiDialog
|
|
37
|
-
*/
|
|
38
|
-
export declare class SuiTieAttributesDialog extends SuiDialogAdapterBase<SuiTieAdapter> {
|
|
39
|
-
static dialogElements: DialogDefinition;
|
|
40
|
-
constructor(parameters: SuiDialogParams);
|
|
41
|
-
}
|
|
1
|
+
import { DialogDefinition, SuiDialogParams } from './dialog';
|
|
2
|
+
import { SmoTie, TieLine } from '../../smo/data/staffModifiers';
|
|
3
|
+
import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
|
|
4
|
+
import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
|
|
5
|
+
export type TieNumber = 'tie_spacing' | 'cp1' | 'cp2' | 'first_x_shift' | 'last_x_shift' | 'y_shift';
|
|
6
|
+
/**
|
|
7
|
+
* Edit tie mapping for pitches on chords
|
|
8
|
+
* @category SuiDialog
|
|
9
|
+
*/
|
|
10
|
+
export declare class SuiTieAdapter extends SuiComponentAdapter {
|
|
11
|
+
tie: SmoTie;
|
|
12
|
+
backup: SmoTie;
|
|
13
|
+
changed: boolean;
|
|
14
|
+
constructor(view: SuiScoreViewOperations, tie: SmoTie);
|
|
15
|
+
writeTieNumber(value: number, param: TieNumber): void;
|
|
16
|
+
get lines(): TieLine[];
|
|
17
|
+
set lines(value: TieLine[]);
|
|
18
|
+
get tie_spacing(): number;
|
|
19
|
+
set tie_spacing(value: number);
|
|
20
|
+
get first_x_shift(): number;
|
|
21
|
+
set first_x_shift(value: number);
|
|
22
|
+
get last_x_shift(): number;
|
|
23
|
+
set last_x_shift(value: number);
|
|
24
|
+
get y_shift(): number;
|
|
25
|
+
set y_shift(value: number);
|
|
26
|
+
get cp1(): number;
|
|
27
|
+
set cp1(value: number);
|
|
28
|
+
get cp2(): number;
|
|
29
|
+
set cp2(value: number);
|
|
30
|
+
commit(): Promise<any>;
|
|
31
|
+
cancel(): Promise<void>;
|
|
32
|
+
remove(): Promise<void>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Edit tie mapping for pitches on chords
|
|
36
|
+
* @category SuiDialog
|
|
37
|
+
*/
|
|
38
|
+
export declare class SuiTieAttributesDialog extends SuiDialogAdapterBase<SuiTieAdapter> {
|
|
39
|
+
static dialogElements: DialogDefinition;
|
|
40
|
+
constructor(parameters: SuiDialogParams);
|
|
41
|
+
}
|