liushengqiang hai 1 ano
pai
achega
836778ebbd

+ 1 - 0
dist/assets/index-055cfcd5.js

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

+ 0 - 1
dist/assets/index-55c76cd6.js

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

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/assets/index-f1b32d19.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/assets/index-legacy-89a79221.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/assets/index-legacy-b2a316c3.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/assets/instrument-60f12b66.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/assets/instrument-legacy-848a3720.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/assets/polyfills-29ca1295.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/assets/polyfills-legacy-f3f8346b.js


+ 2 - 2
dist/colexiu.html

@@ -2,7 +2,7 @@
 <html lang="en">
 
 <head>
-  <script type="module" crossorigin src="./assets/polyfills-80e475eb.js"></script>
+  <script type="module" crossorigin src="./assets/polyfills-29ca1295.js"></script>
 
   <meta charset="UTF-8" />
   <link rel="icon" type="image/svg+xml" href="./vite.svg" />
@@ -57,7 +57,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-595f5263.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-f3f8346b.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/colexiu-legacy-88c545ae.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 

+ 2 - 2
dist/index.html

@@ -2,7 +2,7 @@
 <html lang="ZH-cn">
 
 <head>
-  <script type="module" crossorigin src="./assets/polyfills-80e475eb.js"></script>
+  <script type="module" crossorigin src="./assets/polyfills-29ca1295.js"></script>
 
   <meta charset="UTF-8">
   <link rel="icon" href="./favicon.ico" />
@@ -100,7 +100,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-595f5263.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-f3f8346b.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-13b4f3f0.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 

+ 4 - 4
dist/instrument.html

@@ -2,7 +2,7 @@
 <html lang="en">
 
 <head>
-  <script type="module" crossorigin src="./assets/polyfills-80e475eb.js"></script>
+  <script type="module" crossorigin src="./assets/polyfills-29ca1295.js"></script>
 
   <meta charset="UTF-8" />
   <meta name="viewport"
@@ -38,7 +38,7 @@
       },
     })
   </script>
-  <script type="module" crossorigin src="./assets/instrument-1e00fcee.js"></script>
+  <script type="module" crossorigin src="./assets/instrument-60f12b66.js"></script>
   <link rel="modulepreload" crossorigin href="./assets/index-2725ae47.js">
   <link rel="modulepreload" crossorigin href="./assets/vue3-lottie.es-890c3e19.js">
   <link rel="modulepreload" crossorigin href="./assets/index-a20d6e07.js">
@@ -56,8 +56,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-595f5263.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/instrument-legacy-00f6cfe0.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-f3f8346b.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/instrument-legacy-848a3720.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 
 </html>

+ 2 - 2
dist/orchestra.html

@@ -2,7 +2,7 @@
 <html lang="en">
 
 <head>
-  <script type="module" crossorigin src="./assets/polyfills-80e475eb.js"></script>
+  <script type="module" crossorigin src="./assets/polyfills-29ca1295.js"></script>
 
   <meta charset="UTF-8" />
   <!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
@@ -72,7 +72,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-595f5263.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-f3f8346b.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/orchestra-legacy-32bfbfa3.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 

+ 2 - 2
dist/report-share.html

@@ -2,7 +2,7 @@
 <html lang="en">
 
 <head>
-  <script type="module" crossorigin src="./assets/polyfills-80e475eb.js"></script>
+  <script type="module" crossorigin src="./assets/polyfills-29ca1295.js"></script>
 
   <meta charset="UTF-8" />
   <!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
@@ -51,7 +51,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-595f5263.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-f3f8346b.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/report-share-legacy-c1e600dc.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio