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/index.js
CHANGED
|
@@ -13411,7 +13411,7 @@ function $2da8d6b3c840ecd4$export$9f6ee93f4e2fb3d2(string) {
|
|
|
13411
13411
|
|
|
13412
13412
|
|
|
13413
13413
|
const $e136d63bbe28a4e0$var$WHITE_SPACE = /\s/;
|
|
13414
|
-
const $e136d63bbe28a4e0$var$CHORD_LINE_REGEX = /^\s*((([A-G|Do|Re|Mi|Fa|Sol|La|Si
|
|
13414
|
+
const $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|$)+/;
|
|
13415
13415
|
/**
|
|
13416
13416
|
* Parses a normal chord sheet
|
|
13417
13417
|
*
|
|
@@ -13854,14 +13854,14 @@ function $f9c5006b26957916$export$a55877ca9db47377(condition, callback) {
|
|
|
13854
13854
|
function $f9c5006b26957916$export$b8d631d9200974fa(line) {
|
|
13855
13855
|
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));
|
|
13856
13856
|
}
|
|
13857
|
-
function $f9c5006b26957916$export$8a559c16cc3576(line, cssClasses) {
|
|
13857
|
+
function $f9c5006b26957916$export$8a559c16cc3576(line, cssClasses = (0, $457cc7a5102fa8ae$export$2969e7e19d88b575)) {
|
|
13858
13858
|
const classes = [
|
|
13859
13859
|
cssClasses.row
|
|
13860
13860
|
];
|
|
13861
13861
|
if (!$f9c5006b26957916$export$3db5961874282581(line)) classes.push(cssClasses.emptyLine);
|
|
13862
13862
|
return classes.join(' ');
|
|
13863
13863
|
}
|
|
13864
|
-
function $f9c5006b26957916$export$dcd1550c9709312c(paragraph, cssClasses) {
|
|
13864
|
+
function $f9c5006b26957916$export$dcd1550c9709312c(paragraph, cssClasses = (0, $457cc7a5102fa8ae$export$2969e7e19d88b575)) {
|
|
13865
13865
|
const classes = [
|
|
13866
13866
|
cssClasses.paragraph
|
|
13867
13867
|
];
|
|
@@ -29925,7 +29925,7 @@ const $a5a21ced491ea51f$var$UG_METADATA_REGEX = /^(\w+):\s*(.+)$/;
|
|
|
29925
29925
|
const $a5a21ced491ea51f$var$OTHER_METADATA_LINE_REGEX = /^\[([^\]]+)]/;
|
|
29926
29926
|
const $a5a21ced491ea51f$var$REPEAT_NOTATION_REGEX = /\s+(x\d+)\s*$/i;
|
|
29927
29927
|
// eslint-disable-next-line max-len
|
|
29928
|
-
const $a5a21ced491ea51f$var$CHORD_LINE_REGEX = /^\s*((([A-G|Do|Re|Mi|Fa|Sol|La|Si
|
|
29928
|
+
const $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|$)+/;
|
|
29929
29929
|
const $a5a21ced491ea51f$var$startSectionTags = {
|
|
29930
29930
|
[(0, $dce48cb70c4120bb$export$4b194284baed1659)]: (0, $d21c5c7a462f3c34$export$deca399f8cd9b7dc),
|
|
29931
29931
|
[(0, $dce48cb70c4120bb$export$8db6c706fc9142b2)]: (0, $d21c5c7a462f3c34$export$4f5168acae064e01),
|
|
@@ -30130,7 +30130,7 @@ const $a5a21ced491ea51f$var$endSectionTags = {
|
|
|
30130
30130
|
var $a5a21ced491ea51f$export$2e2bcd8739ae039 = $a5a21ced491ea51f$var$UltimateGuitarParser;
|
|
30131
30131
|
|
|
30132
30132
|
|
|
30133
|
-
var $ae92e002ce14f11a$export$2e2bcd8739ae039 = '15.
|
|
30133
|
+
var $ae92e002ce14f11a$export$2e2bcd8739ae039 = '15.2.1';
|
|
30134
30134
|
|
|
30135
30135
|
|
|
30136
30136
|
|