liushengqiang 2 vuotta sitten
vanhempi
commit
3aef850018

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index-6398db19.js


+ 1 - 1
dist/assets/index-f4025f73.js → dist/assets/index-651d0e15.js

@@ -1 +1 @@
-import{d as g,F as w,V as y,bm as i,M as h,U as r,ao as v,j as c,aJ as b,aq as _}from"./index-a7682afc.js";import{s as T}from"./instrument-767d5798.js";import"./index-c26035eb.js";import"./vue3-lottie.es-b19805d9.js";import"./index-27f94019.js";import"./index-1cff6b58.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(),e=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,e.isLoading=!1,v({message:"生成中",duration:0})});const m=async()=>{var o;const s=e.product.find(n=>n.type===r.musicRenderType);if(!s)return;s.state=!0,s.base64=await p();const t=e.product.find(n=>!n.state);if(t){r.musicRenderType=t.type,e.isLoading=!0,setTimeout(()=>e.isLoading=!1,500);return}_(),console.log(e.product),(o=window.parent)==null||o.postMessage({api:"webApi_renderSvg",product:JSON.stringify(e.product)},"*")},p=()=>new Promise(s=>{setTimeout(async()=>{var d;const t=(d=document.getElementById("osmdSvgPage1"))==null?void 0:d.cloneNode(!0);if(!t){s("");return}const o=t.width.animVal.value,n=t.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"),t.prepend(a);const f=T(t.outerHTML).toDataURL("image/png",1);s(f)},500)});return()=>c("div",{class:l.detail},[c("div",{id:"scrollContainer",class:[l.container,"hideCursor"]},[!e.isLoading&&c(b,{showSelection:!1,onRendered:m},null)])])}});export{k as default};
+import{d as g,F as w,V as y,bm as i,M as h,U as r,ao as v,j as c,aJ as b,aq as _}from"./index-a7682afc.js";import{s as T}from"./instrument-6a2a8cd6.js";import"./index-c26035eb.js";import"./vue3-lottie.es-b19805d9.js";import"./index-27f94019.js";import"./index-1cff6b58.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(),e=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,e.isLoading=!1,v({message:"生成中",duration:0})});const m=async()=>{var o;const s=e.product.find(n=>n.type===r.musicRenderType);if(!s)return;s.state=!0,s.base64=await p();const t=e.product.find(n=>!n.state);if(t){r.musicRenderType=t.type,e.isLoading=!0,setTimeout(()=>e.isLoading=!1,500);return}_(),console.log(e.product),(o=window.parent)==null||o.postMessage({api:"webApi_renderSvg",product:JSON.stringify(e.product)},"*")},p=()=>new Promise(s=>{setTimeout(async()=>{var d;const t=(d=document.getElementById("osmdSvgPage1"))==null?void 0:d.cloneNode(!0);if(!t){s("");return}const o=t.width.animVal.value,n=t.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"),t.prepend(a);const f=T(t.outerHTML).toDataURL("image/png",1);s(f)},500)});return()=>c("div",{class:l.detail},[c("div",{id:"scrollContainer",class:[l.container,"hideCursor"]},[!e.isLoading&&c(b,{showSelection:!1,onRendered:m},null)])])}});export{k as default};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index-legacy-11adb1b0.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index-legacy-89a4b75b.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/instrument-6a2a8cd6.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/instrument-legacy-836115c4.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/polyfills-legacy-b0597db4.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-34b491dc.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-b0597db4.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/colexiu-legacy-e2524b54.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-34b491dc.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-b0597db4.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-79aaa9de.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-767d5798.js"></script>
+  <script type="module" crossorigin src="./assets/instrument-6a2a8cd6.js"></script>
   <link rel="modulepreload" crossorigin href="./assets/index-a7682afc.js">
   <link rel="modulepreload" crossorigin href="./assets/index-c26035eb.js">
   <link rel="modulepreload" crossorigin href="./assets/vue3-lottie.es-b19805d9.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-34b491dc.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/instrument-legacy-3ed9074a.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-b0597db4.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/instrument-legacy-836115c4.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-34b491dc.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-b0597db4.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/orchestra-legacy-db6ec3b2.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-34b491dc.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-b0597db4.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/report-share-legacy-1d750746.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä