chordsheetjs 15.1.1 → 15.2.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/lib/bundle.js +25 -5
- package/lib/bundle.min.js +37 -37
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/lib/main.d.ts +3 -3
- package/lib/main.d.ts.map +1 -1
- package/lib/module.js +5 -5
- package/lib/module.js.map +1 -1
- package/lib/pdf/index.js +5 -5
- package/lib/pdf/index.js.map +1 -1
- package/lib/pdf/main.d.ts.map +1 -1
- package/lib/pdf/module.js +5 -5
- package/lib/pdf/module.js.map +1 -1
- package/package.json +3 -3
package/lib/bundle.js
CHANGED
|
@@ -5534,6 +5534,26 @@ ${error.stack}`);
|
|
|
5534
5534
|
useUnicodeModifiers: false,
|
|
5535
5535
|
user: null
|
|
5536
5536
|
};
|
|
5537
|
+
var $457cc7a5102fa8ae$export$2969e7e19d88b575 = {
|
|
5538
|
+
annotation: "annotation",
|
|
5539
|
+
chord: "chord",
|
|
5540
|
+
chordSheet: "chord-sheet",
|
|
5541
|
+
column: "column",
|
|
5542
|
+
comment: "comment",
|
|
5543
|
+
emptyLine: "empty-line",
|
|
5544
|
+
image: "image",
|
|
5545
|
+
label: "label",
|
|
5546
|
+
labelWrapper: "label-wrapper",
|
|
5547
|
+
line: "line",
|
|
5548
|
+
literal: "literal",
|
|
5549
|
+
literalContents: "contents",
|
|
5550
|
+
lyrics: "lyrics",
|
|
5551
|
+
paragraph: "paragraph",
|
|
5552
|
+
rhythmSymbol: "rhythm-symbol",
|
|
5553
|
+
row: "row",
|
|
5554
|
+
subtitle: "subtitle",
|
|
5555
|
+
title: "title"
|
|
5556
|
+
};
|
|
5537
5557
|
var $457cc7a5102fa8ae$export$f5ffc4db6b3c834e = {
|
|
5538
5558
|
cssClasses: {
|
|
5539
5559
|
annotation: "annotation",
|
|
@@ -13150,7 +13170,7 @@ Or set the song key before changing key:
|
|
|
13150
13170
|
];
|
|
13151
13171
|
}
|
|
13152
13172
|
var $e136d63bbe28a4e0$var$WHITE_SPACE = /\s/;
|
|
13153
|
-
var $e136d63bbe28a4e0$var$CHORD_LINE_REGEX = /^\s*((([A-G|Do|Re|Mi|Fa|Sol|La|Si
|
|
13173
|
+
var $e136d63bbe28a4e0$var$CHORD_LINE_REGEX = /^\s*(((?:[A-G]|Do|Re|Mi|Fa|Sol|La|Si)(#|b)?([^/\s]*)(\/(?:[A-G]|Do|Re|Mi|Fa|Sol|La|Si)(#|b)?)?)(\s|$)+)+(\s|$)+/;
|
|
13154
13174
|
var $e136d63bbe28a4e0$var$ChordSheetParser = class {
|
|
13155
13175
|
/**
|
|
13156
13176
|
* Instantiate a chord sheet parser
|
|
@@ -13548,14 +13568,14 @@ Or set the song key before changing key:
|
|
|
13548
13568
|
function $f9c5006b26957916$export$b8d631d9200974fa(line) {
|
|
13549
13569
|
return line.items.some((item) => item instanceof (0, $551a223fc13b5c10$export$2e2bcd8739ae039) && !(0, $28a2fcb6fb95a147$export$78d1711480f95c3e)(item.lyrics) || item instanceof (0, $7251dad5f4a4c35f$export$2e2bcd8739ae039) && item.isRenderable() || (0, $28a2fcb6fb95a147$export$e3f63561d52b936d)(item));
|
|
13550
13570
|
}
|
|
13551
|
-
function $f9c5006b26957916$export$8a559c16cc3576(line, cssClasses) {
|
|
13571
|
+
function $f9c5006b26957916$export$8a559c16cc3576(line, cssClasses = (0, $457cc7a5102fa8ae$export$2969e7e19d88b575)) {
|
|
13552
13572
|
const classes = [
|
|
13553
13573
|
cssClasses.row
|
|
13554
13574
|
];
|
|
13555
13575
|
if (!$f9c5006b26957916$export$3db5961874282581(line)) classes.push(cssClasses.emptyLine);
|
|
13556
13576
|
return classes.join(" ");
|
|
13557
13577
|
}
|
|
13558
|
-
function $f9c5006b26957916$export$dcd1550c9709312c(paragraph, cssClasses) {
|
|
13578
|
+
function $f9c5006b26957916$export$dcd1550c9709312c(paragraph, cssClasses = (0, $457cc7a5102fa8ae$export$2969e7e19d88b575)) {
|
|
13559
13579
|
const classes = [
|
|
13560
13580
|
cssClasses.paragraph
|
|
13561
13581
|
];
|
|
@@ -29363,7 +29383,7 @@ ${template}
|
|
|
29363
29383
|
var $a5a21ced491ea51f$var$UG_METADATA_REGEX = /^(\w+):\s*(.+)$/;
|
|
29364
29384
|
var $a5a21ced491ea51f$var$OTHER_METADATA_LINE_REGEX = /^\[([^\]]+)]/;
|
|
29365
29385
|
var $a5a21ced491ea51f$var$REPEAT_NOTATION_REGEX = /\s+(x\d+)\s*$/i;
|
|
29366
|
-
var $a5a21ced491ea51f$var$CHORD_LINE_REGEX = /^\s*((([A-G|Do|Re|Mi|Fa|Sol|La|Si
|
|
29386
|
+
var $a5a21ced491ea51f$var$CHORD_LINE_REGEX = /^\s*(((?:[A-G]|Do|Re|Mi|Fa|Sol|La|Si)(#|b)?([^/\s]*)(\/(?:[A-G]|Do|Re|Mi|Fa|Sol|La|Si)(#|b)?)?)(\s|$)+)+(\s|$)+/;
|
|
29367
29387
|
var $a5a21ced491ea51f$var$startSectionTags = {
|
|
29368
29388
|
[(0, $dce48cb70c4120bb$export$4b194284baed1659)]: (0, $d21c5c7a462f3c34$export$deca399f8cd9b7dc),
|
|
29369
29389
|
[(0, $dce48cb70c4120bb$export$8db6c706fc9142b2)]: (0, $d21c5c7a462f3c34$export$4f5168acae064e01),
|
|
@@ -29564,7 +29584,7 @@ ${template}
|
|
|
29564
29584
|
}
|
|
29565
29585
|
};
|
|
29566
29586
|
var $a5a21ced491ea51f$export$2e2bcd8739ae039 = $a5a21ced491ea51f$var$UltimateGuitarParser;
|
|
29567
|
-
var $ae92e002ce14f11a$export$2e2bcd8739ae039 = "15.
|
|
29587
|
+
var $ae92e002ce14f11a$export$2e2bcd8739ae039 = "15.2.1";
|
|
29568
29588
|
var $2a7926da41d163b3$export$191a710ad3c9a989 = {
|
|
29569
29589
|
configure: $181068e44290b873$export$8d21e34596265fa2,
|
|
29570
29590
|
getDefaultConfig: $fe1d3ba9df1ecad5$export$ed30944e0fe6ae5c,
|