liushengqiang 2 年之前
父节点
当前提交
0f7a8a2cb9

文件差异内容过多而无法显示
+ 0 - 0
dist/assets/index-04d4d1a0.js


+ 0 - 1
dist/assets/index-1a9025ee.js

@@ -1 +0,0 @@
-import{d as g,F as w,V as y,bt as i,M as h,U as r,ao as v,j as c,aJ as b,aq as _}from"./index-2ae071fb.js";import{s as T}from"./instrument-722ec6dc.js";import"./vue3-lottie.es-ff8de5cc.js";import"./index-66fcf207.js";import"./index-9bbdfecc.js";import"./index-f6831e69.js";const L="_skeleton_vtlsh_1",x="_detail_vtlsh_12",R="_container_vtlsh_20",l={skeleton:L,detail:x,container:R},k=g({name:"music-list",setup(){const u=w(),t=y({isLoading:!0,isProductLoading:!1,product:[{state:!1,name:"五线谱",type:i.staff,base64:""},{state:!1,name:"首调",type:i.firstTone,base64:""},{state:!1,name:"固定调",type:i.fixedTone,base64:""}]});h(()=>{window.appName="colexiu",r.xmlUrl=u.xmlUrl,r.musicRenderType=i.staff,t.isLoading=!1,v({message:"生成中",duration:0})});const m=async()=>{var o;const s=t.product.find(n=>n.type===r.musicRenderType);s&&(s.state=!0,s.base64=await p());const e=t.product.find(n=>!n.state);if(!s&&e&&(e.state=!0),e){r.musicRenderType=e.type,t.isLoading=!0,setTimeout(()=>t.isLoading=!1,500);return}_(),console.log(t.product),(o=window.parent)==null||o.postMessage({api:"webApi_renderSvg",product:JSON.stringify(t.product)},"*")},p=()=>new Promise(s=>{setTimeout(async()=>{var d;const e=(d=document.getElementById("osmdSvgPage1"))==null?void 0:d.cloneNode(!0);if(!e){s("");return}const o=e.width.animVal.value,n=e.height.animVal.value,a=document.createElementNS("http://www.w3.org/2000/svg","rect");a.setAttribute("x","0"),a.setAttribute("y","0"),a.setAttribute("width",`${o*2}`),a.setAttribute("height",`${n*2}`),a.setAttribute("fill","#fff"),e.prepend(a);const f=T(e.outerHTML).toDataURL("image/png",1);s(f)},500)});return()=>c("div",{class:l.detail},[c("div",{id:"scrollContainer",class:[l.container,"hideCursor"]},[!t.isLoading&&c(b,{showSelection:!1,onRendered:m},null)])])}});export{k as default};

+ 1 - 0
dist/assets/index-7f55526b.js

@@ -0,0 +1 @@
+import{d as g,F as y,V as w,bt as i,M as h,U as r,ao as v,j as c,aJ as b,aq as _}from"./index-2ae071fb.js";import{s as T}from"./instrument-ac8f4843.js";import"./vue3-lottie.es-ff8de5cc.js";import"./index-66fcf207.js";import"./index-9bbdfecc.js";import"./index-f6831e69.js";const L="_skeleton_vtlsh_1",x="_detail_vtlsh_12",R="_container_vtlsh_20",d={skeleton:L,detail:x,container:R},k=g({name:"music-list",setup(){const l=y(),t=w({isLoading:!0,isProductLoading:!1,product:[{state:!1,name:"五线谱",type:i.staff,base64:""},{state:!1,name:"首调",type:i.firstTone,base64:""},{state:!1,name:"固定调",type:i.fixedTone,base64:""}]});h(()=>{window.appName="colexiu",r.xmlUrl=l.xmlUrl,r.musicRenderType=i.staff,t.isLoading=!1,v({message:"生成中",duration:0})});const u=async()=>{var e;const s=t.product.find(o=>o.type===r.musicRenderType);s&&(s.state=!0,s.base64=await m());const a=t.product.find(o=>!o.state);if(!s&&a&&(a.state=!0),a){r.musicRenderType=a.type,t.isLoading=!0,setTimeout(()=>t.isLoading=!1,500);return}_(),console.log(t.product),(e=window.parent)==null||e.postMessage({api:"webApi_renderSvg",product:JSON.stringify(t.product)},"*")},m=()=>new Promise(s=>{setTimeout(async()=>{var a;try{const e=(a=document.getElementById("osmdSvgPage1"))==null?void 0:a.cloneNode(!0);if(!e){s("");return}const o=e.width.animVal.value,p=e.height.animVal.value,n=document.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("x","0"),n.setAttribute("y","0"),n.setAttribute("width",`${o*2}`),n.setAttribute("height",`${p*2}`),n.setAttribute("fill","#fff"),e.prepend(n);const f=T(e.outerHTML).toDataURL("image/png",1);s(f)}catch(e){s("")}},500)});return()=>c("div",{class:d.detail},[c("div",{id:"scrollContainer",class:[d.container,"hideCursor"]},[!t.isLoading&&c(b,{showSelection:!1,onRendered:u},null)])])}});export{k as default};

文件差异内容过多而无法显示
+ 0 - 0
dist/assets/index-legacy-0f32d5e9.js


文件差异内容过多而无法显示
+ 0 - 0
dist/assets/index-legacy-ad564644.js


文件差异内容过多而无法显示
+ 0 - 0
dist/assets/instrument-ac8f4843.js


文件差异内容过多而无法显示
+ 0 - 0
dist/assets/instrument-legacy-faf7cf53.js


文件差异内容过多而无法显示
+ 0 - 0
dist/assets/polyfills-legacy-19284a80.js


+ 1 - 1
dist/colexiu.html

@@ -55,7 +55,7 @@
   <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="./assets/polyfills-legacy-cf0ec598.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-19284a80.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/colexiu-legacy-5b796a31.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 

+ 1 - 1
dist/index.html

@@ -98,7 +98,7 @@
   <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="./assets/polyfills-legacy-cf0ec598.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-19284a80.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-416dd66d.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 

+ 3 - 3
dist/instrument.html

@@ -36,7 +36,7 @@
       },
     })
   </script>
-  <script type="module" crossorigin src="./assets/instrument-722ec6dc.js"></script>
+  <script type="module" crossorigin src="./assets/instrument-ac8f4843.js"></script>
   <link rel="modulepreload" crossorigin href="./assets/index-2ae071fb.js">
   <link rel="modulepreload" crossorigin href="./assets/vue3-lottie.es-ff8de5cc.js">
   <link rel="modulepreload" crossorigin href="./assets/index-66fcf207.js">
@@ -54,8 +54,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="./assets/polyfills-legacy-cf0ec598.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/instrument-legacy-9f40cafd.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-19284a80.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/instrument-legacy-faf7cf53.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 
 </html>

+ 1 - 1
dist/orchestra.html

@@ -70,7 +70,7 @@
   </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="./assets/polyfills-legacy-cf0ec598.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-19284a80.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/orchestra-legacy-5bbb3e58.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 

+ 1 - 1
dist/report-share.html

@@ -49,7 +49,7 @@
   </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="./assets/polyfills-legacy-cf0ec598.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-19284a80.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/report-share-legacy-2d5b5857.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 

部分文件因为文件数量过多而无法显示