smoosic 1.0.40 → 1.0.42

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 (72) hide show
  1. package/build/smoosic.js +4 -4
  2. package/package.json +1 -1
  3. package/release/smoosic.js +4 -4
  4. package/src/smo/data/score.ts +3 -0
  5. package/src/smo/data/scoreModifiers.ts +2 -2
  6. package/src/ui/components/dialogs/timeSignature.vue +25 -4
  7. package/types/src/application/application.d.ts +103 -102
  8. package/types/src/application/common.d.ts +6 -0
  9. package/types/src/application/configuration.d.ts +75 -75
  10. package/types/src/application/dynamicInit.d.ts +6 -6
  11. package/types/src/application/eventHandler.d.ts +87 -81
  12. package/types/src/application/exports.d.ts +482 -485
  13. package/types/src/render/audio/oscillator.d.ts +99 -99
  14. package/types/src/render/audio/player.d.ts +143 -143
  15. package/types/src/render/audio/samples.d.ts +56 -56
  16. package/types/src/render/sui/NoteEntryCaret.d.ts +107 -0
  17. package/types/src/render/sui/NoteEntryMediator.d.ts +24 -0
  18. package/types/src/render/sui/configuration.d.ts +53 -49
  19. package/types/src/render/sui/formatter.d.ts +163 -161
  20. package/types/src/render/sui/layoutDebug.d.ts +46 -46
  21. package/types/src/render/sui/mapper.d.ts +138 -135
  22. package/types/src/render/sui/renderState.d.ts +92 -90
  23. package/types/src/render/sui/scoreRender.d.ts +97 -96
  24. package/types/src/render/sui/scoreView.d.ts +280 -279
  25. package/types/src/render/sui/scoreViewOperations.d.ts +604 -594
  26. package/types/src/render/sui/scroller.d.ts +41 -41
  27. package/types/src/render/sui/svgPageMap.d.ts +344 -344
  28. package/types/src/render/sui/textEdit.d.ts +316 -316
  29. package/types/src/render/sui/tracker.d.ts +10 -4
  30. package/types/src/render/vex/vxMeasure.d.ts +97 -97
  31. package/types/src/smo/data/common.d.ts +220 -220
  32. package/types/src/smo/data/measure.d.ts +511 -511
  33. package/types/src/smo/data/measureModifiers.d.ts +509 -508
  34. package/types/src/smo/data/music.d.ts +2 -1
  35. package/types/src/smo/data/note.d.ts +2 -0
  36. package/types/src/smo/data/noteModifiers.d.ts +2 -0
  37. package/types/src/smo/data/score.d.ts +7 -5
  38. package/types/src/smo/data/scoreModifiers.d.ts +441 -440
  39. package/types/src/smo/data/systemStaff.d.ts +2 -2
  40. package/types/src/smo/data/tuplet.d.ts +7 -0
  41. package/types/src/smo/midi/midiToSmo.d.ts +12 -12
  42. package/types/src/smo/midi/smoToMidi.d.ts +3 -3
  43. package/types/src/smo/mxml/smoToXml.d.ts +4 -4
  44. package/types/src/smo/mxml/xmlState.d.ts +3 -3
  45. package/types/src/smo/mxml/xmlToSmo.d.ts +2 -2
  46. package/types/src/smo/xform/operations.d.ts +3 -3
  47. package/types/src/smo/xform/selections.d.ts +154 -154
  48. package/types/src/ui/buttons/display.d.ts +1 -0
  49. package/types/src/ui/common.d.ts +69 -67
  50. package/types/src/ui/composable/draggable.d.ts +1 -1
  51. package/types/src/ui/configuration.d.ts +30 -30
  52. package/types/src/ui/dialogs/chordChange.d.ts +35 -35
  53. package/types/src/ui/dialogs/components/baseComponent.d.ts +158 -158
  54. package/types/src/ui/dialogs/components/button.d.ts +54 -54
  55. package/types/src/ui/dialogs/components/dropdown.d.ts +78 -78
  56. package/types/src/ui/dialogs/components/pitch.d.ts +95 -95
  57. package/types/src/ui/dialogs/components/rocker.d.ts +66 -66
  58. package/types/src/ui/dialogs/components/textInPlace.d.ts +90 -90
  59. package/types/src/ui/dialogs/components/textInput.d.ts +58 -58
  60. package/types/src/ui/dialogs/components/toggle.d.ts +53 -53
  61. package/types/src/ui/dialogs/dialog.d.ts +203 -203
  62. package/types/src/ui/dialogs/endings.d.ts +2 -2
  63. package/types/src/ui/dialogs/lyric.d.ts +39 -39
  64. package/types/src/ui/dialogs/measureFormat.d.ts +2 -2
  65. package/types/src/ui/dialogs/tempo.d.ts +3 -3
  66. package/types/src/ui/dialogs/textBlock.d.ts +55 -61
  67. package/types/src/ui/dialogs/timeSignature.d.ts +2 -34
  68. package/types/src/ui/exceptions.d.ts +15 -15
  69. package/types/src/ui/help.d.ts +6 -1
  70. package/types/src/ui/menus/manager.d.ts +59 -59
  71. package/types/src/ui/navigation.d.ts +44 -37
  72. package/types/typedoc.d.ts +157 -157
@@ -1,203 +1,203 @@
1
- import { InputTrapper } from '../../common/htmlHelpers';
2
- import { SmoModifier } from '../../smo/data/score';
3
- import { SvgBox } from '../../smo/data/common';
4
- import { SuiTracker } from '../../render/sui/tracker';
5
- import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
6
- import { CompleteNotifier } from '../common';
7
- import { BrowserEventSource } from '../eventSource';
8
- import { SuiDialogNotifier, DialogDefinitionElement, SuiComponentBase, DialogDefinitionOption } from './components/baseComponent';
9
- import { SuiScroller } from '../../render/sui/scroller';
10
- import { EventHandler } from '../eventSource';
11
- import { SmoUiConfiguration } from '../configuration';
12
- import { layoutDebug } from '../../../typedoc';
13
- export type DialogCallback = () => Promise<void>;
14
- /**
15
- * Parameters for installing a dialog. VUE-based dialog logic.
16
- * complete is a Ref that is set to true when the dialog is finished, used to
17
- * hand off keyboard control between dialogs and menus.
18
- * app is a VUE app, appParams are the parameters to pass to the app.
19
- * we override commitCb, cancelCb, and removeCb to manage the dialog lifetime.
20
- * root is the DOM id to mount the dialog in (without the '#')
21
- * @category SuiDialog
22
- */
23
- export interface DialogInstallParams {
24
- root: string;
25
- app: any;
26
- appParams: any;
27
- dialogParams: SuiDialogParams;
28
- commitCb: DialogCallback;
29
- cancelCb: DialogCallback;
30
- removeCb?: DialogCallback;
31
- }
32
- /**
33
- * The callbacks can be confusing. Dialog CB button calls this callback,
34
- * which in turn calls the user-supplied callback, and then hides the dialog.
35
- * params.commitCb is the supplied callback,
36
- * but appParams.commitCb is set to this function.
37
- * @param params
38
- */
39
- export declare const InstallDialog: (params: DialogInstallParams) => Promise<void>;
40
- /**
41
- * The JSON dialog template is a declaritive structore for the html of the dialog
42
- * and components.
43
- * @param label for the dialog itself
44
- * @param elements a series of elements that define the component
45
- * @param staticText a hash of text for the dialog and components to use
46
- * @category SuiDialog
47
- */
48
- export interface DialogDefinition {
49
- label: string;
50
- elements: DialogDefinitionElement[];
51
- staticText: Record<string, string>[];
52
- }
53
- /**
54
- * A translation of the labels in DialogDefintionElement
55
- * @param label the component label
56
- * @param id used as a key in translation tool
57
- * @param options options for dropdown and other array components
58
- * @category SuiDialog
59
- */
60
- export interface DialogTranslationElement {
61
- label: string;
62
- id: string;
63
- options?: DialogDefinitionOption[];
64
- }
65
- /**
66
- * A translation of all the strings in the dialog itself, used
67
- * when switching languages.
68
- * @param ctor the constructor for the dialog class, used to call static methods
69
- * @param label the translated label
70
- * @param dialogElements the translated component json
71
- * @param staticText translated misc text
72
- * @category SuiDialog
73
- */
74
- export interface DialogTranslation {
75
- ctor: string;
76
- label: string;
77
- dialogElements: DialogTranslationElement[];
78
- staticText: Record<string, string>;
79
- }
80
- export declare const DialogTranslations: DialogTranslation[];
81
- /**
82
- * Dialog params always contain basic information about the runtime
83
- * for modal functionality
84
- * @param ctor dialog constructor
85
- * @param id DOM id for the dialog
86
- * @param tracker to get and set selections
87
- * @param completeNotifier used to take over key/mouse control
88
- * @param startPromise used if this is called from another modal element
89
- * @param view the MVVM object to change the score
90
- * @param eventSource event source to register for additional events like mouseup
91
- * @param undoBuffer used to create undo
92
- * @category SuiDialog
93
- */
94
- export interface SuiDialogParams {
95
- ctor: string;
96
- id: string;
97
- tracker: SuiTracker;
98
- completeNotifier: CompleteNotifier;
99
- startPromise: Promise<void> | null;
100
- view: SuiScoreViewOperations;
101
- eventSource: BrowserEventSource;
102
- modifier?: any;
103
- config?: SmoUiConfiguration;
104
- }
105
- /**
106
- * internal interface used to create the DOM
107
- * @internal
108
- */
109
- export interface SuiDomParams {
110
- id: string;
111
- top: number;
112
- left: number;
113
- label: string;
114
- }
115
- /**
116
- * DOM interface for the dialog
117
- * @internal
118
- * @param element parent element
119
- * @param trapper used to trap focus events for the dialog
120
- */
121
- export interface DialogDom {
122
- element: any;
123
- trapper: any;
124
- }
125
- export declare const suiDialogTranslate: (dialog: DialogDefinition, ctor: string) => DialogTranslation;
126
- /**
127
- * Note: Most dialogs will inherit from SuiDialogAdapter, not SuiDialogBase.
128
- * You will only want to inherit from SuiDialogBase under 2 conditions:
129
- * 1. the dialog is triviailly simple, like an alert box that makes no changes to the score, or
130
- * 2. the dialog is extremely complicated in how it interacts with the user, such that a form-based approach won't work
131
- * @category SuiDialog
132
- */
133
- export declare abstract class SuiDialogBase extends SuiDialogNotifier {
134
- static get displayOptions(): Record<string, string>;
135
- static getStaticText(staticText: Record<string, string>[]): Record<string, string>;
136
- id: string;
137
- ctor: string;
138
- debug: layoutDebug;
139
- boundKeyboard: boolean;
140
- components: SuiComponentBase[];
141
- boundComponents: SuiComponentBase[];
142
- cmap: Record<string, SuiComponentBase>;
143
- scroller: SuiScroller;
144
- closeDialogPromise: Promise<void>;
145
- label: string;
146
- staticText: Record<string, string>[];
147
- startPromise: Promise<void> | null;
148
- dialogElements: DialogDefinition;
149
- eventSource: BrowserEventSource;
150
- view: SuiScoreViewOperations;
151
- completeNotifier: CompleteNotifier;
152
- modifier: any;
153
- dgDom: DialogDom;
154
- displayOptions: string[];
155
- keydownHandler: EventHandler | null;
156
- constructor(dialogElements: DialogDefinition, parameters: SuiDialogParams);
157
- display(): void;
158
- bindElements(): void;
159
- bindComponents(): void;
160
- initialValue(): void;
161
- changed(): Promise<void>;
162
- getId(): string;
163
- getModifier(): SmoModifier | null;
164
- getEventSource(): BrowserEventSource;
165
- getStaticText(): Record<string, string>;
166
- commit(): Promise<any>;
167
- get closeModalPromise(): Promise<any>;
168
- static position(box: SvgBox, dgDom: DialogDom, scroller: SuiScroller): void;
169
- getView(): SuiScoreViewOperations;
170
- applyDisplayOptions(): void;
171
- position(box: SvgBox): void;
172
- hideRemoveButton(): void;
173
- positionFromModifier(): void;
174
- positionGlobally(): void;
175
- positionFromSelection(): void;
176
- _constructDialog(dialogElements: DialogDefinition, parameters: SuiDomParams): {
177
- element: any;
178
- trapper: InputTrapper;
179
- };
180
- complete(): void;
181
- makeDraggable(): void;
182
- captureKeyboardPromise(): Promise<void>;
183
- evKey(evdata: any): void;
184
- bindKeyboard(): void;
185
- }
186
- /**
187
- * Convenience functions
188
- * @param type
189
- * @param parameters
190
- * @returns a new dialog of type T
191
- * @category SuiDialog
192
- */
193
- export declare function dialogConstructor<T extends SuiDialogBase>(type: {
194
- new (parameters: SuiDialogParams): T;
195
- }, parameters: SuiDialogParams): T;
196
- /**
197
- * Convenience function to display a dialog
198
- * @category SuiDialog
199
- * @param ctor
200
- * @param parameters
201
- * @returns
202
- */
203
- export declare function createAndDisplayDialog<T extends SuiDialogBase>(ctor: new (parameters: SuiDialogParams) => T, parameters: SuiDialogParams): T;
1
+ import { InputTrapper } from '../../common/htmlHelpers';
2
+ import { SmoModifier } from '../../smo/data/score';
3
+ import { SvgBox } from '../../smo/data/common';
4
+ import { SuiTracker } from '../../render/sui/tracker';
5
+ import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
6
+ import { CompleteNotifier } from '../common';
7
+ import { BrowserEventSource } from '../eventSource';
8
+ import { SuiDialogNotifier, DialogDefinitionElement, SuiComponentBase, DialogDefinitionOption } from './components/baseComponent';
9
+ import { SuiScroller } from '../../render/sui/scroller';
10
+ import { EventHandler } from '../eventSource';
11
+ import { SmoUiConfiguration } from '../configuration';
12
+ import { layoutDebug, SuiNavigation } from '../../../typedoc';
13
+ export type DialogCallback = () => Promise<void>;
14
+ /**
15
+ * Parameters for installing a dialog. VUE-based dialog logic.
16
+ * complete is a Ref that is set to true when the dialog is finished, used to
17
+ * hand off keyboard control between dialogs and menus.
18
+ * app is a VUE app, appParams are the parameters to pass to the app.
19
+ * we override commitCb, cancelCb, and removeCb to manage the dialog lifetime.
20
+ * root is the DOM id to mount the dialog in (without the '#')
21
+ * @category SuiDialog
22
+ */
23
+ export interface DialogInstallParams {
24
+ root: string;
25
+ app: any;
26
+ appParams: any;
27
+ dialogParams: SuiDialogParams;
28
+ commitCb: DialogCallback;
29
+ cancelCb: DialogCallback;
30
+ removeCb?: DialogCallback;
31
+ }
32
+ /**
33
+ * The callbacks can be confusing. Dialog CB button calls this callback,
34
+ * which in turn calls the user-supplied callback, and then hides the dialog.
35
+ * params.commitCb is the supplied callback,
36
+ * but appParams.commitCb is set to this function.
37
+ * @param params
38
+ */
39
+ export declare const InstallDialog: (params: DialogInstallParams) => Promise<void>;
40
+ /**
41
+ * The JSON dialog template is a declaritive structore for the html of the dialog
42
+ * and components.
43
+ * @param label for the dialog itself
44
+ * @param elements a series of elements that define the component
45
+ * @param staticText a hash of text for the dialog and components to use
46
+ * @category SuiDialog
47
+ */
48
+ export interface DialogDefinition {
49
+ label: string;
50
+ elements: DialogDefinitionElement[];
51
+ staticText: Record<string, string>[];
52
+ }
53
+ /**
54
+ * A translation of the labels in DialogDefintionElement
55
+ * @param label the component label
56
+ * @param id used as a key in translation tool
57
+ * @param options options for dropdown and other array components
58
+ * @category SuiDialog
59
+ */
60
+ export interface DialogTranslationElement {
61
+ label: string;
62
+ id: string;
63
+ options?: DialogDefinitionOption[];
64
+ }
65
+ /**
66
+ * A translation of all the strings in the dialog itself, used
67
+ * when switching languages.
68
+ * @param ctor the constructor for the dialog class, used to call static methods
69
+ * @param label the translated label
70
+ * @param dialogElements the translated component json
71
+ * @param staticText translated misc text
72
+ * @category SuiDialog
73
+ */
74
+ export interface DialogTranslation {
75
+ ctor: string;
76
+ label: string;
77
+ dialogElements: DialogTranslationElement[];
78
+ staticText: Record<string, string>;
79
+ }
80
+ export declare const DialogTranslations: DialogTranslation[];
81
+ /**
82
+ * Dialog params always contain basic information about the runtime
83
+ * for modal functionality
84
+ * @param ctor dialog constructor
85
+ * @param id DOM id for the dialog
86
+ * @param tracker to get and set selections
87
+ * @param completeNotifier used to take over key/mouse control
88
+ * @param startPromise used if this is called from another modal element
89
+ * @param view the MVVM object to change the score
90
+ * @param eventSource event source to register for additional events like mouseup
91
+ * @param undoBuffer used to create undo
92
+ * @category SuiDialog
93
+ */
94
+ export interface SuiDialogParams {
95
+ ctor: string;
96
+ id: string;
97
+ tracker: SuiTracker;
98
+ completeNotifier: CompleteNotifier;
99
+ startPromise: Promise<void> | null;
100
+ view: SuiScoreViewOperations;
101
+ eventSource: BrowserEventSource;
102
+ modifier?: any;
103
+ config?: SmoUiConfiguration;
104
+ }
105
+ /**
106
+ * internal interface used to create the DOM
107
+ * @internal
108
+ */
109
+ export interface SuiDomParams {
110
+ id: string;
111
+ top: number;
112
+ left: number;
113
+ label: string;
114
+ }
115
+ /**
116
+ * DOM interface for the dialog
117
+ * @internal
118
+ * @param element parent element
119
+ * @param trapper used to trap focus events for the dialog
120
+ */
121
+ export interface DialogDom {
122
+ element: any;
123
+ trapper: any;
124
+ }
125
+ export declare const suiDialogTranslate: (dialog: DialogDefinition, ctor: string) => DialogTranslation;
126
+ /**
127
+ * Note: Most dialogs will inherit from SuiDialogAdapter, not SuiDialogBase.
128
+ * You will only want to inherit from SuiDialogBase under 2 conditions:
129
+ * 1. the dialog is triviailly simple, like an alert box that makes no changes to the score, or
130
+ * 2. the dialog is extremely complicated in how it interacts with the user, such that a form-based approach won't work
131
+ * @category SuiDialog
132
+ */
133
+ export declare abstract class SuiDialogBase extends SuiDialogNotifier {
134
+ static get displayOptions(): Record<string, string>;
135
+ static getStaticText(staticText: Record<string, string>[]): Record<string, string>;
136
+ id: string;
137
+ ctor: string;
138
+ debug: layoutDebug;
139
+ boundKeyboard: boolean;
140
+ components: SuiComponentBase[];
141
+ boundComponents: SuiComponentBase[];
142
+ cmap: Record<string, SuiComponentBase>;
143
+ scroller: SuiScroller;
144
+ closeDialogPromise: Promise<void>;
145
+ label: string;
146
+ staticText: Record<string, string>[];
147
+ startPromise: Promise<void> | null;
148
+ dialogElements: DialogDefinition;
149
+ eventSource: BrowserEventSource;
150
+ view: SuiScoreViewOperations;
151
+ completeNotifier: CompleteNotifier;
152
+ modifier: any;
153
+ dgDom: DialogDom;
154
+ displayOptions: string[];
155
+ keydownHandler: EventHandler | null;
156
+ constructor(dialogElements: DialogDefinition, parameters: SuiDialogParams);
157
+ display(): void;
158
+ bindElements(): void;
159
+ bindComponents(): void;
160
+ initialValue(): void;
161
+ changed(): Promise<void>;
162
+ getId(): string;
163
+ getModifier(): SmoModifier | null;
164
+ getEventSource(): BrowserEventSource;
165
+ getStaticText(): Record<string, string>;
166
+ commit(): Promise<any>;
167
+ get closeModalPromise(): Promise<any>;
168
+ static position(box: SvgBox, dgDom: DialogDom, scroller: SuiScroller, navigation: SuiNavigation): void;
169
+ getView(): SuiScoreViewOperations;
170
+ applyDisplayOptions(): void;
171
+ position(box: SvgBox): void;
172
+ hideRemoveButton(): void;
173
+ positionFromModifier(): void;
174
+ positionGlobally(): void;
175
+ positionFromSelection(): void;
176
+ _constructDialog(dialogElements: DialogDefinition, parameters: SuiDomParams): {
177
+ element: any;
178
+ trapper: InputTrapper;
179
+ };
180
+ complete(): void;
181
+ makeDraggable(): void;
182
+ captureKeyboardPromise(): Promise<void>;
183
+ evKey(evdata: any): void;
184
+ bindKeyboard(): void;
185
+ }
186
+ /**
187
+ * Convenience functions
188
+ * @param type
189
+ * @param parameters
190
+ * @returns a new dialog of type T
191
+ * @category SuiDialog
192
+ */
193
+ export declare function dialogConstructor<T extends SuiDialogBase>(type: {
194
+ new (parameters: SuiDialogParams): T;
195
+ }, parameters: SuiDialogParams): T;
196
+ /**
197
+ * Convenience function to display a dialog
198
+ * @category SuiDialog
199
+ * @param ctor
200
+ * @param parameters
201
+ * @returns
202
+ */
203
+ export declare function createAndDisplayDialog<T extends SuiDialogBase>(ctor: new (parameters: SuiDialogParams) => T, parameters: SuiDialogParams): T;
@@ -1,2 +1,2 @@
1
- import { SuiDialogParams } from './dialog';
2
- export declare const SuiEndingsDialogVue: (parameters: SuiDialogParams) => void;
1
+ import { SuiDialogParams } from './dialog';
2
+ export declare const SuiEndingsDialogVue: (parameters: SuiDialogParams) => void;
@@ -1,39 +1,39 @@
1
- import { DialogDefinition, SuiDialogBase, SuiDialogParams } from './dialog';
2
- import { SuiLyricComponent } from './components/noteText';
3
- import { SuiDropdownComponent } from './components/dropdown';
4
- import { SuiRockerComponent } from './components/rocker';
5
- import { SmoSelector } from '../../smo/xform/selections';
6
- import { SmoLyric } from '../../smo/data/noteModifiers';
7
- import { SuiFontComponent } from './components/fontComponent';
8
- import { SmoRenderConfiguration } from '../../render/sui/configuration';
9
- import { EventHandler } from '../eventSource';
10
- /**
11
- * Complex dialog for traversing and working with lyrics.
12
- * @category SuiDialog
13
- */
14
- export declare class SuiLyricDialog extends SuiDialogBase {
15
- static get ctor(): string;
16
- static get idleLyricTime(): number;
17
- static dialogElements: DialogDefinition;
18
- originalRefreshTimer: number;
19
- modifier: SmoLyric | null;
20
- selector: SmoSelector | null;
21
- config: SmoRenderConfiguration;
22
- verse: number;
23
- mouseMoveHandler: EventHandler | null;
24
- mouseClickHandler: EventHandler | null;
25
- constructor(parameters: SuiDialogParams);
26
- get lyricEditorCtrl(): SuiLyricComponent;
27
- get fontCtrl(): SuiFontComponent;
28
- get translateYCtrl(): SuiRockerComponent;
29
- get verseCtrl(): SuiDropdownComponent;
30
- display(): void;
31
- setLyric(selector: SmoSelector, lyric: SmoLyric): void;
32
- _focusSelection(): void;
33
- changed(): Promise<void>;
34
- bindElements(): void;
35
- evKey(evdata: any): Promise<void>;
36
- _complete(): void;
37
- mouseMove(ev: any): void;
38
- mouseClick(ev: any): void;
39
- }
1
+ import { DialogDefinition, SuiDialogBase, SuiDialogParams } from './dialog';
2
+ import { SuiLyricComponent } from './components/noteText';
3
+ import { SuiDropdownComponent } from './components/dropdown';
4
+ import { SuiRockerComponent } from './components/rocker';
5
+ import { SmoSelector } from '../../smo/xform/selections';
6
+ import { SmoLyric } from '../../smo/data/noteModifiers';
7
+ import { SuiFontComponent } from './components/fontComponent';
8
+ import { SmoRenderConfiguration } from '../../render/sui/configuration';
9
+ import { EventHandler } from '../eventSource';
10
+ /**
11
+ * Complex dialog for traversing and working with lyrics.
12
+ * @category SuiDialog
13
+ */
14
+ export declare class SuiLyricDialog extends SuiDialogBase {
15
+ static get ctor(): string;
16
+ static get idleLyricTime(): number;
17
+ static dialogElements: DialogDefinition;
18
+ originalRefreshTimer: number;
19
+ modifier: SmoLyric | null;
20
+ selector: SmoSelector | null;
21
+ config: SmoRenderConfiguration;
22
+ verse: number;
23
+ mouseMoveHandler: EventHandler | null;
24
+ mouseClickHandler: EventHandler | null;
25
+ constructor(parameters: SuiDialogParams);
26
+ get lyricEditorCtrl(): SuiLyricComponent;
27
+ get fontCtrl(): SuiFontComponent;
28
+ get translateYCtrl(): SuiRockerComponent;
29
+ get verseCtrl(): SuiDropdownComponent;
30
+ display(): void;
31
+ setLyric(selector: SmoSelector, lyric: SmoLyric): void;
32
+ _focusSelection(): void;
33
+ changed(): Promise<void>;
34
+ bindElements(): void;
35
+ evKey(evdata: any): Promise<void>;
36
+ _complete(): void;
37
+ mouseMove(ev: any): void;
38
+ mouseClick(ev: any): void;
39
+ }
@@ -1,2 +1,2 @@
1
- import { SuiDialogParams } from './dialog';
2
- export declare const SuiMeasureFormatDialogVue: (parameters: SuiDialogParams) => Promise<void>;
1
+ import { SuiDialogParams } from './dialog';
2
+ export declare const SuiMeasureFormatDialogVue: (parameters: SuiDialogParams) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import { SmoTempoText, SmoTempoNumberAttribute, SmoTempoStringAttribute, SmoTempoBooleanAttribute } from '../../smo/data/measureModifiers';
1
+ import { SmoTempo, SmoTempoNumberAttribute, SmoTempoStringAttribute, SmoTempoBooleanAttribute } from '../../smo/data/measureModifiers';
2
2
  import { SuiScoreViewOperations } from '../../render/sui/scoreViewOperations';
3
3
  import { DialogDefinition, SuiDialogParams } from './dialog';
4
4
  import { SuiComponentAdapter, SuiDialogAdapterBase } from './adapter';
@@ -8,8 +8,8 @@ import { SmoMeasure } from '../../smo/data/measure';
8
8
  * @category SuiDialog
9
9
  */
10
10
  export declare class SuiTempoAdapter extends SuiComponentAdapter {
11
- smoTempoText: SmoTempoText;
12
- backup: SmoTempoText;
11
+ SmoTempo: SmoTempo;
12
+ backup: SmoTempo;
13
13
  applyToAllVal: boolean;
14
14
  applyToSelection: boolean;
15
15
  edited: boolean;
@@ -1,61 +1,55 @@
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(): Promise<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(): Promise<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
+ }