TIANYONG 1 năm trước cách đây
mục cha
commit
2e017f662f
44 tập tin đã thay đổi với 65 bổ sung77 xóa
  1. 8 8
      dist/colexiu.html
  2. 9 9
      dist/index.html
  3. 9 9
      dist/instrument.html
  4. 0 0
      dist/js/colexiu-b3487558.js
  5. 0 0
      dist/js/colexiu-legacy-3cffbc62.js
  6. 0 0
      dist/js/gym-885af897.js
  7. 0 0
      dist/js/gym-legacy-4e1d27a8.js
  8. 0 0
      dist/js/index-03c74b78.js
  9. 0 0
      dist/js/index-077390d6.js
  10. 0 0
      dist/js/index-1e3036fa.js
  11. 0 0
      dist/js/index-451681c3.js
  12. 0 0
      dist/js/index-4773f373.js
  13. 1 1
      dist/js/index-59ae0608.js
  14. 1 1
      dist/js/index-6c654005.js
  15. 0 0
      dist/js/index-87ca4d71.js
  16. 0 0
      dist/js/index-a90b0163.js
  17. 0 0
      dist/js/index-b4fdea90.js
  18. 0 0
      dist/js/index-legacy-0e749d89.js
  19. 0 0
      dist/js/index-legacy-1b846326.js
  20. 0 0
      dist/js/index-legacy-25690fdd.js
  21. 1 1
      dist/js/index-legacy-32572cd3.js
  22. 0 0
      dist/js/index-legacy-3f48ff11.js
  23. 1 1
      dist/js/index-legacy-579e9a29.js
  24. 0 0
      dist/js/index-legacy-5d73403a.js
  25. 0 0
      dist/js/index-legacy-a32477e7.js
  26. 0 0
      dist/js/index-legacy-a9561e4e.js
  27. 0 0
      dist/js/index-legacy-c81c73b6.js
  28. 0 0
      dist/js/instrument-7a443c17.js
  29. 0 0
      dist/js/instrument-legacy-8dda2a26.js
  30. 0 0
      dist/js/instruments-0d29854c.js
  31. 0 0
      dist/js/instruments-legacy-a08596de.js
  32. 0 0
      dist/js/orchestra-785161b3.js
  33. 0 0
      dist/js/orchestra-legacy-cb14f641.js
  34. 0 0
      dist/js/polyfills-97cd8107.js
  35. 0 0
      dist/js/polyfills-legacy-716eb840.js
  36. 0 0
      dist/js/report-share-b348705e.js
  37. 0 0
      dist/js/report-share-legacy-5f19b382.js
  38. 10 10
      dist/orchestra.html
  39. 5 5
      dist/report-share.html
  40. 1 1
      osmd-extended
  41. 13 26
      src/helpers/customMusicScore.ts
  42. 3 3
      src/helpers/formateMusic.ts
  43. 3 2
      src/state.ts
  44. 0 0
      stats.html

+ 8 - 8
dist/colexiu.html

@@ -2,7 +2,7 @@
 <html lang="en">
 
 <head>
-  <script type="module" crossorigin src="./js/polyfills-9b38b345.js"></script>
+  <script type="module" crossorigin src="./js/polyfills-97cd8107.js"></script>
 
   <meta charset="UTF-8" />
   <link rel="icon" type="image/svg+xml" href="./vite.svg" />
@@ -40,11 +40,11 @@
       },
     })
   </script>
-  <script type="module" crossorigin src="./js/colexiu-71789708.js"></script>
-  <link rel="modulepreload" crossorigin href="./js/index-e7a7cb77.js">
-  <link rel="modulepreload" crossorigin href="./js/index-b09df897.js">
-  <link rel="modulepreload" crossorigin href="./js/index-97baa0c6.js">
-  <link rel="modulepreload" crossorigin href="./js/index-25f5167e.js">
+  <script type="module" crossorigin src="./js/colexiu-b3487558.js"></script>
+  <link rel="modulepreload" crossorigin href="./js/index-a90b0163.js">
+  <link rel="modulepreload" crossorigin href="./js/index-4773f373.js">
+  <link rel="modulepreload" crossorigin href="./js/index-03c74b78.js">
+  <link rel="modulepreload" crossorigin href="./js/index-59ae0608.js">
   <link rel="stylesheet" href="./css/index-14f2d759.css">
   <link rel="stylesheet" href="./css/index-d42b0794.css">
   <link rel="stylesheet" href="./css/colexiu-62f31c4f.css">
@@ -57,8 +57,8 @@
   <img id="loading" class="show" src="./loading.svg" alt="loading" />
   
   <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
-  <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-8891b9b0.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/colexiu-legacy-345f2ef2.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-716eb840.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/colexiu-legacy-3cffbc62.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 
 </html>

+ 9 - 9
dist/index.html

@@ -2,7 +2,7 @@
 <html lang="ZH-cn">
 
 <head>
-  <script type="module" crossorigin src="./js/polyfills-9b38b345.js"></script>
+  <script type="module" crossorigin src="./js/polyfills-97cd8107.js"></script>
 
   <meta charset="UTF-8">
   <link rel="icon" href="./favicon.ico" />
@@ -75,12 +75,12 @@
       }
     })
   </script>
-  <script type="module" crossorigin src="./js/gym-79044fab.js"></script>
-  <link rel="modulepreload" crossorigin href="./js/index-e7a7cb77.js">
-  <link rel="modulepreload" crossorigin href="./js/index-b09df897.js">
-  <link rel="modulepreload" crossorigin href="./js/instruments-6f4dbabd.js">
-  <link rel="modulepreload" crossorigin href="./js/index-fdae193d.js">
-  <link rel="modulepreload" crossorigin href="./js/index-25f5167e.js">
+  <script type="module" crossorigin src="./js/gym-885af897.js"></script>
+  <link rel="modulepreload" crossorigin href="./js/index-a90b0163.js">
+  <link rel="modulepreload" crossorigin href="./js/index-4773f373.js">
+  <link rel="modulepreload" crossorigin href="./js/instruments-0d29854c.js">
+  <link rel="modulepreload" crossorigin href="./js/index-1e3036fa.js">
+  <link rel="modulepreload" crossorigin href="./js/index-59ae0608.js">
   <link rel="modulepreload" crossorigin href="./js/plyr.min-c8c2777b.js">
   <link rel="stylesheet" href="./css/index-14f2d759.css">
   <link rel="stylesheet" href="./css/index-d42b0794.css">
@@ -100,8 +100,8 @@
   <img id="loading" class="show" src="./loading.svg" alt="loading" />
   
   <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
-  <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-8891b9b0.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/gym-legacy-93330afc.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-716eb840.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/gym-legacy-4e1d27a8.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 
 </html>

+ 9 - 9
dist/instrument.html

@@ -2,7 +2,7 @@
 <html lang="en">
 
 <head>
-  <script type="module" crossorigin src="./js/polyfills-9b38b345.js"></script>
+  <script type="module" crossorigin src="./js/polyfills-97cd8107.js"></script>
 
   <meta charset="UTF-8" />
   <meta name="viewport"
@@ -40,12 +40,12 @@
       })
     }
   </script>
-  <script type="module" crossorigin src="./js/instrument-412ccad3.js"></script>
-  <link rel="modulepreload" crossorigin href="./js/index-e7a7cb77.js">
-  <link rel="modulepreload" crossorigin href="./js/index-b09df897.js">
-  <link rel="modulepreload" crossorigin href="./js/index-97baa0c6.js">
-  <link rel="modulepreload" crossorigin href="./js/instruments-6f4dbabd.js">
-  <link rel="modulepreload" crossorigin href="./js/index-6f26b5e4.js">
+  <script type="module" crossorigin src="./js/instrument-7a443c17.js"></script>
+  <link rel="modulepreload" crossorigin href="./js/index-a90b0163.js">
+  <link rel="modulepreload" crossorigin href="./js/index-4773f373.js">
+  <link rel="modulepreload" crossorigin href="./js/index-03c74b78.js">
+  <link rel="modulepreload" crossorigin href="./js/instruments-0d29854c.js">
+  <link rel="modulepreload" crossorigin href="./js/index-451681c3.js">
   <link rel="stylesheet" href="./css/index-14f2d759.css">
   <link rel="stylesheet" href="./css/index-d42b0794.css">
   <link rel="stylesheet" href="./css/instrument-87e75e39.css">
@@ -66,8 +66,8 @@
 
   
   <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
-  <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-8891b9b0.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/instrument-legacy-1686bb1b.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-716eb840.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/instrument-legacy-8dda2a26.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 
 </html>

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/colexiu-b3487558.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/colexiu-legacy-3cffbc62.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/gym-885af897.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/gym-legacy-4e1d27a8.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-03c74b78.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-077390d6.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-1e3036fa.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-451681c3.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-4773f373.js


+ 1 - 1
dist/js/index-25f5167e.js → dist/js/index-59ae0608.js

@@ -1 +1 @@
-import{d,l as i,n as p,m as e,w as o,f as r,L as a}from"./index-e7a7cb77.js";const c=d({name:"measureSpeed",setup(){const s=i(!1),t=p({speed:e.speed,originSpeed:e.originSpeed});return o(()=>e.section.length,()=>{if(e.modeType==="practise"){if(!s.value&&e.section.length===2){s.value=!0,t.speed=e.speed;const n=e.section[0].beatSpeed;e.originSpeed=n,a(n)}s.value&&e.section.length===0&&(s.value=!1,e.originSpeed=t.originSpeed,a(t.speed))}}),()=>r("div",null,null)}});export{c as M};
+import{d,l as i,n as p,m as e,w as o,f as r,L as a}from"./index-a90b0163.js";const c=d({name:"measureSpeed",setup(){const s=i(!1),t=p({speed:e.speed,originSpeed:e.originSpeed});return o(()=>e.section.length,()=>{if(e.modeType==="practise"){if(!s.value&&e.section.length===2){s.value=!0,t.speed=e.speed;const n=e.section[0].beatSpeed;e.originSpeed=n,a(n)}s.value&&e.section.length===0&&(s.value=!1,e.originSpeed=t.originSpeed,a(t.speed))}}),()=>r("div",null,null)}});export{c as M};

+ 1 - 1
dist/js/index-12428808.js → dist/js/index-6c654005.js

@@ -1 +1 @@
-import{d as i,g as l,n as d,cV as e,c,m as r,f as s,ai as u}from"./index-e7a7cb77.js";const f="_skeleton_vtlsh_1",m="_detail_vtlsh_12",p="_container_vtlsh_20",a={skeleton:f,detail:m,container:p},y=i({name:"music-list",setup(){const n=l(),t=d({isLoading:!0,isProductLoading:!1,product:[{state:!1,name:"五线谱",type:e.staff,base64:""},{state:!1,name:"首调",type:e.firstTone,base64:""},{state:!1,name:"固定调",type:e.fixedTone,base64:""}]});c(()=>{window.appName="colexiu",r.xmlUrl=n.xmlUrl,t.isLoading=!1});const o=async()=>{console.log("渲染完成")};return()=>s("div",{class:a.detail},[s("div",{id:"scrollContainer",class:[a.container,"hideCursor"]},[!t.isLoading&&s(u,{onRendered:o},null)])])}});export{y as default};
+import{d as i,g as l,n as d,cV as e,c,m as r,f as s,ai as u}from"./index-a90b0163.js";const f="_skeleton_vtlsh_1",m="_detail_vtlsh_12",p="_container_vtlsh_20",a={skeleton:f,detail:m,container:p},y=i({name:"music-list",setup(){const n=l(),t=d({isLoading:!0,isProductLoading:!1,product:[{state:!1,name:"五线谱",type:e.staff,base64:""},{state:!1,name:"首调",type:e.firstTone,base64:""},{state:!1,name:"固定调",type:e.fixedTone,base64:""}]});c(()=>{window.appName="colexiu",r.xmlUrl=n.xmlUrl,t.isLoading=!1});const o=async()=>{console.log("渲染完成")};return()=>s("div",{class:a.detail},[s("div",{id:"scrollContainer",class:[a.container,"hideCursor"]},[!t.isLoading&&s(u,{onRendered:o},null)])])}});export{y as default};

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-87ca4d71.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-a90b0163.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-b4fdea90.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-legacy-0e749d89.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-legacy-1b846326.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-legacy-25690fdd.js


+ 1 - 1
dist/js/index-legacy-aee87cae.js → dist/js/index-legacy-32572cd3.js

@@ -1 +1 @@
-System.register(["./index-legacy-54b04ed6.js"],(function(e,n){"use strict";var i,t,s,d,r,p,o;return{setters:[e=>{i=e.d,t=e.l,s=e.n,d=e.m,r=e.w,p=e.f,o=e.L}],execute:function(){e("M",i({name:"measureSpeed",setup(){const e=t(!1),n=s({speed:d.speed,originSpeed:d.originSpeed});return r((()=>d.section.length),(()=>{if("practise"===d.modeType){if(!e.value&&2===d.section.length){e.value=!0,n.speed=d.speed;const i=d.section[0].beatSpeed;d.originSpeed=i,o(i)}e.value&&0===d.section.length&&(e.value=!1,d.originSpeed=n.originSpeed,o(n.speed))}})),()=>p("div",null,null)}}))}}}));
+System.register(["./index-legacy-a32477e7.js"],(function(e,n){"use strict";var i,t,s,d,r,p,o;return{setters:[e=>{i=e.d,t=e.l,s=e.n,d=e.m,r=e.w,p=e.f,o=e.L}],execute:function(){e("M",i({name:"measureSpeed",setup(){const e=t(!1),n=s({speed:d.speed,originSpeed:d.originSpeed});return r((()=>d.section.length),(()=>{if("practise"===d.modeType){if(!e.value&&2===d.section.length){e.value=!0,n.speed=d.speed;const i=d.section[0].beatSpeed;d.originSpeed=i,o(i)}e.value&&0===d.section.length&&(e.value=!1,d.originSpeed=n.originSpeed,o(n.speed))}})),()=>p("div",null,null)}}))}}}));

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-legacy-3f48ff11.js


+ 1 - 1
dist/js/index-legacy-73642f03.js → dist/js/index-legacy-579e9a29.js

@@ -1 +1 @@
-System.register(["./index-legacy-54b04ed6.js"],(function(e,t){"use strict";var i,n,a,o,r,s,d,l,c=document.createElement("style");return c.textContent="._skeleton_vtlsh_1{position:fixed;left:0;top:0;width:100vw;height:100vh;padding:.53333rem .8rem;background-color:#fff;z-index:1000;--van-skeleton-paragraph-height: .8rem}._detail_vtlsh_12{width:100vw;height:100vh;overflow:hidden;overflow-y:auto;--header-height: 1.65333rem;background:var(--container-background)}._detail_vtlsh_12 ._container_vtlsh_20{margin:0 .26667rem;border-radius:.26667rem}._detail_vtlsh_12 #musicAndSelection{overflow:initial!important;height:initial!important;max-height:initial!important}\n",document.head.appendChild(c),{setters:[e=>{i=e.d,n=e.g,a=e.n,o=e.cV,r=e.c,s=e.m,d=e.f,l=e.ai}],execute:function(){const t="_detail_vtlsh_12",c="_container_vtlsh_20";e("default",i({name:"music-list",setup(){const e=n(),i=a({isLoading:!0,isProductLoading:!1,product:[{state:!1,name:"五线谱",type:o.staff,base64:""},{state:!1,name:"首调",type:o.firstTone,base64:""},{state:!1,name:"固定调",type:o.fixedTone,base64:""}]});r((()=>{window.appName="colexiu",s.xmlUrl=e.xmlUrl,i.isLoading=!1}));const h=async()=>{console.log("渲染完成")};return()=>d("div",{class:t},[d("div",{id:"scrollContainer",class:[c,"hideCursor"]},[!i.isLoading&&d(l,{onRendered:h},null)])])}}))}}}));
+System.register(["./index-legacy-a32477e7.js"],(function(e,t){"use strict";var i,n,a,o,r,s,d,l,c=document.createElement("style");return c.textContent="._skeleton_vtlsh_1{position:fixed;left:0;top:0;width:100vw;height:100vh;padding:.53333rem .8rem;background-color:#fff;z-index:1000;--van-skeleton-paragraph-height: .8rem}._detail_vtlsh_12{width:100vw;height:100vh;overflow:hidden;overflow-y:auto;--header-height: 1.65333rem;background:var(--container-background)}._detail_vtlsh_12 ._container_vtlsh_20{margin:0 .26667rem;border-radius:.26667rem}._detail_vtlsh_12 #musicAndSelection{overflow:initial!important;height:initial!important;max-height:initial!important}\n",document.head.appendChild(c),{setters:[e=>{i=e.d,n=e.g,a=e.n,o=e.cV,r=e.c,s=e.m,d=e.f,l=e.ai}],execute:function(){const t="_detail_vtlsh_12",c="_container_vtlsh_20";e("default",i({name:"music-list",setup(){const e=n(),i=a({isLoading:!0,isProductLoading:!1,product:[{state:!1,name:"五线谱",type:o.staff,base64:""},{state:!1,name:"首调",type:o.firstTone,base64:""},{state:!1,name:"固定调",type:o.fixedTone,base64:""}]});r((()=>{window.appName="colexiu",s.xmlUrl=e.xmlUrl,i.isLoading=!1}));const h=async()=>{console.log("渲染完成")};return()=>d("div",{class:t},[d("div",{id:"scrollContainer",class:[c,"hideCursor"]},[!i.isLoading&&d(l,{onRendered:h},null)])])}}))}}}));

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-legacy-5d73403a.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-legacy-a32477e7.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-legacy-a9561e4e.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/index-legacy-c81c73b6.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/instrument-7a443c17.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/instrument-legacy-8dda2a26.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/instruments-0d29854c.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/instruments-legacy-a08596de.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/orchestra-785161b3.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/orchestra-legacy-cb14f641.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/polyfills-97cd8107.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/polyfills-legacy-716eb840.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/report-share-b348705e.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/report-share-legacy-5f19b382.js


+ 10 - 10
dist/orchestra.html

@@ -2,7 +2,7 @@
 <html lang="en">
 
 <head>
-  <script type="module" crossorigin src="./js/polyfills-9b38b345.js"></script>
+  <script type="module" crossorigin src="./js/polyfills-97cd8107.js"></script>
 
   <meta charset="UTF-8" />
   <!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
@@ -41,13 +41,13 @@
       transition: opacity .3s;
     }
   </style>
-  <script type="module" crossorigin src="./js/orchestra-eba37e58.js"></script>
-  <link rel="modulepreload" crossorigin href="./js/index-e7a7cb77.js">
-  <link rel="modulepreload" crossorigin href="./js/index-b09df897.js">
-  <link rel="modulepreload" crossorigin href="./js/index-97baa0c6.js">
-  <link rel="modulepreload" crossorigin href="./js/index-fdae193d.js">
-  <link rel="modulepreload" crossorigin href="./js/index-25f5167e.js">
-  <link rel="modulepreload" crossorigin href="./js/index-6f26b5e4.js">
+  <script type="module" crossorigin src="./js/orchestra-785161b3.js"></script>
+  <link rel="modulepreload" crossorigin href="./js/index-a90b0163.js">
+  <link rel="modulepreload" crossorigin href="./js/index-4773f373.js">
+  <link rel="modulepreload" crossorigin href="./js/index-03c74b78.js">
+  <link rel="modulepreload" crossorigin href="./js/index-1e3036fa.js">
+  <link rel="modulepreload" crossorigin href="./js/index-59ae0608.js">
+  <link rel="modulepreload" crossorigin href="./js/index-451681c3.js">
   <link rel="stylesheet" href="./css/index-14f2d759.css">
   <link rel="stylesheet" href="./css/index-d42b0794.css">
   <link rel="stylesheet" href="./css/index-85f95688.css">
@@ -72,8 +72,8 @@
   </script>
   
   <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
-  <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-8891b9b0.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/orchestra-legacy-e76ee2a9.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-716eb840.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/orchestra-legacy-cb14f641.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 
 </html>

+ 5 - 5
dist/report-share.html

@@ -2,7 +2,7 @@
 <html lang="en">
 
 <head>
-  <script type="module" crossorigin src="./js/polyfills-9b38b345.js"></script>
+  <script type="module" crossorigin src="./js/polyfills-97cd8107.js"></script>
 
   <meta charset="UTF-8" />
   <!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
@@ -25,8 +25,8 @@
       transition: opacity .3s;
     }
   </style>
-  <script type="module" crossorigin src="./js/report-share-a2ad6dd6.js"></script>
-  <link rel="modulepreload" crossorigin href="./js/index-e7a7cb77.js">
+  <script type="module" crossorigin src="./js/report-share-b348705e.js"></script>
+  <link rel="modulepreload" crossorigin href="./js/index-a90b0163.js">
   <link rel="modulepreload" crossorigin href="./js/plyr.min-c8c2777b.js">
   <link rel="stylesheet" href="./css/index-14f2d759.css">
   <link rel="stylesheet" href="./css/plyr-ad8ef5ae.css">
@@ -51,8 +51,8 @@
   </script>
   
   <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
-  <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-8891b9b0.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/report-share-legacy-861abaae.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-716eb840.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/report-share-legacy-5f19b382.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 
 </html>

+ 1 - 1
osmd-extended

@@ -1 +1 @@
-Subproject commit a66f3376a9e2aef0048bcf812ef5240d6ec3b847
+Subproject commit 4e2e9dce29b9bf1b8a49f50452e231444512ee0e

+ 13 - 26
src/helpers/customMusicScore.ts

@@ -189,43 +189,30 @@ export const moveGracePosition = (needTrans?: boolean) => {
 			// }
 		} else {
 			// vf-auto2172 , vf-auto2384
-			const signatureDom = document.getElementById('auto2784'), fixedSigntureDom = document.getElementById('auto3022');
-			const signatureDom2 = document.getElementById('auto2744'),fixedSigntureDom2 = document.getElementById('auto2978');
-			const needTransLateDom: any = document.getElementById('vf-auto2178')?.getElementsByClassName('vf-modifier')?.[0], fixednNeedTransLateDom: any = document.getElementById('vf-auto2390')?.getElementsByClassName('vf-modifier')?.[0];
-			const arrowDom = document.getElementById('vf-auto2178-lines'), fixedArrowDom = document.getElementById('vf-auto2390-lines');
+			const signatureDom = document.getElementById('auto2670');
+			const signatureDom2 = document.getElementById('auto2710');
 
-			const needTransLateDom2: any = document.getElementById('vf-auto2172')?.getElementsByClassName('vf-modifier')?.[0], fixednNeedTransLateDom2: any = document.getElementById('vf-auto2384')?.getElementsByClassName('vf-modifier')?.[0];
-			const arrowDom2 = document.getElementById('vf-auto2172-lines'), fixedArrowDom2 = document.getElementById('vf-auto2384-lines');	
-			
-			const needTransLateDom3: any = document.getElementById('vf-auto1589')?.getElementsByClassName('vf-modifier')?.[0];
-			const arrowDom3 = document.getElementById('vf-auto1589-lines');
+			const needTransLateDom: any = state.cbsExamSongId == '1789839575249596417' && document.getElementById('vf-auto1554')?.getElementsByClassName('vf-modifier')?.[0];
+			const arrowDom = state.cbsExamSongId == '1789839575249596417' && document.getElementById('vf-auto1554-lines');
 
-			// const targetIdx = ['1788502467554750466','1788501975122489346'].includes(state.cbsExamSongId) ? 29 : 17;
-			// const targetNeedTransLateDom: any = document.querySelectorAll('.vf-measure')?.[targetIdx]?.getElementsByClassName('vf-stavenote')?.[1]?.getElementsByClassName('vf-modifier')?.[0];
-			// const targetId = document.querySelectorAll('.vf-measure')?.[targetIdx]?.getElementsByClassName('vf-stavenote')?.[1]?.getAttribute('id');
-			// const targetArrowDom = document.getElementById(targetId + '-lines');
-			// // console.log(123456,targetArrowDom)
-			// if (targetNeedTransLateDom) targetNeedTransLateDom.style.transform = 'translateX(-0.65rem)';
-			// if (targetArrowDom) targetArrowDom.style.transform = 'translateX(-0.65rem)';
+			const needTransLateDom2: any = state.cbsExamSongId == '1788501975122489346' && document.getElementById('vf-auto2116')?.getElementsByClassName('vf-modifier')?.[0];
+			const arrowDom2 = state.cbsExamSongId == '1788501975122489346' && document.getElementById('vf-auto2116-lines');	
+			
+			const needTransLateDom3: any = state.cbsExamSongId == '1788502467554750466' && document.getElementById('vf-auto2122')?.getElementsByClassName('vf-modifier')?.[0];
+			const arrowDom3 = state.cbsExamSongId == '1788502467554750466' && document.getElementById('vf-auto2122-lines');
 
 			if (signatureDom) signatureDom.style.display = 'none';
-			if (fixedSigntureDom) fixedSigntureDom.style.display = 'none';
 			if (signatureDom2) signatureDom2.style.display = 'none';
-			if (fixedSigntureDom2) fixedSigntureDom2.style.display = 'none';
 			if (needTransLateDom) needTransLateDom.style.transform = 'translateX(-0.65rem)';
-			if (fixednNeedTransLateDom) fixednNeedTransLateDom.style.transform = 'translateX(-0.65rem)';
-			if (needTransLateDom2) needTransLateDom2.style.transform = 'translateX(-1rem)';
-			if (fixednNeedTransLateDom2) fixednNeedTransLateDom2.style.transform = 'translateX(-1rem)';
+			if (needTransLateDom2) needTransLateDom2.style.transform = 'translateX(-0.65rem)';
 			if (needTransLateDom3) needTransLateDom3.style.transform = 'translateX(-0.65rem)';
 
 			if (arrowDom) arrowDom.style.transform = 'translateX(-0.65rem)';
-			if (fixedArrowDom) fixedArrowDom.style.transform = 'translateX(-0.65rem)';
-			if (arrowDom2) arrowDom2.style.transform = 'translateX(-1rem)';
-			if (fixedArrowDom2) fixedArrowDom2.style.transform = 'translateX(-1rem)';
+			if (arrowDom2) arrowDom2.style.transform = 'translateX(-0.65rem)';
 			if (arrowDom3) arrowDom3.style.transform = 'translateX(-0.65rem)';
 
-			if (arrowDom || fixedArrowDom || arrowDom2 || fixedArrowDom2 || arrowDom3) {
-				const path: any = arrowDom ? arrowDom.querySelector('path') : fixedArrowDom ? fixedArrowDom.querySelector('path') : arrowDom2 ? arrowDom2.querySelector('path') : fixedArrowDom2 ? fixedArrowDom2.querySelector('path') : arrowDom3 ? arrowDom3.querySelector('path') : null;
+			if (arrowDom || arrowDom2 || arrowDom3) {
+				const path: any = arrowDom ? arrowDom.querySelector('path') : arrowDom2 ? arrowDom2.querySelector('path') : arrowDom3 ? arrowDom3.querySelector('path') : null;
 				let d = path?.getAttribute("d");
 				if (d) {
 					const patchStr = d.split('L')?.last()?.split(" ")?.[0];

+ 3 - 3
src/helpers/formateMusic.ts

@@ -1014,13 +1014,13 @@ export const formateTimes = (osmd: OpenSheetMusicDisplay) => {
 			 * TODO:摇篮曲-人音-排箫(1788501975122489346),第12小节音符持续时间特殊处理
 			*/
 			if (['1788501975122489346','1788502467554750466'].includes(state.cbsExamSongId)) {
-				if (i == 20) {
+				if (i == 13) {
 					noteLength = noteLength / 2;
 				}
-				if (i == 51) {
+				if (i == 44) {
 					noteLength = noteLength * 6;
 				}
-				if (i == 63) {
+				if (i == 56) {
 					noteLength = noteLength * 4;
 				}
 			}

+ 3 - 2
src/state.ts

@@ -789,20 +789,21 @@ const setCursorPosition = (note: any, cursor: any, flag?: string) => {
         let patchX = 0;
         if (state.cbsExamSongId == '1788502467554750466') {
           if (state.musicRenderType === EnumMusicRenderType.firstTone) {
-            patchX = (note.i == 0 || note.i == 67) ? 21 : (note.i == 8 || note.i == 59 || note.i == 65) ? -6 : (note.i == 9 || note.i == 10 || note.i == 12 || note.i == 13) ? 3 : (note.i == 14 || note.i == 30 || note.i == 45 || note.i == 51) ? -8 : (note.i >= 15 || note.i <= 29) || (note.i >= 31 || note.i <= 36) || (note.i >= 38 || note.i <= 44) || (note.i >= 46 || note.i <= 50) || (note.i >= 52 || note.i <= 58) || (note.i >= 60 || note.i <= 64) || (note.i == 66) ? 4 : 0;
+            patchX = (note.i == 0 || note.i == 60) ? 21 : (note.i == 1 || note.i == 7 || note.i == 23 || note.i == 38 || note.i == 44 || note.i == 52 || note.i == 58) ? -6 : (note.i >= 2 || note.i <= 6) || (note.i >= 8 || note.i <= 22) || (note.i >= 24 || note.i <= 37) || (note.i >= 39 || note.i <= 43) || (note.i >= 45 || note.i <= 51) || (note.i >= 53 || note.i <= 57) || (note.i == 59) ? 6 : 0;
           }
           if (state.musicRenderType === EnumMusicRenderType.fixedTone) {
             patchX = note.i == 0 ? 31 : (note.i == 8 || note.i == 14 || note.i == 30 || note.i == 45 || note.i == 51 || note.i == 59 || note.i == 65) ? -10 : note.i == 67 ? 31 : 0;
           }
         } else if (state.cbsExamSongId == '1788501975122489346') {
           if (state.musicRenderType === EnumMusicRenderType.firstTone) {
-            patchX = note.i == 0 ? 21 : (note.i == 8 || note.i == 59 || note.i == 65) ? -6 : (note.i == 9 || note.i == 10 || note.i == 12 || note.i == 13) ? 3 : (note.i == 14 || note.i == 30 || note.i == 45 || note.i == 51) ? -8 : (note.i >= 15 || note.i <= 29) || (note.i >= 31 || note.i <= 36) || (note.i >= 38 || note.i <= 44) || (note.i >= 46 || note.i <= 50) || (note.i >= 52 || note.i <= 58) || (note.i >= 60 || note.i <= 64) || (note.i == 66) ? 4 : 0;
+            patchX = (note.i == 0) ? 21 : (note.i == 1 || note.i == 7 || note.i == 23 || note.i == 38 || note.i == 44 || note.i == 52 || note.i == 58) ? -6 : (note.i == 9 || note.i == 10 || note.i == 12 || note.i == 13) ? 3 : (note.i == 14 || note.i == 30 || note.i == 45 || note.i == 51 || note.i == 59) ? 6 : (note.i == 45) ? -8 : (note.i >= 15 || note.i <= 29) || (note.i >= 31 || note.i <= 36) || (note.i >= 38 || note.i <= 44) || (note.i >= 46 || note.i <= 50) || (note.i >= 52 || note.i <= 58) || (note.i >= 60 || note.i <= 64) || (note.i == 66) ? 4 : 0;
           }
           if (state.musicRenderType === EnumMusicRenderType.fixedTone) {
             patchX = note.i == 0 ? 31 : (note.i == 8 || note.i == 14 || note.i == 30 || note.i == 45 || note.i == 51 || note.i == 59 || note.i == 65) ? -10 : note.i == 67 ? 31 : 0;
           }
         }
         if (flag === 'refresh' || (flag === 'init' && !state.specialPosInit)) {
+          // console.log('音符idx',note?.i,cursor.cursorElement.style.left)
           cursor.cursorElement.style.left = cursorLeft + patchX + "px";
           state.specialPosInit = true;
         }

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
stats.html


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác