liushengqiang 2 年 前
コミット
4031073f78

+ 1 - 1
dist/assets/index-6f230e94.js → dist/assets/index-64e6db8e.js

@@ -1 +1 @@
-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-b56fcef3.js";import{s as T}from"./instrument-63adba84.js";import"./vue3-lottie.es-c99ffd18.js";import"./index-c4b55773.js";import"./index-cefb9b5f.js";import"./index-63c52a6b.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};
+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-b56fcef3.js";import{s as T}from"./instrument-055d9de4.js";import"./vue3-lottie.es-c99ffd18.js";import"./index-c4b55773.js";import"./index-cefb9b5f.js";import"./index-63c52a6b.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};

ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index-f3f73e34.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index-legacy-aa9ff721.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index-legacy-bc9fef47.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/instrument-055d9de4.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/instrument-ab751e41.css


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/instrument-legacy-d3aa4719.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/polyfills-legacy-1cb74383.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-8e68898a.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-1cb74383.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/colexiu-legacy-fbaa96fc.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-8e68898a.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-1cb74383.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-bbfa9a76.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 

+ 4 - 4
dist/instrument.html

@@ -36,7 +36,7 @@
       },
     })
   </script>
-  <script type="module" crossorigin src="./assets/instrument-63adba84.js"></script>
+  <script type="module" crossorigin src="./assets/instrument-055d9de4.js"></script>
   <link rel="modulepreload" crossorigin href="./assets/index-b56fcef3.js">
   <link rel="modulepreload" crossorigin href="./assets/vue3-lottie.es-c99ffd18.js">
   <link rel="modulepreload" crossorigin href="./assets/index-c4b55773.js">
@@ -44,7 +44,7 @@
   <link rel="modulepreload" crossorigin href="./assets/index-63c52a6b.js">
   <link rel="stylesheet" href="./assets/index-4cfc339c.css">
   <link rel="stylesheet" href="./assets/index-c7a13191.css">
-  <link rel="stylesheet" href="./assets/instrument-dde3db65.css">
+  <link rel="stylesheet" href="./assets/instrument-ab751e41.css">
   <script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
   <script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
 </head>
@@ -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-8e68898a.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/instrument-legacy-718554a8.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-1cb74383.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/instrument-legacy-d3aa4719.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-8e68898a.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-1cb74383.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/orchestra-legacy-64721d77.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-8e68898a.js"></script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-1cb74383.js"></script>
   <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/report-share-legacy-069065fb.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません