vexflow 4.0.1-beta.1 → 4.0.1
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/README.md +48 -65
- package/build/cjs/vexflow-bravura.js +2 -2
- package/build/cjs/vexflow-bravura.js.map +1 -1
- package/build/cjs/vexflow-core.js +2 -2
- package/build/cjs/vexflow-core.js.map +1 -1
- package/build/cjs/vexflow-debug-with-tests.js +724 -697
- package/build/cjs/vexflow-debug-with-tests.js.map +1 -1
- package/build/cjs/vexflow-debug.js +550 -610
- package/build/cjs/vexflow-debug.js.map +1 -1
- package/build/cjs/vexflow-font-gonville.js +1 -1
- package/build/cjs/vexflow-font-gonville.js.map +1 -1
- package/build/cjs/vexflow-gonville.js +2 -2
- package/build/cjs/vexflow-gonville.js.map +1 -1
- package/build/cjs/vexflow-petaluma.js +2 -2
- package/build/cjs/vexflow-petaluma.js.map +1 -1
- package/build/cjs/vexflow.js +2 -2
- package/build/cjs/vexflow.js.map +1 -1
- package/build/esm/entry/vexflow-bravura.js +10 -0
- package/build/esm/entry/vexflow-core.js +53 -0
- package/build/esm/entry/vexflow-debug-with-tests.js +11 -0
- package/build/esm/entry/vexflow-debug.js +8 -0
- package/build/esm/entry/vexflow-font-bravura.js +7 -0
- package/build/esm/entry/vexflow-font-custom.js +7 -0
- package/build/esm/entry/vexflow-font-gonville.js +7 -0
- package/build/esm/entry/vexflow-font-petaluma.js +7 -0
- package/build/esm/entry/vexflow-gonville.js +10 -0
- package/build/esm/entry/vexflow-petaluma.js +10 -0
- package/build/esm/entry/vexflow.js +8 -0
- package/build/esm/src/accidental.js +348 -0
- package/build/esm/src/annotation.js +238 -0
- package/build/esm/src/articulation.js +267 -0
- package/build/esm/src/barnote.js +58 -0
- package/build/esm/src/beam.js +644 -0
- package/build/esm/src/bend.js +202 -0
- package/build/esm/src/boundingbox.js +59 -0
- package/build/esm/src/boundingboxcomputation.js +107 -0
- package/build/esm/src/canvascontext.js +202 -0
- package/build/esm/src/chordsymbol.js +578 -0
- package/build/esm/src/clef.js +153 -0
- package/build/esm/src/clefnote.js +65 -0
- package/build/esm/src/crescendo.js +77 -0
- package/build/esm/src/curve.js +118 -0
- package/build/esm/src/dot.js +137 -0
- package/build/esm/src/easyscore.js +374 -0
- package/build/esm/src/element.js +216 -0
- package/build/esm/src/factory.js +445 -0
- package/build/esm/src/flow.js +288 -0
- package/build/esm/src/font.js +262 -0
- package/build/esm/src/fonts/bravura_glyphs.js +3239 -0
- package/build/esm/src/fonts/bravura_metrics.js +507 -0
- package/build/esm/src/fonts/custom_glyphs.js +78 -0
- package/build/esm/src/fonts/custom_metrics.js +5 -0
- package/build/esm/src/fonts/gonville_glyphs.js +828 -0
- package/build/esm/src/fonts/gonville_metrics.js +421 -0
- package/build/esm/src/fonts/load_all.js +10 -0
- package/build/esm/src/fonts/load_bravura.js +6 -0
- package/build/esm/src/fonts/load_custom.js +6 -0
- package/build/esm/src/fonts/load_gonville.js +6 -0
- package/build/esm/src/fonts/load_petaluma.js +6 -0
- package/build/esm/src/fonts/petaluma_glyphs.js +1335 -0
- package/build/esm/src/fonts/petaluma_metrics.js +536 -0
- package/build/esm/src/fonts/petalumascript_glyphs.js +863 -0
- package/build/esm/src/fonts/robotoslab_glyphs.js +863 -0
- package/build/esm/src/fonts/textfonts.js +44 -0
- package/build/esm/src/formatter.js +585 -0
- package/build/esm/src/fraction.js +171 -0
- package/build/esm/src/frethandfinger.js +156 -0
- package/build/esm/src/ghostnote.js +50 -0
- package/build/esm/src/glyph.js +337 -0
- package/build/esm/src/glyphnote.js +55 -0
- package/build/esm/src/gracenote.js +133 -0
- package/build/esm/src/gracenotegroup.js +128 -0
- package/build/esm/src/gracetabnote.js +12 -0
- package/build/esm/src/index.js +89 -0
- package/build/esm/src/keymanager.js +99 -0
- package/build/esm/src/keysignature.js +250 -0
- package/build/esm/src/keysignote.js +28 -0
- package/build/esm/src/modifier.js +128 -0
- package/build/esm/src/modifiercontext.js +110 -0
- package/build/esm/src/multimeasurerest.js +173 -0
- package/build/esm/src/music.js +322 -0
- package/build/esm/src/note.js +371 -0
- package/build/esm/src/notehead.js +169 -0
- package/build/esm/src/notesubgroup.js +59 -0
- package/build/esm/src/ornament.js +206 -0
- package/build/esm/src/parenthesis.js +76 -0
- package/build/esm/src/parser.js +164 -0
- package/build/esm/src/pedalmarking.js +192 -0
- package/build/esm/src/registry.js +81 -0
- package/build/esm/src/rendercontext.js +24 -0
- package/build/esm/src/renderer.js +112 -0
- package/build/esm/src/repeatnote.js +22 -0
- package/build/esm/src/stave.js +547 -0
- package/build/esm/src/stavebarline.js +182 -0
- package/build/esm/src/staveconnector.js +196 -0
- package/build/esm/src/stavehairpin.js +120 -0
- package/build/esm/src/staveline.js +215 -0
- package/build/esm/src/stavemodifier.js +77 -0
- package/build/esm/src/stavenote.js +860 -0
- package/build/esm/src/staverepetition.js +155 -0
- package/build/esm/src/stavesection.js +58 -0
- package/build/esm/src/stavetempo.js +91 -0
- package/build/esm/src/stavetext.js +82 -0
- package/build/esm/src/stavetie.js +141 -0
- package/build/esm/src/stavevolta.js +67 -0
- package/build/esm/src/stem.js +131 -0
- package/build/esm/src/stemmablenote.js +193 -0
- package/build/esm/src/stringnumber.js +231 -0
- package/build/esm/src/strokes.js +200 -0
- package/build/esm/src/svgcontext.js +414 -0
- package/build/esm/src/system.js +109 -0
- package/build/esm/src/tables.js +1102 -0
- package/build/esm/src/tabnote.js +299 -0
- package/build/esm/src/tabslide.js +76 -0
- package/build/esm/src/tabstave.js +17 -0
- package/build/esm/src/tabtie.js +19 -0
- package/build/esm/src/textbracket.js +144 -0
- package/build/esm/src/textdynamics.js +81 -0
- package/build/esm/src/textformatter.js +177 -0
- package/build/esm/src/textnote.js +174 -0
- package/build/esm/src/tickable.js +214 -0
- package/build/esm/src/tickcontext.js +170 -0
- package/build/esm/src/timesigglyph.js +85 -0
- package/build/esm/src/timesignature.js +89 -0
- package/build/esm/src/timesignote.js +32 -0
- package/build/esm/src/tremolo.js +47 -0
- package/build/esm/src/tuning.js +54 -0
- package/build/esm/src/tuplet.js +240 -0
- package/build/esm/src/typeguard.js +30 -0
- package/build/esm/src/util.js +58 -0
- package/build/esm/src/version.js +3 -3
- package/build/esm/src/vex.js +51 -0
- package/build/esm/src/vibrato.js +100 -0
- package/build/esm/src/vibratobracket.js +50 -0
- package/build/esm/src/voice.js +187 -0
- package/build/esm/src/web.js +15 -0
- package/build/esm/tests/accidental_tests.js +974 -0
- package/build/esm/tests/annotation_tests.js +390 -0
- package/build/esm/tests/articulation_tests.js +365 -0
- package/build/esm/tests/auto_beam_formatting_tests.js +548 -0
- package/build/esm/tests/bach_tests.js +335 -0
- package/build/esm/tests/barline_tests.js +52 -0
- package/build/esm/tests/beam_tests.js +614 -0
- package/build/esm/tests/bend_tests.js +215 -0
- package/build/esm/tests/boundingbox_tests.js +53 -0
- package/build/esm/tests/boundingboxcomputation_tests.js +183 -0
- package/build/esm/tests/chordsymbol_tests.js +320 -0
- package/build/esm/tests/clef_tests.js +131 -0
- package/build/esm/tests/curve_tests.js +118 -0
- package/build/esm/tests/dot_tests.js +123 -0
- package/build/esm/tests/easyscore_tests.js +462 -0
- package/build/esm/tests/factory_tests.js +44 -0
- package/build/esm/tests/font_tests.js +135 -0
- package/build/esm/tests/formatter/framestack.js +61 -0
- package/build/esm/tests/formatter/tests.js +203 -0
- package/build/esm/tests/formatter_tests.js +670 -0
- package/build/esm/tests/fraction_tests.js +72 -0
- package/build/esm/tests/ghostnote_tests.js +77 -0
- package/build/esm/tests/glyphnote_tests.js +113 -0
- package/build/esm/tests/gracenote_tests.js +413 -0
- package/build/esm/tests/gracetabnote_tests.js +79 -0
- package/build/esm/tests/index.js +68 -0
- package/build/esm/tests/key_clef_tests.js +103 -0
- package/build/esm/tests/keymanager_tests.js +68 -0
- package/build/esm/tests/keysignature_tests.js +308 -0
- package/build/esm/tests/mocks.js +71 -0
- package/build/esm/tests/modifier_tests.js +24 -0
- package/build/esm/tests/multimeasurerest_tests.js +141 -0
- package/build/esm/tests/music_tests.js +161 -0
- package/build/esm/tests/notehead_tests.js +137 -0
- package/build/esm/tests/notesubgroup_tests.js +149 -0
- package/build/esm/tests/offscreencanvas_tests.js +47 -0
- package/build/esm/tests/ornament_tests.js +298 -0
- package/build/esm/tests/parser_tests.js +122 -0
- package/build/esm/tests/pedalmarking_tests.js +64 -0
- package/build/esm/tests/percussion_tests.js +180 -0
- package/build/esm/tests/registry_tests.js +64 -0
- package/build/esm/tests/renderer_tests.js +113 -0
- package/build/esm/tests/rests_tests.js +248 -0
- package/build/esm/tests/rhythm_tests.js +357 -0
- package/build/esm/tests/stave_tests.js +560 -0
- package/build/esm/tests/staveconnector_tests.js +402 -0
- package/build/esm/tests/stavehairpin_tests.js +90 -0
- package/build/esm/tests/staveline_tests.js +122 -0
- package/build/esm/tests/stavemodifier_tests.js +51 -0
- package/build/esm/tests/stavenote_tests.js +867 -0
- package/build/esm/tests/stavetie_tests.js +108 -0
- package/build/esm/tests/stringnumber_tests.js +259 -0
- package/build/esm/tests/strokes_tests.js +275 -0
- package/build/esm/tests/style_tests.js +98 -0
- package/build/esm/tests/support/qunit.js +2765 -0
- package/build/esm/tests/tabnote_tests.js +474 -0
- package/build/esm/tests/tabslide_tests.js +135 -0
- package/build/esm/tests/tabstave_tests.js +23 -0
- package/build/esm/tests/tabtie_tests.js +173 -0
- package/build/esm/tests/textbracket_tests.js +100 -0
- package/build/esm/tests/textformatter_tests.js +24 -0
- package/build/esm/tests/textnote_tests.js +215 -0
- package/build/esm/tests/threevoice_tests.js +132 -0
- package/build/esm/tests/tickcontext_tests.js +36 -0
- package/build/esm/tests/timesignature_tests.js +134 -0
- package/build/esm/tests/tremolo_tests.js +75 -0
- package/build/esm/tests/tuning_tests.js +56 -0
- package/build/esm/tests/tuplet_tests.js +450 -0
- package/build/esm/tests/typeguard_tests.js +82 -0
- package/build/esm/tests/vexflow_test_helpers.js +266 -0
- package/build/esm/tests/vf_prefix_tests.js +115 -0
- package/build/esm/tests/vibrato_tests.js +92 -0
- package/build/esm/tests/vibratobracket_tests.js +45 -0
- package/build/esm/tests/voice_tests.js +69 -0
- package/build/types/entry/vexflow-bravura.d.ts +2 -0
- package/build/types/entry/vexflow-core.d.ts +2 -0
- package/build/types/entry/vexflow-debug.d.ts +2 -0
- package/build/types/entry/vexflow-font-bravura.d.ts +3771 -0
- package/build/types/entry/vexflow-font-custom.d.ts +86 -0
- package/build/types/entry/vexflow-font-gonville.d.ts +1267 -0
- package/build/types/entry/vexflow-font-petaluma.d.ts +1896 -0
- package/build/types/entry/vexflow-gonville.d.ts +2 -0
- package/build/types/entry/vexflow-petaluma.d.ts +2 -0
- package/build/types/entry/vexflow.d.ts +2 -0
- package/build/types/src/accidental.d.ts +66 -0
- package/build/types/src/annotation.d.ts +61 -0
- package/build/types/src/articulation.d.ts +62 -0
- package/build/types/src/barnote.d.ts +29 -0
- package/build/types/src/beam.d.ts +153 -0
- package/build/types/src/bend.d.ts +73 -0
- package/build/types/src/boundingbox.d.ts +42 -0
- package/build/types/src/boundingboxcomputation.d.ts +33 -0
- package/build/types/src/canvascontext.d.ts +89 -0
- package/build/types/src/chordsymbol.d.ts +149 -0
- package/build/types/src/clef.d.ts +48 -0
- package/build/types/src/clefnote.d.ts +25 -0
- package/build/types/src/crescendo.d.ts +27 -0
- package/build/types/src/curve.d.ts +41 -0
- package/build/types/src/dot.d.ts +20 -0
- package/build/types/src/easyscore.d.ts +152 -0
- package/build/types/src/element.d.ts +202 -0
- package/build/types/src/factory.d.ts +274 -0
- package/build/types/src/flow.d.ts +260 -0
- package/build/types/src/font.d.ts +180 -0
- package/build/types/src/fonts/bravura_glyphs.d.ts +3239 -0
- package/build/types/src/fonts/bravura_metrics.d.ts +533 -0
- package/build/types/src/fonts/custom_glyphs.d.ts +78 -0
- package/build/types/src/fonts/custom_metrics.d.ts +5 -0
- package/build/types/src/fonts/gonville_glyphs.d.ts +828 -0
- package/build/types/src/fonts/gonville_metrics.d.ts +440 -0
- package/build/types/src/fonts/load_all.d.ts +1 -0
- package/build/types/src/fonts/load_bravura.d.ts +1 -0
- package/build/types/src/fonts/load_custom.d.ts +1 -0
- package/build/types/src/fonts/load_gonville.d.ts +1 -0
- package/build/types/src/fonts/load_petaluma.d.ts +1 -0
- package/build/types/src/fonts/petaluma_glyphs.d.ts +1335 -0
- package/build/types/src/fonts/petaluma_metrics.d.ts +562 -0
- package/build/types/src/fonts/petalumascript_glyphs.d.ts +863 -0
- package/build/types/src/fonts/robotoslab_glyphs.d.ts +863 -0
- package/build/types/src/fonts/textfonts.d.ts +1 -0
- package/build/types/src/formatter.d.ts +203 -0
- package/build/types/src/fraction.d.ts +62 -0
- package/build/types/src/frethandfinger.d.ts +22 -0
- package/build/types/src/ghostnote.d.ts +16 -0
- package/build/types/src/glyph.d.ts +141 -0
- package/build/types/src/glyphnote.d.ts +17 -0
- package/build/types/src/gracenote.d.ts +19 -0
- package/build/types/src/gracenotegroup.d.ts +33 -0
- package/build/types/src/gracetabnote.d.ts +5 -0
- package/build/types/src/index.d.ts +89 -0
- package/build/types/src/keymanager.d.ts +25 -0
- package/build/types/src/keysignature.d.ts +50 -0
- package/build/types/src/keysignote.d.ts +11 -0
- package/build/types/src/modifier.d.ts +97 -0
- package/build/types/src/modifiercontext.d.ts +45 -0
- package/build/types/src/multimeasurerest.d.ts +61 -0
- package/build/types/src/music.d.ts +91 -0
- package/build/types/src/note.d.ts +232 -0
- package/build/types/src/notehead.d.ts +70 -0
- package/build/types/src/notesubgroup.d.ts +18 -0
- package/build/types/src/ornament.d.ts +76 -0
- package/build/types/src/parenthesis.d.ts +22 -0
- package/build/types/src/parser.d.ts +45 -0
- package/build/types/src/pedalmarking.d.ts +69 -0
- package/build/types/src/registry.d.ts +40 -0
- package/build/types/src/rendercontext.d.ts +64 -0
- package/build/types/src/renderer.d.ts +35 -0
- package/build/types/src/repeatnote.d.ts +6 -0
- package/build/types/src/stave.d.ts +186 -0
- package/build/types/src/stavebarline.d.ts +28 -0
- package/build/types/src/staveconnector.d.ts +67 -0
- package/build/types/src/stavehairpin.d.ts +56 -0
- package/build/types/src/staveline.d.ts +54 -0
- package/build/types/src/stavemodifier.d.ts +44 -0
- package/build/types/src/stavenote.d.ts +154 -0
- package/build/types/src/staverepetition.d.ts +32 -0
- package/build/types/src/stavesection.d.ts +15 -0
- package/build/types/src/stavetempo.d.ts +25 -0
- package/build/types/src/stavetext.d.ts +25 -0
- package/build/types/src/stavetie.d.ts +59 -0
- package/build/types/src/stavevolta.d.ts +21 -0
- package/build/types/src/stem.d.ts +58 -0
- package/build/types/src/stemmablenote.d.ts +39 -0
- package/build/types/src/stringnumber.d.ts +27 -0
- package/build/types/src/strokes.d.ts +33 -0
- package/build/types/src/svgcontext.d.ts +131 -0
- package/build/types/src/system.d.ts +92 -0
- package/build/types/src/tables.d.ts +96 -0
- package/build/types/src/tabnote.d.ts +44 -0
- package/build/types/src/tabslide.d.ts +34 -0
- package/build/types/src/tabstave.d.ts +7 -0
- package/build/types/src/tabtie.d.ts +18 -0
- package/build/types/src/textbracket.d.ts +55 -0
- package/build/types/src/textdynamics.d.ts +39 -0
- package/build/types/src/textformatter.d.ts +109 -0
- package/build/types/src/textnote.d.ts +49 -0
- package/build/types/src/tickable.d.ts +140 -0
- package/build/types/src/tickcontext.d.ts +82 -0
- package/build/types/src/timesigglyph.d.ts +14 -0
- package/build/types/src/timesignature.d.ts +26 -0
- package/build/types/src/timesignote.d.ts +11 -0
- package/build/types/src/tremolo.d.ts +17 -0
- package/build/types/src/tuning.d.ts +23 -0
- package/build/types/src/tuplet.d.ts +105 -0
- package/build/types/src/typeguard.d.ts +99 -0
- package/build/types/src/util.d.ts +27 -0
- package/build/types/src/version.d.ts +3 -0
- package/build/types/src/vex.d.ts +18 -0
- package/build/types/src/vibrato.d.ts +29 -0
- package/build/types/src/vibratobracket.d.ts +33 -0
- package/build/types/src/voice.d.ts +108 -0
- package/build/types/src/web.d.ts +2 -0
- package/entry/vexflow-bravura.ts +3 -3
- package/entry/vexflow-core.ts +3 -3
- package/entry/vexflow-debug-with-tests.ts +16 -2
- package/entry/vexflow-debug.ts +11 -3
- package/entry/vexflow-gonville.ts +3 -3
- package/entry/vexflow-petaluma.ts +3 -3
- package/entry/vexflow.ts +3 -3
- package/package.json +1 -1
- package/src/annotation.ts +38 -6
- package/src/articulation.ts +8 -2
- package/src/beam.ts +53 -6
- package/src/easyscore.ts +11 -1
- package/src/factory.ts +16 -2
- package/src/flow.ts +35 -20
- package/src/font.ts +0 -4
- package/src/fonts/gonville_glyphs.ts +4 -4
- package/src/formatter.ts +24 -8
- package/src/glyph.ts +8 -0
- package/src/index.ts +2 -7
- package/src/note.ts +2 -1
- package/src/staveline.ts +2 -5
- package/src/stavenote.ts +13 -9
- package/src/stavetext.ts +3 -3
- package/src/system.ts +1 -7
- package/src/textnote.ts +9 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* VexFlow 4.0.1
|
|
2
|
+
* VexFlow 4.0.1 2022-03-24T20:35:28.447Z 409af72ce03dd6da1919ee6c7de72c62aac0644e
|
|
3
3
|
* Copyright (c) 2010 Mohit Muthanna Cheppudira <mohit@muthanna.com>
|
|
4
4
|
* https://www.vexflow.com https://github.com/0xfe/vexflow
|
|
5
5
|
*/
|
|
@@ -29,177 +29,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29
29
|
/* harmony export */ "ID": () => (/* binding */ ID),
|
|
30
30
|
/* harmony export */ "DATE": () => (/* binding */ DATE)
|
|
31
31
|
/* harmony export */ });
|
|
32
|
-
const VERSION = '4.0.1
|
|
33
|
-
const ID = '
|
|
34
|
-
const DATE = '2022-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/***/ }),
|
|
38
|
-
|
|
39
|
-
/***/ "./entry/vexflow.ts":
|
|
40
|
-
/*!**************************!*\
|
|
41
|
-
!*** ./entry/vexflow.ts ***!
|
|
42
|
-
\**************************/
|
|
43
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
44
|
-
|
|
45
|
-
__webpack_require__.r(__webpack_exports__);
|
|
46
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
47
|
-
/* harmony export */ "Accidental": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Accidental),
|
|
48
|
-
/* harmony export */ "Annotation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Annotation),
|
|
49
|
-
/* harmony export */ "AnnotationHorizontalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.AnnotationHorizontalJustify),
|
|
50
|
-
/* harmony export */ "AnnotationVerticalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.AnnotationVerticalJustify),
|
|
51
|
-
/* harmony export */ "Articulation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Articulation),
|
|
52
|
-
/* harmony export */ "BarNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.BarNote),
|
|
53
|
-
/* harmony export */ "Barline": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Barline),
|
|
54
|
-
/* harmony export */ "BarlineType": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.BarlineType),
|
|
55
|
-
/* harmony export */ "Beam": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Beam),
|
|
56
|
-
/* harmony export */ "Bend": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Bend),
|
|
57
|
-
/* harmony export */ "BoundingBox": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.BoundingBox),
|
|
58
|
-
/* harmony export */ "BoundingBoxComputation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.BoundingBoxComputation),
|
|
59
|
-
/* harmony export */ "Builder": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Builder),
|
|
60
|
-
/* harmony export */ "CanvasContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.CanvasContext),
|
|
61
|
-
/* harmony export */ "Category": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Category),
|
|
62
|
-
/* harmony export */ "ChordSymbol": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.ChordSymbol),
|
|
63
|
-
/* harmony export */ "ChordSymbolHorizontalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.ChordSymbolHorizontalJustify),
|
|
64
|
-
/* harmony export */ "ChordSymbolVerticalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.ChordSymbolVerticalJustify),
|
|
65
|
-
/* harmony export */ "Clef": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Clef),
|
|
66
|
-
/* harmony export */ "ClefNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.ClefNote),
|
|
67
|
-
/* harmony export */ "Crescendo": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Crescendo),
|
|
68
|
-
/* harmony export */ "Curve": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Curve),
|
|
69
|
-
/* harmony export */ "CurvePosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.CurvePosition),
|
|
70
|
-
/* harmony export */ "Dot": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Dot),
|
|
71
|
-
/* harmony export */ "EasyScore": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.EasyScore),
|
|
72
|
-
/* harmony export */ "EasyScoreGrammar": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.EasyScoreGrammar),
|
|
73
|
-
/* harmony export */ "Element": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Element),
|
|
74
|
-
/* harmony export */ "Factory": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Factory),
|
|
75
|
-
/* harmony export */ "Flow": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Flow),
|
|
76
|
-
/* harmony export */ "Font": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Font),
|
|
77
|
-
/* harmony export */ "FontStyle": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.FontStyle),
|
|
78
|
-
/* harmony export */ "FontWeight": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.FontWeight),
|
|
79
|
-
/* harmony export */ "Formatter": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Formatter),
|
|
80
|
-
/* harmony export */ "Fraction": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Fraction),
|
|
81
|
-
/* harmony export */ "FretHandFinger": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.FretHandFinger),
|
|
82
|
-
/* harmony export */ "GhostNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.GhostNote),
|
|
83
|
-
/* harmony export */ "Glyph": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Glyph),
|
|
84
|
-
/* harmony export */ "GlyphNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.GlyphNote),
|
|
85
|
-
/* harmony export */ "GraceNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.GraceNote),
|
|
86
|
-
/* harmony export */ "GraceNoteGroup": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.GraceNoteGroup),
|
|
87
|
-
/* harmony export */ "GraceTabNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.GraceTabNote),
|
|
88
|
-
/* harmony export */ "Justification": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Justification),
|
|
89
|
-
/* harmony export */ "KeyManager": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.KeyManager),
|
|
90
|
-
/* harmony export */ "KeySigNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.KeySigNote),
|
|
91
|
-
/* harmony export */ "KeySignature": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.KeySignature),
|
|
92
|
-
/* harmony export */ "Modifier": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Modifier),
|
|
93
|
-
/* harmony export */ "ModifierContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.ModifierContext),
|
|
94
|
-
/* harmony export */ "ModifierPosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.ModifierPosition),
|
|
95
|
-
/* harmony export */ "MultiMeasureRest": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.MultiMeasureRest),
|
|
96
|
-
/* harmony export */ "Music": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Music),
|
|
97
|
-
/* harmony export */ "Note": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Note),
|
|
98
|
-
/* harmony export */ "NoteHead": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.NoteHead),
|
|
99
|
-
/* harmony export */ "NoteSubGroup": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.NoteSubGroup),
|
|
100
|
-
/* harmony export */ "Ornament": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Ornament),
|
|
101
|
-
/* harmony export */ "OutlineCode": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.OutlineCode),
|
|
102
|
-
/* harmony export */ "Parenthesis": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Parenthesis),
|
|
103
|
-
/* harmony export */ "Parser": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Parser),
|
|
104
|
-
/* harmony export */ "PedalMarking": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.PedalMarking),
|
|
105
|
-
/* harmony export */ "Piece": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Piece),
|
|
106
|
-
/* harmony export */ "Registry": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Registry),
|
|
107
|
-
/* harmony export */ "RenderContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.RenderContext),
|
|
108
|
-
/* harmony export */ "Renderer": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Renderer),
|
|
109
|
-
/* harmony export */ "RendererBackends": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.RendererBackends),
|
|
110
|
-
/* harmony export */ "RendererLineEndType": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.RendererLineEndType),
|
|
111
|
-
/* harmony export */ "RepeatNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.RepeatNote),
|
|
112
|
-
/* harmony export */ "Repetition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Repetition),
|
|
113
|
-
/* harmony export */ "RuntimeError": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.RuntimeError),
|
|
114
|
-
/* harmony export */ "SVGContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.SVGContext),
|
|
115
|
-
/* harmony export */ "Stave": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Stave),
|
|
116
|
-
/* harmony export */ "StaveConnector": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveConnector),
|
|
117
|
-
/* harmony export */ "StaveHairpin": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveHairpin),
|
|
118
|
-
/* harmony export */ "StaveLine": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveLine),
|
|
119
|
-
/* harmony export */ "StaveModifier": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveModifier),
|
|
120
|
-
/* harmony export */ "StaveModifierPosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveModifierPosition),
|
|
121
|
-
/* harmony export */ "StaveNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveNote),
|
|
122
|
-
/* harmony export */ "StaveSection": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveSection),
|
|
123
|
-
/* harmony export */ "StaveTempo": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveTempo),
|
|
124
|
-
/* harmony export */ "StaveText": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveText),
|
|
125
|
-
/* harmony export */ "StaveTie": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveTie),
|
|
126
|
-
/* harmony export */ "Stem": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Stem),
|
|
127
|
-
/* harmony export */ "StemmableNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StemmableNote),
|
|
128
|
-
/* harmony export */ "StringNumber": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StringNumber),
|
|
129
|
-
/* harmony export */ "Stroke": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Stroke),
|
|
130
|
-
/* harmony export */ "SymbolModifiers": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.SymbolModifiers),
|
|
131
|
-
/* harmony export */ "SymbolTypes": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.SymbolTypes),
|
|
132
|
-
/* harmony export */ "System": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.System),
|
|
133
|
-
/* harmony export */ "TabNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TabNote),
|
|
134
|
-
/* harmony export */ "TabSlide": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TabSlide),
|
|
135
|
-
/* harmony export */ "TabStave": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TabStave),
|
|
136
|
-
/* harmony export */ "TabTie": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TabTie),
|
|
137
|
-
/* harmony export */ "TextBracket": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TextBracket),
|
|
138
|
-
/* harmony export */ "TextBracketPosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TextBracketPosition),
|
|
139
|
-
/* harmony export */ "TextDynamics": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TextDynamics),
|
|
140
|
-
/* harmony export */ "TextFormatter": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TextFormatter),
|
|
141
|
-
/* harmony export */ "TextNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TextNote),
|
|
142
|
-
/* harmony export */ "TickContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TickContext),
|
|
143
|
-
/* harmony export */ "Tickable": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Tickable),
|
|
144
|
-
/* harmony export */ "TimeSigNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TimeSigNote),
|
|
145
|
-
/* harmony export */ "TimeSignature": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TimeSignature),
|
|
146
|
-
/* harmony export */ "TimeSignatureGlyph": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TimeSignatureGlyph),
|
|
147
|
-
/* harmony export */ "Tremolo": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Tremolo),
|
|
148
|
-
/* harmony export */ "Tuning": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Tuning),
|
|
149
|
-
/* harmony export */ "Tuplet": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Tuplet),
|
|
150
|
-
/* harmony export */ "TupletLocation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TupletLocation),
|
|
151
|
-
/* harmony export */ "Vex": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Vex),
|
|
152
|
-
/* harmony export */ "Vibrato": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Vibrato),
|
|
153
|
-
/* harmony export */ "VibratoBracket": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.VibratoBracket),
|
|
154
|
-
/* harmony export */ "Voice": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Voice),
|
|
155
|
-
/* harmony export */ "VoiceMode": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.VoiceMode),
|
|
156
|
-
/* harmony export */ "Volta": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Volta),
|
|
157
|
-
/* harmony export */ "VoltaType": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.VoltaType),
|
|
158
|
-
/* harmony export */ "defined": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.defined),
|
|
159
|
-
/* harmony export */ "drawDot": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.drawDot),
|
|
160
|
-
/* harmony export */ "globalObject": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.globalObject),
|
|
161
|
-
/* harmony export */ "isAccidental": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isAccidental),
|
|
162
|
-
/* harmony export */ "isAnnotation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isAnnotation),
|
|
163
|
-
/* harmony export */ "isBarline": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isBarline),
|
|
164
|
-
/* harmony export */ "isCategory": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isCategory),
|
|
165
|
-
/* harmony export */ "isDot": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isDot),
|
|
166
|
-
/* harmony export */ "isGraceNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isGraceNote),
|
|
167
|
-
/* harmony export */ "isGraceNoteGroup": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isGraceNoteGroup),
|
|
168
|
-
/* harmony export */ "isHTMLCanvas": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isHTMLCanvas),
|
|
169
|
-
/* harmony export */ "isHTMLDiv": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isHTMLDiv),
|
|
170
|
-
/* harmony export */ "isNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isNote),
|
|
171
|
-
/* harmony export */ "isRenderContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isRenderContext),
|
|
172
|
-
/* harmony export */ "isStaveNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isStaveNote),
|
|
173
|
-
/* harmony export */ "isStemmableNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isStemmableNote),
|
|
174
|
-
/* harmony export */ "isTabNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isTabNote),
|
|
175
|
-
/* harmony export */ "log": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.log),
|
|
176
|
-
/* harmony export */ "midLine": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.midLine),
|
|
177
|
-
/* harmony export */ "normalizeAngle": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.normalizeAngle),
|
|
178
|
-
/* harmony export */ "prefix": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.prefix),
|
|
179
|
-
/* harmony export */ "warn": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.warn),
|
|
180
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
181
|
-
/* harmony export */ });
|
|
182
|
-
/* harmony import */ var _src_vex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../src/vex */ "./src/vex.ts");
|
|
183
|
-
/* harmony import */ var _src_flow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../src/flow */ "./src/flow.ts");
|
|
184
|
-
/* harmony import */ var _src_fonts_load_all__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../src/fonts/load_all */ "./src/fonts/load_all.ts");
|
|
185
|
-
/* harmony import */ var _src_fonts_textfonts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../src/fonts/textfonts */ "./src/fonts/textfonts.ts");
|
|
186
|
-
/* harmony import */ var _src_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../src/index */ "./src/index.ts");
|
|
187
|
-
// [VexFlow](https://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
|
|
188
|
-
// MIT License
|
|
189
|
-
//
|
|
190
|
-
// vexflow.ts is the entry point for the build output file vexflow.js.
|
|
191
|
-
// It statically bundles all the music engraving fonts, and sets the music font stack to:
|
|
192
|
-
// Flow.setMusicFont('Bravura', 'Gonville', 'Custom');
|
|
193
|
-
// The webpack config inside Gruntfile.js sets the mode to 'production' to produce a minified build.
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
(0,_src_fonts_load_all__WEBPACK_IMPORTED_MODULE_2__.loadAllMusicFonts)();
|
|
199
|
-
_src_flow__WEBPACK_IMPORTED_MODULE_1__.Flow.setMusicFont('Bravura', 'Gonville', 'Custom');
|
|
200
|
-
(0,_src_fonts_textfonts__WEBPACK_IMPORTED_MODULE_3__.loadTextFonts)();
|
|
201
|
-
|
|
202
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_src_vex__WEBPACK_IMPORTED_MODULE_0__.Vex);
|
|
32
|
+
const VERSION = '4.0.1';
|
|
33
|
+
const ID = '409af72ce03dd6da1919ee6c7de72c62aac0644e';
|
|
34
|
+
const DATE = '2022-03-24T20:35:28.447Z';
|
|
203
35
|
|
|
204
36
|
|
|
205
37
|
/***/ }),
|
|
@@ -776,11 +608,20 @@ class Annotation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
776
608
|
static get CATEGORY() {
|
|
777
609
|
return _typeguard__WEBPACK_IMPORTED_MODULE_5__.Category.Annotation;
|
|
778
610
|
}
|
|
611
|
+
// Use the same padding for annotations as note head so the
|
|
612
|
+
// words don't run into each other.
|
|
613
|
+
static get minAnnotationPadding() {
|
|
614
|
+
const musicFont = _tables__WEBPACK_IMPORTED_MODULE_3__.Tables.currentMusicFont();
|
|
615
|
+
return musicFont.lookupMetric('glyphs.noteHead.minPadding');
|
|
616
|
+
}
|
|
779
617
|
/** Arrange annotations within a `ModifierContext` */
|
|
780
618
|
static format(annotations, state) {
|
|
781
619
|
if (!annotations || annotations.length === 0)
|
|
782
620
|
return false;
|
|
783
|
-
let
|
|
621
|
+
let leftWidth = 0;
|
|
622
|
+
let rightWidth = 0;
|
|
623
|
+
let maxLeftGlyphWidth = 0;
|
|
624
|
+
let maxRightGlyphWidth = 0;
|
|
784
625
|
for (let i = 0; i < annotations.length; ++i) {
|
|
785
626
|
const annotation = annotations[i];
|
|
786
627
|
const textFormatter = _textformatter__WEBPACK_IMPORTED_MODULE_4__.TextFormatter.create(annotation.textFont);
|
|
@@ -788,6 +629,23 @@ class Annotation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
788
629
|
const textLines = (5 + textFormatter.maxHeight) / _tables__WEBPACK_IMPORTED_MODULE_3__.Tables.STAVE_LINE_DISTANCE;
|
|
789
630
|
let verticalSpaceNeeded = textLines;
|
|
790
631
|
const note = annotation.checkAttachedNote();
|
|
632
|
+
const glyphWidth = note.getGlyph().getWidth();
|
|
633
|
+
// Get the text width from the font metrics.
|
|
634
|
+
const textWidth = textFormatter.getWidthForTextInPx(annotation.text);
|
|
635
|
+
if (annotation.horizontalJustification === AnnotationHorizontalJustify.LEFT) {
|
|
636
|
+
maxLeftGlyphWidth = Math.max(glyphWidth, maxLeftGlyphWidth);
|
|
637
|
+
leftWidth = Math.max(leftWidth, textWidth) + Annotation.minAnnotationPadding;
|
|
638
|
+
}
|
|
639
|
+
else if (annotation.horizontalJustification === AnnotationHorizontalJustify.RIGHT) {
|
|
640
|
+
maxRightGlyphWidth = Math.max(glyphWidth, maxLeftGlyphWidth);
|
|
641
|
+
rightWidth = Math.max(rightWidth, textWidth);
|
|
642
|
+
}
|
|
643
|
+
else {
|
|
644
|
+
leftWidth = Math.max(leftWidth, textWidth / 2) + Annotation.minAnnotationPadding;
|
|
645
|
+
rightWidth = Math.max(rightWidth, textWidth / 2);
|
|
646
|
+
maxLeftGlyphWidth = Math.max(glyphWidth / 2, maxLeftGlyphWidth);
|
|
647
|
+
maxRightGlyphWidth = Math.max(glyphWidth / 2, maxRightGlyphWidth);
|
|
648
|
+
}
|
|
791
649
|
const stave = note.getStave();
|
|
792
650
|
const stemDirection = note.hasStem() ? note.getStemDirection() : _stem__WEBPACK_IMPORTED_MODULE_2__.Stem.UP;
|
|
793
651
|
let stemHeight = 0;
|
|
@@ -812,9 +670,6 @@ class Annotation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
812
670
|
if (stave) {
|
|
813
671
|
lines = stave.getNumLines();
|
|
814
672
|
}
|
|
815
|
-
// Get the text width from the font metrics.
|
|
816
|
-
const textWidth = textFormatter.getWidthForTextInPx(annotation.text);
|
|
817
|
-
width = Math.max(width, textWidth);
|
|
818
673
|
if (annotation.verticalJustification === this.VerticalJustify.TOP) {
|
|
819
674
|
let noteLine = note.getLineNumber(true);
|
|
820
675
|
if ((0,_typeguard__WEBPACK_IMPORTED_MODULE_5__.isTabNote)(note)) {
|
|
@@ -857,8 +712,10 @@ class Annotation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
857
712
|
annotation.setTextLine(state.text_line);
|
|
858
713
|
}
|
|
859
714
|
}
|
|
860
|
-
|
|
861
|
-
|
|
715
|
+
const rightOverlap = Math.min(Math.max(rightWidth - maxRightGlyphWidth, 0), Math.max(rightWidth - state.right_shift, 0));
|
|
716
|
+
const leftOverlap = Math.min(Math.max(leftWidth - maxLeftGlyphWidth, 0), Math.max(leftWidth - state.left_shift, 0));
|
|
717
|
+
state.left_shift += leftOverlap;
|
|
718
|
+
state.right_shift += rightOverlap;
|
|
862
719
|
return true;
|
|
863
720
|
}
|
|
864
721
|
/**
|
|
@@ -893,6 +750,10 @@ class Annotation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
893
750
|
this.setRendered();
|
|
894
751
|
// We're changing context parameters. Save current state.
|
|
895
752
|
ctx.save();
|
|
753
|
+
// Apply style might not save context, if this.style is undefined, so we
|
|
754
|
+
// still need to save context state just before this, since we will be
|
|
755
|
+
// changing ctx parameters below.
|
|
756
|
+
this.applyStyle();
|
|
896
757
|
const classString = Object.keys(this.getAttribute('classes')).join(' ');
|
|
897
758
|
ctx.openGroup(classString, this.getAttribute('id'));
|
|
898
759
|
ctx.setFont(this.textFont);
|
|
@@ -952,6 +813,7 @@ class Annotation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
952
813
|
L('Rendering annotation: ', this.text, x, y);
|
|
953
814
|
ctx.fillText(this.text, x, y);
|
|
954
815
|
ctx.closeGroup();
|
|
816
|
+
this.restoreStyle();
|
|
955
817
|
ctx.restore();
|
|
956
818
|
}
|
|
957
819
|
}
|
|
@@ -1190,9 +1052,11 @@ class Articulation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
1190
1052
|
if (!articulations || articulations.length === 0)
|
|
1191
1053
|
return false;
|
|
1192
1054
|
const margin = 0.5;
|
|
1055
|
+
let maxGlyphWidth = 0;
|
|
1193
1056
|
const getIncrement = (articulation, line, position) => roundToNearestHalf(getRoundingFunction(line, position), (0,_util__WEBPACK_IMPORTED_MODULE_5__.defined)(articulation.glyph.getMetrics().height) / 10 + margin);
|
|
1194
1057
|
articulations.forEach((articulation) => {
|
|
1195
1058
|
const note = articulation.checkAttachedNote();
|
|
1059
|
+
maxGlyphWidth = Math.max(note.getGlyph().getWidth(), maxGlyphWidth);
|
|
1196
1060
|
let lines = 5;
|
|
1197
1061
|
const stemDirection = note.hasStem() ? note.getStemDirection() : _stem__WEBPACK_IMPORTED_MODULE_2__.Stem.UP;
|
|
1198
1062
|
let stemHeight = 0;
|
|
@@ -1239,8 +1103,9 @@ class Articulation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
1239
1103
|
const width = articulations
|
|
1240
1104
|
.map((articulation) => articulation.getWidth())
|
|
1241
1105
|
.reduce((maxWidth, articWidth) => Math.max(articWidth, maxWidth));
|
|
1242
|
-
state.left_shift
|
|
1243
|
-
state.
|
|
1106
|
+
const overlap = Math.min(Math.max(width - maxGlyphWidth, 0), Math.max(width - (state.left_shift + state.right_shift), 0));
|
|
1107
|
+
state.left_shift += overlap / 2;
|
|
1108
|
+
state.right_shift += overlap / 2;
|
|
1244
1109
|
return true;
|
|
1245
1110
|
}
|
|
1246
1111
|
static easyScoreHook({ articulations }, note, builder) {
|
|
@@ -1423,6 +1288,9 @@ BarNote.DEBUG = false;
|
|
|
1423
1288
|
|
|
1424
1289
|
__webpack_require__.r(__webpack_exports__);
|
|
1425
1290
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1291
|
+
/* harmony export */ "BEAM_LEFT": () => (/* binding */ BEAM_LEFT),
|
|
1292
|
+
/* harmony export */ "BEAM_RIGHT": () => (/* binding */ BEAM_RIGHT),
|
|
1293
|
+
/* harmony export */ "BEAM_BOTH": () => (/* binding */ BEAM_BOTH),
|
|
1426
1294
|
/* harmony export */ "Beam": () => (/* binding */ Beam)
|
|
1427
1295
|
/* harmony export */ });
|
|
1428
1296
|
/* harmony import */ var _element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./element */ "./src/element.ts");
|
|
@@ -1471,6 +1339,12 @@ class Beam extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
1471
1339
|
super();
|
|
1472
1340
|
this.slope = 0;
|
|
1473
1341
|
this.y_shift = 0;
|
|
1342
|
+
/**
|
|
1343
|
+
* Overrides to default beam directions for secondary-level beams that do not
|
|
1344
|
+
* connect to any other note. See further explanation at
|
|
1345
|
+
* `setPartialBeamSideAt`
|
|
1346
|
+
*/
|
|
1347
|
+
this.forcedPartialDirections = {};
|
|
1474
1348
|
if (!notes || notes.length === 0) {
|
|
1475
1349
|
throw new _util__WEBPACK_IMPORTED_MODULE_6__.RuntimeError('BadArguments', 'No notes provided for beam.');
|
|
1476
1350
|
}
|
|
@@ -1858,6 +1732,31 @@ class Beam extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
1858
1732
|
this.break_on_indices = indices;
|
|
1859
1733
|
return this;
|
|
1860
1734
|
}
|
|
1735
|
+
/**
|
|
1736
|
+
* Forces the direction of a partial beam (a secondary-level beam that exists
|
|
1737
|
+
* on one note only of the beam group). This is useful in rhythms such as 6/8
|
|
1738
|
+
* eighth-sixteenth-eighth-sixteenth, where the direction of the beam on the
|
|
1739
|
+
* first sixteenth note can help imply whether the rhythm is to be felt as
|
|
1740
|
+
* three groups of eighth notes (typical) or as two groups of three-sixteenths
|
|
1741
|
+
* (less common):
|
|
1742
|
+
* ```
|
|
1743
|
+
* ┌───┬──┬──┐ ┌──┬──┬──┐
|
|
1744
|
+
* │ ├─ │ ─┤ vs │ ─┤ │ ─┤
|
|
1745
|
+
* │ │ │ │ │ │ │ │
|
|
1746
|
+
* ```
|
|
1747
|
+
*/
|
|
1748
|
+
setPartialBeamSideAt(noteIndex, side) {
|
|
1749
|
+
this.forcedPartialDirections[noteIndex] = side;
|
|
1750
|
+
return this;
|
|
1751
|
+
}
|
|
1752
|
+
/**
|
|
1753
|
+
* Restore the default direction of a partial beam (a secondary-level beam
|
|
1754
|
+
* that does not connect to any other notes).
|
|
1755
|
+
*/
|
|
1756
|
+
unsetPartialBeamSideAt(noteIndex) {
|
|
1757
|
+
delete this.forcedPartialDirections[noteIndex];
|
|
1758
|
+
return this;
|
|
1759
|
+
}
|
|
1861
1760
|
/** Return the y coordinate for linear function. */
|
|
1862
1761
|
getSlopeY(x, first_x_px, first_y_px, slope) {
|
|
1863
1762
|
return first_y_px + (x - first_x_px) * slope;
|
|
@@ -2008,10 +1907,13 @@ class Beam extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
2008
1907
|
}
|
|
2009
1908
|
}
|
|
2010
1909
|
/** Return upper level beam direction. */
|
|
2011
|
-
lookupBeamDirection(duration, prev_tick, tick, next_tick) {
|
|
1910
|
+
lookupBeamDirection(duration, prev_tick, tick, next_tick, noteIndex) {
|
|
2012
1911
|
if (duration === '4') {
|
|
2013
1912
|
return BEAM_LEFT;
|
|
2014
1913
|
}
|
|
1914
|
+
const forcedBeamDirection = this.forcedPartialDirections[noteIndex];
|
|
1915
|
+
if (forcedBeamDirection)
|
|
1916
|
+
return forcedBeamDirection;
|
|
2015
1917
|
const lookup_duration = `${_tables__WEBPACK_IMPORTED_MODULE_3__.Tables.durationToNumber(duration) / 2}`;
|
|
2016
1918
|
const prev_note_gets_beam = prev_tick < _tables__WEBPACK_IMPORTED_MODULE_3__.Tables.durationToTicks(lookup_duration);
|
|
2017
1919
|
const next_note_gets_beam = next_tick < _tables__WEBPACK_IMPORTED_MODULE_3__.Tables.durationToTicks(lookup_duration);
|
|
@@ -2025,7 +1927,7 @@ class Beam extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
2025
1927
|
else if (!prev_note_gets_beam && next_note_gets_beam && note_gets_beam) {
|
|
2026
1928
|
return BEAM_RIGHT;
|
|
2027
1929
|
}
|
|
2028
|
-
return this.lookupBeamDirection(lookup_duration, prev_tick, tick, next_tick);
|
|
1930
|
+
return this.lookupBeamDirection(lookup_duration, prev_tick, tick, next_tick, noteIndex);
|
|
2029
1931
|
}
|
|
2030
1932
|
/** Get the x coordinates for the beam lines of specific `duration`. */
|
|
2031
1933
|
getBeamLines(duration) {
|
|
@@ -2089,7 +1991,7 @@ class Beam extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
2089
1991
|
const prev_tick = prev_note.getIntrinsicTicks();
|
|
2090
1992
|
const next_tick = next_note.getIntrinsicTicks();
|
|
2091
1993
|
const tick = note.getIntrinsicTicks();
|
|
2092
|
-
const beam_direction = this.lookupBeamDirection(duration, prev_tick, tick, next_tick);
|
|
1994
|
+
const beam_direction = this.lookupBeamDirection(duration, prev_tick, tick, next_tick, i);
|
|
2093
1995
|
if ([BEAM_LEFT, BEAM_BOTH].includes(beam_direction)) {
|
|
2094
1996
|
current_beam.end = current_beam.start - partial_beam_length;
|
|
2095
1997
|
}
|
|
@@ -5635,9 +5537,14 @@ class Factory {
|
|
|
5635
5537
|
return tuplet;
|
|
5636
5538
|
}
|
|
5637
5539
|
Beam(params) {
|
|
5638
|
-
var _a, _b, _c;
|
|
5540
|
+
var _a, _b, _c, _d, _e;
|
|
5639
5541
|
const beam = new _beam__WEBPACK_IMPORTED_MODULE_4__.Beam(params.notes, (_a = params.options) === null || _a === void 0 ? void 0 : _a.autoStem).setContext(this.context);
|
|
5640
5542
|
beam.breakSecondaryAt((_c = (_b = params.options) === null || _b === void 0 ? void 0 : _b.secondaryBeamBreaks) !== null && _c !== void 0 ? _c : []);
|
|
5543
|
+
if ((_d = params.options) === null || _d === void 0 ? void 0 : _d.partialBeamDirections) {
|
|
5544
|
+
Object.entries((_e = params.options) === null || _e === void 0 ? void 0 : _e.partialBeamDirections).forEach(([noteIndex, direction]) => {
|
|
5545
|
+
beam.setPartialBeamSideAt(Number(noteIndex), direction);
|
|
5546
|
+
});
|
|
5547
|
+
}
|
|
5641
5548
|
this.renderQ.push(beam);
|
|
5642
5549
|
return beam;
|
|
5643
5550
|
}
|
|
@@ -5958,14 +5865,6 @@ class Flow {
|
|
|
5958
5865
|
DATE: _version__WEBPACK_IMPORTED_MODULE_78__.DATE,
|
|
5959
5866
|
};
|
|
5960
5867
|
}
|
|
5961
|
-
static get Flow() {
|
|
5962
|
-
// This (circular reference) provides a handy shortcut for importing VexFlow via `require()`.
|
|
5963
|
-
// For example:
|
|
5964
|
-
// const Vex = require('vexflow');
|
|
5965
|
-
// const { Flow, Stave, StaveNote, Formatter, Renderer } = Vex.Flow;
|
|
5966
|
-
return Flow;
|
|
5967
|
-
}
|
|
5968
|
-
// ... more to come ...
|
|
5969
5868
|
/**
|
|
5970
5869
|
* Examples:
|
|
5971
5870
|
* ```
|
|
@@ -6171,9 +6070,26 @@ Flow.Vibrato = _vibrato__WEBPACK_IMPORTED_MODULE_79__.Vibrato;
|
|
|
6171
6070
|
Flow.VibratoBracket = _vibratobracket__WEBPACK_IMPORTED_MODULE_80__.VibratoBracket;
|
|
6172
6071
|
Flow.Voice = _voice__WEBPACK_IMPORTED_MODULE_81__.Voice;
|
|
6173
6072
|
Flow.Volta = _stavevolta__WEBPACK_IMPORTED_MODULE_57__.Volta;
|
|
6174
|
-
//
|
|
6175
|
-
|
|
6073
|
+
// Exported Enums.
|
|
6074
|
+
// Sorted by the module / file they are exported from.
|
|
6075
|
+
Flow.AnnotationHorizontalJustify = _annotation__WEBPACK_IMPORTED_MODULE_1__.AnnotationHorizontalJustify;
|
|
6076
|
+
Flow.AnnotationVerticalJustify = _annotation__WEBPACK_IMPORTED_MODULE_1__.AnnotationVerticalJustify;
|
|
6077
|
+
Flow.ChordSymbolHorizontalJustify = _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.ChordSymbolHorizontalJustify;
|
|
6078
|
+
Flow.ChordSymbolVerticalJustify = _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.ChordSymbolVerticalJustify;
|
|
6079
|
+
Flow.SymbolTypes = _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.SymbolTypes;
|
|
6080
|
+
Flow.SymbolModifiers = _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.SymbolModifiers;
|
|
6081
|
+
Flow.CurvePosition = _curve__WEBPACK_IMPORTED_MODULE_13__.CurvePosition;
|
|
6082
|
+
Flow.FontWeight = _font__WEBPACK_IMPORTED_MODULE_18__.FontWeight;
|
|
6083
|
+
Flow.FontStyle = _font__WEBPACK_IMPORTED_MODULE_18__.FontStyle;
|
|
6176
6084
|
Flow.ModifierPosition = _modifier__WEBPACK_IMPORTED_MODULE_31__.ModifierPosition;
|
|
6085
|
+
Flow.RendererBackends = _renderer__WEBPACK_IMPORTED_MODULE_44__.RendererBackends;
|
|
6086
|
+
Flow.RendererLineEndType = _renderer__WEBPACK_IMPORTED_MODULE_44__.RendererLineEndType;
|
|
6087
|
+
Flow.BarlineType = _stavebarline__WEBPACK_IMPORTED_MODULE_47__.BarlineType;
|
|
6088
|
+
Flow.StaveModifierPosition = _stavemodifier__WEBPACK_IMPORTED_MODULE_51__.StaveModifierPosition;
|
|
6089
|
+
Flow.VoltaType = _stavevolta__WEBPACK_IMPORTED_MODULE_57__.VoltaType;
|
|
6090
|
+
Flow.TextBracketPosition = _textbracket__WEBPACK_IMPORTED_MODULE_68__.TextBracketPosition;
|
|
6091
|
+
Flow.TextJustification = _textnote__WEBPACK_IMPORTED_MODULE_71__.TextJustification;
|
|
6092
|
+
Flow.VoiceMode = _voice__WEBPACK_IMPORTED_MODULE_81__.VoiceMode;
|
|
6177
6093
|
|
|
6178
6094
|
|
|
6179
6095
|
/***/ }),
|
|
@@ -6464,9 +6380,6 @@ class Font {
|
|
|
6464
6380
|
}
|
|
6465
6381
|
});
|
|
6466
6382
|
}
|
|
6467
|
-
static loadTextFonts() {
|
|
6468
|
-
//
|
|
6469
|
-
}
|
|
6470
6383
|
/**
|
|
6471
6384
|
* @param fontName
|
|
6472
6385
|
* @param data optionally set the Font object's `.data` property.
|
|
@@ -11196,10 +11109,10 @@ const GonvilleFont = {
|
|
|
11196
11109
|
o: 'm -413 173 b -408 174 -412 174 -409 174 b -397 173 -404 174 -400 173 b -308 86 -394 172 -374 151 b -223 0 -261 37 -223 0 b -153 84 -223 0 -191 37 b -77 174 -83 173 -84 172 b -72 174 -76 174 -74 174 b -62 173 -68 174 -63 173 b 25 86 -59 172 -39 151 b 112 0 73 37 111 0 b 181 84 112 0 144 37 b 257 174 251 173 251 172 b 262 174 258 174 261 174 b 273 173 266 174 270 173 b 436 9 276 172 347 101 l 447 -1 l 477 36 b 522 79 511 79 513 79 l 522 79 b 552 51 533 79 539 73 b 596 -112 582 6 596 -51 b 567 -262 596 -161 586 -213 b 539 -322 558 -287 544 -316 b 524 -327 534 -326 529 -327 b 504 -315 515 -327 507 -323 b 503 -308 503 -312 503 -309 b 511 -285 503 -302 504 -297 b 555 -113 540 -227 555 -169 b 544 -34 555 -86 551 -59 b 522 19 540 -16 530 8 l 521 22 l 481 -26 l 405 -122 b 353 -176 366 -172 362 -176 b 349 -176 352 -176 351 -176 b 253 -87 341 -176 347 -180 b 167 0 206 -38 167 0 b 99 -86 167 0 136 -38 b 21 -174 27 -174 28 -173 b 17 -176 20 -176 19 -176 b 6 -174 13 -176 9 -174 b -81 -87 4 -173 -14 -152 b -167 0 -129 -38 -167 0 b -236 -86 -167 0 -198 -38 b -313 -174 -307 -174 -306 -173 b -318 -176 -314 -176 -315 -176 b -328 -174 -321 -176 -325 -174 b -491 -12 -330 -173 -367 -137 l -503 0 l -530 -34 b -570 -77 -562 -73 -564 -76 b -577 -79 -571 -79 -574 -79 b -597 -58 -588 -79 -597 -69 b -596 -49 -597 -55 -597 -52 b -417 172 -593 -43 -423 167 b -413 173 -417 172 -415 173 ',
|
|
11197
11110
|
},
|
|
11198
11111
|
stringsDownBow: {
|
|
11199
|
-
x_min: -
|
|
11200
|
-
x_max:
|
|
11201
|
-
ha:
|
|
11202
|
-
o: 'm -
|
|
11112
|
+
x_min: -228.671875,
|
|
11113
|
+
x_max: 227.3125,
|
|
11114
|
+
ha: 232,
|
|
11115
|
+
o: 'm -217 487 l -213 488 l 0 488 l 212 488 l 216 487 b 225 476 220 484 224 480 l 227 473 l 227 244 l 227 15 l 225 12 b 206 0 223 4 215 0 b 197 1 204 0 200 0 b 187 12 193 4 189 6 l 186 15 l 186 138 l 186 262 l -1 262 l -187 262 l -187 138 l -187 15 l -189 12 b -208 0 -193 4 -200 0 b -227 12 -216 0 -223 4 l -228 15 l -228 244 l -228 473 l -227 476 b -217 487 -225 480 -221 484 ',
|
|
11203
11116
|
},
|
|
11204
11117
|
stringsUpBow: {
|
|
11205
11118
|
x_min: -149.71875,
|
|
@@ -16256,12 +16169,13 @@ class Formatter {
|
|
|
16256
16169
|
const musicFont = _tables__WEBPACK_IMPORTED_MODULE_6__.Tables.currentMusicFont();
|
|
16257
16170
|
const configMinPadding = musicFont.lookupMetric('stave.endPaddingMin');
|
|
16258
16171
|
const configMaxPadding = musicFont.lookupMetric('stave.endPaddingMax');
|
|
16172
|
+
const leftPadding = musicFont.lookupMetric('stave.padding');
|
|
16259
16173
|
let targetWidth = adjustedJustifyWidth;
|
|
16260
16174
|
const distances = calculateIdealDistances(targetWidth);
|
|
16261
16175
|
let actualWidth = shiftToIdealDistances(distances);
|
|
16262
|
-
//
|
|
16263
|
-
|
|
16264
|
-
|
|
16176
|
+
// Just one context. Done formatting.
|
|
16177
|
+
if (contextList.length === 1)
|
|
16178
|
+
return 0;
|
|
16265
16179
|
const calcMinDistance = (targetWidth, distances) => {
|
|
16266
16180
|
let mdCalc = targetWidth / 2;
|
|
16267
16181
|
if (distances.length > 1) {
|
|
@@ -16272,20 +16186,35 @@ class Formatter {
|
|
|
16272
16186
|
return mdCalc;
|
|
16273
16187
|
};
|
|
16274
16188
|
const minDistance = calcMinDistance(targetWidth, distances);
|
|
16275
|
-
// Just one context. Done formatting.
|
|
16276
|
-
if (contextList.length === 1)
|
|
16277
|
-
return 0;
|
|
16278
16189
|
// right justify to either the configured padding, or the min distance between notes, whichever is greatest.
|
|
16279
16190
|
// This * 2 keeps the existing formatting unless there is 'a lot' of extra whitespace, which won't break
|
|
16280
16191
|
// existing visual regression tests.
|
|
16281
|
-
const
|
|
16282
|
-
|
|
16192
|
+
const paddingMaxCalc = (curTargetWidth) => {
|
|
16193
|
+
let lastTickablePadding = 0;
|
|
16194
|
+
const lastTickable = lastContext && lastContext.getMaxTickable();
|
|
16195
|
+
if (lastTickable) {
|
|
16196
|
+
const voice = lastTickable.getVoice();
|
|
16197
|
+
// If the number of actual ticks in the measure <> configured ticks, right-justify
|
|
16198
|
+
// because the softmax won't yield the correct value
|
|
16199
|
+
if (voice.getTicksUsed().value() > voice.getTotalTicks().value()) {
|
|
16200
|
+
return configMaxPadding * 2 < minDistance ? minDistance : configMaxPadding;
|
|
16201
|
+
}
|
|
16202
|
+
const tickWidth = lastTickable.getWidth();
|
|
16203
|
+
lastTickablePadding =
|
|
16204
|
+
voice.softmax(lastContext.getMaxTicks().value()) * curTargetWidth - (tickWidth + leftPadding);
|
|
16205
|
+
}
|
|
16206
|
+
return configMaxPadding * 2 < lastTickablePadding ? lastTickablePadding : configMaxPadding;
|
|
16207
|
+
};
|
|
16208
|
+
let paddingMax = paddingMaxCalc(targetWidth);
|
|
16209
|
+
let paddingMin = paddingMax - (configMaxPadding - configMinPadding);
|
|
16283
16210
|
const maxX = adjustedJustifyWidth - paddingMin;
|
|
16284
16211
|
let iterations = maxIterations;
|
|
16285
16212
|
// Adjust justification width until the right margin is as close as possible to the calculated padding,
|
|
16286
16213
|
// without going over
|
|
16287
16214
|
while ((actualWidth > maxX && iterations > 0) || (actualWidth + paddingMax < maxX && iterations > 1)) {
|
|
16288
16215
|
targetWidth -= actualWidth - maxX;
|
|
16216
|
+
paddingMax = paddingMaxCalc(targetWidth);
|
|
16217
|
+
paddingMin = paddingMax - (configMaxPadding - configMinPadding);
|
|
16289
16218
|
actualWidth = shiftToIdealDistances(calculateIdealDistances(targetWidth));
|
|
16290
16219
|
iterations--;
|
|
16291
16220
|
}
|
|
@@ -17293,10 +17222,16 @@ class Glyph extends _element__WEBPACK_IMPORTED_MODULE_2__.Element {
|
|
|
17293
17222
|
this.stave = stave;
|
|
17294
17223
|
return this;
|
|
17295
17224
|
}
|
|
17225
|
+
getXShift() {
|
|
17226
|
+
return this.x_shift;
|
|
17227
|
+
}
|
|
17296
17228
|
setXShift(x_shift) {
|
|
17297
17229
|
this.x_shift = x_shift;
|
|
17298
17230
|
return this;
|
|
17299
17231
|
}
|
|
17232
|
+
getYshift() {
|
|
17233
|
+
return this.y_shift;
|
|
17234
|
+
}
|
|
17300
17235
|
setYShift(y_shift) {
|
|
17301
17236
|
this.y_shift = y_shift;
|
|
17302
17237
|
return this;
|
|
@@ -17839,226 +17774,228 @@ class GraceTabNote extends _tabnote__WEBPACK_IMPORTED_MODULE_1__.TabNote {
|
|
|
17839
17774
|
|
|
17840
17775
|
__webpack_require__.r(__webpack_exports__);
|
|
17841
17776
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17842
|
-
/* harmony export */ "Accidental": () => (/* reexport safe */
|
|
17843
|
-
/* harmony export */ "Annotation": () => (/* reexport safe */
|
|
17844
|
-
/* harmony export */ "AnnotationHorizontalJustify": () => (/* reexport safe */
|
|
17845
|
-
/* harmony export */ "AnnotationVerticalJustify": () => (/* reexport safe */
|
|
17846
|
-
/* harmony export */ "Articulation": () => (/* reexport safe */
|
|
17847
|
-
/* harmony export */ "BarNote": () => (/* reexport safe */
|
|
17848
|
-
/* harmony export */ "
|
|
17849
|
-
/* harmony export */ "
|
|
17850
|
-
/* harmony export */ "
|
|
17851
|
-
/* harmony export */ "
|
|
17852
|
-
/* harmony export */ "
|
|
17853
|
-
/* harmony export */ "
|
|
17854
|
-
/* harmony export */ "
|
|
17855
|
-
/* harmony export */ "
|
|
17856
|
-
/* harmony export */ "
|
|
17857
|
-
/* harmony export */ "
|
|
17858
|
-
/* harmony export */ "
|
|
17859
|
-
/* harmony export */ "
|
|
17860
|
-
/* harmony export */ "
|
|
17861
|
-
/* harmony export */ "
|
|
17862
|
-
/* harmony export */ "
|
|
17863
|
-
/* harmony export */ "
|
|
17864
|
-
/* harmony export */ "
|
|
17865
|
-
/* harmony export */ "
|
|
17866
|
-
/* harmony export */ "
|
|
17867
|
-
/* harmony export */ "
|
|
17868
|
-
/* harmony export */ "
|
|
17869
|
-
/* harmony export */ "
|
|
17870
|
-
/* harmony export */ "
|
|
17871
|
-
/* harmony export */ "
|
|
17872
|
-
/* harmony export */ "
|
|
17873
|
-
/* harmony export */ "
|
|
17874
|
-
/* harmony export */ "
|
|
17875
|
-
/* harmony export */ "
|
|
17876
|
-
/* harmony export */ "
|
|
17877
|
-
/* harmony export */ "
|
|
17878
|
-
/* harmony export */ "
|
|
17879
|
-
/* harmony export */ "
|
|
17880
|
-
/* harmony export */ "
|
|
17881
|
-
/* harmony export */ "
|
|
17882
|
-
/* harmony export */ "
|
|
17883
|
-
/* harmony export */ "
|
|
17884
|
-
/* harmony export */ "
|
|
17885
|
-
/* harmony export */ "
|
|
17886
|
-
/* harmony export */ "
|
|
17887
|
-
/* harmony export */ "
|
|
17888
|
-
/* harmony export */ "
|
|
17889
|
-
/* harmony export */ "
|
|
17890
|
-
/* harmony export */ "
|
|
17891
|
-
/* harmony export */ "
|
|
17892
|
-
/* harmony export */ "
|
|
17893
|
-
/* harmony export */ "
|
|
17894
|
-
/* harmony export */ "
|
|
17895
|
-
/* harmony export */ "
|
|
17896
|
-
/* harmony export */ "
|
|
17897
|
-
/* harmony export */ "
|
|
17898
|
-
/* harmony export */ "
|
|
17899
|
-
/* harmony export */ "
|
|
17900
|
-
/* harmony export */ "
|
|
17901
|
-
/* harmony export */ "
|
|
17902
|
-
/* harmony export */ "
|
|
17903
|
-
/* harmony export */ "
|
|
17904
|
-
/* harmony export */ "
|
|
17905
|
-
/* harmony export */ "
|
|
17906
|
-
/* harmony export */ "
|
|
17907
|
-
/* harmony export */ "
|
|
17908
|
-
/* harmony export */ "
|
|
17909
|
-
/* harmony export */ "
|
|
17910
|
-
/* harmony export */ "
|
|
17911
|
-
/* harmony export */ "
|
|
17912
|
-
/* harmony export */ "
|
|
17913
|
-
/* harmony export */ "
|
|
17914
|
-
/* harmony export */ "
|
|
17915
|
-
/* harmony export */ "
|
|
17916
|
-
/* harmony export */ "
|
|
17917
|
-
/* harmony export */ "
|
|
17918
|
-
/* harmony export */ "
|
|
17919
|
-
/* harmony export */ "
|
|
17920
|
-
/* harmony export */ "
|
|
17921
|
-
/* harmony export */ "
|
|
17922
|
-
/* harmony export */ "
|
|
17923
|
-
/* harmony export */ "
|
|
17924
|
-
/* harmony export */ "
|
|
17925
|
-
/* harmony export */ "
|
|
17926
|
-
/* harmony export */ "
|
|
17927
|
-
/* harmony export */ "
|
|
17928
|
-
/* harmony export */ "
|
|
17929
|
-
/* harmony export */ "
|
|
17930
|
-
/* harmony export */ "
|
|
17931
|
-
/* harmony export */ "
|
|
17932
|
-
/* harmony export */ "
|
|
17933
|
-
/* harmony export */ "
|
|
17934
|
-
/* harmony export */ "
|
|
17935
|
-
/* harmony export */ "
|
|
17936
|
-
/* harmony export */ "
|
|
17937
|
-
/* harmony export */ "
|
|
17938
|
-
/* harmony export */ "
|
|
17939
|
-
/* harmony export */ "
|
|
17940
|
-
/* harmony export */ "
|
|
17941
|
-
/* harmony export */ "
|
|
17942
|
-
/* harmony export */ "
|
|
17943
|
-
/* harmony export */ "
|
|
17944
|
-
/* harmony export */ "
|
|
17945
|
-
/* harmony export */ "
|
|
17946
|
-
/* harmony export */ "
|
|
17947
|
-
/* harmony export */ "
|
|
17948
|
-
/* harmony export */ "
|
|
17949
|
-
/* harmony export */ "
|
|
17950
|
-
/* harmony export */ "
|
|
17951
|
-
/* harmony export */ "
|
|
17952
|
-
/* harmony export */ "
|
|
17953
|
-
/* harmony export */ "
|
|
17954
|
-
/* harmony export */ "
|
|
17955
|
-
/* harmony export */ "
|
|
17956
|
-
/* harmony export */ "
|
|
17957
|
-
/* harmony export */ "
|
|
17958
|
-
/* harmony export */ "
|
|
17959
|
-
/* harmony export */ "
|
|
17960
|
-
/* harmony export */ "
|
|
17961
|
-
/* harmony export */ "
|
|
17962
|
-
/* harmony export */ "
|
|
17963
|
-
/* harmony export */ "
|
|
17964
|
-
/* harmony export */ "
|
|
17965
|
-
/* harmony export */ "
|
|
17966
|
-
/* harmony export */ "
|
|
17967
|
-
/* harmony export */ "
|
|
17777
|
+
/* harmony export */ "Accidental": () => (/* reexport safe */ _accidental__WEBPACK_IMPORTED_MODULE_0__.Accidental),
|
|
17778
|
+
/* harmony export */ "Annotation": () => (/* reexport safe */ _annotation__WEBPACK_IMPORTED_MODULE_1__.Annotation),
|
|
17779
|
+
/* harmony export */ "AnnotationHorizontalJustify": () => (/* reexport safe */ _annotation__WEBPACK_IMPORTED_MODULE_1__.AnnotationHorizontalJustify),
|
|
17780
|
+
/* harmony export */ "AnnotationVerticalJustify": () => (/* reexport safe */ _annotation__WEBPACK_IMPORTED_MODULE_1__.AnnotationVerticalJustify),
|
|
17781
|
+
/* harmony export */ "Articulation": () => (/* reexport safe */ _articulation__WEBPACK_IMPORTED_MODULE_2__.Articulation),
|
|
17782
|
+
/* harmony export */ "BarNote": () => (/* reexport safe */ _barnote__WEBPACK_IMPORTED_MODULE_3__.BarNote),
|
|
17783
|
+
/* harmony export */ "BEAM_BOTH": () => (/* reexport safe */ _beam__WEBPACK_IMPORTED_MODULE_4__.BEAM_BOTH),
|
|
17784
|
+
/* harmony export */ "BEAM_LEFT": () => (/* reexport safe */ _beam__WEBPACK_IMPORTED_MODULE_4__.BEAM_LEFT),
|
|
17785
|
+
/* harmony export */ "BEAM_RIGHT": () => (/* reexport safe */ _beam__WEBPACK_IMPORTED_MODULE_4__.BEAM_RIGHT),
|
|
17786
|
+
/* harmony export */ "Beam": () => (/* reexport safe */ _beam__WEBPACK_IMPORTED_MODULE_4__.Beam),
|
|
17787
|
+
/* harmony export */ "Bend": () => (/* reexport safe */ _bend__WEBPACK_IMPORTED_MODULE_5__.Bend),
|
|
17788
|
+
/* harmony export */ "BoundingBox": () => (/* reexport safe */ _boundingbox__WEBPACK_IMPORTED_MODULE_6__.BoundingBox),
|
|
17789
|
+
/* harmony export */ "BoundingBoxComputation": () => (/* reexport safe */ _boundingboxcomputation__WEBPACK_IMPORTED_MODULE_7__.BoundingBoxComputation),
|
|
17790
|
+
/* harmony export */ "CanvasContext": () => (/* reexport safe */ _canvascontext__WEBPACK_IMPORTED_MODULE_8__.CanvasContext),
|
|
17791
|
+
/* harmony export */ "ChordSymbol": () => (/* reexport safe */ _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.ChordSymbol),
|
|
17792
|
+
/* harmony export */ "ChordSymbolHorizontalJustify": () => (/* reexport safe */ _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.ChordSymbolHorizontalJustify),
|
|
17793
|
+
/* harmony export */ "ChordSymbolVerticalJustify": () => (/* reexport safe */ _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.ChordSymbolVerticalJustify),
|
|
17794
|
+
/* harmony export */ "SymbolModifiers": () => (/* reexport safe */ _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.SymbolModifiers),
|
|
17795
|
+
/* harmony export */ "SymbolTypes": () => (/* reexport safe */ _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.SymbolTypes),
|
|
17796
|
+
/* harmony export */ "Clef": () => (/* reexport safe */ _clef__WEBPACK_IMPORTED_MODULE_10__.Clef),
|
|
17797
|
+
/* harmony export */ "ClefNote": () => (/* reexport safe */ _clefnote__WEBPACK_IMPORTED_MODULE_11__.ClefNote),
|
|
17798
|
+
/* harmony export */ "Crescendo": () => (/* reexport safe */ _crescendo__WEBPACK_IMPORTED_MODULE_12__.Crescendo),
|
|
17799
|
+
/* harmony export */ "Curve": () => (/* reexport safe */ _curve__WEBPACK_IMPORTED_MODULE_13__.Curve),
|
|
17800
|
+
/* harmony export */ "CurvePosition": () => (/* reexport safe */ _curve__WEBPACK_IMPORTED_MODULE_13__.CurvePosition),
|
|
17801
|
+
/* harmony export */ "Dot": () => (/* reexport safe */ _dot__WEBPACK_IMPORTED_MODULE_14__.Dot),
|
|
17802
|
+
/* harmony export */ "Builder": () => (/* reexport safe */ _easyscore__WEBPACK_IMPORTED_MODULE_15__.Builder),
|
|
17803
|
+
/* harmony export */ "EasyScore": () => (/* reexport safe */ _easyscore__WEBPACK_IMPORTED_MODULE_15__.EasyScore),
|
|
17804
|
+
/* harmony export */ "EasyScoreGrammar": () => (/* reexport safe */ _easyscore__WEBPACK_IMPORTED_MODULE_15__.EasyScoreGrammar),
|
|
17805
|
+
/* harmony export */ "Piece": () => (/* reexport safe */ _easyscore__WEBPACK_IMPORTED_MODULE_15__.Piece),
|
|
17806
|
+
/* harmony export */ "Element": () => (/* reexport safe */ _element__WEBPACK_IMPORTED_MODULE_16__.Element),
|
|
17807
|
+
/* harmony export */ "Factory": () => (/* reexport safe */ _factory__WEBPACK_IMPORTED_MODULE_17__.Factory),
|
|
17808
|
+
/* harmony export */ "Flow": () => (/* reexport safe */ _flow__WEBPACK_IMPORTED_MODULE_18__.Flow),
|
|
17809
|
+
/* harmony export */ "Font": () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_19__.Font),
|
|
17810
|
+
/* harmony export */ "FontStyle": () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_19__.FontStyle),
|
|
17811
|
+
/* harmony export */ "FontWeight": () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_19__.FontWeight),
|
|
17812
|
+
/* harmony export */ "Formatter": () => (/* reexport safe */ _formatter__WEBPACK_IMPORTED_MODULE_20__.Formatter),
|
|
17813
|
+
/* harmony export */ "Fraction": () => (/* reexport safe */ _fraction__WEBPACK_IMPORTED_MODULE_21__.Fraction),
|
|
17814
|
+
/* harmony export */ "FretHandFinger": () => (/* reexport safe */ _frethandfinger__WEBPACK_IMPORTED_MODULE_22__.FretHandFinger),
|
|
17815
|
+
/* harmony export */ "GhostNote": () => (/* reexport safe */ _ghostnote__WEBPACK_IMPORTED_MODULE_23__.GhostNote),
|
|
17816
|
+
/* harmony export */ "Glyph": () => (/* reexport safe */ _glyph__WEBPACK_IMPORTED_MODULE_24__.Glyph),
|
|
17817
|
+
/* harmony export */ "OutlineCode": () => (/* reexport safe */ _glyph__WEBPACK_IMPORTED_MODULE_24__.OutlineCode),
|
|
17818
|
+
/* harmony export */ "GlyphNote": () => (/* reexport safe */ _glyphnote__WEBPACK_IMPORTED_MODULE_25__.GlyphNote),
|
|
17819
|
+
/* harmony export */ "GraceNote": () => (/* reexport safe */ _gracenote__WEBPACK_IMPORTED_MODULE_26__.GraceNote),
|
|
17820
|
+
/* harmony export */ "GraceNoteGroup": () => (/* reexport safe */ _gracenotegroup__WEBPACK_IMPORTED_MODULE_27__.GraceNoteGroup),
|
|
17821
|
+
/* harmony export */ "GraceTabNote": () => (/* reexport safe */ _gracetabnote__WEBPACK_IMPORTED_MODULE_28__.GraceTabNote),
|
|
17822
|
+
/* harmony export */ "KeyManager": () => (/* reexport safe */ _keymanager__WEBPACK_IMPORTED_MODULE_29__.KeyManager),
|
|
17823
|
+
/* harmony export */ "KeySignature": () => (/* reexport safe */ _keysignature__WEBPACK_IMPORTED_MODULE_30__.KeySignature),
|
|
17824
|
+
/* harmony export */ "KeySigNote": () => (/* reexport safe */ _keysignote__WEBPACK_IMPORTED_MODULE_31__.KeySigNote),
|
|
17825
|
+
/* harmony export */ "Modifier": () => (/* reexport safe */ _modifier__WEBPACK_IMPORTED_MODULE_32__.Modifier),
|
|
17826
|
+
/* harmony export */ "ModifierPosition": () => (/* reexport safe */ _modifier__WEBPACK_IMPORTED_MODULE_32__.ModifierPosition),
|
|
17827
|
+
/* harmony export */ "ModifierContext": () => (/* reexport safe */ _modifiercontext__WEBPACK_IMPORTED_MODULE_33__.ModifierContext),
|
|
17828
|
+
/* harmony export */ "MultiMeasureRest": () => (/* reexport safe */ _multimeasurerest__WEBPACK_IMPORTED_MODULE_34__.MultiMeasureRest),
|
|
17829
|
+
/* harmony export */ "Music": () => (/* reexport safe */ _music__WEBPACK_IMPORTED_MODULE_35__.Music),
|
|
17830
|
+
/* harmony export */ "Note": () => (/* reexport safe */ _note__WEBPACK_IMPORTED_MODULE_36__.Note),
|
|
17831
|
+
/* harmony export */ "NoteHead": () => (/* reexport safe */ _notehead__WEBPACK_IMPORTED_MODULE_37__.NoteHead),
|
|
17832
|
+
/* harmony export */ "NoteSubGroup": () => (/* reexport safe */ _notesubgroup__WEBPACK_IMPORTED_MODULE_38__.NoteSubGroup),
|
|
17833
|
+
/* harmony export */ "Ornament": () => (/* reexport safe */ _ornament__WEBPACK_IMPORTED_MODULE_39__.Ornament),
|
|
17834
|
+
/* harmony export */ "Parenthesis": () => (/* reexport safe */ _parenthesis__WEBPACK_IMPORTED_MODULE_40__.Parenthesis),
|
|
17835
|
+
/* harmony export */ "Parser": () => (/* reexport safe */ _parser__WEBPACK_IMPORTED_MODULE_41__.Parser),
|
|
17836
|
+
/* harmony export */ "PedalMarking": () => (/* reexport safe */ _pedalmarking__WEBPACK_IMPORTED_MODULE_42__.PedalMarking),
|
|
17837
|
+
/* harmony export */ "Registry": () => (/* reexport safe */ _registry__WEBPACK_IMPORTED_MODULE_43__.Registry),
|
|
17838
|
+
/* harmony export */ "RenderContext": () => (/* reexport safe */ _rendercontext__WEBPACK_IMPORTED_MODULE_44__.RenderContext),
|
|
17839
|
+
/* harmony export */ "drawDot": () => (/* reexport safe */ _rendercontext__WEBPACK_IMPORTED_MODULE_44__.drawDot),
|
|
17840
|
+
/* harmony export */ "Renderer": () => (/* reexport safe */ _renderer__WEBPACK_IMPORTED_MODULE_45__.Renderer),
|
|
17841
|
+
/* harmony export */ "RendererBackends": () => (/* reexport safe */ _renderer__WEBPACK_IMPORTED_MODULE_45__.RendererBackends),
|
|
17842
|
+
/* harmony export */ "RendererLineEndType": () => (/* reexport safe */ _renderer__WEBPACK_IMPORTED_MODULE_45__.RendererLineEndType),
|
|
17843
|
+
/* harmony export */ "RepeatNote": () => (/* reexport safe */ _repeatnote__WEBPACK_IMPORTED_MODULE_46__.RepeatNote),
|
|
17844
|
+
/* harmony export */ "Stave": () => (/* reexport safe */ _stave__WEBPACK_IMPORTED_MODULE_47__.Stave),
|
|
17845
|
+
/* harmony export */ "Barline": () => (/* reexport safe */ _stavebarline__WEBPACK_IMPORTED_MODULE_48__.Barline),
|
|
17846
|
+
/* harmony export */ "BarlineType": () => (/* reexport safe */ _stavebarline__WEBPACK_IMPORTED_MODULE_48__.BarlineType),
|
|
17847
|
+
/* harmony export */ "StaveConnector": () => (/* reexport safe */ _staveconnector__WEBPACK_IMPORTED_MODULE_49__.StaveConnector),
|
|
17848
|
+
/* harmony export */ "StaveHairpin": () => (/* reexport safe */ _stavehairpin__WEBPACK_IMPORTED_MODULE_50__.StaveHairpin),
|
|
17849
|
+
/* harmony export */ "StaveLine": () => (/* reexport safe */ _staveline__WEBPACK_IMPORTED_MODULE_51__.StaveLine),
|
|
17850
|
+
/* harmony export */ "StaveModifier": () => (/* reexport safe */ _stavemodifier__WEBPACK_IMPORTED_MODULE_52__.StaveModifier),
|
|
17851
|
+
/* harmony export */ "StaveModifierPosition": () => (/* reexport safe */ _stavemodifier__WEBPACK_IMPORTED_MODULE_52__.StaveModifierPosition),
|
|
17852
|
+
/* harmony export */ "StaveNote": () => (/* reexport safe */ _stavenote__WEBPACK_IMPORTED_MODULE_53__.StaveNote),
|
|
17853
|
+
/* harmony export */ "Repetition": () => (/* reexport safe */ _staverepetition__WEBPACK_IMPORTED_MODULE_54__.Repetition),
|
|
17854
|
+
/* harmony export */ "StaveSection": () => (/* reexport safe */ _stavesection__WEBPACK_IMPORTED_MODULE_55__.StaveSection),
|
|
17855
|
+
/* harmony export */ "StaveTempo": () => (/* reexport safe */ _stavetempo__WEBPACK_IMPORTED_MODULE_56__.StaveTempo),
|
|
17856
|
+
/* harmony export */ "StaveText": () => (/* reexport safe */ _stavetext__WEBPACK_IMPORTED_MODULE_57__.StaveText),
|
|
17857
|
+
/* harmony export */ "StaveTie": () => (/* reexport safe */ _stavetie__WEBPACK_IMPORTED_MODULE_58__.StaveTie),
|
|
17858
|
+
/* harmony export */ "Volta": () => (/* reexport safe */ _stavevolta__WEBPACK_IMPORTED_MODULE_59__.Volta),
|
|
17859
|
+
/* harmony export */ "VoltaType": () => (/* reexport safe */ _stavevolta__WEBPACK_IMPORTED_MODULE_59__.VoltaType),
|
|
17860
|
+
/* harmony export */ "Stem": () => (/* reexport safe */ _stem__WEBPACK_IMPORTED_MODULE_60__.Stem),
|
|
17861
|
+
/* harmony export */ "StemmableNote": () => (/* reexport safe */ _stemmablenote__WEBPACK_IMPORTED_MODULE_61__.StemmableNote),
|
|
17862
|
+
/* harmony export */ "StringNumber": () => (/* reexport safe */ _stringnumber__WEBPACK_IMPORTED_MODULE_62__.StringNumber),
|
|
17863
|
+
/* harmony export */ "Stroke": () => (/* reexport safe */ _strokes__WEBPACK_IMPORTED_MODULE_63__.Stroke),
|
|
17864
|
+
/* harmony export */ "SVGContext": () => (/* reexport safe */ _svgcontext__WEBPACK_IMPORTED_MODULE_64__.SVGContext),
|
|
17865
|
+
/* harmony export */ "System": () => (/* reexport safe */ _system__WEBPACK_IMPORTED_MODULE_65__.System),
|
|
17866
|
+
/* harmony export */ "TabNote": () => (/* reexport safe */ _tabnote__WEBPACK_IMPORTED_MODULE_66__.TabNote),
|
|
17867
|
+
/* harmony export */ "TabSlide": () => (/* reexport safe */ _tabslide__WEBPACK_IMPORTED_MODULE_67__.TabSlide),
|
|
17868
|
+
/* harmony export */ "TabStave": () => (/* reexport safe */ _tabstave__WEBPACK_IMPORTED_MODULE_68__.TabStave),
|
|
17869
|
+
/* harmony export */ "TabTie": () => (/* reexport safe */ _tabtie__WEBPACK_IMPORTED_MODULE_69__.TabTie),
|
|
17870
|
+
/* harmony export */ "TextBracket": () => (/* reexport safe */ _textbracket__WEBPACK_IMPORTED_MODULE_70__.TextBracket),
|
|
17871
|
+
/* harmony export */ "TextBracketPosition": () => (/* reexport safe */ _textbracket__WEBPACK_IMPORTED_MODULE_70__.TextBracketPosition),
|
|
17872
|
+
/* harmony export */ "TextDynamics": () => (/* reexport safe */ _textdynamics__WEBPACK_IMPORTED_MODULE_71__.TextDynamics),
|
|
17873
|
+
/* harmony export */ "TextFormatter": () => (/* reexport safe */ _textformatter__WEBPACK_IMPORTED_MODULE_72__.TextFormatter),
|
|
17874
|
+
/* harmony export */ "TextJustification": () => (/* reexport safe */ _textnote__WEBPACK_IMPORTED_MODULE_73__.TextJustification),
|
|
17875
|
+
/* harmony export */ "TextNote": () => (/* reexport safe */ _textnote__WEBPACK_IMPORTED_MODULE_73__.TextNote),
|
|
17876
|
+
/* harmony export */ "Tickable": () => (/* reexport safe */ _tickable__WEBPACK_IMPORTED_MODULE_74__.Tickable),
|
|
17877
|
+
/* harmony export */ "TickContext": () => (/* reexport safe */ _tickcontext__WEBPACK_IMPORTED_MODULE_75__.TickContext),
|
|
17878
|
+
/* harmony export */ "TimeSignatureGlyph": () => (/* reexport safe */ _timesigglyph__WEBPACK_IMPORTED_MODULE_76__.TimeSignatureGlyph),
|
|
17879
|
+
/* harmony export */ "TimeSignature": () => (/* reexport safe */ _timesignature__WEBPACK_IMPORTED_MODULE_77__.TimeSignature),
|
|
17880
|
+
/* harmony export */ "TimeSigNote": () => (/* reexport safe */ _timesignote__WEBPACK_IMPORTED_MODULE_78__.TimeSigNote),
|
|
17881
|
+
/* harmony export */ "Tremolo": () => (/* reexport safe */ _tremolo__WEBPACK_IMPORTED_MODULE_79__.Tremolo),
|
|
17882
|
+
/* harmony export */ "Tuning": () => (/* reexport safe */ _tuning__WEBPACK_IMPORTED_MODULE_80__.Tuning),
|
|
17883
|
+
/* harmony export */ "Tuplet": () => (/* reexport safe */ _tuplet__WEBPACK_IMPORTED_MODULE_81__.Tuplet),
|
|
17884
|
+
/* harmony export */ "TupletLocation": () => (/* reexport safe */ _tuplet__WEBPACK_IMPORTED_MODULE_81__.TupletLocation),
|
|
17885
|
+
/* harmony export */ "Category": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.Category),
|
|
17886
|
+
/* harmony export */ "isAccidental": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isAccidental),
|
|
17887
|
+
/* harmony export */ "isAnnotation": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isAnnotation),
|
|
17888
|
+
/* harmony export */ "isBarline": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isBarline),
|
|
17889
|
+
/* harmony export */ "isCategory": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isCategory),
|
|
17890
|
+
/* harmony export */ "isDot": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isDot),
|
|
17891
|
+
/* harmony export */ "isGraceNote": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isGraceNote),
|
|
17892
|
+
/* harmony export */ "isGraceNoteGroup": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isGraceNoteGroup),
|
|
17893
|
+
/* harmony export */ "isNote": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isNote),
|
|
17894
|
+
/* harmony export */ "isRenderContext": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isRenderContext),
|
|
17895
|
+
/* harmony export */ "isStaveNote": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isStaveNote),
|
|
17896
|
+
/* harmony export */ "isStemmableNote": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isStemmableNote),
|
|
17897
|
+
/* harmony export */ "isTabNote": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isTabNote),
|
|
17898
|
+
/* harmony export */ "RuntimeError": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.RuntimeError),
|
|
17899
|
+
/* harmony export */ "defined": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.defined),
|
|
17900
|
+
/* harmony export */ "globalObject": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.globalObject),
|
|
17901
|
+
/* harmony export */ "log": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.log),
|
|
17902
|
+
/* harmony export */ "midLine": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.midLine),
|
|
17903
|
+
/* harmony export */ "normalizeAngle": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.normalizeAngle),
|
|
17904
|
+
/* harmony export */ "prefix": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.prefix),
|
|
17905
|
+
/* harmony export */ "warn": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.warn),
|
|
17906
|
+
/* harmony export */ "Vex": () => (/* reexport safe */ _vex__WEBPACK_IMPORTED_MODULE_84__.Vex),
|
|
17968
17907
|
/* harmony export */ "Vibrato": () => (/* reexport safe */ _vibrato__WEBPACK_IMPORTED_MODULE_85__.Vibrato),
|
|
17969
17908
|
/* harmony export */ "VibratoBracket": () => (/* reexport safe */ _vibratobracket__WEBPACK_IMPORTED_MODULE_86__.VibratoBracket),
|
|
17970
17909
|
/* harmony export */ "Voice": () => (/* reexport safe */ _voice__WEBPACK_IMPORTED_MODULE_87__.Voice),
|
|
17971
17910
|
/* harmony export */ "VoiceMode": () => (/* reexport safe */ _voice__WEBPACK_IMPORTED_MODULE_87__.VoiceMode),
|
|
17972
17911
|
/* harmony export */ "isHTMLCanvas": () => (/* reexport safe */ _web__WEBPACK_IMPORTED_MODULE_88__.isHTMLCanvas),
|
|
17973
|
-
/* harmony export */ "isHTMLDiv": () => (/* reexport safe */ _web__WEBPACK_IMPORTED_MODULE_88__.isHTMLDiv)
|
|
17974
|
-
/* harmony export */ "Vex": () => (/* reexport safe */ _vex__WEBPACK_IMPORTED_MODULE_0__.Vex),
|
|
17975
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
17912
|
+
/* harmony export */ "isHTMLDiv": () => (/* reexport safe */ _web__WEBPACK_IMPORTED_MODULE_88__.isHTMLDiv)
|
|
17976
17913
|
/* harmony export */ });
|
|
17977
|
-
/* harmony import */ var
|
|
17978
|
-
/* harmony import */ var
|
|
17979
|
-
/* harmony import */ var
|
|
17980
|
-
/* harmony import */ var
|
|
17981
|
-
/* harmony import */ var
|
|
17982
|
-
/* harmony import */ var
|
|
17983
|
-
/* harmony import */ var
|
|
17984
|
-
/* harmony import */ var
|
|
17985
|
-
/* harmony import */ var
|
|
17986
|
-
/* harmony import */ var
|
|
17987
|
-
/* harmony import */ var
|
|
17988
|
-
/* harmony import */ var
|
|
17989
|
-
/* harmony import */ var
|
|
17990
|
-
/* harmony import */ var
|
|
17991
|
-
/* harmony import */ var
|
|
17992
|
-
/* harmony import */ var
|
|
17993
|
-
/* harmony import */ var
|
|
17994
|
-
/* harmony import */ var
|
|
17995
|
-
/* harmony import */ var
|
|
17996
|
-
/* harmony import */ var
|
|
17997
|
-
/* harmony import */ var
|
|
17998
|
-
/* harmony import */ var
|
|
17999
|
-
/* harmony import */ var
|
|
18000
|
-
/* harmony import */ var
|
|
18001
|
-
/* harmony import */ var
|
|
18002
|
-
/* harmony import */ var
|
|
18003
|
-
/* harmony import */ var
|
|
18004
|
-
/* harmony import */ var
|
|
18005
|
-
/* harmony import */ var
|
|
18006
|
-
/* harmony import */ var
|
|
18007
|
-
/* harmony import */ var
|
|
18008
|
-
/* harmony import */ var
|
|
18009
|
-
/* harmony import */ var
|
|
18010
|
-
/* harmony import */ var
|
|
18011
|
-
/* harmony import */ var
|
|
18012
|
-
/* harmony import */ var
|
|
18013
|
-
/* harmony import */ var
|
|
18014
|
-
/* harmony import */ var
|
|
18015
|
-
/* harmony import */ var
|
|
18016
|
-
/* harmony import */ var
|
|
18017
|
-
/* harmony import */ var
|
|
18018
|
-
/* harmony import */ var
|
|
18019
|
-
/* harmony import */ var
|
|
18020
|
-
/* harmony import */ var
|
|
18021
|
-
/* harmony import */ var
|
|
18022
|
-
/* harmony import */ var
|
|
18023
|
-
/* harmony import */ var
|
|
18024
|
-
/* harmony import */ var
|
|
18025
|
-
/* harmony import */ var
|
|
18026
|
-
/* harmony import */ var
|
|
18027
|
-
/* harmony import */ var
|
|
18028
|
-
/* harmony import */ var
|
|
18029
|
-
/* harmony import */ var
|
|
18030
|
-
/* harmony import */ var
|
|
18031
|
-
/* harmony import */ var
|
|
18032
|
-
/* harmony import */ var
|
|
18033
|
-
/* harmony import */ var
|
|
18034
|
-
/* harmony import */ var
|
|
18035
|
-
/* harmony import */ var
|
|
18036
|
-
/* harmony import */ var
|
|
18037
|
-
/* harmony import */ var
|
|
18038
|
-
/* harmony import */ var
|
|
18039
|
-
/* harmony import */ var
|
|
18040
|
-
/* harmony import */ var
|
|
18041
|
-
/* harmony import */ var
|
|
18042
|
-
/* harmony import */ var
|
|
18043
|
-
/* harmony import */ var
|
|
18044
|
-
/* harmony import */ var
|
|
18045
|
-
/* harmony import */ var
|
|
18046
|
-
/* harmony import */ var
|
|
18047
|
-
/* harmony import */ var
|
|
18048
|
-
/* harmony import */ var
|
|
18049
|
-
/* harmony import */ var
|
|
18050
|
-
/* harmony import */ var
|
|
18051
|
-
/* harmony import */ var
|
|
18052
|
-
/* harmony import */ var
|
|
18053
|
-
/* harmony import */ var
|
|
18054
|
-
/* harmony import */ var
|
|
18055
|
-
/* harmony import */ var
|
|
18056
|
-
/* harmony import */ var
|
|
18057
|
-
/* harmony import */ var
|
|
18058
|
-
/* harmony import */ var
|
|
18059
|
-
/* harmony import */ var
|
|
18060
|
-
/* harmony import */ var
|
|
18061
|
-
/* harmony import */ var
|
|
17914
|
+
/* harmony import */ var _accidental__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./accidental */ "./src/accidental.ts");
|
|
17915
|
+
/* harmony import */ var _annotation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./annotation */ "./src/annotation.ts");
|
|
17916
|
+
/* harmony import */ var _articulation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./articulation */ "./src/articulation.ts");
|
|
17917
|
+
/* harmony import */ var _barnote__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./barnote */ "./src/barnote.ts");
|
|
17918
|
+
/* harmony import */ var _beam__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./beam */ "./src/beam.ts");
|
|
17919
|
+
/* harmony import */ var _bend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./bend */ "./src/bend.ts");
|
|
17920
|
+
/* harmony import */ var _boundingbox__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./boundingbox */ "./src/boundingbox.ts");
|
|
17921
|
+
/* harmony import */ var _boundingboxcomputation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./boundingboxcomputation */ "./src/boundingboxcomputation.ts");
|
|
17922
|
+
/* harmony import */ var _canvascontext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./canvascontext */ "./src/canvascontext.ts");
|
|
17923
|
+
/* harmony import */ var _chordsymbol__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./chordsymbol */ "./src/chordsymbol.ts");
|
|
17924
|
+
/* harmony import */ var _clef__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./clef */ "./src/clef.ts");
|
|
17925
|
+
/* harmony import */ var _clefnote__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./clefnote */ "./src/clefnote.ts");
|
|
17926
|
+
/* harmony import */ var _crescendo__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./crescendo */ "./src/crescendo.ts");
|
|
17927
|
+
/* harmony import */ var _curve__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./curve */ "./src/curve.ts");
|
|
17928
|
+
/* harmony import */ var _dot__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./dot */ "./src/dot.ts");
|
|
17929
|
+
/* harmony import */ var _easyscore__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./easyscore */ "./src/easyscore.ts");
|
|
17930
|
+
/* harmony import */ var _element__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./element */ "./src/element.ts");
|
|
17931
|
+
/* harmony import */ var _factory__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./factory */ "./src/factory.ts");
|
|
17932
|
+
/* harmony import */ var _flow__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./flow */ "./src/flow.ts");
|
|
17933
|
+
/* harmony import */ var _font__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./font */ "./src/font.ts");
|
|
17934
|
+
/* harmony import */ var _formatter__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./formatter */ "./src/formatter.ts");
|
|
17935
|
+
/* harmony import */ var _fraction__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./fraction */ "./src/fraction.ts");
|
|
17936
|
+
/* harmony import */ var _frethandfinger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./frethandfinger */ "./src/frethandfinger.ts");
|
|
17937
|
+
/* harmony import */ var _ghostnote__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./ghostnote */ "./src/ghostnote.ts");
|
|
17938
|
+
/* harmony import */ var _glyph__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./glyph */ "./src/glyph.ts");
|
|
17939
|
+
/* harmony import */ var _glyphnote__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./glyphnote */ "./src/glyphnote.ts");
|
|
17940
|
+
/* harmony import */ var _gracenote__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./gracenote */ "./src/gracenote.ts");
|
|
17941
|
+
/* harmony import */ var _gracenotegroup__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./gracenotegroup */ "./src/gracenotegroup.ts");
|
|
17942
|
+
/* harmony import */ var _gracetabnote__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./gracetabnote */ "./src/gracetabnote.ts");
|
|
17943
|
+
/* harmony import */ var _keymanager__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./keymanager */ "./src/keymanager.ts");
|
|
17944
|
+
/* harmony import */ var _keysignature__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./keysignature */ "./src/keysignature.ts");
|
|
17945
|
+
/* harmony import */ var _keysignote__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./keysignote */ "./src/keysignote.ts");
|
|
17946
|
+
/* harmony import */ var _modifier__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./modifier */ "./src/modifier.ts");
|
|
17947
|
+
/* harmony import */ var _modifiercontext__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./modifiercontext */ "./src/modifiercontext.ts");
|
|
17948
|
+
/* harmony import */ var _multimeasurerest__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./multimeasurerest */ "./src/multimeasurerest.ts");
|
|
17949
|
+
/* harmony import */ var _music__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./music */ "./src/music.ts");
|
|
17950
|
+
/* harmony import */ var _note__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./note */ "./src/note.ts");
|
|
17951
|
+
/* harmony import */ var _notehead__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./notehead */ "./src/notehead.ts");
|
|
17952
|
+
/* harmony import */ var _notesubgroup__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./notesubgroup */ "./src/notesubgroup.ts");
|
|
17953
|
+
/* harmony import */ var _ornament__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./ornament */ "./src/ornament.ts");
|
|
17954
|
+
/* harmony import */ var _parenthesis__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./parenthesis */ "./src/parenthesis.ts");
|
|
17955
|
+
/* harmony import */ var _parser__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./parser */ "./src/parser.ts");
|
|
17956
|
+
/* harmony import */ var _pedalmarking__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./pedalmarking */ "./src/pedalmarking.ts");
|
|
17957
|
+
/* harmony import */ var _registry__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./registry */ "./src/registry.ts");
|
|
17958
|
+
/* harmony import */ var _rendercontext__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./rendercontext */ "./src/rendercontext.ts");
|
|
17959
|
+
/* harmony import */ var _renderer__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./renderer */ "./src/renderer.ts");
|
|
17960
|
+
/* harmony import */ var _repeatnote__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./repeatnote */ "./src/repeatnote.ts");
|
|
17961
|
+
/* harmony import */ var _stave__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./stave */ "./src/stave.ts");
|
|
17962
|
+
/* harmony import */ var _stavebarline__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./stavebarline */ "./src/stavebarline.ts");
|
|
17963
|
+
/* harmony import */ var _staveconnector__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./staveconnector */ "./src/staveconnector.ts");
|
|
17964
|
+
/* harmony import */ var _stavehairpin__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./stavehairpin */ "./src/stavehairpin.ts");
|
|
17965
|
+
/* harmony import */ var _staveline__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./staveline */ "./src/staveline.ts");
|
|
17966
|
+
/* harmony import */ var _stavemodifier__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./stavemodifier */ "./src/stavemodifier.ts");
|
|
17967
|
+
/* harmony import */ var _stavenote__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./stavenote */ "./src/stavenote.ts");
|
|
17968
|
+
/* harmony import */ var _staverepetition__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./staverepetition */ "./src/staverepetition.ts");
|
|
17969
|
+
/* harmony import */ var _stavesection__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./stavesection */ "./src/stavesection.ts");
|
|
17970
|
+
/* harmony import */ var _stavetempo__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./stavetempo */ "./src/stavetempo.ts");
|
|
17971
|
+
/* harmony import */ var _stavetext__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./stavetext */ "./src/stavetext.ts");
|
|
17972
|
+
/* harmony import */ var _stavetie__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./stavetie */ "./src/stavetie.ts");
|
|
17973
|
+
/* harmony import */ var _stavevolta__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./stavevolta */ "./src/stavevolta.ts");
|
|
17974
|
+
/* harmony import */ var _stem__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./stem */ "./src/stem.ts");
|
|
17975
|
+
/* harmony import */ var _stemmablenote__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./stemmablenote */ "./src/stemmablenote.ts");
|
|
17976
|
+
/* harmony import */ var _stringnumber__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./stringnumber */ "./src/stringnumber.ts");
|
|
17977
|
+
/* harmony import */ var _strokes__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./strokes */ "./src/strokes.ts");
|
|
17978
|
+
/* harmony import */ var _svgcontext__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./svgcontext */ "./src/svgcontext.ts");
|
|
17979
|
+
/* harmony import */ var _system__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./system */ "./src/system.ts");
|
|
17980
|
+
/* harmony import */ var _tabnote__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./tabnote */ "./src/tabnote.ts");
|
|
17981
|
+
/* harmony import */ var _tabslide__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./tabslide */ "./src/tabslide.ts");
|
|
17982
|
+
/* harmony import */ var _tabstave__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./tabstave */ "./src/tabstave.ts");
|
|
17983
|
+
/* harmony import */ var _tabtie__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./tabtie */ "./src/tabtie.ts");
|
|
17984
|
+
/* harmony import */ var _textbracket__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./textbracket */ "./src/textbracket.ts");
|
|
17985
|
+
/* harmony import */ var _textdynamics__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./textdynamics */ "./src/textdynamics.ts");
|
|
17986
|
+
/* harmony import */ var _textformatter__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./textformatter */ "./src/textformatter.ts");
|
|
17987
|
+
/* harmony import */ var _textnote__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./textnote */ "./src/textnote.ts");
|
|
17988
|
+
/* harmony import */ var _tickable__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./tickable */ "./src/tickable.ts");
|
|
17989
|
+
/* harmony import */ var _tickcontext__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./tickcontext */ "./src/tickcontext.ts");
|
|
17990
|
+
/* harmony import */ var _timesigglyph__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./timesigglyph */ "./src/timesigglyph.ts");
|
|
17991
|
+
/* harmony import */ var _timesignature__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./timesignature */ "./src/timesignature.ts");
|
|
17992
|
+
/* harmony import */ var _timesignote__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./timesignote */ "./src/timesignote.ts");
|
|
17993
|
+
/* harmony import */ var _tremolo__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./tremolo */ "./src/tremolo.ts");
|
|
17994
|
+
/* harmony import */ var _tuning__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./tuning */ "./src/tuning.ts");
|
|
17995
|
+
/* harmony import */ var _tuplet__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./tuplet */ "./src/tuplet.ts");
|
|
17996
|
+
/* harmony import */ var _typeguard__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./typeguard */ "./src/typeguard.ts");
|
|
17997
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./util */ "./src/util.ts");
|
|
17998
|
+
/* harmony import */ var _vex__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./vex */ "./src/vex.ts");
|
|
18062
17999
|
/* harmony import */ var _vibrato__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./vibrato */ "./src/vibrato.ts");
|
|
18063
18000
|
/* harmony import */ var _vibratobracket__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./vibratobracket */ "./src/vibratobracket.ts");
|
|
18064
18001
|
/* harmony import */ var _voice__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./voice */ "./src/voice.ts");
|
|
@@ -18084,7 +18021,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18084
18021
|
|
|
18085
18022
|
|
|
18086
18023
|
|
|
18087
|
-
|
|
18088
18024
|
|
|
18089
18025
|
// Do not export './fonts/*' because they are used by the entry/* files.
|
|
18090
18026
|
|
|
@@ -18152,14 +18088,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18152
18088
|
|
|
18153
18089
|
|
|
18154
18090
|
|
|
18155
|
-
// Do not export './version'. It is accessible via Vex.Flow.
|
|
18091
|
+
// Do not export './version'. It is accessible via Vex.Flow.BUILD.
|
|
18156
18092
|
|
|
18157
18093
|
|
|
18158
18094
|
|
|
18159
18095
|
|
|
18160
|
-
// Export Vex as a named export AND as a default export, to support both ways of importing.
|
|
18161
18096
|
|
|
18162
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_vex__WEBPACK_IMPORTED_MODULE_0__.Vex);
|
|
18163
18097
|
|
|
18164
18098
|
|
|
18165
18099
|
/***/ }),
|
|
@@ -20035,7 +19969,7 @@ class Note extends _tickable__WEBPACK_IMPORTED_MODULE_3__.Tickable {
|
|
|
20035
19969
|
}
|
|
20036
19970
|
getLeftParenthesisPx(index) {
|
|
20037
19971
|
const props = this.getKeyProps()[index];
|
|
20038
|
-
return props.displaced ? this.getLeftDisplacedHeadPx() :
|
|
19972
|
+
return props.displaced ? this.getLeftDisplacedHeadPx() - this.x_shift : -this.x_shift;
|
|
20039
19973
|
}
|
|
20040
19974
|
getFirstDotPx() {
|
|
20041
19975
|
let px = this.getRightDisplacedHeadPx();
|
|
@@ -23060,8 +22994,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23060
22994
|
/* harmony export */ });
|
|
23061
22995
|
/* harmony import */ var _element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./element */ "./src/element.ts");
|
|
23062
22996
|
/* harmony import */ var _tables__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tables */ "./src/tables.ts");
|
|
23063
|
-
/* harmony import */ var
|
|
23064
|
-
/* harmony import */ var
|
|
22997
|
+
/* harmony import */ var _textnote__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./textnote */ "./src/textnote.ts");
|
|
22998
|
+
/* harmony import */ var _typeguard__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./typeguard */ "./src/typeguard.ts");
|
|
22999
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util */ "./src/util.ts");
|
|
23065
23000
|
// [VexFlow](https://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
|
|
23066
23001
|
//
|
|
23067
23002
|
// ## Description
|
|
@@ -23075,6 +23010,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23075
23010
|
|
|
23076
23011
|
|
|
23077
23012
|
|
|
23013
|
+
|
|
23078
23014
|
// Attribution: Arrow rendering implementations based off of
|
|
23079
23015
|
// Patrick Horgan's article, "Drawing lines and arcs with
|
|
23080
23016
|
// arrow heads on HTML5 Canvas"
|
|
@@ -23133,7 +23069,7 @@ class StaveLine extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
23133
23069
|
};
|
|
23134
23070
|
}
|
|
23135
23071
|
static get CATEGORY() {
|
|
23136
|
-
return
|
|
23072
|
+
return _typeguard__WEBPACK_IMPORTED_MODULE_3__.Category.StaveLine;
|
|
23137
23073
|
}
|
|
23138
23074
|
// The the annotation for the `StaveLine`
|
|
23139
23075
|
setText(text) {
|
|
@@ -23143,14 +23079,14 @@ class StaveLine extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
23143
23079
|
// Set the notes for the `StaveLine`
|
|
23144
23080
|
setNotes(notes) {
|
|
23145
23081
|
if (!notes.first_note && !notes.last_note) {
|
|
23146
|
-
throw new
|
|
23082
|
+
throw new _util__WEBPACK_IMPORTED_MODULE_4__.RuntimeError('BadArguments', 'Notes needs to have either first_note or last_note set.');
|
|
23147
23083
|
}
|
|
23148
23084
|
if (!notes.first_indices)
|
|
23149
23085
|
notes.first_indices = [0];
|
|
23150
23086
|
if (!notes.last_indices)
|
|
23151
23087
|
notes.last_indices = [0];
|
|
23152
23088
|
if (notes.first_indices.length !== notes.last_indices.length) {
|
|
23153
|
-
throw new
|
|
23089
|
+
throw new _util__WEBPACK_IMPORTED_MODULE_4__.RuntimeError('BadArguments', 'Connected notes must have same number of indices.');
|
|
23154
23090
|
}
|
|
23155
23091
|
this.notes = notes;
|
|
23156
23092
|
this.first_note = notes.first_note;
|
|
@@ -23334,11 +23270,7 @@ StaveLine.TextVerticalPosition = {
|
|
|
23334
23270
|
TOP: 1,
|
|
23335
23271
|
BOTTOM: 2,
|
|
23336
23272
|
};
|
|
23337
|
-
StaveLine.TextJustification =
|
|
23338
|
-
LEFT: 1,
|
|
23339
|
-
CENTER: 2,
|
|
23340
|
-
RIGHT: 3,
|
|
23341
|
-
};
|
|
23273
|
+
StaveLine.TextJustification = _textnote__WEBPACK_IMPORTED_MODULE_2__.TextJustification;
|
|
23342
23274
|
|
|
23343
23275
|
|
|
23344
23276
|
/***/ }),
|
|
@@ -23617,7 +23549,10 @@ class StaveNote extends _stemmablenote__WEBPACK_IMPORTED_MODULE_4__.StemmableNot
|
|
|
23617
23549
|
// Test for two voice note intersection
|
|
23618
23550
|
if (voices === 2) {
|
|
23619
23551
|
const lineSpacing = noteU.note.hasStem() && noteL.note.hasStem() && noteU.stemDirection === noteL.stemDirection ? 0.0 : 0.5;
|
|
23620
|
-
if (noteU.
|
|
23552
|
+
if (noteL.isrest && noteU.isrest && noteU.note.duration === noteL.note.duration) {
|
|
23553
|
+
noteL.note.render_options.draw = false;
|
|
23554
|
+
}
|
|
23555
|
+
else if (noteU.minLine <= noteL.maxLine + lineSpacing) {
|
|
23621
23556
|
if (noteU.isrest) {
|
|
23622
23557
|
// shift rest up
|
|
23623
23558
|
shiftRestVertical(noteU, noteL, 1);
|
|
@@ -23739,22 +23674,22 @@ class StaveNote extends _stemmablenote__WEBPACK_IMPORTED_MODULE_4__.StemmableNot
|
|
|
23739
23674
|
}
|
|
23740
23675
|
// Special case 2 :: all voices are rests
|
|
23741
23676
|
if (noteU.isrest && noteM.isrest && noteL.isrest) {
|
|
23742
|
-
//
|
|
23743
|
-
|
|
23744
|
-
//
|
|
23745
|
-
|
|
23677
|
+
// Hide upper voice rest
|
|
23678
|
+
noteU.note.render_options.draw = false;
|
|
23679
|
+
// Hide lower voice rest
|
|
23680
|
+
noteL.note.render_options.draw = false;
|
|
23746
23681
|
// format complete
|
|
23747
23682
|
state.right_shift += xShift;
|
|
23748
23683
|
return true;
|
|
23749
23684
|
}
|
|
23750
23685
|
// Test if any other rests can be repositioned
|
|
23751
23686
|
if (noteM.isrest && noteU.isrest && noteM.minLine <= noteL.maxLine) {
|
|
23752
|
-
//
|
|
23753
|
-
|
|
23687
|
+
// Hide middle voice rest
|
|
23688
|
+
noteM.note.render_options.draw = false;
|
|
23754
23689
|
}
|
|
23755
23690
|
if (noteM.isrest && noteL.isrest && noteU.minLine <= noteM.maxLine) {
|
|
23756
|
-
//
|
|
23757
|
-
|
|
23691
|
+
// Hide middle voice rest
|
|
23692
|
+
noteM.note.render_options.draw = false;
|
|
23758
23693
|
}
|
|
23759
23694
|
if (noteU.isrest && noteU.minLine <= noteM.maxLine) {
|
|
23760
23695
|
// shift upper voice rest up;
|
|
@@ -24474,6 +24409,8 @@ class StaveNote extends _stemmablenote__WEBPACK_IMPORTED_MODULE_4__.StemmableNot
|
|
|
24474
24409
|
}
|
|
24475
24410
|
// Draws all the `StaveNote` parts. This is the main drawing method.
|
|
24476
24411
|
draw() {
|
|
24412
|
+
if (this.render_options.draw === false)
|
|
24413
|
+
return;
|
|
24477
24414
|
if (this.ys.length === 0) {
|
|
24478
24415
|
throw new _util__WEBPACK_IMPORTED_MODULE_7__.RuntimeError('NoYValues', "Can't draw note without Y values.");
|
|
24479
24416
|
}
|
|
@@ -24961,10 +24898,10 @@ class StaveText extends _stavemodifier__WEBPACK_IMPORTED_MODULE_1__.StaveModifie
|
|
|
24961
24898
|
case _stavemodifier__WEBPACK_IMPORTED_MODULE_1__.StaveModifierPosition.ABOVE:
|
|
24962
24899
|
case _stavemodifier__WEBPACK_IMPORTED_MODULE_1__.StaveModifierPosition.BELOW:
|
|
24963
24900
|
x = stave.getX() + this.options.shift_x;
|
|
24964
|
-
if (this.options.justification === _textnote__WEBPACK_IMPORTED_MODULE_2__.
|
|
24901
|
+
if (this.options.justification === _textnote__WEBPACK_IMPORTED_MODULE_2__.TextJustification.CENTER) {
|
|
24965
24902
|
x += stave.getWidth() / 2 - text_width / 2;
|
|
24966
24903
|
}
|
|
24967
|
-
else if (this.options.justification === _textnote__WEBPACK_IMPORTED_MODULE_2__.
|
|
24904
|
+
else if (this.options.justification === _textnote__WEBPACK_IMPORTED_MODULE_2__.TextJustification.RIGHT) {
|
|
24968
24905
|
x += stave.getWidth() - text_width;
|
|
24969
24906
|
}
|
|
24970
24907
|
if (this.position === _stavemodifier__WEBPACK_IMPORTED_MODULE_1__.StaveModifierPosition.ABOVE) {
|
|
@@ -26840,14 +26777,7 @@ class System extends _element__WEBPACK_IMPORTED_MODULE_1__.Element {
|
|
|
26840
26777
|
this.parts.forEach((part) => {
|
|
26841
26778
|
y = y + part.stave.space(part.spaceAbove);
|
|
26842
26779
|
part.stave.setY(y);
|
|
26843
|
-
|
|
26844
|
-
part.voices.forEach((voice) => {
|
|
26845
|
-
formatter.joinVoices([voice]);
|
|
26846
|
-
});
|
|
26847
|
-
}
|
|
26848
|
-
else {
|
|
26849
|
-
formatter.joinVoices(part.voices);
|
|
26850
|
-
}
|
|
26780
|
+
formatter.joinVoices(part.voices);
|
|
26851
26781
|
y = y + part.stave.space(part.spaceBelow);
|
|
26852
26782
|
y = y + part.stave.space(this.options.spaceBetweenStaves);
|
|
26853
26783
|
if (part.debugNoteMetrics) {
|
|
@@ -29516,7 +29446,7 @@ TextFormatter.DEBUG = false;
|
|
|
29516
29446
|
|
|
29517
29447
|
__webpack_require__.r(__webpack_exports__);
|
|
29518
29448
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
29519
|
-
/* harmony export */ "
|
|
29449
|
+
/* harmony export */ "TextJustification": () => (/* binding */ TextJustification),
|
|
29520
29450
|
/* harmony export */ "TextNote": () => (/* binding */ TextNote)
|
|
29521
29451
|
/* harmony export */ });
|
|
29522
29452
|
/* harmony import */ var _font__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./font */ "./src/font.ts");
|
|
@@ -29531,12 +29461,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29531
29461
|
|
|
29532
29462
|
|
|
29533
29463
|
|
|
29534
|
-
var
|
|
29535
|
-
(function (
|
|
29536
|
-
|
|
29537
|
-
|
|
29538
|
-
|
|
29539
|
-
})(
|
|
29464
|
+
var TextJustification;
|
|
29465
|
+
(function (TextJustification) {
|
|
29466
|
+
TextJustification[TextJustification["LEFT"] = 1] = "LEFT";
|
|
29467
|
+
TextJustification[TextJustification["CENTER"] = 2] = "CENTER";
|
|
29468
|
+
TextJustification[TextJustification["RIGHT"] = 3] = "RIGHT";
|
|
29469
|
+
})(TextJustification || (TextJustification = {}));
|
|
29540
29470
|
/**
|
|
29541
29471
|
* `TextNote` is a notation element that is positioned in time. Generally
|
|
29542
29472
|
* meant for objects that sit above/below the staff and inline with each other.
|
|
@@ -29553,7 +29483,7 @@ class TextNote extends _note__WEBPACK_IMPORTED_MODULE_2__.Note {
|
|
|
29553
29483
|
this.line = noteStruct.line || 0;
|
|
29554
29484
|
this.smooth = noteStruct.smooth || false;
|
|
29555
29485
|
this.ignore_ticks = noteStruct.ignore_ticks || false;
|
|
29556
|
-
this.justification =
|
|
29486
|
+
this.justification = TextJustification.LEFT;
|
|
29557
29487
|
// Determine and set initial note width. Note that the text width is
|
|
29558
29488
|
// an approximation and isn't very accurate. The only way to accurately
|
|
29559
29489
|
// measure the length of text is with `CanvasRenderingContext2D.measureText()`.
|
|
@@ -29571,9 +29501,6 @@ class TextNote extends _note__WEBPACK_IMPORTED_MODULE_2__.Note {
|
|
|
29571
29501
|
static get CATEGORY() {
|
|
29572
29502
|
return _typeguard__WEBPACK_IMPORTED_MODULE_3__.Category.TextNote;
|
|
29573
29503
|
}
|
|
29574
|
-
static get Justification() {
|
|
29575
|
-
return Justification;
|
|
29576
|
-
}
|
|
29577
29504
|
/** Glyph data. */
|
|
29578
29505
|
static get GLYPHS() {
|
|
29579
29506
|
return {
|
|
@@ -29664,10 +29591,10 @@ class TextNote extends _note__WEBPACK_IMPORTED_MODULE_2__.Note {
|
|
|
29664
29591
|
this.setWidth(ctx.measureText(this.text).width);
|
|
29665
29592
|
}
|
|
29666
29593
|
}
|
|
29667
|
-
if (this.justification ===
|
|
29594
|
+
if (this.justification === TextJustification.CENTER) {
|
|
29668
29595
|
this.leftDisplacedHeadPx = this.width / 2;
|
|
29669
29596
|
}
|
|
29670
|
-
else if (this.justification ===
|
|
29597
|
+
else if (this.justification === TextJustification.RIGHT) {
|
|
29671
29598
|
this.leftDisplacedHeadPx = this.width;
|
|
29672
29599
|
}
|
|
29673
29600
|
// We reposition to the center of the note head
|
|
@@ -29687,10 +29614,10 @@ class TextNote extends _note__WEBPACK_IMPORTED_MODULE_2__.Note {
|
|
|
29687
29614
|
let x = this.getAbsoluteX() + tickContext.getMetrics().glyphPx / 2;
|
|
29688
29615
|
// Align based on tick-context width.
|
|
29689
29616
|
const width = this.getWidth();
|
|
29690
|
-
if (this.justification ===
|
|
29617
|
+
if (this.justification === TextJustification.CENTER) {
|
|
29691
29618
|
x -= width / 2;
|
|
29692
29619
|
}
|
|
29693
|
-
else if (this.justification ===
|
|
29620
|
+
else if (this.justification === TextJustification.RIGHT) {
|
|
29694
29621
|
x -= width;
|
|
29695
29622
|
}
|
|
29696
29623
|
let y;
|
|
@@ -29727,6 +29654,7 @@ TextNote.TEXT_FONT = {
|
|
|
29727
29654
|
weight: _font__WEBPACK_IMPORTED_MODULE_0__.FontWeight.NORMAL,
|
|
29728
29655
|
style: _font__WEBPACK_IMPORTED_MODULE_0__.FontStyle.NORMAL,
|
|
29729
29656
|
};
|
|
29657
|
+
TextNote.Justification = TextJustification;
|
|
29730
29658
|
|
|
29731
29659
|
|
|
29732
29660
|
/***/ }),
|
|
@@ -31979,154 +31907,166 @@ var __webpack_exports__ = {};
|
|
|
31979
31907
|
\********************************/
|
|
31980
31908
|
__webpack_require__.r(__webpack_exports__);
|
|
31981
31909
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
31982
|
-
/* harmony export */ "Accidental": () => (/* reexport safe */
|
|
31983
|
-
/* harmony export */ "Annotation": () => (/* reexport safe */
|
|
31984
|
-
/* harmony export */ "AnnotationHorizontalJustify": () => (/* reexport safe */
|
|
31985
|
-
/* harmony export */ "AnnotationVerticalJustify": () => (/* reexport safe */
|
|
31986
|
-
/* harmony export */ "Articulation": () => (/* reexport safe */
|
|
31987
|
-
/* harmony export */ "
|
|
31988
|
-
/* harmony export */ "
|
|
31989
|
-
/* harmony export */ "
|
|
31990
|
-
/* harmony export */ "
|
|
31991
|
-
/* harmony export */ "
|
|
31992
|
-
/* harmony export */ "
|
|
31993
|
-
/* harmony export */ "
|
|
31994
|
-
/* harmony export */ "
|
|
31995
|
-
/* harmony export */ "
|
|
31996
|
-
/* harmony export */ "
|
|
31997
|
-
/* harmony export */ "
|
|
31998
|
-
/* harmony export */ "
|
|
31999
|
-
/* harmony export */ "
|
|
32000
|
-
/* harmony export */ "
|
|
32001
|
-
/* harmony export */ "
|
|
32002
|
-
/* harmony export */ "
|
|
32003
|
-
/* harmony export */ "
|
|
32004
|
-
/* harmony export */ "
|
|
32005
|
-
/* harmony export */ "
|
|
32006
|
-
/* harmony export */ "
|
|
32007
|
-
/* harmony export */ "
|
|
32008
|
-
/* harmony export */ "
|
|
32009
|
-
/* harmony export */ "
|
|
32010
|
-
/* harmony export */ "
|
|
32011
|
-
/* harmony export */ "
|
|
32012
|
-
/* harmony export */ "
|
|
32013
|
-
/* harmony export */ "
|
|
32014
|
-
/* harmony export */ "
|
|
32015
|
-
/* harmony export */ "
|
|
32016
|
-
/* harmony export */ "
|
|
32017
|
-
/* harmony export */ "
|
|
32018
|
-
/* harmony export */ "
|
|
32019
|
-
/* harmony export */ "
|
|
32020
|
-
/* harmony export */ "
|
|
32021
|
-
/* harmony export */ "
|
|
32022
|
-
/* harmony export */ "
|
|
32023
|
-
/* harmony export */ "
|
|
32024
|
-
/* harmony export */ "
|
|
32025
|
-
/* harmony export */ "
|
|
32026
|
-
/* harmony export */ "
|
|
32027
|
-
/* harmony export */ "
|
|
32028
|
-
/* harmony export */ "
|
|
32029
|
-
/* harmony export */ "
|
|
32030
|
-
/* harmony export */ "
|
|
32031
|
-
/* harmony export */ "
|
|
32032
|
-
/* harmony export */ "
|
|
32033
|
-
/* harmony export */ "
|
|
32034
|
-
/* harmony export */ "
|
|
32035
|
-
/* harmony export */ "
|
|
32036
|
-
/* harmony export */ "
|
|
32037
|
-
/* harmony export */ "
|
|
32038
|
-
/* harmony export */ "
|
|
32039
|
-
/* harmony export */ "
|
|
32040
|
-
/* harmony export */ "
|
|
32041
|
-
/* harmony export */ "
|
|
32042
|
-
/* harmony export */ "
|
|
32043
|
-
/* harmony export */ "
|
|
32044
|
-
/* harmony export */ "
|
|
32045
|
-
/* harmony export */ "
|
|
32046
|
-
/* harmony export */ "
|
|
32047
|
-
/* harmony export */ "
|
|
32048
|
-
/* harmony export */ "
|
|
32049
|
-
/* harmony export */ "
|
|
32050
|
-
/* harmony export */ "
|
|
32051
|
-
/* harmony export */ "
|
|
32052
|
-
/* harmony export */ "
|
|
32053
|
-
/* harmony export */ "
|
|
32054
|
-
/* harmony export */ "
|
|
32055
|
-
/* harmony export */ "
|
|
32056
|
-
/* harmony export */ "
|
|
32057
|
-
/* harmony export */ "
|
|
32058
|
-
/* harmony export */ "
|
|
32059
|
-
/* harmony export */ "
|
|
32060
|
-
/* harmony export */ "
|
|
32061
|
-
/* harmony export */ "
|
|
32062
|
-
/* harmony export */ "
|
|
32063
|
-
/* harmony export */ "
|
|
32064
|
-
/* harmony export */ "
|
|
32065
|
-
/* harmony export */ "
|
|
32066
|
-
/* harmony export */ "
|
|
32067
|
-
/* harmony export */ "
|
|
32068
|
-
/* harmony export */ "
|
|
32069
|
-
/* harmony export */ "
|
|
32070
|
-
/* harmony export */ "
|
|
32071
|
-
/* harmony export */ "
|
|
32072
|
-
/* harmony export */ "
|
|
32073
|
-
/* harmony export */ "
|
|
32074
|
-
/* harmony export */ "
|
|
32075
|
-
/* harmony export */ "
|
|
32076
|
-
/* harmony export */ "
|
|
32077
|
-
/* harmony export */ "
|
|
32078
|
-
/* harmony export */ "
|
|
32079
|
-
/* harmony export */ "
|
|
32080
|
-
/* harmony export */ "
|
|
32081
|
-
/* harmony export */ "
|
|
32082
|
-
/* harmony export */ "
|
|
32083
|
-
/* harmony export */ "
|
|
32084
|
-
/* harmony export */ "
|
|
32085
|
-
/* harmony export */ "
|
|
32086
|
-
/* harmony export */ "
|
|
32087
|
-
/* harmony export */ "
|
|
32088
|
-
/* harmony export */ "
|
|
32089
|
-
/* harmony export */ "
|
|
32090
|
-
/* harmony export */ "
|
|
32091
|
-
/* harmony export */ "
|
|
32092
|
-
/* harmony export */ "
|
|
32093
|
-
/* harmony export */ "
|
|
32094
|
-
/* harmony export */ "
|
|
32095
|
-
/* harmony export */ "
|
|
32096
|
-
/* harmony export */ "
|
|
32097
|
-
/* harmony export */ "
|
|
32098
|
-
/* harmony export */ "
|
|
32099
|
-
/* harmony export */ "
|
|
32100
|
-
/* harmony export */ "
|
|
32101
|
-
/* harmony export */ "
|
|
32102
|
-
/* harmony export */ "
|
|
32103
|
-
/* harmony export */ "
|
|
32104
|
-
/* harmony export */ "
|
|
32105
|
-
/* harmony export */ "
|
|
32106
|
-
/* harmony export */ "
|
|
32107
|
-
/* harmony export */ "
|
|
32108
|
-
/* harmony export */ "
|
|
32109
|
-
/* harmony export */ "
|
|
32110
|
-
/* harmony export */ "
|
|
32111
|
-
/* harmony export */ "
|
|
32112
|
-
/* harmony export */ "
|
|
32113
|
-
/* harmony export */ "
|
|
32114
|
-
/* harmony export */ "
|
|
32115
|
-
/* harmony export */ "
|
|
31910
|
+
/* harmony export */ "Accidental": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Accidental),
|
|
31911
|
+
/* harmony export */ "Annotation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Annotation),
|
|
31912
|
+
/* harmony export */ "AnnotationHorizontalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.AnnotationHorizontalJustify),
|
|
31913
|
+
/* harmony export */ "AnnotationVerticalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.AnnotationVerticalJustify),
|
|
31914
|
+
/* harmony export */ "Articulation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Articulation),
|
|
31915
|
+
/* harmony export */ "BEAM_BOTH": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.BEAM_BOTH),
|
|
31916
|
+
/* harmony export */ "BEAM_LEFT": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.BEAM_LEFT),
|
|
31917
|
+
/* harmony export */ "BEAM_RIGHT": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.BEAM_RIGHT),
|
|
31918
|
+
/* harmony export */ "BarNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.BarNote),
|
|
31919
|
+
/* harmony export */ "Barline": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Barline),
|
|
31920
|
+
/* harmony export */ "BarlineType": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.BarlineType),
|
|
31921
|
+
/* harmony export */ "Beam": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Beam),
|
|
31922
|
+
/* harmony export */ "Bend": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Bend),
|
|
31923
|
+
/* harmony export */ "BoundingBox": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.BoundingBox),
|
|
31924
|
+
/* harmony export */ "BoundingBoxComputation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.BoundingBoxComputation),
|
|
31925
|
+
/* harmony export */ "Builder": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Builder),
|
|
31926
|
+
/* harmony export */ "CanvasContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.CanvasContext),
|
|
31927
|
+
/* harmony export */ "Category": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Category),
|
|
31928
|
+
/* harmony export */ "ChordSymbol": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.ChordSymbol),
|
|
31929
|
+
/* harmony export */ "ChordSymbolHorizontalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.ChordSymbolHorizontalJustify),
|
|
31930
|
+
/* harmony export */ "ChordSymbolVerticalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.ChordSymbolVerticalJustify),
|
|
31931
|
+
/* harmony export */ "Clef": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Clef),
|
|
31932
|
+
/* harmony export */ "ClefNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.ClefNote),
|
|
31933
|
+
/* harmony export */ "Crescendo": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Crescendo),
|
|
31934
|
+
/* harmony export */ "Curve": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Curve),
|
|
31935
|
+
/* harmony export */ "CurvePosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.CurvePosition),
|
|
31936
|
+
/* harmony export */ "Dot": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Dot),
|
|
31937
|
+
/* harmony export */ "EasyScore": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.EasyScore),
|
|
31938
|
+
/* harmony export */ "EasyScoreGrammar": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.EasyScoreGrammar),
|
|
31939
|
+
/* harmony export */ "Element": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Element),
|
|
31940
|
+
/* harmony export */ "Factory": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Factory),
|
|
31941
|
+
/* harmony export */ "Flow": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Flow),
|
|
31942
|
+
/* harmony export */ "Font": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Font),
|
|
31943
|
+
/* harmony export */ "FontStyle": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.FontStyle),
|
|
31944
|
+
/* harmony export */ "FontWeight": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.FontWeight),
|
|
31945
|
+
/* harmony export */ "Formatter": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Formatter),
|
|
31946
|
+
/* harmony export */ "Fraction": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Fraction),
|
|
31947
|
+
/* harmony export */ "FretHandFinger": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.FretHandFinger),
|
|
31948
|
+
/* harmony export */ "GhostNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.GhostNote),
|
|
31949
|
+
/* harmony export */ "Glyph": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Glyph),
|
|
31950
|
+
/* harmony export */ "GlyphNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.GlyphNote),
|
|
31951
|
+
/* harmony export */ "GraceNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.GraceNote),
|
|
31952
|
+
/* harmony export */ "GraceNoteGroup": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.GraceNoteGroup),
|
|
31953
|
+
/* harmony export */ "GraceTabNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.GraceTabNote),
|
|
31954
|
+
/* harmony export */ "KeyManager": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.KeyManager),
|
|
31955
|
+
/* harmony export */ "KeySigNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.KeySigNote),
|
|
31956
|
+
/* harmony export */ "KeySignature": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.KeySignature),
|
|
31957
|
+
/* harmony export */ "Modifier": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Modifier),
|
|
31958
|
+
/* harmony export */ "ModifierContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.ModifierContext),
|
|
31959
|
+
/* harmony export */ "ModifierPosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.ModifierPosition),
|
|
31960
|
+
/* harmony export */ "MultiMeasureRest": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.MultiMeasureRest),
|
|
31961
|
+
/* harmony export */ "Music": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Music),
|
|
31962
|
+
/* harmony export */ "Note": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Note),
|
|
31963
|
+
/* harmony export */ "NoteHead": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.NoteHead),
|
|
31964
|
+
/* harmony export */ "NoteSubGroup": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.NoteSubGroup),
|
|
31965
|
+
/* harmony export */ "Ornament": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Ornament),
|
|
31966
|
+
/* harmony export */ "OutlineCode": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.OutlineCode),
|
|
31967
|
+
/* harmony export */ "Parenthesis": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Parenthesis),
|
|
31968
|
+
/* harmony export */ "Parser": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Parser),
|
|
31969
|
+
/* harmony export */ "PedalMarking": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.PedalMarking),
|
|
31970
|
+
/* harmony export */ "Piece": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Piece),
|
|
31971
|
+
/* harmony export */ "Registry": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Registry),
|
|
31972
|
+
/* harmony export */ "RenderContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.RenderContext),
|
|
31973
|
+
/* harmony export */ "Renderer": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Renderer),
|
|
31974
|
+
/* harmony export */ "RendererBackends": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.RendererBackends),
|
|
31975
|
+
/* harmony export */ "RendererLineEndType": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.RendererLineEndType),
|
|
31976
|
+
/* harmony export */ "RepeatNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.RepeatNote),
|
|
31977
|
+
/* harmony export */ "Repetition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Repetition),
|
|
31978
|
+
/* harmony export */ "RuntimeError": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.RuntimeError),
|
|
31979
|
+
/* harmony export */ "SVGContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.SVGContext),
|
|
31980
|
+
/* harmony export */ "Stave": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Stave),
|
|
31981
|
+
/* harmony export */ "StaveConnector": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.StaveConnector),
|
|
31982
|
+
/* harmony export */ "StaveHairpin": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.StaveHairpin),
|
|
31983
|
+
/* harmony export */ "StaveLine": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.StaveLine),
|
|
31984
|
+
/* harmony export */ "StaveModifier": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.StaveModifier),
|
|
31985
|
+
/* harmony export */ "StaveModifierPosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.StaveModifierPosition),
|
|
31986
|
+
/* harmony export */ "StaveNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.StaveNote),
|
|
31987
|
+
/* harmony export */ "StaveSection": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.StaveSection),
|
|
31988
|
+
/* harmony export */ "StaveTempo": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.StaveTempo),
|
|
31989
|
+
/* harmony export */ "StaveText": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.StaveText),
|
|
31990
|
+
/* harmony export */ "StaveTie": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.StaveTie),
|
|
31991
|
+
/* harmony export */ "Stem": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Stem),
|
|
31992
|
+
/* harmony export */ "StemmableNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.StemmableNote),
|
|
31993
|
+
/* harmony export */ "StringNumber": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.StringNumber),
|
|
31994
|
+
/* harmony export */ "Stroke": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Stroke),
|
|
31995
|
+
/* harmony export */ "SymbolModifiers": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.SymbolModifiers),
|
|
31996
|
+
/* harmony export */ "SymbolTypes": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.SymbolTypes),
|
|
31997
|
+
/* harmony export */ "System": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.System),
|
|
31998
|
+
/* harmony export */ "TabNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TabNote),
|
|
31999
|
+
/* harmony export */ "TabSlide": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TabSlide),
|
|
32000
|
+
/* harmony export */ "TabStave": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TabStave),
|
|
32001
|
+
/* harmony export */ "TabTie": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TabTie),
|
|
32002
|
+
/* harmony export */ "TextBracket": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TextBracket),
|
|
32003
|
+
/* harmony export */ "TextBracketPosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TextBracketPosition),
|
|
32004
|
+
/* harmony export */ "TextDynamics": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TextDynamics),
|
|
32005
|
+
/* harmony export */ "TextFormatter": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TextFormatter),
|
|
32006
|
+
/* harmony export */ "TextJustification": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TextJustification),
|
|
32007
|
+
/* harmony export */ "TextNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TextNote),
|
|
32008
|
+
/* harmony export */ "TickContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TickContext),
|
|
32009
|
+
/* harmony export */ "Tickable": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Tickable),
|
|
32010
|
+
/* harmony export */ "TimeSigNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TimeSigNote),
|
|
32011
|
+
/* harmony export */ "TimeSignature": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TimeSignature),
|
|
32012
|
+
/* harmony export */ "TimeSignatureGlyph": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TimeSignatureGlyph),
|
|
32013
|
+
/* harmony export */ "Tremolo": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Tremolo),
|
|
32014
|
+
/* harmony export */ "Tuning": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Tuning),
|
|
32015
|
+
/* harmony export */ "Tuplet": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Tuplet),
|
|
32016
|
+
/* harmony export */ "TupletLocation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.TupletLocation),
|
|
32017
|
+
/* harmony export */ "Vex": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Vex),
|
|
32018
|
+
/* harmony export */ "Vibrato": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Vibrato),
|
|
32019
|
+
/* harmony export */ "VibratoBracket": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.VibratoBracket),
|
|
32020
|
+
/* harmony export */ "Voice": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Voice),
|
|
32021
|
+
/* harmony export */ "VoiceMode": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.VoiceMode),
|
|
32022
|
+
/* harmony export */ "Volta": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.Volta),
|
|
32023
|
+
/* harmony export */ "VoltaType": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.VoltaType),
|
|
32024
|
+
/* harmony export */ "defined": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.defined),
|
|
32025
|
+
/* harmony export */ "drawDot": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.drawDot),
|
|
32026
|
+
/* harmony export */ "globalObject": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.globalObject),
|
|
32027
|
+
/* harmony export */ "isAccidental": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isAccidental),
|
|
32028
|
+
/* harmony export */ "isAnnotation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isAnnotation),
|
|
32029
|
+
/* harmony export */ "isBarline": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isBarline),
|
|
32030
|
+
/* harmony export */ "isCategory": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isCategory),
|
|
32031
|
+
/* harmony export */ "isDot": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isDot),
|
|
32032
|
+
/* harmony export */ "isGraceNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isGraceNote),
|
|
32033
|
+
/* harmony export */ "isGraceNoteGroup": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isGraceNoteGroup),
|
|
32034
|
+
/* harmony export */ "isHTMLCanvas": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isHTMLCanvas),
|
|
32035
|
+
/* harmony export */ "isHTMLDiv": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isHTMLDiv),
|
|
32036
|
+
/* harmony export */ "isNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isNote),
|
|
32037
|
+
/* harmony export */ "isRenderContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isRenderContext),
|
|
32038
|
+
/* harmony export */ "isStaveNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isStaveNote),
|
|
32039
|
+
/* harmony export */ "isStemmableNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isStemmableNote),
|
|
32040
|
+
/* harmony export */ "isTabNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.isTabNote),
|
|
32041
|
+
/* harmony export */ "log": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.log),
|
|
32042
|
+
/* harmony export */ "midLine": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.midLine),
|
|
32043
|
+
/* harmony export */ "normalizeAngle": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.normalizeAngle),
|
|
32044
|
+
/* harmony export */ "prefix": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.prefix),
|
|
32045
|
+
/* harmony export */ "warn": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_3__.warn),
|
|
32046
|
+
/* harmony export */ "default": () => (/* reexport module object */ _src_index__WEBPACK_IMPORTED_MODULE_3__)
|
|
32116
32047
|
/* harmony export */ });
|
|
32117
|
-
/* harmony import */ var
|
|
32118
|
-
/* harmony import */ var
|
|
32048
|
+
/* harmony import */ var _src_flow__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../src/flow */ "./src/flow.ts");
|
|
32049
|
+
/* harmony import */ var _src_fonts_load_all__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../src/fonts/load_all */ "./src/fonts/load_all.ts");
|
|
32050
|
+
/* harmony import */ var _src_fonts_textfonts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../src/fonts/textfonts */ "./src/fonts/textfonts.ts");
|
|
32051
|
+
/* harmony import */ var _src_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../src/index */ "./src/index.ts");
|
|
32119
32052
|
// [VexFlow](https://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
|
|
32120
32053
|
// MIT License
|
|
32121
32054
|
//
|
|
32122
32055
|
// vexflow-debug.ts is the entry point for the build output file vexflow-debug.js.
|
|
32123
32056
|
// It statically bundles all the music engraving fonts.
|
|
32124
|
-
// Currently, it
|
|
32057
|
+
// Currently, it is identical to vexflow.ts, but the webpack config inside Gruntfile.js
|
|
32125
32058
|
// sets the webpack mode to 'development' to produce an unminified build.
|
|
32126
32059
|
// In the future, we could do something different with this entry file, such as turn on flags for logging.
|
|
32127
32060
|
|
|
32128
32061
|
|
|
32129
|
-
|
|
32062
|
+
|
|
32063
|
+
(0,_src_fonts_load_all__WEBPACK_IMPORTED_MODULE_1__.loadAllMusicFonts)();
|
|
32064
|
+
_src_flow__WEBPACK_IMPORTED_MODULE_0__.Flow.setMusicFont('Bravura', 'Gonville', 'Custom');
|
|
32065
|
+
(0,_src_fonts_textfonts__WEBPACK_IMPORTED_MODULE_2__.loadTextFonts)();
|
|
32066
|
+
// Re-export all exports from index.ts.
|
|
32067
|
+
|
|
32068
|
+
// Also collect all exports into a default export for CJS projects.
|
|
32069
|
+
|
|
32130
32070
|
|
|
32131
32071
|
})();
|
|
32132
32072
|
|