@vyr/cli 0.0.21 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/.entry/app.js +401 -392
  2. package/build/css/{2983.9f539d64.css → 525.cf6aa92d.css} +1 -1
  3. package/build/index.html +1 -1
  4. package/build/js/{8637.435ff2cf.js → 1018.41064c0f.js} +1 -1
  5. package/build/js/1780.99ed1bcc.js +1 -0
  6. package/build/js/3553.c58039ca.js +1 -0
  7. package/build/js/525.ebe99666.js +3 -0
  8. package/build/js/5547.e7e03105.js +1 -0
  9. package/build/js/7928.00d662e4.js +1 -0
  10. package/build/js/{1018.44885958.js → 8637.8a669454.js} +1 -1
  11. package/build/js/931.742a1167.js +1 -0
  12. package/build/js/9399.f35ecad4.js +1 -0
  13. package/build/js/9786.f00a18b4.js +1 -0
  14. package/build/js/index.98971888.js +1 -0
  15. package/build/js/login.f49155f7.js +1 -0
  16. package/build/js/preview.9389e37d.js +1 -0
  17. package/build/login.html +1 -1
  18. package/build/preview.html +1 -1
  19. package/output/auto-provider-plugin/loader.js +1 -1
  20. package/output/auto-provider-plugin/package.json +1 -1
  21. package/output/builtin/build/locale/LanguageProvider.d.ts +1 -2
  22. package/output/builtin/build/service/header/action/ImportExampleAction.d.ts +10 -0
  23. package/output/builtin/build/service/header/action/index.d.ts +1 -1
  24. package/output/builtin/package.json +1 -1
  25. package/output/class-wrapper-plugin/package.json +1 -1
  26. package/output/declare/package.json +2 -2
  27. package/output/design/package.json +1 -1
  28. package/output/engine/package.json +2 -2
  29. package/output/engine/src/asset/Asset.ts +6 -4
  30. package/output/engine/src/locale/LanguageProvider.ts +0 -2
  31. package/output/engine/src/preset/execute/dataset/index.ts +1 -2
  32. package/output/engine/src/preset/execute/net/http.ts +2 -45
  33. package/output/engine/src/preset/interaction/index.ts +0 -1
  34. package/output/engine/src/utils/AssetProvider.ts +4 -2
  35. package/output/engine/src/utils/compile.ts +50 -0
  36. package/output/engine/src/utils/http.ts +56 -0
  37. package/output/engine/src/utils/index.ts +2 -0
  38. package/output/locale/package.json +1 -1
  39. package/output/remote/package.json +1 -1
  40. package/output/rollup-config-plugin/package.json +1 -1
  41. package/output/runtime/build/PresetService.d.ts +0 -1
  42. package/output/runtime/build/locale/LanguageProvider.d.ts +0 -1
  43. package/output/runtime/package.json +1 -1
  44. package/output/service/package.json +1 -1
  45. package/output/service-asset/package.json +1 -1
  46. package/output/service-asset/src/AssetService.ts +16 -0
  47. package/output/service-example/package.json +1 -1
  48. package/output/service-example/src/ExampleService.ts +11 -0
  49. package/output/service-graph/package.json +1 -1
  50. package/output/service-rpc/package.json +2 -2
  51. package/output/service-scene/package.json +1 -1
  52. package/output/var-rename-plugin/package.json +1 -1
  53. package/package.json +1 -1
  54. package/build/js/1780.0ef31158.js +0 -1
  55. package/build/js/2983.fcd4c54c.js +0 -3
  56. package/build/js/3553.843b10f9.js +0 -1
  57. package/build/js/5547.295cc860.js +0 -1
  58. package/build/js/7928.76108257.js +0 -1
  59. package/build/js/931.e0143d22.js +0 -1
  60. package/build/js/9399.3fcb9b8f.js +0 -1
  61. package/build/js/9786.80abceae.js +0 -1
  62. package/build/js/index.c88ebc1c.js +0 -1
  63. package/build/js/login.06d7868f.js +0 -1
  64. package/build/js/preview.11442733.js +0 -1
  65. package/output/engine/src/preset/execute/dataset/compile.ts +0 -99
  66. package/output/engine/src/preset/interaction/dataset/compile.ts +0 -27
  67. package/output/engine/src/preset/interaction/dataset/index.ts +0 -1
  68. /package/build/js/{110.a26ee1aa.js → 110.e2819667.js} +0 -0
  69. /package/build/js/{1349.257d012a.js → 1349.5011b482.js} +0 -0
  70. /package/build/js/{1402.22eb41ee.js → 1402.e4936bfb.js} +0 -0
  71. /package/build/js/{150.00c9fbf4.js → 150.e7f9045d.js} +0 -0
  72. /package/build/js/{1877.1d9ae361.js → 1877.f14acfa1.js} +0 -0
  73. /package/build/js/{2318.808935bc.js → 2318.441a2db7.js} +0 -0
  74. /package/build/js/{250.ce2e4903.js → 250.4513f7c1.js} +0 -0
  75. /package/build/js/{2546.125841be.js → 2546.9fd3dc42.js} +0 -0
  76. /package/build/js/{3085.6aa82272.js → 3085.42a6da4f.js} +0 -0
  77. /package/build/js/{3745.a78df4d3.js → 3745.4b658c7d.js} +0 -0
  78. /package/build/js/{4263.3ce42c2d.js → 4263.f1987228.js} +0 -0
  79. /package/build/js/{4530.abbe43c1.js → 4530.819d812d.js} +0 -0
  80. /package/build/js/{4582.b9a77472.js → 4582.71b3bbe1.js} +0 -0
  81. /package/build/js/{5639.a0114486.js → 5639.a09657c9.js} +0 -0
  82. /package/build/js/{6151.f395fab4.js → 6151.73bf0dca.js} +0 -0
  83. /package/build/js/{6357.d649d989.js → 6357.fc8796e2.js} +0 -0
  84. /package/build/js/{677.92aa9e9d.js → 677.1be417ae.js} +0 -0
  85. /package/build/js/{7195.e85d3e31.js → 7195.e082572c.js} +0 -0
  86. /package/build/js/{7769.cd4df4d6.js → 7769.da192016.js} +0 -0
  87. /package/build/js/{8657.5d14c39f.js → 8657.f0bd7f1f.js} +0 -0
  88. /package/build/js/{9044.0c464218.js → 9044.f58e5368.js} +0 -0
  89. /package/build/js/{9170.00337437.js → 9170.4182d4a8.js} +0 -0
  90. /package/build/js/{9620.8e501812.js → 9620.ce105b9b.js} +0 -0
@@ -0,0 +1 @@
1
+ (function(){"use strict";var e={75133:function(e){e.exports=window["__VYR_RUNTIME_@vyr/locale"]},75745:function(e,n,t){var r=t(46269),a=t(89168),o=t(75133),i=(e,n,t)=>new Promise((r,a)=>{var o=e=>{try{u(t.next(e))}catch(n){a(n)}},i=e=>{try{u(t.throw(e))}catch(n){a(n)}},u=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,i);u((t=t.apply(e,n)).next())});const u=[{name:"__VYR_RUNTIME_@vyr/runtime",load:()=>i(null,null,function*(){return Promise.all([t.e(4291),t.e(8366),t.e(931),t.e(7227),t.e(4530),t.e(4582),t.e(3553),t.e(94)]).then(t.bind(t,81336))})},{name:"__VYR_RUNTIME_vue",load:()=>i(null,null,function*(){return Promise.all([t.e(4291),t.e(7227),t.e(7409),t.e(7390)]).then(t.bind(t,57390))})},{name:"__VYR_RUNTIME_three",load:()=>i(null,null,function*(){return Promise.all([t.e(1696),t.e(6315)]).then(t.bind(t,96315))})},{name:"__VYR_RUNTIME_three/examples/jsm/renderers/CSS3DRenderer.js",load:()=>i(null,null,function*(){return Promise.all([t.e(1696),t.e(2521)]).then(t.bind(t,62521))})},{name:"__VYR_RUNTIME_postprocessing",load:()=>i(null,null,function*(){return Promise.all([t.e(1696),t.e(7692)]).then(t.bind(t,67692))})},{name:"__VYR_RUNTIME_@vyr/engine",load:()=>i(null,null,function*(){return Promise.all([t.e(4291),t.e(8366),t.e(931)]).then(t.bind(t,50931))})},{name:"__VYR_RUNTIME_@vyr/design",load:()=>i(null,null,function*(){return Promise.all([t.e(4291),t.e(8366),t.e(7227),t.e(7409),t.e(1111),t.e(9751)]).then(t.bind(t,32132))})},{name:"__VYR_RUNTIME_@vyr/builtin",load:()=>i(null,null,function*(){return Promise.all([t.e(4291),t.e(8366),t.e(931),t.e(7227),t.e(4530),t.e(4582),t.e(3553),t.e(7409),t.e(1111),t.e(525),t.e(9399)]).then(t.bind(t,21275))})},{name:"__VYR_RUNTIME_@vyr/service",load:()=>i(null,null,function*(){return t.e(7167).then(t.bind(t,87167))})},{name:"__VYR_RUNTIME_@vyr/remote",load:()=>i(null,null,function*(){return Promise.all([t.e(4291),t.e(8366),t.e(931),t.e(4530),t.e(9947)]).then(t.bind(t,92328))})},{name:"__VYR_RUNTIME_@vyr/service-rpc",load:()=>i(null,null,function*(){return Promise.all([t.e(4291),t.e(8366),t.e(931),t.e(4582),t.e(6166)]).then(t.bind(t,93785))})},{name:"__VYR_RUNTIME_@vyr/service-asset",load:()=>i(null,null,function*(){return Promise.all([t.e(4291),t.e(8366),t.e(931),t.e(7227),t.e(4530),t.e(4582),t.e(3553),t.e(8637)]).then(t.bind(t,34753))})},{name:"__VYR_RUNTIME_@vyr/service-scene",load:()=>i(null,null,function*(){return Promise.all([t.e(4291),t.e(8366),t.e(931),t.e(7227),t.e(4530),t.e(4582),t.e(3553),t.e(7769)]).then(t.bind(t,92601))})},{name:"__VYR_RUNTIME_@vyr/service-graph",load:()=>i(null,null,function*(){return Promise.all([t.e(4291),t.e(8366),t.e(931),t.e(7227),t.e(4263),t.e(8743)]).then(t.bind(t,89974))})},{name:"__VYR_RUNTIME_@vyr/service-example",load:()=>i(null,null,function*(){return Promise.all([t.e(4291),t.e(8366),t.e(931),t.e(7227),t.e(4530),t.e(4582),t.e(3553),t.e(7928)]).then(t.bind(t,70172))})}],l=()=>i(null,null,function*(){const e=yield a.A.get("/getConfig");return e.data}),c=()=>i(null,null,function*(){const e=yield l();for(const t of e.languageProviders)o.Locale.register(t);o.Locale.use(e.language);const n=[];for(const t of u){const e=t.load().then(e=>window[t.name]=e);n.push(e)}return yield Promise.all(n),e}),f=()=>i(null,null,function*(){yield c();(0,r.Ts)({name:"editor",remotes:[{name:"preview",entry:"/preview/js/entry.js"}]});const{setup:e}=yield(0,r.dh)("preview");yield e();const{main:n}=yield Promise.all([t.e(4291),t.e(8366),t.e(931),t.e(7227),t.e(4530),t.e(7409),t.e(6881)]).then(t.bind(t,86881));n()});f()}},n={};function t(r){var a=n[r];if(void 0!==a)return a.exports;var o=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}t.m=e,function(){var e=[];t.O=function(n,r,a,o){if(!r){var i=1/0;for(f=0;f<e.length;f++){r=e[f][0],a=e[f][1],o=e[f][2];for(var u=!0,l=0;l<r.length;l++)(!1&o||i>=o)&&Object.keys(t.O).every(function(e){return t.O[e](r[l])})?r.splice(l--,1):(u=!1,o<i&&(i=o));if(u){e.splice(f--,1);var c=a();void 0!==c&&(n=c)}}return n}o=o||0;for(var f=e.length;f>0&&e[f-1][2]>o;f--)e[f]=e[f-1];e[f]=[r,a,o]}}(),function(){t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,{a:n}),n}}(),function(){var e,n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};t.t=function(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"===typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"===typeof r.then)return r}var o=Object.create(null);t.r(o);var i={};e=e||[null,n({}),n([]),n(n)];for(var u=2&a&&r;("object"==typeof u||"function"==typeof u)&&!~e.indexOf(u);u=n(u))Object.getOwnPropertyNames(u).forEach(function(e){i[e]=function(){return r[e]}});return i["default"]=function(){return r},t.d(o,i),o}}(),function(){t.d=function(e,n){for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})}}(),function(){t.f={},t.e=function(e){return Promise.all(Object.keys(t.f).reduce(function(n,r){return t.f[r](e,n),n},[]))}}(),function(){t.u=function(e){return"js/"+e+"."+{88:"4db81116",94:"043c5ab1",110:"e2819667",112:"43f83ad0",220:"332f13be",250:"4513f7c1",525:"ebe99666",677:"1be417ae",800:"7696b6c7",931:"742a1167",1008:"1212a92b",1048:"959d2b15",1111:"be6e2c40",1176:"03ce189a",1320:"11b1f843",1346:"07f056a0",1349:"5011b482",1376:"c78b811b",1384:"330a9809",1402:"e4936bfb",1592:"2007c851",1696:"67999338",1704:"a712bcfe",1877:"f14acfa1",1978:"d78b7ff2",2024:"61ad4ff8",2264:"74826096",2318:"441a2db7",2320:"01b45f7e",2424:"1b901127",2472:"fd550726",2521:"64e8a1c3",2576:"af7b57dd",2674:"a0fefa3b",2808:"2a6f1a99",2868:"2c921d66",2958:"148f2f28",3084:"f01b8161",3085:"42a6da4f",3124:"865bbeea",3160:"ad6a00b2",3328:"0e752372",3416:"59bed435",3454:"fc17644a",3507:"aafa886d",3553:"c58039ca",3792:"c95b5a4d",3944:"0eafa506",4040:"bd29cbd3",4124:"1c353188",4171:"ecaed70c",4196:"1ecc5bb3",4230:"d1f2577c",4263:"f1987228",4288:"cfaa98a7",4291:"cea6a8d5",4416:"8faeee6a",4490:"afacfe53",4530:"819d812d",4570:"312d27c5",4582:"71b3bbe1",4744:"fb66347f",4764:"df45c000",4786:"89599e34",4816:"cd55469f",4872:"0bafb3d5",4900:"cdee80ca",5354:"9e7d2a59",5388:"ba7b29bd",5620:"4ebcd1ef",5639:"a09657c9",5694:"4e720480",5696:"1ec004f6",5768:"ff6d1da1",5788:"fb009553",5804:"a7530102",5888:"e88a2170",5918:"fd8226fe",6136:"a7604e8a",6151:"73bf0dca",6166:"a11b6605",6248:"d7c77c1a",6308:"358e0a94",6315:"81f5e202",6357:"fc8796e2",6476:"133083f0",6488:"a1bb6380",6552:"af7ecaa3",6600:"66570635",6720:"7e4d97d6",6881:"110a38eb",6937:"53af487b",7128:"bddbefa5",7132:"784f034a",7167:"ba37f9e6",7195:"e082572c",7227:"9320ac5b",7380:"378a750c",7390:"cb73108e",7409:"871dc004",7494:"0fecaf55",7692:"0a1cdf62",7769:"da192016",7820:"84cbe06d",7928:"00d662e4",7960:"6e25b569",7980:"816096c5",8004:"80b538a1",8030:"70f27b26",8328:"d2170039",8344:"e4b1e024",8366:"2854dcb7",8438:"72c0fcbf",8550:"69a717cc",8554:"1dbe7424",8632:"da334e90",8637:"8a669454",8657:"f0bd7f1f",8743:"ae6b01fb",8856:"9f70af00",9020:"b3a4d09b",9044:"f58e5368",9170:"4182d4a8",9256:"85fca918",9384:"adddd8c7",9399:"f35ecad4",9620:"ce105b9b",9751:"062a0ec7",9842:"d1ed9070",9947:"e172d61d"}[e]+".js"}}(),function(){t.miniCssF=function(e){return"css/"+e+"."+{110:"6ed7cfde",525:"cf6aa92d",1111:"d78bb080",2318:"b023c74d",3085:"43d5665d",6151:"e4de2b69",6357:"7bd0168e",6881:"972ad8f8",8743:"b91daf98",9170:"7c0db381"}[e]+".css"}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}(),function(){var e={},n="@vyr/cli:";t.l=function(r,a,o,i){if(e[r])e[r].push(a);else{var u,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),f=0;f<c.length;f++){var d=c[f];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==n+o){u=d;break}}u||(l=!0,u=document.createElement("script"),u.charset="utf-8",t.nc&&u.setAttribute("nonce",t.nc),u.setAttribute("data-webpack",n+o),u.src=r),e[r]=[a];var b=function(n,t){u.onerror=u.onload=null,clearTimeout(s);var a=e[r];if(delete e[r],u.parentNode&&u.parentNode.removeChild(u),a&&a.forEach(function(e){return e(t)}),n)return n(t)},s=setTimeout(b.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=b.bind(null,u.onerror),u.onload=b.bind(null,u.onload),l&&document.head.appendChild(u)}}}(),function(){t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){t.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){t.j=7685}(),function(){t.p=""}(),function(){if("undefined"!==typeof document){var e=function(e,n,r,a,o){var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",t.nc&&(i.nonce=t.nc);var u=function(t){if(i.onerror=i.onload=null,"load"===t.type)a();else{var r=t&&t.type,u=t&&t.target&&t.target.href||n,l=new Error("Loading CSS chunk "+e+" failed.\n("+r+": "+u+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=r,l.request=u,i.parentNode&&i.parentNode.removeChild(i),o(l)}};return i.onerror=i.onload=u,i.href=n,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i),i},n=function(e,n){for(var t=document.getElementsByTagName("link"),r=0;r<t.length;r++){var a=t[r],o=a.getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===n))return a}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){a=i[r],o=a.getAttribute("data-href");if(o===e||o===n)return a}},r=function(r){return new Promise(function(a,o){var i=t.miniCssF(r),u=t.p+i;if(n(i,u))return a();e(r,u,null,a,o)})},a={7685:0};t.f.miniCss=function(e,n){var t={110:1,525:1,1111:1,2318:1,3085:1,6151:1,6357:1,6881:1,8743:1,9170:1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=r(e).then(function(){a[e]=0},function(n){throw delete a[e],n}))}}}(),function(){var e={7685:0};t.f.j=function(n,r){var a=t.o(e,n)?e[n]:void 0;if(0!==a)if(a)r.push(a[2]);else{var o=new Promise(function(t,r){a=e[n]=[t,r]});r.push(a[2]=o);var i=t.p+t.u(n),u=new Error,l=function(r){if(t.o(e,n)&&(a=e[n],0!==a&&(e[n]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;u.message="Loading chunk "+n+" failed.\n("+o+": "+i+")",u.name="ChunkLoadError",u.type=o,u.request=i,a[1](u)}};t.l(i,l,"chunk-"+n,n)}},t.O.j=function(n){return 0===e[n]};var n=function(n,r){var a,o,i=r[0],u=r[1],l=r[2],c=0;if(i.some(function(n){return 0!==e[n]})){for(a in u)t.o(u,a)&&(t.m[a]=u[a]);if(l)var f=l(t)}for(n&&n(r);c<i.length;c++)o=i[c],t.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return t.O(f)},r=self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[];r.forEach(n.bind(null,0)),r.push=n.bind(null,r.push.bind(r))}();var r=t.O(void 0,[504],function(){return t(75745)});r=t.O(r)})();
package/build/login.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/><link rel="icon" href="favicon.ico"/><title>vyr</title><script src="./deps/socket.js"></script><script src="./deps/locale.js"></script><script defer="defer" src="js/chunk-vendors.3148df9e.js"></script><script defer="defer" src="js/login.06d7868f.js"></script><link href="css/login.ca50fefe.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but @vyr/cli doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
1
+ <!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/><link rel="icon" href="favicon.ico"/><title>vyr</title><script src="./deps/socket.js"></script><script src="./deps/locale.js"></script><script defer="defer" src="js/chunk-vendors.3148df9e.js"></script><script defer="defer" src="js/login.f49155f7.js"></script><link href="css/login.ca50fefe.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but @vyr/cli doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
@@ -1 +1 @@
1
- <!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/><link rel="icon" href="favicon.ico"/><title>vyr</title><script src="./deps/socket.js"></script><script src="./deps/locale.js"></script><script defer="defer" src="js/chunk-vendors.3148df9e.js"></script><script defer="defer" src="js/preview.11442733.js"></script></head><body><noscript><strong>We're sorry but @vyr/cli doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
1
+ <!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/><link rel="icon" href="favicon.ico"/><title>vyr</title><script src="./deps/socket.js"></script><script src="./deps/locale.js"></script><script defer="defer" src="js/chunk-vendors.3148df9e.js"></script><script defer="defer" src="js/preview.9389e37d.js"></script></head><body><noscript><strong>We're sorry but @vyr/cli doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
@@ -23,7 +23,7 @@ module.exports = function (source) {
23
23
 
24
24
  const codes = [
25
25
  `const getConfig = async()=> {`,
26
- ` const res = await axios.get('/cli/getConfig')`,
26
+ ` const res = await axios.get('/getConfig')`,
27
27
  ` return res.data`,
28
28
  `}`,
29
29
  `const extensions = {}`,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/pack-auto-provider-plugin",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "author": "",
@@ -202,11 +202,10 @@ interface ZhCNLanguageProvider extends LanguageProvider {
202
202
  'preset.scheduler.invoke': string;
203
203
  'preset.scheduler.invoke.target': string;
204
204
  'preset.scheduler.invoke.interaction': string;
205
- 'preset.dataset.compile': string;
206
205
  'global.action.redo.label': string;
207
206
  'global.action.undo.label': string;
208
- 'header.action.exportProject.label': string;
209
207
  'header.action.exportScene.label': string;
208
+ 'header.action.importExample.label': string;
210
209
  'header.action.previewScene.label': string;
211
210
  'header.action.realTimePreview.label': string;
212
211
  'header.action.myExample.label': string;
@@ -0,0 +1,10 @@
1
+ import { Action } from '@vyr/runtime';
2
+ declare class ImportExampleAction extends Action {
3
+ static id: string;
4
+ label: string;
5
+ validator(): boolean;
6
+ update(): void;
7
+ importExample: (e: Event) => void;
8
+ execute(): void;
9
+ }
10
+ export { ImportExampleAction };
@@ -1,4 +1,4 @@
1
- export * from './ExportProjectAction';
1
+ export * from './ImportExampleAction';
2
2
  export * from './ExportSceneAction';
3
3
  export * from './PreviewSceneAction';
4
4
  export * from './MyExampleAction';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/builtin",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": " - Type Declarations",
5
5
  "main": "",
6
6
  "author": "",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/pack-class-wrapper-plugin",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "author": "",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@vyr/declare",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vyr/locale": "0.0.21"
9
+ "@vyr/locale": "0.0.22"
10
10
  },
11
11
  "devDependencies": {},
12
12
  "files": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/design",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "main": "./src/index.ts",
5
5
  "dependencies": {
6
6
  "@popperjs/core": "2.11.7",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@vyr/engine",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vyr/locale": "0.0.21",
9
+ "@vyr/locale": "0.0.22",
10
10
  "tinycolor2": "1.6.0"
11
11
  },
12
12
  "devDependencies": {
@@ -1,8 +1,9 @@
1
1
  import { language } from "../locale"
2
2
  import { Category } from "../Category"
3
3
  import { AsyncTask } from "../AsyncTask"
4
- import { Descriptor, ServiceSchedulerDescriptor } from "../descriptor"
4
+ import { DatasetDescriptor, Descriptor, ServiceSchedulerDescriptor } from "../descriptor"
5
5
  import { InteractionDescriptor, Scriptable, ScriptableArgs } from "../interaction"
6
+ import { compile } from "../utils/compile"
6
7
  import { AssetGraph } from "./AssetGraph"
7
8
  import { Engine } from "../Engine"
8
9
 
@@ -33,6 +34,7 @@ const privateState = {
33
34
  }
34
35
 
35
36
  class Asset {
37
+ static virtual = 'virtual'
36
38
  static get baseUrl() {
37
39
  if (privateState.baseUrl === null) {
38
40
  try {
@@ -60,7 +62,7 @@ class Asset {
60
62
  }
61
63
 
62
64
  static createVirtualUrl(fileName: string) {
63
- return `/virtual:/${fileName}`
65
+ return `/${this.virtual}:/${fileName}`
64
66
  }
65
67
 
66
68
  static provider(url: string, provider: DescriptorProvider | ScriptableProvider) {
@@ -191,8 +193,8 @@ class Asset {
191
193
 
192
194
  const queue: Promise<void>[] = []
193
195
  for (const dataset of dependencide.dataset) {
194
- const trigger = Asset.get<Descriptor>(dataset)
195
- queue.push(graphics.invoke('compile', trigger))
196
+ const trigger = Asset.get<DatasetDescriptor>(dataset)
197
+ compile(trigger, graphics)
196
198
  }
197
199
 
198
200
  await Promise.all(queue)
@@ -17,7 +17,6 @@ interface ZhCNLanguageProvider extends LanguageProvider {
17
17
 
18
18
  '/virtual:/preset/net/http.ts': string
19
19
  '/virtual:/preset/dataset/update.ts': string
20
- '/virtual:/preset/dataset/compile.ts': string
21
20
  '/virtual:/preset/scheduler/switch.ts': string
22
21
  '/virtual:/preset/graphics/invoke.ts': string
23
22
  }
@@ -41,7 +40,6 @@ const zhCnLanguageProvider: ZhCNLanguageProvider = {
41
40
 
42
41
  '/virtual:/preset/net/http.ts': '网络请求',
43
42
  '/virtual:/preset/dataset/update.ts': '更新数据集',
44
- '/virtual:/preset/dataset/compile.ts': '组合数据集',
45
43
  '/virtual:/preset/scheduler/switch.ts': '切换场景',
46
44
  '/virtual:/preset/graphics/invoke.ts': '调用交互',
47
45
  }
@@ -1,2 +1 @@
1
- export * as update from './update'
2
- export * as compile from './compile'
1
+ export * as update from './update'
@@ -1,62 +1,19 @@
1
1
  import { language } from "../../../locale";
2
2
  import { Asset } from "../../../asset";
3
- import { HttpType } from "../../../utils";
3
+ import { http } from "../../../utils";
4
4
  import { Graphics } from "../../../graphics";
5
5
  import { Scriptable, InteractionNode, ScriptableArgs } from "../../../interaction";
6
6
 
7
7
  const scriptable = Asset.createVirtualUrl('preset/net/http.ts')
8
8
  class ExecuteScriptable extends Scriptable {
9
9
 
10
- joinUrl(url: string, requestData: any) {
11
- const urlObj = new URL(Asset.joinUrl(url));
12
-
13
- // 直接将requestData添加到urlObj的searchParams中
14
- Object.entries(requestData).forEach(([key, value]) => {
15
- if (value !== null && value !== undefined) {
16
- urlObj.searchParams.set(key, String(value));
17
- }
18
- });
19
-
20
- return urlObj.toString()
21
- }
22
-
23
10
  async execute(graphics: Graphics, args: ScriptableArgs) {
24
11
  const { input, result } = args
25
12
  let url = this.getInputValue('url', input)
26
13
  const type = this.getInputValue('type', input)
27
14
  const data = this.getInputValue('data', input)
28
15
 
29
- const requestData: { [k: string]: any } = {}
30
- const keys: string[] = []
31
- if (data.trim().length === 0) {
32
- keys.push(...result.keys())
33
- } else {
34
- keys.push(...data.split(','))
35
- }
36
-
37
- for (const key of keys) {
38
- const value = result.get(key)
39
- Object.assign(requestData, value ?? {})
40
- }
41
-
42
- url = url.replace(/\${(\w+)}/g, (match: any, key: string) => {
43
- return requestData.hasOwnProperty(key) ? requestData[key] : match;
44
- })
45
-
46
- const config = {
47
- method: type,
48
- headers: {
49
- 'Content-Type': 'application/json',
50
- },
51
- }
52
- let res
53
- if (type === HttpType.GET) {
54
- res = await fetch(this.joinUrl(url, requestData), config)
55
- } else {
56
- res = await fetch(url, { ...config, body: JSON.stringify(requestData) })
57
- }
58
-
59
- const json = await res.json()
16
+ const json = await http(url, type, data, result)
60
17
 
61
18
  return json
62
19
  }
@@ -1,3 +1,2 @@
1
- export * as dataset from './dataset'
2
1
  export * as scheduler from './scheduler'
3
2
  export * as graphics from './graphics'
@@ -1,6 +1,6 @@
1
1
  import { InteractionDescriptor, InteractionNode, InteractionProperty } from "../interaction"
2
2
  import { Descriptor, DynamicDescriptor, PrefabInstanceDescriptor, HTMLDescriptor, StyleDescriptor, DatasetDescriptor, DivDescriptor } from "../descriptor"
3
- import { AssetGraph, Port } from "../asset"
3
+ import { Asset, AssetGraph, Port } from "../asset"
4
4
  import { Category } from "../Category"
5
5
 
6
6
  const interactionExecutor = (interaction: InteractionProperty, path: string, port: Port) => {
@@ -30,7 +30,9 @@ const DescriptorProvider = (descriptor: Descriptor, port: Port) => {
30
30
  const interaction = descriptor.interactions[i]
31
31
  if (interaction.url) {
32
32
  interactionExecutor(interaction, `interactions[${i}]`, port)
33
- port.edges.push({ key: `interactions[${i}].url`, category: Category.interaction, asset: interaction.url })
33
+ if (interaction.url.startsWith(`/${Asset.virtual}:/`) === false) {
34
+ port.edges.push({ key: `interactions[${i}].url`, category: Category.interaction, asset: interaction.url })
35
+ }
34
36
  }
35
37
  }
36
38
  }
@@ -0,0 +1,50 @@
1
+ import { Graphics } from "../graphics/Graphics";
2
+ import { DatasetDescriptor, HttpDataConfig } from "../descriptor/DatasetDescriptor";
3
+ import { http } from "./http";
4
+
5
+ const transformData = (data: any, config: HttpDataConfig) => {
6
+ return data
7
+ }
8
+
9
+ const buildData = async (config: HttpDataConfig, trigger: DatasetDescriptor, graphics: Graphics) => {
10
+ const data = await http(config.url, config.type, '', new Map())
11
+ return transformData(data, config)
12
+ }
13
+
14
+ const compile = async (descriptor: DatasetDescriptor, graphics: Graphics) => {
15
+ if (descriptor.dataConfigs.length > 0) {
16
+ const dataConfigs = descriptor.dataConfigs as unknown as HttpDataConfig[]
17
+
18
+ let mergeData: any[] | any
19
+ if (dataConfigs.length === 1) {
20
+ const config = dataConfigs[0]
21
+ const finalData = await buildData(config, descriptor, graphics)
22
+ mergeData = config.key ? { [config.key]: finalData } : finalData
23
+ } else {
24
+ const keys = new Set<string>()
25
+ const queue: Promise<any>[] = []
26
+ for (const config of dataConfigs) {
27
+ keys.add(config.key)
28
+
29
+ const task = buildData(config, descriptor, graphics).then(finalData => {
30
+ const first = keys.values().next().value
31
+ if (keys.size === 1 && (first === '' || first === undefined)) {
32
+ if (!mergeData) mergeData = []
33
+ mergeData.push(finalData)
34
+ } else {
35
+ if (!mergeData) mergeData = {}
36
+ mergeData[config.key] ? Object.assign(mergeData[config.key], finalData) : mergeData[config.key] = finalData
37
+ }
38
+ })
39
+ queue.push(task)
40
+ }
41
+ await Promise.all(queue)
42
+ }
43
+
44
+ descriptor.setData(mergeData)
45
+ }
46
+ }
47
+
48
+ export {
49
+ compile
50
+ }
@@ -0,0 +1,56 @@
1
+ import { ScriptableArgs } from "../interaction";
2
+ import { Asset } from "../asset";
3
+ import { HttpType } from "./constants";
4
+
5
+ const joinUrl = (url: string, requestData: any) => {
6
+ const urlObj = new URL(Asset.joinUrl(url));
7
+
8
+ // 直接将requestData添加到urlObj的searchParams中
9
+ Object.entries(requestData).forEach(([key, value]) => {
10
+ if (value !== null && value !== undefined) {
11
+ urlObj.searchParams.set(key, String(value));
12
+ }
13
+ });
14
+
15
+ return urlObj.toString()
16
+ }
17
+
18
+ const http = async (url: string, type: string, data: string, result: ScriptableArgs['result']) => {
19
+ const requestData: { [k: string]: any } = {}
20
+ const keys: string[] = []
21
+ if (data.trim().length === 0) {
22
+ keys.push(...result.keys())
23
+ } else {
24
+ keys.push(...data.split(','))
25
+ }
26
+
27
+ for (const key of keys) {
28
+ const value = result.get(key)
29
+ Object.assign(requestData, value ?? {})
30
+ }
31
+
32
+ url = url.replace(/\${(\w+)}/g, (match: any, key: string) => {
33
+ return requestData.hasOwnProperty(key) ? requestData[key] : match;
34
+ })
35
+
36
+ const config = {
37
+ method: type,
38
+ headers: {
39
+ 'Content-Type': 'application/json',
40
+ },
41
+ }
42
+ let res
43
+ if (type === HttpType.GET) {
44
+ res = await fetch(joinUrl(url, requestData), config)
45
+ } else {
46
+ res = await fetch(url, { ...config, body: JSON.stringify(requestData) })
47
+ }
48
+
49
+ const json = await res.json()
50
+
51
+ return json
52
+ }
53
+
54
+ export {
55
+ http
56
+ }
@@ -1,2 +1,4 @@
1
1
  export * from './constants'
2
+ export * from './http'
3
+ export * from './compile'
2
4
  export * from './AssetProvider'
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/locale",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "author": "",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/remote",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/pack-rollup-config-plugin",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "author": "",
@@ -17,7 +17,6 @@ declare class PresetService extends Service {
17
17
  private _eventProviderCollection;
18
18
  constructor(name: string);
19
19
  private _addGlobalInteractionProvider;
20
- private _addDatasetInteractionProvider;
21
20
  private _addHTMLInteractionProvider;
22
21
  get(value: string): Preset;
23
22
  getByType(type: string): Preset[];
@@ -2,7 +2,6 @@ import { LanguageProvider } from '@vyr/locale';
2
2
  interface ZhCNLanguageProvider extends LanguageProvider {
3
3
  'preset.Interaction.id.mount': string;
4
4
  'preset.Interaction.id.click': string;
5
- 'preset.Interaction.id.compile': string;
6
5
  'preset.Interaction.id.mousedown': string;
7
6
  'preset.Interaction.id.mouseup': string;
8
7
  'preset.Interaction.id.mouseenter': string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/runtime",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": " - Type Declarations",
5
5
  "main": "",
6
6
  "author": "",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/service",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/service-asset",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -8,6 +8,22 @@ import { AssetMethodProvider } from "./AssetMethodProvider"
8
8
 
9
9
  class AssetService extends Service {
10
10
  static key = 'asset'
11
+
12
+ static save = (name: string, data: string | Blob) => {
13
+ const blob = data instanceof Blob ? data : new Blob([data])
14
+ const url = window.URL.createObjectURL(blob)
15
+ const link = document.createElement('a')
16
+ link.href = url
17
+
18
+ link.setAttribute('download', name)
19
+ document.body.appendChild(link)
20
+ link.click()
21
+
22
+ // 清理
23
+ document.body.removeChild(link)
24
+ window.URL.revokeObjectURL(url)
25
+ }
26
+
11
27
  private _provider = new AssetMethodProvider(this)
12
28
  readonly root
13
29
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/service-example",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -1,6 +1,8 @@
1
+ import axios from 'axios'
1
2
  import { runtime } from '@vyr/runtime'
2
3
  import { Message, RpcService } from '@vyr/service-rpc'
3
4
  import { Service } from '@vyr/service'
5
+ import { AssetService } from '@vyr/service-asset'
4
6
  import { ExampleMethodProvider } from './ExampleMethodProvider'
5
7
 
6
8
  class ExampleService extends Service {
@@ -37,6 +39,15 @@ class ExampleService extends Service {
37
39
  const rpcService = runtime.get<RpcService>('rpc')
38
40
  return rpcService.send(new Message.example.apply.RequestMessage(example, node))
39
41
  }
42
+
43
+ async download(example: string, name: string) {
44
+ const res = await axios.get<string>('/download/example', { params: { example }, responseType: 'blob' })
45
+ AssetService.save(name, res.data)
46
+ }
47
+
48
+ async upload(formData: FormData) {
49
+ await axios.post<string>('/upload/example', formData)
50
+ }
40
51
  }
41
52
 
42
53
  export { ExampleService }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/service-graph",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@vyr/service-rpc-universal",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
9
  "moment": "^2.30.1",
10
- "@vyr/engine": "0.0.21"
10
+ "@vyr/engine": "0.0.22"
11
11
  },
12
12
  "files": [
13
13
  "package.json",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/service-scene",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/pack-var-rename-plugin",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "author": "",
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@vyr/cli","version":"0.0.21","license":"MIT","engines":{"node":">=22.20.0"},"scripts":{"dev:client":"vue-cli-service build --watch","dev:server":"rollup --c ./.scripts/server.build.cjs --watch","build:update":"node ./.scripts/update.version.js","build:locale":"node ./.scripts/locale.build.js","build:language":"node ./.scripts/language.build.js","build:client":"vue-cli-service build","build:server":"rollup --c ./.scripts/server.build.cjs","build:entry":"node ./.scripts/entry.build.js","build:publish":"node ./.scripts/publish.npm.js","docker":"docker-compose --env-file .env -f .docker/docker-compose.yml up","docker:build":"docker-compose --env-file .env -f .docker/docker-compose.yml build","docker:clean":"docker-compose --env-file .env -f .docker/docker-compose.yml down -v"},"bin":{"vyr":"./.bin/index.js"},"files":[".bin/",".entry/","build/","output/","language","package.json","README.md","README.zh-CN.md"],"workspaces":["extension","output"],"dependencies":{"@babel/preset-typescript":"^7.26.0","@fastify/cors":"^11.1.0","@fastify/static":"^8.3.0","@module-federation/runtime":"^0.6.6","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^15.3.0","@rollup/plugin-virtual":"^3.0.2","axios":"^1.7.4","commander":"^7.2.0","esbuild-loader":"^4.4.0","fastify":"^5.6.1","fs-extra":"^10.1.0","jsondiffpatch":"^0.6.2","less":"^4.0.0","less-loader":"^8.0.0","monaco-editor":"^0.55.1","monaco-editor-webpack-plugin":"^7.1.1","raw-loader":"^4.0.2","rollup":"^4.22.4","rollup-plugin-esbuild":"^6.2.1","rollup-plugin-postcss":"^4.0.2","socket.io":"^4.8.1","typescript":"^5.8.2","vue":"3.5.22","vue-router":"^4.4.5"},"devDependencies":{"@types/fs-extra":"^11.0.2","@types/node":"^22.19.1","@vue/cli-plugin-typescript":"^5.0.8","@vue/cli-service":"^5.0.8","inquirer":"^13.1.0","javascript-obfuscator":"^4.1.1","rollup-plugin-obfuscator":"^1.1.0"}}
1
+ {"name":"@vyr/cli","version":"0.0.22","license":"MIT","engines":{"node":">=22.20.0"},"scripts":{"dev:client":"vue-cli-service build --watch","dev:server":"rollup --c ./.scripts/server.build.cjs --watch","build:update":"node ./.scripts/update.version.js","build:locale":"node ./.scripts/locale.build.js","build:language":"node ./.scripts/language.build.js","build:client":"vue-cli-service build","build:server":"rollup --c ./.scripts/server.build.cjs","build:entry":"node ./.scripts/entry.build.js","build:publish":"node ./.scripts/publish.npm.js","docker":"docker-compose --env-file .env -f .docker/docker-compose.yml up","docker:build":"docker-compose --env-file .env -f .docker/docker-compose.yml build","docker:clean":"docker-compose --env-file .env -f .docker/docker-compose.yml down -v"},"bin":{"vyr":"./.bin/index.js"},"files":[".bin/",".entry/","build/","output/","language","seaweedfs","package.json","README.md","README.zh-CN.md"],"workspaces":["extension","output"],"dependencies":{"@babel/preset-typescript":"^7.26.0","@module-federation/runtime":"^0.6.6","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^15.3.0","@rollup/plugin-virtual":"^3.0.2","axios":"^1.7.4","commander":"^7.2.0","esbuild-loader":"^4.4.0","fastify":"^5.6.1","fs-extra":"^10.1.0","jsondiffpatch":"^0.6.2","less":"^4.0.0","less-loader":"^8.0.0","monaco-editor":"^0.55.1","monaco-editor-webpack-plugin":"^7.1.1","raw-loader":"^4.0.2","rollup":"^4.22.4","rollup-plugin-esbuild":"^6.2.1","rollup-plugin-postcss":"^4.0.2","socket.io":"^4.8.1","typescript":"^5.8.2","vue":"3.5.22","vue-router":"^4.4.5"},"devDependencies":{"@types/fs-extra":"^11.0.2","@types/node":"^22.19.1","@vue/cli-plugin-typescript":"^5.0.8","@vue/cli-service":"^5.0.8","inquirer":"^13.1.0","javascript-obfuscator":"^4.1.1","rollup-plugin-obfuscator":"^1.1.0"}}
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[94,1780,2132,2328,3785,6166,7713,9399,9751,9947],{11319:function(n,r,t){t.r(r),t.d(r,{AssetNavigator:function(){return o.w},action:function(){return e},draggable:function(){return u}});var e=t(76669),u=t(41606),o=t(95054)},21275:function(n,r,t){t.r(r),t.d(r,{BaseFragment:function(){return e.A},ErrorComponent:function(){return a.Ax},HTMLFragment:function(){return u.A},LoadingComponent:function(){return a.qH},RightMenu:function(){return g.y},VyrCodeEditor:function(){return a.oQ},VyrColorItem:function(){return a.co},VyrDatasetItem:function(){return a.DN},VyrDirectory:function(){return a.z1},VyrExampleDialog:function(){return a.GS},VyrGraph:function(){return a.Aq},VyrInputItem:function(){return a.rZ},VyrInteractionItem:function(){return a.Hz},VyrRuleItem:function(){return a.rQ},VyrTimeline:function(){return a.bb},VyrVariableItem:function(){return a.fH},VyrWindowSetting:function(){return a.gI},createExample:function(){return f.xo},doExecute:function(){return f.V$},footer:function(){return l.qr},global:function(){return l.Sf},header:function(){return l.wx},language:function(){return o.B},option:function(){return i},preset:function(){return c.I},providerDescriptor:function(){return f.nh},rightMenu:function(){return g.f},setup:function(){return l.mj},sidebar:function(){return l.pz},useDescriptor:function(){return f.bf},zhCnLanguageProvider:function(){return o.t}});var e=t(85196),u=t(84443),o=t(67476),i=t(30582),c=t(35600),f=t(12350),a=t(6373),g=t(46247),l=t(58714)},32132:function(n,r,t){t.r(r),t.d(r,{ArrayUtils:function(){return M.lv},Color:function(){return M.Q1},DraggableController:function(){return O.g},Listener:function(){return M.rZ},Loading:function(){return z.Rh},NotifySetting:function(){return B.G8},ResizeListener:function(){return x.T},RightMenuSetting:function(){return B.Eo},Theme:function(){return e.S},VyrButton:function(){return o.A},VyrCard:function(){return c.A},VyrCascader:function(){return f.A},VyrChecked:function(){return a.A},VyrCheckedGroup:function(){return g.A},VyrCol:function(){return l.A},VyrColorPicker:function(){return y.A},VyrDialog:function(){return V.A},VyrDivider:function(){return i.A},VyrDraggable:function(){return s.A},VyrDrapdown:function(){return p.A},VyrDynamicLayouter:function(){return d.A},VyrForm:function(){return A.A},VyrInput:function(){return m.A},VyrInputNumber:function(){return v.A},VyrLabel:function(){return S.A},VyrMask:function(){return C.A},VyrOption:function(){return h.A},VyrOptions:function(){return b.A},VyrPopover:function(){return D.A},VyrProvider:function(){return L.A},VyrRightMenu:function(){return P.A},VyrRow:function(){return R.A},VyrScroll:function(){return I.A},VyrSelect:function(){return E.A},VyrSlot:function(){return u.A},VyrTree:function(){return N.A},addFloatLayer:function(){return B.r4},computedFloatLayer:function(){return B.tg},confirm:function(){return z.lJ},confirmKey:function(){return B.GR},createPopper:function(){return B.n4},dialog:function(){return z.r3},dialogKey:function(){return B.SE},dialogPrivateWarp:function(){return B.g_},dynamicLayouterlisteners:function(){return B.CG},floatLayer:function(){return B.iF},generateFloatLayer:function(){return B.pi},getConfirmState:function(){return B.Wz},getDialogHeight:function(){return B.Ub},getDialogState:function(){return B.MX},getDialogWrapHeight:function(){return B.YZ},getDialogWrapRect:function(){return B.Tl},getDirective:function(){return B.e8},getFirstVNode:function(){return B.RB},getInputValue:function(){return B.y5},getOnlyNode:function(){return B.ZO},getOptions:function(){return B.$E},getSearchOptions:function(){return B.Ds},getSelectOptions:function(){return B.pN},inputNumberReExp:function(){return B.ap},isActiveLayer:function(){return B.mo},isContains:function(){return B.c5},language:function(){return k.B},loading:function(){return z.Lq},notify:function(){return z.me},observer:function(){return B.PA},removeFloatLayer:function(){return B.Cn},seActiveLayer:function(){return B.gV},tooltip:function(){return B.YL},useConfirmState:function(){return B.V2},useDialogState:function(){return B.pA},zhCnLanguageProvider:function(){return k.t}});var e=t(32946),u=t(7931),o=t(62687),i=t(41030),c=t(62517),f=t(67079),a=t(43554),g=t(33947),l=t(15687),y=t(38430),p=t(68676),V=t(8715),s=t(66384),d=t(91905),A=t(75465),m=t(18985),v=t(55522),S=t(91023),C=t(73923),h=t(81320),b=t(54963),D=t(67698),L=t(72756),R=t(98433),I=t(60460),E=t(62263),N=t(60651),P=t(78966),k=t(7135),O=t(57744),x=t(4615),z=t(1307),B=t(93623),M=t(29255)},58155:function(n,r,t){t.r(r),t.d(r,{SceneNavigator:function(){return o.a},action:function(){return e},draggable:function(){return u}});var e=t(5787),u=t(51946),o=t(31230)},81336:function(n,r,t){t.r(r),t.d(r,{Action:function(){return o.r},ActionGroup:function(){return o.K},DataService:function(){return i.u},Draggable:function(){return f.s},DraggableService:function(){return f.f},Global:function(){return i.m},InspectorService:function(){return a.j},PresetService:function(){return c.R},RemoteService:function(){return g.e},Runtime:function(){return y.v},ShortcutkeyService:function(){return l.t},SidebarNavigator:function(){return u.I},Status:function(){return u.n},language:function(){return e.B},runtime:function(){return y.f},zhCnLanguageProvider:function(){return e.t}});var e=t(72931),u=t(34361),o=t(1520),i=t(46550),c=t(34774),f=t(2284),a=t(21822),g=t(52913),l=t(20986),y=t(69188)},92328:function(n,r,t){t.r(r),t.d(r,{Bridge:function(){return o.q},Collection:function(){return i.p},Job:function(){return u._},RemoteExecutor:function(){return c.Q},RemoteInvoker:function(){return a.p},RemoteProcess:function(){return f.u},language:function(){return e.B},zhCnLanguageProvider:function(){return e.t}});var e=t(28723),u=t(84105),o=t(76379),i=t(70026),c=t(93355),f=t(70151),a=t(22984)},93785:function(n,r,t){t.r(r),t.d(r,{Entity:function(){return e.wC},ExampleDO:function(){return e.Aj},ExampleVO:function(){return e.Uc},Message:function(){return e.QB},Method:function(){return e.IT},NoticeMessage:function(){return e.qe},Operation:function(){return e.I},RpcService:function(){return o.R},UseRecord:function(){return e.Nk},UserDO:function(){return e.bw},UserVO:function(){return e.dC},VirtualNode:function(){return e.UV},defineScheme:function(){return e.XZ},language:function(){return u.B},path:function(){return e.Ae},tokenKey:function(){return e.bV},topic:function(){return e.At},zhCnLanguageProvider:function(){return u.t}});var e=t(38788),u=t(70584),o=t(9763)}}]);