web-music-score 6.0.0-pre.3 → 6.0.0-pre.4
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/CHANGELOG.md +9 -1
- package/dist/audio/index.js +12 -2
- package/dist/audio/index.mjs +4 -4
- package/dist/audio-cg/index.js +1 -1
- package/dist/audio-cg/index.mjs +4 -4
- package/dist/audio-synth/index.js +1 -1
- package/dist/audio-synth/index.mjs +4 -4
- package/dist/{chunk-7OA6ZYVA.mjs → chunk-6BEFVAAS.mjs} +3 -3
- package/dist/{chunk-S5PIZUF6.mjs → chunk-DVKR62RS.mjs} +14 -4
- package/dist/{chunk-AMTQ5XLI.mjs → chunk-GNCSH24V.mjs} +2 -2
- package/dist/{chunk-QJ3X3GQ6.mjs → chunk-GNFDJFUO.mjs} +2 -2
- package/dist/{chunk-SCF6ZZFQ.mjs → chunk-KFBULED3.mjs} +3 -3
- package/dist/{chunk-TM46RT77.mjs → chunk-UAVXEHYM.mjs} +4 -4
- package/dist/core/index.js +1740 -5
- package/dist/core/index.mjs +8 -14
- package/dist/iife/audio-cg.js +1 -1
- package/dist/iife/index.js +13 -13
- package/dist/{music-objects-DLmp5uL6.d.ts → music-objects-ChAdqdR8.d.ts} +72 -2
- package/dist/pieces/index.d.ts +1 -1
- package/dist/pieces/index.js +1 -1
- package/dist/pieces/index.mjs +2 -2
- package/dist/react-ui/index.d.ts +2 -1
- package/dist/react-ui/index.js +3 -1
- package/dist/react-ui/index.mjs +4 -2
- package/dist/score/index.d.ts +3 -51
- package/dist/score/index.js +707 -596
- package/dist/score/index.mjs +698 -598
- package/dist/theory/index.js +12 -2
- package/dist/theory/index.mjs +4 -4
- package/package.json +5 -4
package/dist/core/index.mjs
CHANGED
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
/* WebMusicScore v6.0.0-pre.
|
|
1
|
+
/* WebMusicScore v6.0.0-pre.4 | (c) 2023-2025 Stefan Brockmann | MIT License | Includes: Tone.js (MIT License), Color Name to Code (MIT License) */
|
|
2
2
|
import {
|
|
3
3
|
MusicError,
|
|
4
4
|
MusicErrorType
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import
|
|
5
|
+
} from "../chunk-KFBULED3.mjs";
|
|
6
|
+
import {
|
|
7
|
+
utils_exports
|
|
8
|
+
} from "../chunk-DVKR62RS.mjs";
|
|
9
|
+
import "../chunk-GNFDJFUO.mjs";
|
|
7
10
|
|
|
8
11
|
// src/core/custom-css.ts
|
|
9
|
-
|
|
10
|
-
if (styleId === "" || styleCss === "") return;
|
|
11
|
-
if (typeof document === "undefined") return;
|
|
12
|
-
if (document.getElementById(styleId)) return;
|
|
13
|
-
const style = document.createElement("style");
|
|
14
|
-
style.id = styleId;
|
|
15
|
-
style.textContent = styleCss;
|
|
16
|
-
document.head.appendChild(style);
|
|
17
|
-
}
|
|
18
|
-
injectCss("wms-custom-css", `
|
|
12
|
+
utils_exports.Dom.injectCss("wms-custom-css", `
|
|
19
13
|
/* Add custom wms-button and wms-button-group styles */
|
|
20
14
|
|
|
21
15
|
.wms-button {
|
|
@@ -104,7 +98,7 @@ function init() {
|
|
|
104
98
|
return;
|
|
105
99
|
}
|
|
106
100
|
initialized = true;
|
|
107
|
-
console.log("%cWebMusicScore v6.0.0-pre.
|
|
101
|
+
console.log("%cWebMusicScore v6.0.0-pre.4 (esm) initialized.", "background: black; color: white; padding: 2px;");
|
|
108
102
|
}
|
|
109
103
|
export {
|
|
110
104
|
MusicError,
|