chordsheetjs 15.3.0 → 15.4.0
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/lib/bundle.js +5 -2
- package/lib/bundle.min.js +23 -23
- package/lib/index.js +5 -2
- package/lib/index.js.map +1 -1
- package/lib/main.d.ts +4 -1
- package/lib/main.d.ts.map +1 -1
- package/lib/module.js +5 -2
- package/lib/module.js.map +1 -1
- package/lib/pdf/index.js +5 -2
- package/lib/pdf/index.js.map +1 -1
- package/lib/pdf/main.d.ts +3 -0
- package/lib/pdf/main.d.ts.map +1 -1
- package/lib/pdf/module.js +5 -2
- package/lib/pdf/module.js.map +1 -1
- package/package.json +2 -2
package/lib/pdf/index.js
CHANGED
|
@@ -4462,7 +4462,7 @@ var $26f57998457eb2d4$export$2e2bcd8739ae039 = $26f57998457eb2d4$var$Chord;
|
|
|
4462
4462
|
return this.useAccidental(accidental);
|
|
4463
4463
|
}
|
|
4464
4464
|
changeChord(func) {
|
|
4465
|
-
const chordObj =
|
|
4465
|
+
const chordObj = this.chord;
|
|
4466
4466
|
if (chordObj) {
|
|
4467
4467
|
const changedChord = func(chordObj);
|
|
4468
4468
|
return this.set({
|
|
@@ -20907,6 +20907,9 @@ var $f3be006db03d6687$export$2e2bcd8739ae039 = $f3be006db03d6687$var$Condition;
|
|
|
20907
20907
|
* @param {boolean} [configuration.useUnicodeModifiers=false] Whether or not to use unicode flat and sharp
|
|
20908
20908
|
* symbols.
|
|
20909
20909
|
* @param {boolean} [configuration.normalizeChords=true] Whether or not to automatically normalize chords
|
|
20910
|
+
* @param {boolean} [configuration.normalizeChordSuffix=true] Whether to normalize chord suffixes (e.g.
|
|
20911
|
+
* `sus2` to `2`, `maj7` to `ma7`). Only takes effect when `normalizeChords` is `true`. Defaults to `false`
|
|
20912
|
+
* for {@link ChordProFormatter} so ChordPro round-trips preserve the user's suffix variant.
|
|
20910
20913
|
*/ constructor(configuration = {}){
|
|
20911
20914
|
const defaultConfig = this.getDefaultConfiguration();
|
|
20912
20915
|
this.configuration = (0, $21a34a464e7bc609$export$5d86b86a654a7039)(defaultConfig, configuration);
|
|
@@ -37185,7 +37188,7 @@ const $db9c80925e255cd2$var$endSectionTags = {
|
|
|
37185
37188
|
var $db9c80925e255cd2$export$2e2bcd8739ae039 = $db9c80925e255cd2$var$UltimateGuitarParser;
|
|
37186
37189
|
|
|
37187
37190
|
|
|
37188
|
-
var $7491059d3a8d9eaa$export$2e2bcd8739ae039 = '15.
|
|
37191
|
+
var $7491059d3a8d9eaa$export$2e2bcd8739ae039 = '15.4.0';
|
|
37189
37192
|
|
|
37190
37193
|
|
|
37191
37194
|
|