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,90 +1,90 @@
1
- import { SmoScoreText, SmoTextGroup } from '../../../smo/data/scoreText';
2
- import { KeyEvent } from '../../../smo/data/common';
3
- import { SuiTextSession } from '../../../render/sui/textEdit';
4
- import { SuiScroller } from '../../../render/sui/scroller';
5
- import { SuiScoreViewOperations } from '../../../render/sui/scoreViewOperations';
6
- import { SuiDialogNotifier, SuiComponentBase, SuiComponentParent } from './baseComponent';
7
- import { SuiButtonComposite } from './button';
8
- import { SuiRockerComposite } from './rocker';
9
- import { SuiDropdownComposite } from './dropdown';
10
- /**
11
- * @category SuiDialog
12
- */
13
- export interface SuiTextInPlaceParams {
14
- id: string;
15
- classes: string;
16
- label: string;
17
- smoName: string;
18
- control: string;
19
- }
20
- /**
21
- * Edit the text in an SVG element, in the same scale etc. as the text in the score SVG DOM.
22
- * This component just manages the text editing component of the renderer.
23
- * @category SuiDialog
24
- */
25
- export declare class SuiTextInPlace extends SuiComponentBase {
26
- scroller: SuiScroller;
27
- editMode: boolean;
28
- value: SmoTextGroup;
29
- staticText: Record<string, string>;
30
- altLabel: string;
31
- view: SuiScoreViewOperations;
32
- session: SuiTextSession | null;
33
- constructor(dialog: SuiDialogNotifier, parameter: SuiTextInPlaceParams);
34
- show(): void;
35
- hide(): void;
36
- get html(): import("../../../common/htmlHelpers").DomBuilder;
37
- endSession(): Promise<void>;
38
- get isRunning(): boolean | null;
39
- getValue(): SmoTextGroup;
40
- _getInputElement(): any;
41
- mouseMove(ev: any): void;
42
- mouseClick(ev: any): void;
43
- _renderInactiveBlocks(): void;
44
- startEditSession(): void;
45
- evKey(evdata: KeyEvent): void;
46
- bind(): void;
47
- }
48
- /**
49
- * @category SuiDialog
50
- */
51
- export interface SuiTextBlockComponentParams {
52
- id: string;
53
- classes: string;
54
- label: string;
55
- smoName: string;
56
- control: string;
57
- }
58
- /**
59
- * @category SuiDialog
60
- */
61
- export interface SuiTextBlockValue {
62
- modifier: SmoTextGroup;
63
- activeScoreText: SmoScoreText;
64
- }
65
- /**
66
- * Dialog to edit an block of text components. Each block can have
67
- * different font settings and placement.
68
- * @category SuiDialog
69
- */
70
- export declare class SuiTextBlockComponent extends SuiComponentParent {
71
- addBlockCtrl: SuiButtonComposite;
72
- toggleBlockCtrl: SuiButtonComposite;
73
- removeBlockCtrl: SuiButtonComposite;
74
- relativePositionCtrl: SuiDropdownComposite;
75
- justificationCtrl: SuiDropdownComposite;
76
- spacingCtrl: SuiRockerComposite;
77
- modifier: SmoTextGroup;
78
- activeScoreText: SmoScoreText;
79
- constructor(dialog: SuiDialogNotifier, parameter: SuiTextBlockComponentParams);
80
- changed(): void;
81
- get html(): import("../../../common/htmlHelpers").DomBuilder;
82
- _getInputElement(): any;
83
- getValue(): {
84
- activeScoreText: SmoScoreText;
85
- modifier: SmoTextGroup;
86
- };
87
- _updateMultiiFields(): void;
88
- setValue(value: SuiTextBlockValue): void;
89
- bind(): void;
90
- }
1
+ import { SmoScoreText, SmoTextGroup } from '../../../smo/data/scoreText';
2
+ import { KeyEvent } from '../../../smo/data/common';
3
+ import { SuiTextSession } from '../../../render/sui/textEdit';
4
+ import { SuiScroller } from '../../../render/sui/scroller';
5
+ import { SuiScoreViewOperations } from '../../../render/sui/scoreViewOperations';
6
+ import { SuiDialogNotifier, SuiComponentBase, SuiComponentParent } from './baseComponent';
7
+ import { SuiButtonComposite } from './button';
8
+ import { SuiRockerComposite } from './rocker';
9
+ import { SuiDropdownComposite } from './dropdown';
10
+ /**
11
+ * @category SuiDialog
12
+ */
13
+ export interface SuiTextInPlaceParams {
14
+ id: string;
15
+ classes: string;
16
+ label: string;
17
+ smoName: string;
18
+ control: string;
19
+ }
20
+ /**
21
+ * Edit the text in an SVG element, in the same scale etc. as the text in the score SVG DOM.
22
+ * This component just manages the text editing component of the renderer.
23
+ * @category SuiDialog
24
+ */
25
+ export declare class SuiTextInPlace extends SuiComponentBase {
26
+ scroller: SuiScroller;
27
+ editMode: boolean;
28
+ value: SmoTextGroup;
29
+ staticText: Record<string, string>;
30
+ altLabel: string;
31
+ view: SuiScoreViewOperations;
32
+ session: SuiTextSession | null;
33
+ constructor(dialog: SuiDialogNotifier, parameter: SuiTextInPlaceParams);
34
+ show(): void;
35
+ hide(): void;
36
+ get html(): import("../../../common/htmlHelpers").DomBuilder;
37
+ endSession(): Promise<void>;
38
+ get isRunning(): boolean | null;
39
+ getValue(): SmoTextGroup;
40
+ _getInputElement(): any;
41
+ mouseMove(ev: any): void;
42
+ mouseClick(ev: any): void;
43
+ _renderInactiveBlocks(): void;
44
+ startEditSession(): void;
45
+ evKey(evdata: KeyEvent): void;
46
+ bind(): void;
47
+ }
48
+ /**
49
+ * @category SuiDialog
50
+ */
51
+ export interface SuiTextBlockComponentParams {
52
+ id: string;
53
+ classes: string;
54
+ label: string;
55
+ smoName: string;
56
+ control: string;
57
+ }
58
+ /**
59
+ * @category SuiDialog
60
+ */
61
+ export interface SuiTextBlockValue {
62
+ modifier: SmoTextGroup;
63
+ activeScoreText: SmoScoreText;
64
+ }
65
+ /**
66
+ * Dialog to edit an block of text components. Each block can have
67
+ * different font settings and placement.
68
+ * @category SuiDialog
69
+ */
70
+ export declare class SuiTextBlockComponent extends SuiComponentParent {
71
+ addBlockCtrl: SuiButtonComposite;
72
+ toggleBlockCtrl: SuiButtonComposite;
73
+ removeBlockCtrl: SuiButtonComposite;
74
+ relativePositionCtrl: SuiDropdownComposite;
75
+ justificationCtrl: SuiDropdownComposite;
76
+ spacingCtrl: SuiRockerComposite;
77
+ modifier: SmoTextGroup;
78
+ activeScoreText: SmoScoreText;
79
+ constructor(dialog: SuiDialogNotifier, parameter: SuiTextBlockComponentParams);
80
+ changed(): void;
81
+ get html(): import("../../../common/htmlHelpers").DomBuilder;
82
+ _getInputElement(): any;
83
+ getValue(): {
84
+ activeScoreText: SmoScoreText;
85
+ modifier: SmoTextGroup;
86
+ };
87
+ _updateMultiiFields(): void;
88
+ setValue(value: SuiTextBlockValue): void;
89
+ bind(): void;
90
+ }
@@ -1,58 +1,58 @@
1
- import { SuiComponentBase, SuiDialogNotifier, SuiComponentParent } from './baseComponent';
2
- /**
3
- * parameters for text input component (simple text entry, not SVG text)
4
- * @category SuiDialog
5
- */
6
- export interface SuiTextInputComponentParams {
7
- id: string;
8
- classes: string;
9
- type?: string;
10
- increment?: number;
11
- defaultValue: string;
12
- label: string;
13
- smoName: string;
14
- control: string;
15
- }
16
- /**
17
- * Simple text input, like for a filename. Not the text editing component.
18
- * @category SuiDialog
19
- */
20
- export declare class SuiTextInputComponent extends SuiComponentBase {
21
- defaultValue: string;
22
- value: string;
23
- constructor(dialog: SuiDialogNotifier, parameter: SuiTextInputComponentParams);
24
- get html(): import("../../../common/htmlHelpers").DomBuilder;
25
- getValue(): string;
26
- setValue(val: string): void;
27
- _getInputElement(): any;
28
- bind(): void;
29
- }
30
- /**
31
- * @category SuiDialog
32
- */
33
- export interface SuiTextInputCompositeParams {
34
- id: string;
35
- classes: string;
36
- type?: string;
37
- increment?: number;
38
- defaultValue: string;
39
- label: string;
40
- smoName: string;
41
- control: string;
42
- parentControl: SuiComponentParent;
43
- }
44
- /**
45
- * @category SuiDialog
46
- */
47
- export declare class SuiTextInputComposite extends SuiTextInputComponent {
48
- parentControl: SuiComponentParent;
49
- constructor(dialog: SuiDialogNotifier, parameters: SuiTextInputCompositeParams);
50
- handleChanged(): Promise<void>;
51
- }
52
- /**
53
- * A static text message that appears in the dialog
54
- * @category SuiDialog
55
- */
56
- export declare class SuiReadOnlyTextComponent extends SuiTextInputComponent {
57
- constructor(dialog: SuiDialogNotifier, parameter: SuiTextInputComponentParams);
58
- }
1
+ import { SuiComponentBase, SuiDialogNotifier, SuiComponentParent } from './baseComponent';
2
+ /**
3
+ * parameters for text input component (simple text entry, not SVG text)
4
+ * @category SuiDialog
5
+ */
6
+ export interface SuiTextInputComponentParams {
7
+ id: string;
8
+ classes: string;
9
+ type?: string;
10
+ increment?: number;
11
+ defaultValue: string;
12
+ label: string;
13
+ smoName: string;
14
+ control: string;
15
+ }
16
+ /**
17
+ * Simple text input, like for a filename. Not the text editing component.
18
+ * @category SuiDialog
19
+ */
20
+ export declare class SuiTextInputComponent extends SuiComponentBase {
21
+ defaultValue: string;
22
+ value: string;
23
+ constructor(dialog: SuiDialogNotifier, parameter: SuiTextInputComponentParams);
24
+ get html(): import("../../../common/htmlHelpers").DomBuilder;
25
+ getValue(): string;
26
+ setValue(val: string): void;
27
+ _getInputElement(): any;
28
+ bind(): void;
29
+ }
30
+ /**
31
+ * @category SuiDialog
32
+ */
33
+ export interface SuiTextInputCompositeParams {
34
+ id: string;
35
+ classes: string;
36
+ type?: string;
37
+ increment?: number;
38
+ defaultValue: string;
39
+ label: string;
40
+ smoName: string;
41
+ control: string;
42
+ parentControl: SuiComponentParent;
43
+ }
44
+ /**
45
+ * @category SuiDialog
46
+ */
47
+ export declare class SuiTextInputComposite extends SuiTextInputComponent {
48
+ parentControl: SuiComponentParent;
49
+ constructor(dialog: SuiDialogNotifier, parameters: SuiTextInputCompositeParams);
50
+ handleChanged(): Promise<void>;
51
+ }
52
+ /**
53
+ * A static text message that appears in the dialog
54
+ * @category SuiDialog
55
+ */
56
+ export declare class SuiReadOnlyTextComponent extends SuiTextInputComponent {
57
+ constructor(dialog: SuiDialogNotifier, parameter: SuiTextInputComponentParams);
58
+ }
@@ -1,53 +1,53 @@
1
- import { SuiComponentBase, SuiDialogNotifier, SuiComponentParent } from './baseComponent';
2
- /**
3
- * parameters for simple on-off toggle
4
- * @category SuiDialog
5
- */
6
- export interface SuiToggleComponentParams {
7
- id: string;
8
- classes: string;
9
- type?: string;
10
- increment?: number;
11
- label: string;
12
- smoName: string;
13
- control: string;
14
- }
15
- /**
16
- * Simple boolean checkbox component
17
- * @category SuiDialog
18
- */
19
- export declare class SuiToggleComponent extends SuiComponentBase {
20
- defaultValue: boolean;
21
- constructor(dialog: SuiDialogNotifier, parameter: SuiToggleComponentParams);
22
- get html(): import("../../../common/htmlHelpers").DomBuilder;
23
- _getInputElement(): any;
24
- setValue(value: boolean): void;
25
- getValue(): any;
26
- bind(): void;
27
- }
28
- /**
29
- * Params for toggle combined with another component
30
- * @category SuiDialog
31
- */
32
- export interface SuiToggleCompositeParams {
33
- id: string;
34
- classes: string;
35
- type?: string;
36
- increment?: number;
37
- label: string;
38
- smoName: string;
39
- control: string;
40
- disabledOption?: string;
41
- defaultValue?: string | number;
42
- dataType?: string;
43
- parentControl: SuiComponentParent;
44
- }
45
- /**
46
- * Dropdown component that can be part of a composite control.
47
- * @category SuiDialog
48
- */
49
- export declare class SuiToggleComposite extends SuiToggleComponent {
50
- parentControl: SuiComponentParent;
51
- constructor(dialog: SuiDialogNotifier, parameters: SuiToggleCompositeParams);
52
- handleChanged(): Promise<void>;
53
- }
1
+ import { SuiComponentBase, SuiDialogNotifier, SuiComponentParent } from './baseComponent';
2
+ /**
3
+ * parameters for simple on-off toggle
4
+ * @category SuiDialog
5
+ */
6
+ export interface SuiToggleComponentParams {
7
+ id: string;
8
+ classes: string;
9
+ type?: string;
10
+ increment?: number;
11
+ label: string;
12
+ smoName: string;
13
+ control: string;
14
+ }
15
+ /**
16
+ * Simple boolean checkbox component
17
+ * @category SuiDialog
18
+ */
19
+ export declare class SuiToggleComponent extends SuiComponentBase {
20
+ defaultValue: boolean;
21
+ constructor(dialog: SuiDialogNotifier, parameter: SuiToggleComponentParams);
22
+ get html(): import("../../../common/htmlHelpers").DomBuilder;
23
+ _getInputElement(): any;
24
+ setValue(value: boolean): void;
25
+ getValue(): any;
26
+ bind(): void;
27
+ }
28
+ /**
29
+ * Params for toggle combined with another component
30
+ * @category SuiDialog
31
+ */
32
+ export interface SuiToggleCompositeParams {
33
+ id: string;
34
+ classes: string;
35
+ type?: string;
36
+ increment?: number;
37
+ label: string;
38
+ smoName: string;
39
+ control: string;
40
+ disabledOption?: string;
41
+ defaultValue?: string | number;
42
+ dataType?: string;
43
+ parentControl: SuiComponentParent;
44
+ }
45
+ /**
46
+ * Dropdown component that can be part of a composite control.
47
+ * @category SuiDialog
48
+ */
49
+ export declare class SuiToggleComposite extends SuiToggleComponent {
50
+ parentControl: SuiComponentParent;
51
+ constructor(dialog: SuiDialogNotifier, parameters: SuiToggleCompositeParams);
52
+ handleChanged(): Promise<void>;
53
+ }