@vyr/cli 0.0.25 → 0.0.26

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 (203) hide show
  1. package/.bin/default/index.js +4 -0
  2. package/.bin/install/index.js +2 -0
  3. package/.entry/app.js +362 -362
  4. package/build/css/{9786.6bfee4ca.css → 2357.20584c43.css} +1 -1
  5. package/build/css/{6151.e4de2b69.css → 4011.fc069ae3.css} +1 -1
  6. package/build/css/{6881.972ad8f8.css → 6881.c7cb44c0.css} +1 -1
  7. package/build/css/768.6c925006.css +1 -0
  8. package/build/css/{3745.5e7a01f4.css → 9160.6a744205.css} +1 -1
  9. package/build/css/{4537.9b4ae552.css → 918.1da69a00.css} +2 -2
  10. package/build/css/login.c49ecb09.css +1 -0
  11. package/build/fonts/iconfont.0d8d5af4.woff +0 -0
  12. package/build/fonts/{iconfont.10345b2b.ttf → iconfont.49814d77.ttf} +0 -0
  13. package/build/index.html +1 -1
  14. package/build/js/1015.6b930e6b.js +1 -0
  15. package/build/js/1018.feb3213b.js +1 -0
  16. package/build/js/150.2368d63c.js +1 -0
  17. package/build/js/1508.ad60597c.js +1 -0
  18. package/build/js/{4582.71b3bbe1.js → 1541.ab4dcc45.js} +100 -100
  19. package/build/js/2132.d99fd402.js +1 -0
  20. package/build/js/215.0003a521.js +1 -0
  21. package/build/js/2357.990ebfbc.js +1 -0
  22. package/build/js/{2546.9fd3dc42.js → 2546.3383e2b7.js} +1 -1
  23. package/build/js/2596.6b885678.js +1 -0
  24. package/build/js/288.deb7db30.js +1 -0
  25. package/build/js/3312.be721fac.js +1 -0
  26. package/build/js/344.f9b8faec.js +1 -0
  27. package/build/js/3553.5a3a5f4c.js +1 -0
  28. package/build/js/4011.4f960789.js +1 -0
  29. package/build/js/4939.c2476b74.js +1 -0
  30. package/build/js/5547.b25a8b2e.js +1 -0
  31. package/build/js/677.fbdce394.js +1 -0
  32. package/build/js/6881.52ca7073.js +1 -0
  33. package/build/js/7320.9345566b.js +1 -0
  34. package/build/js/768.cf51599f.js +1 -0
  35. package/build/js/7769.95421d48.js +1 -0
  36. package/build/js/7907.8ff46377.js +1 -0
  37. package/build/js/7928.6c142786.js +1 -0
  38. package/build/js/7963.33f8605d.js +1 -0
  39. package/build/js/8637.348bcf40.js +1 -0
  40. package/build/js/9127.9dbc1ccb.js +1 -0
  41. package/build/js/9160.294ecd13.js +1 -0
  42. package/build/js/918.164497d1.js +3 -0
  43. package/build/js/931.f5b2dd0e.js +1 -0
  44. package/build/js/9751.1c059f35.js +1 -0
  45. package/build/js/chunk-vendors.94bb9e3c.js +300 -0
  46. package/build/js/index.49e6e2f0.js +1 -0
  47. package/build/js/login.0e6f1e5f.js +1 -0
  48. package/build/js/preview.c1d85328.js +1 -0
  49. package/build/login.html +1 -1
  50. package/build/preview.html +1 -1
  51. package/output/auto-provider-plugin/loader.js +2 -1
  52. package/output/auto-provider-plugin/package.json +1 -1
  53. package/output/builtin/build/component/CodeEditor.vue.d.ts +1 -0
  54. package/output/builtin/build/component/DatasetItem.vue.d.ts +2 -1
  55. package/output/builtin/build/component/HeaderSearch.vue.d.ts +13 -0
  56. package/output/builtin/build/component/index.d.ts +2 -1
  57. package/output/builtin/build/locale/LanguageProvider.d.ts +34 -32
  58. package/output/builtin/build/option/index.d.ts +9 -1
  59. package/output/builtin/build/service/footer/action/AddDirAction.d.ts +0 -1
  60. package/output/builtin/package.json +1 -1
  61. package/output/class-wrapper-plugin/package.json +1 -1
  62. package/output/declare/package.json +2 -2
  63. package/output/design/package.json +5 -3
  64. package/output/design/src/components/Dialog.vue +2 -2
  65. package/output/design/src/components/DynamicDialog.vue +35 -29
  66. package/output/design/src/components/Scroll.vue +1 -1
  67. package/output/design/src/components/Select.vue +9 -1
  68. package/output/design/src/components/composables/useSearch.ts +1 -0
  69. package/output/design/src/components/utils/Confirm.ts +1 -1
  70. package/output/design/src/components/utils/DynamicDialog.ts +12 -2
  71. package/output/design/src/font/demo_index.html +26 -3
  72. package/output/design/src/font/iconfont.css +7 -3
  73. package/output/design/src/font/iconfont.js +1 -1
  74. package/output/design/src/font/iconfont.json +7 -0
  75. package/output/design/src/font/iconfont.ttf +0 -0
  76. package/output/design/src/font/iconfont.woff +0 -0
  77. package/output/design/src/font/iconfont.woff2 +0 -0
  78. package/output/design/src/index.ts +6 -0
  79. package/output/design/src/theme/global.less +6 -0
  80. package/output/engine/package.json +2 -2
  81. package/output/engine/src/Engine.ts +2 -2
  82. package/output/engine/src/asset/Asset.ts +2 -2
  83. package/output/engine/src/descriptor/Descriptor.ts +1 -1
  84. package/output/engine/src/graphics/Graphics.ts +1 -1
  85. package/output/engine/src/interpreter/Interpreter.ts +1 -1
  86. package/output/engine/src/utils/http.ts +8 -1
  87. package/output/locale/package.json +1 -1
  88. package/output/remote/package.json +1 -1
  89. package/output/rollup-config-plugin/package.json +1 -1
  90. package/output/runtime/build/data/global.d.ts +6 -0
  91. package/output/runtime/build/data/header.d.ts +4 -0
  92. package/output/runtime/package.json +1 -1
  93. package/output/service/package.json +1 -1
  94. package/output/service-asset/package.json +1 -1
  95. package/output/service-asset/src/AssetService.ts +2 -3
  96. package/output/service-example/package.json +1 -1
  97. package/output/service-example/src/ExampleService.ts +3 -4
  98. package/output/service-graph/package.json +1 -1
  99. package/output/service-rpc/package.json +5 -3
  100. package/output/service-rpc/src/RpcService.ts +9 -9
  101. package/output/service-rpc/src/asset/add.ts +1 -1
  102. package/output/service-rpc/src/asset/close.ts +1 -1
  103. package/output/service-rpc/src/asset/copy.ts +1 -1
  104. package/output/service-rpc/src/asset/create.ts +1 -1
  105. package/output/service-rpc/src/asset/cut.ts +1 -1
  106. package/output/service-rpc/src/asset/delete.ts +1 -1
  107. package/output/service-rpc/src/asset/dragdrap.ts +1 -1
  108. package/output/service-rpc/src/asset/initialize.ts +1 -1
  109. package/output/service-rpc/src/asset/open.ts +1 -1
  110. package/output/service-rpc/src/asset/remove.ts +1 -1
  111. package/output/service-rpc/src/asset/rename.ts +1 -1
  112. package/output/service-rpc/src/asset/select.ts +1 -1
  113. package/output/service-rpc/src/asset/update.ts +1 -1
  114. package/output/service-rpc/src/dep/add.ts +1 -1
  115. package/output/service-rpc/src/dep/create.ts +1 -1
  116. package/output/service-rpc/src/dep/delete.ts +1 -1
  117. package/output/service-rpc/src/dep/remove.ts +1 -1
  118. package/output/service-rpc/src/dep/update.ts +1 -1
  119. package/output/service-rpc/src/domain/Entity.ts +7 -0
  120. package/output/service-rpc/src/example/apply.ts +1 -1
  121. package/output/service-rpc/src/example/create.ts +1 -1
  122. package/output/service-rpc/src/example/delete.ts +1 -1
  123. package/output/service-rpc/src/example/initialize.ts +1 -1
  124. package/output/service-rpc/src/example/list.ts +1 -1
  125. package/output/service-rpc/src/index.ts +1 -1
  126. package/output/service-rpc/src/locale/LanguageProvider.ts +5 -1
  127. package/output/service-rpc/src/request/index.ts +50 -0
  128. package/output/service-rpc/src/rpc/confirm.ts +1 -1
  129. package/output/service-rpc/src/rpc/connection.ts +1 -1
  130. package/output/service-rpc/src/rpc/disconnect.ts +1 -1
  131. package/output/service-rpc/src/rpc/getUser.ts +1 -1
  132. package/output/service-rpc/src/rpc/login.ts +1 -1
  133. package/output/service-rpc/src/rpc/logout.ts +1 -1
  134. package/output/service-rpc/src/rpc/redo.ts +1 -1
  135. package/output/service-rpc/src/rpc/undo.ts +1 -1
  136. package/output/service-rpc/src/scene/add.ts +1 -1
  137. package/output/service-rpc/src/scene/create.ts +1 -1
  138. package/output/service-rpc/src/scene/delete.ts +1 -1
  139. package/output/service-rpc/src/scene/download.ts +1 -1
  140. package/output/service-rpc/src/scene/dragdrap.ts +1 -1
  141. package/output/service-rpc/src/scene/initialize.ts +1 -1
  142. package/output/service-rpc/src/scene/record.ts +1 -1
  143. package/output/service-rpc/src/scene/remove.ts +1 -1
  144. package/output/service-rpc/src/scene/switch.ts +1 -1
  145. package/output/service-rpc/src/scene/update.ts +1 -1
  146. package/output/service-rpc/src/sidebar/switch.ts +1 -1
  147. package/output/service-scene/package.json +1 -1
  148. package/output/service-scene/src/SceneService.ts +2 -3
  149. package/output/var-rename-plugin/package.json +1 -1
  150. package/package.json +80 -1
  151. package/patches/knex+2.5.1.patch +26 -0
  152. package/build/css/1111.e408e6d4.css +0 -1
  153. package/build/css/login.b74658d1.css +0 -1
  154. package/build/fonts/iconfont.4a13a979.woff +0 -0
  155. package/build/js/1018.41064c0f.js +0 -1
  156. package/build/js/1111.be6e2c40.js +0 -1
  157. package/build/js/1124.74dc01cf.js +0 -1
  158. package/build/js/150.e7f9045d.js +0 -1
  159. package/build/js/1780.599a4f56.js +0 -1
  160. package/build/js/2132.0f13c789.js +0 -1
  161. package/build/js/2328.91f4fab2.js +0 -1
  162. package/build/js/3553.c58039ca.js +0 -1
  163. package/build/js/3745.4b658c7d.js +0 -1
  164. package/build/js/3785.0e5bac50.js +0 -1
  165. package/build/js/4537.0c0b1621.js +0 -3
  166. package/build/js/5547.e7e03105.js +0 -1
  167. package/build/js/6151.73bf0dca.js +0 -1
  168. package/build/js/6166.a11b6605.js +0 -1
  169. package/build/js/677.1be417ae.js +0 -1
  170. package/build/js/6881.110a38eb.js +0 -1
  171. package/build/js/7713.7dac62b2.js +0 -1
  172. package/build/js/7769.da192016.js +0 -1
  173. package/build/js/7928.00d662e4.js +0 -1
  174. package/build/js/8637.8a669454.js +0 -1
  175. package/build/js/8743.ae6b01fb.js +0 -1
  176. package/build/js/931.b906c8b3.js +0 -1
  177. package/build/js/9399.6f01e6fb.js +0 -1
  178. package/build/js/94.043c5ab1.js +0 -1
  179. package/build/js/9751.062a0ec7.js +0 -1
  180. package/build/js/9786.e8445259.js +0 -1
  181. package/build/js/9947.e172d61d.js +0 -1
  182. package/build/js/chunk-vendors.3148df9e.js +0 -300
  183. package/build/js/index.ab116b9c.js +0 -1
  184. package/build/js/login.2480f0b4.js +0 -1
  185. package/build/js/preview.191ab535.js +0 -1
  186. /package/build/css/{1124.b91daf98.css → 215.b91daf98.css} +0 -0
  187. /package/build/css/{8743.b91daf98.css → 2596.b91daf98.css} +0 -0
  188. /package/build/js/{110.e2819667.js → 110.132cb06d.js} +0 -0
  189. /package/build/js/{1349.5011b482.js → 1349.581acd13.js} +0 -0
  190. /package/build/js/{1402.e4936bfb.js → 1402.41e93cca.js} +0 -0
  191. /package/build/js/{1877.f14acfa1.js → 1877.f7dfcbbb.js} +0 -0
  192. /package/build/js/{2318.441a2db7.js → 2318.aa9ea4c9.js} +0 -0
  193. /package/build/js/{250.4513f7c1.js → 250.ee102b58.js} +0 -0
  194. /package/build/js/{3085.42a6da4f.js → 3085.89eae237.js} +0 -0
  195. /package/build/js/{4263.f1987228.js → 4263.33a52188.js} +0 -0
  196. /package/build/js/{4530.2a2c0560.js → 4530.46216301.js} +0 -0
  197. /package/build/js/{5639.a09657c9.js → 5639.fd7fc4f3.js} +0 -0
  198. /package/build/js/{6357.fc8796e2.js → 6357.92e3bda6.js} +0 -0
  199. /package/build/js/{7195.e082572c.js → 7195.20386308.js} +0 -0
  200. /package/build/js/{8657.f0bd7f1f.js → 8657.0480062d.js} +0 -0
  201. /package/build/js/{9044.f58e5368.js → 9044.a0d33e3e.js} +0 -0
  202. /package/build/js/{9170.4182d4a8.js → 9170.00c77288.js} +0 -0
  203. /package/build/js/{9620.ce105b9b.js → 9620.edd4c694.js} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[150,288,344,931,3312,4939,7320,7769,7907,7963],{50931:function(e,t,n){n.r(t),n.d(t,{Actor:function(){return D.Ag},AnimationUnitActor:function(){return D.g1},AnimationUnitDescriptor:function(){return y.uj},AnimationUnitInterpreter:function(){return M.DM},ArrayUtils:function(){return u.l},Asset:function(){return R.Vd},AssetGraph:function(){return R.jB},AsyncTask:function(){return h.g},BasicStyleColor:function(){return c.Ru},CameraDescriptor:function(){return y.Vp},Category:function(){return s.b},Color:function(){return c.Q1},Compilation:function(){return w.O2},ControllerDescriptor:function(){return y.SS},DatasetDescriptor:function(){return y.Y2},DatasetInterpreter:function(){return M.zI},DefaultStyleColor:function(){return c.E8},Dependencide:function(){return R.FD},Descriptor:function(){return y.oJ},DivActor:function(){return D.TD},DivDescriptor:function(){return y.fX},DivInterpreter:function(){return M.oA},DynamicDescriptor:function(){return y.Ts},Engine:function(){return A.N},Euler:function(){return i.O9},FragmentActor:function(){return D.aj},FragmentInterpreter:function(){return M.FG},Generate:function(){return f.w},Graphics:function(){return w.A1},HTMLActor:function(){return D.NA},HTMLDescriptor:function(){return y.Pp},HTMLServiceActor:function(){return D.u2},HTMLServiceDescriptor:function(){return y.q5},HTMLServiceInterpreter:function(){return M.Pk},HTMLTransformControllerActor:function(){return D.ZQ},HTMLTransformControllerDescriptor:function(){return y.xq},HTMLTransformControllerInterpreter:function(){return M.OH},HttpType:function(){return S.$B},InputSystem:function(){return p.U},InteractionDescriptor:function(){return m.MS},InteractionExecutor:function(){return m.oU},Interpreter:function(){return M.$R},LinearStyleColor:function(){return c.yq},Listener:function(){return d.r},Matrix4:function(){return i.kn},NodeDescriptor:function(){return y.KM},ObjectUtils:function(){return a.B},PrefaInterpreter:function(){return M.TS},PrefabInstanceDescriptor:function(){return y.X7},PrefabInstanceInterpreter:function(){return M.Gd},PrefabeDescriptor:function(){return y.Zl},Quaternion:function(){return i.PT},Queue:function(){return w.op},RadialStyleColor:function(){return c.GH},Scriptable:function(){return v.e},Serialization:function(){return o.z},ServiceDescriptor:function(){return y.RE},ServiceInterpreter:function(){return M._J},ServiceSchedulerDescriptor:function(){return y.K4},ServiceSchedulerInterpreter:function(){return M.B0},StyleActor:function(){return D.XI},StyleDescriptor:function(){return y.Jf},StyleInterpreter:function(){return M.KQ},StyleRule:function(){return y.aq},StyleShadow:function(){return y.CH},StyleSpacing:function(){return y.Dg},Traverser:function(){return l.B},Unit:function(){return w.Nf},VariableProxy:function(){return w.D_},Vector2:function(){return i.I9},Vector3:function(){return i.Pq},compile:function(){return S.wE},destroyInstance:function(){return g.Sh},executePreset:function(){return _.N},http:function(){return S.LV},interactionPreset:function(){return _.a},language:function(){return r.B},observer:function(){return w.PA},privateState:function(){return R.nP},setHttpHeaders:function(){return S.P},zhCnLanguageProvider:function(){return r.t}});var r=n(64898),i=n(64006),c=n(69776),o=n(21627),s=n(13591),u=n(48393),a=n(48583),f=n(47552),l=n(17227),d=n(13507),p=n(25946),g=n(97338),h=n(72094),v=n(65325),m=n(93360),y=n(21865),M=n(42778),S=n(35265),D=n(81789),w=n(51329),R=n(10692),_=n(23083),A=n(46597)},81336:function(e,t,n){n.r(t),n.d(t,{Action:function(){return c.r},ActionGroup:function(){return c.K},DataService:function(){return o.u},Draggable:function(){return u.s},DraggableService:function(){return u.f},Global:function(){return o.m},InspectorService:function(){return a.j},PresetService:function(){return s.R},RemoteService:function(){return f.e},Runtime:function(){return d.v},ShortcutkeyService:function(){return l.t},SidebarNavigator:function(){return i.I},Status:function(){return i.n},language:function(){return r.B},runtime:function(){return d.f},zhCnLanguageProvider:function(){return r.t}});var r=n(72931),i=n(34361),c=n(1520),o=n(46550),s=n(34774),u=n(2284),a=n(21822),f=n(52913),l=n(20986),d=n(69188)},92328:function(e,t,n){n.r(t),n.d(t,{Bridge:function(){return c.q},Collection:function(){return o.p},Job:function(){return i._},RemoteExecutor:function(){return s.Q},RemoteInvoker:function(){return a.p},RemoteProcess:function(){return u.u},language:function(){return r.B},zhCnLanguageProvider:function(){return r.t}});var r=n(28723),i=n(84105),c=n(76379),o=n(70026),s=n(93355),u=n(70151),a=n(22984)},92601:function(e,t,n){n.r(t),n.d(t,{SceneService:function(){return M},language:function(){return c},zhCnLanguageProvider:function(){return r}});const r={id:"zh_CN",name:"@vyr/service-scene"};var i=n(75133);i.Locale.register(r);const c=i.Locale.getLanguage(r.name);var o=n(87167),s=n(81336),u=n(93785),a=n(50931),f=Object.defineProperty,l=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t,n)=>l(e,"symbol"!==typeof t?t+"":t,n),p=(e,t,n)=>new Promise((r,i)=>{var c=e=>{try{s(n.next(e))}catch(t){i(t)}},o=e=>{try{s(n.throw(e))}catch(t){i(t)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(c,o);s((n=n.apply(e,t)).next())});class g{constructor(e){d(this,"ready",new a.AsyncTask),d(this,"service"),d(this,"_connection",e=>{const t=new URLSearchParams(window.location.search);let n="default.scene.json";const r=t.get("scene");if(r){const e=a.Category.parseName(r);a.Category.scene===e.category&&(n=r)}const i=s.runtime.get("rpc");i.send(new u.Message.scene.initialize.RequestMessage(n))}),d(this,"_disconnect",e=>{this.service.useRecord.clearUser(e.params.client)}),d(this,"_initialize",e=>p(this,null,function*(){const{params:t}=e,n=a.Descriptor.create(t.serialization);this.service.navigator.root.clear(),this.service.navigator.root.add(n),this.service.scenes.length=0,this.service.scenes.push(...t.scenes),this.service.navigator.url=t.url,this.ready.run()})),d(this,"_record",e=>p(this,null,function*(){this.service.useRecord.copy(e.params.useRecord)})),d(this,"_create",e=>{a.ArrayUtils.insert(this.service.scenes,e.params.url)}),d(this,"_delete",e=>{a.ArrayUtils.remove(this.service.scenes,e.params.url),this.service.useRecord.clear(e.params.url)}),d(this,"_switch",e=>p(this,null,function*(){this.service.useRecord.removeUser(e.params.url.old,e.params.client),this.service.useRecord.addUser(e.params.url.new,e.params.client);const t=s.runtime.get("rpc");if(e.params.client!==t.client)return;this.service.navigator.url=e.params.url.new,this.service.navigator.root.clear();const n=a.Descriptor.create(e.params.serialization);this.service.navigator.root.add(n)})),d(this,"_add",e=>{const t=a.Descriptor.get(e.params.parent);if(null!==t)if(e.params.next)for(const n of e.params.node){const r=a.Descriptor.create(n);t.insertBefore(r.uuid,e.params.next)}else for(const n of e.params.node){const e=a.Descriptor.create(n);t.add(e)}}),d(this,"_remove",e=>{for(const t of e.params.uuids){const e=a.Descriptor.get(t);if(null===e)continue;const n=e.traceAncestor(!1);null!==n.parent&&(n.parent.remove(e),e.traverse(e=>{a.ArrayUtils.removeByKey(this.service.navigator.selectAll,"uuid",e.uuid),a.ArrayUtils.removeByKey(this.service.navigator.status.stickupItems,"uuid",e.uuid)}))}}),d(this,"_update",e=>{const t=a.Descriptor.get(e.params.content.uuid);null!==t&&t.syncWith(e.params.content)}),d(this,"_dragdrap",e=>{const t=e.params.next?"insertBefore":e.params.type,n=e.params.next||e.params.targetData.data.uuid;for(const r of e.params.dragData.data.uuids)this.service.navigator.root[t](r,n)}),this.service=e}listen(){const e=s.runtime.get("rpc");e.listen(u.Message.rpc.connection.Method,this._connection),e.listen(u.Message.rpc.disconnect.Method,this._disconnect),e.listen(u.Message.scene.initialize.Method,this._initialize),e.listen(u.Message.scene.record.Method,this._record),e.listen(u.Message.scene.create.Method,this._create),e.listen(u.Message.scene.delete.Method,this._delete),e.listen(u.Message.scene.switch.Method,this._switch),e.listen(u.Message.scene.add.Method,this._add),e.listen(u.Message.scene.remove.Method,this._remove),e.listen(u.Message.scene.dragdrap.Method,this._dragdrap),e.listen(u.Message.scene.update.Method,this._update)}}var h=Object.defineProperty,v=(e,t,n)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t,n)=>v(e,"symbol"!==typeof t?t+"":t,n),y=(e,t,n)=>new Promise((r,i)=>{var c=e=>{try{s(n.next(e))}catch(t){i(t)}},o=e=>{try{s(n.throw(e))}catch(t){i(t)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(c,o);s((n=n.apply(e,t)).next())});class M extends o.Service{constructor(e,t,n){super(e),m(this,"_provider",new g(this)),m(this,"useRecord"),m(this,"navigator"),m(this,"scenes",[]),this.useRecord=t,this.navigator=n}ready(){return y(this,null,function*(){this._provider.listen()})}start(){return y(this,null,function*(){yield this._provider.ready.done()})}create(e){const t=s.runtime.get("rpc");t.send(new u.Message.scene.create.RequestMessage(e))}delete(e){const t=s.runtime.get("rpc");t.send(new u.Message.scene.delete.RequestMessage(e))}switch(e){const t=s.runtime.get("rpc");t.send(new u.Message.scene.switch.RequestMessage(e))}add(e,t){const n=s.runtime.get("rpc");n.send(new u.Message.scene.add.RequestMessage(e,t))}remove(e){const t=s.runtime.get("rpc");t.send(new u.Message.scene.remove.RequestMessage(e))}dragdrap(e,t,n){const r=s.runtime.get("rpc");r.send(new u.Message.scene.dragdrap.RequestMessage(e,t,n))}update(e){const t=s.runtime.get("rpc");t.send(new u.Message.scene.update.RequestMessage(e))}download(e){return y(this,null,function*(){const t=yield u.request.get(u.Message.scene.download.Method,{params:new u.Message.scene.download.RequestMessage(e),responseType:"blob"}),n=URL.createObjectURL(t.data),r=document.createElement("a");r.href=n,r.download="project.zip",r.click(),URL.revokeObjectURL(n)})}}m(M,"key","scene")},93785:function(e,t,n){n.r(t),n.d(t,{Entity:function(){return r.wC},ExampleDO:function(){return r.Aj},ExampleVO:function(){return r.Uc},Message:function(){return r.QB},Method:function(){return r.IT},NoticeMessage:function(){return r.qe},Operation:function(){return r.I},RpcService:function(){return o.R},UseRecord:function(){return r.Nk},UserDO:function(){return r.bw},UserVO:function(){return r.dC},VirtualNode:function(){return r.UV},defineScheme:function(){return r.XZ},language:function(){return i.B},path:function(){return r.Ae},request:function(){return c.E},tokenKey:function(){return r.bV},topic:function(){return r.At},zhCnLanguageProvider:function(){return i.t}});var r=n(38788),i=n(70584),c=n(92699),o=n(9763)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[288,344,931,3312,4939,7320,7907,7963],{50931:function(n,r,t){t.r(r),t.d(r,{Actor:function(){return m.Ag},AnimationUnitActor:function(){return m.g1},AnimationUnitDescriptor:function(){return I.uj},AnimationUnitInterpreter:function(){return A.DM},ArrayUtils:function(){return f.l},Asset:function(){return P.Vd},AssetGraph:function(){return P.jB},AsyncTask:function(){return g.g},BasicStyleColor:function(){return o.Ru},CameraDescriptor:function(){return I.Vp},Category:function(){return c.b},Color:function(){return o.Q1},Compilation:function(){return C.O2},ControllerDescriptor:function(){return I.SS},DatasetDescriptor:function(){return I.Y2},DatasetInterpreter:function(){return A.zI},DefaultStyleColor:function(){return o.E8},Dependencide:function(){return P.FD},Descriptor:function(){return I.oJ},DivActor:function(){return m.TD},DivDescriptor:function(){return I.fX},DivInterpreter:function(){return A.oA},DynamicDescriptor:function(){return I.Ts},Engine:function(){return h.N},Euler:function(){return u.O9},FragmentActor:function(){return m.aj},FragmentInterpreter:function(){return A.FG},Generate:function(){return s.w},Graphics:function(){return C.A1},HTMLActor:function(){return m.NA},HTMLDescriptor:function(){return I.Pp},HTMLServiceActor:function(){return m.u2},HTMLServiceDescriptor:function(){return I.q5},HTMLServiceInterpreter:function(){return A.Pk},HTMLTransformControllerActor:function(){return m.ZQ},HTMLTransformControllerDescriptor:function(){return I.xq},HTMLTransformControllerInterpreter:function(){return A.OH},HttpType:function(){return y.$B},InputSystem:function(){return S.U},InteractionDescriptor:function(){return d.MS},InteractionExecutor:function(){return d.oU},Interpreter:function(){return A.$R},LinearStyleColor:function(){return o.yq},Listener:function(){return l.r},Matrix4:function(){return u.kn},NodeDescriptor:function(){return I.KM},ObjectUtils:function(){return a.B},PrefaInterpreter:function(){return A.TS},PrefabInstanceDescriptor:function(){return I.X7},PrefabInstanceInterpreter:function(){return A.Gd},PrefabeDescriptor:function(){return I.Zl},Quaternion:function(){return u.PT},Queue:function(){return C.op},RadialStyleColor:function(){return o.GH},Scriptable:function(){return v.e},Serialization:function(){return i.z},ServiceDescriptor:function(){return I.RE},ServiceInterpreter:function(){return A._J},ServiceSchedulerDescriptor:function(){return I.K4},ServiceSchedulerInterpreter:function(){return A.B0},StyleActor:function(){return m.XI},StyleDescriptor:function(){return I.Jf},StyleInterpreter:function(){return A.KQ},StyleRule:function(){return I.aq},StyleShadow:function(){return I.CH},StyleSpacing:function(){return I.Dg},Traverser:function(){return p.B},Unit:function(){return C.Nf},VariableProxy:function(){return C.D_},Vector2:function(){return u.I9},Vector3:function(){return u.Pq},compile:function(){return y.wE},destroyInstance:function(){return D.Sh},executePreset:function(){return T.N},http:function(){return y.LV},interactionPreset:function(){return T.a},language:function(){return e.B},observer:function(){return C.PA},privateState:function(){return P.nP},setHttpHeaders:function(){return y.P},zhCnLanguageProvider:function(){return e.t}});var e=t(64898),u=t(64006),o=t(69776),i=t(21627),c=t(13591),f=t(48393),a=t(48583),s=t(47552),p=t(17227),l=t(13507),S=t(25946),D=t(97338),g=t(72094),v=t(65325),d=t(93360),I=t(21865),A=t(42778),y=t(35265),m=t(81789),C=t(51329),P=t(10692),T=t(23083),h=t(46597)},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 s.e},Runtime:function(){return l.v},ShortcutkeyService:function(){return p.t},SidebarNavigator:function(){return u.I},Status:function(){return u.n},language:function(){return e.B},runtime:function(){return l.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),s=t(52913),p=t(20986),l=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 i.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},request:function(){return o.E},tokenKey:function(){return e.bV},topic:function(){return e.At},zhCnLanguageProvider:function(){return u.t}});var e=t(38788),u=t(70584),o=t(92699),i=t(9763)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[288,344,931,1018,3312,4939,5547,7320,7907,7928,7963,8637],{34753:function(e,t,n){n.r(t),n.d(t,{AssetService:function(){return M},language:function(){return i},zhCnLanguageProvider:function(){return r}});const r={id:"zh_CN",name:"@vyr/service-asset"};var s=n(75133);s.Locale.register(r);const i=s.Locale.getLanguage(r.name);var o=n(87167),u=n(81336),c=n(93785),a=n(50931),l=Object.defineProperty,f=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t,n)=>f(e,"symbol"!==typeof t?t+"":t,n),p=(e,t,n)=>new Promise((r,s)=>{var i=e=>{try{u(n.next(e))}catch(t){s(t)}},o=e=>{try{u(n.throw(e))}catch(t){s(t)}},u=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,o);u((n=n.apply(e,t)).next())});class g{constructor(e){d(this,"ready",new a.AsyncTask),d(this,"service"),d(this,"_connection",e=>p(null,null,function*(){const e=u.runtime.get("rpc");e.send(new c.Message.asset.initialize.RequestMessage)})),d(this,"_disconnect",e=>{this.service.root.clearUser(e.params.client)}),d(this,"_initialize",e=>{this.service.root.clear();for(const t of e.params.root.children)this.service.root.add(new c.VirtualNode(t));this.ready.run()}),d(this,"_open",e=>{const t=c.VirtualNode.get(e.params.url);t&&t.addUser(e.params.client)}),d(this,"_close",e=>{const t=c.VirtualNode.get(e.params.url);t&&t.removeUser(e.params.client)}),d(this,"_create",e=>{const t=c.VirtualNode.get(e.params.parent);null!==t&&(t.add(new c.VirtualNode(c.VirtualNode.deserialization(e.params.node))),t.sort())}),d(this,"_delete",e=>{const t=u.runtime.get("data");for(const n of e.params.urls){const e=c.VirtualNode.get(n);if(null===e)return;const r=e.traceAncestor(!1);null!==r.parent&&(this._clear(t.footer.status.stickupItems,e),r.parent.remove(e))}}),d(this,"_add",e=>{const t=a.Descriptor.get(e.params.parent);if(null!==t)if(e.params.next)for(const n of e.params.node){const r=a.Descriptor.create(n);t.insertBefore(r.uuid,e.params.next)}else for(const n of e.params.node){const e=a.Descriptor.create(n);t.add(e)}}),d(this,"_remove",e=>{const t=u.runtime.get("data"),n=t.sidebar.get(M.key);for(const r of e.params.uuids){const e=a.Descriptor.get(r);if(null===e)continue;const t=e.traceAncestor(!1);null!==t.parent&&(t.parent.remove(e),a.ArrayUtils.removeByKey(n.selectAll,"uuid",e.uuid),a.ArrayUtils.removeByKey(n.status.stickupItems,"uuid",e.uuid))}}),d(this,"_update",e=>{const t=a.Descriptor.get(e.params.content.uuid);t&&t.syncWith(e.params.content)}),d(this,"_dragdrap",e=>{const t=u.runtime.get("data"),n=t.sidebar.get(M.key);if(e.params.url!==n.url)return;const r=e.params.next?"insertBefore":e.params.type,s=e.params.next||e.params.targetData.data.uuid;for(const i of e.params.dragData.data.uuids)this.service.root[r](i,s)}),this.service=e}_clear(e,t){if(0!==e.length)for(const n of e)if(n.uuid===t.uuid)return void a.ArrayUtils.remove(e,n)}listen(){const e=u.runtime.get("rpc");e.listen(c.Message.rpc.connection.Method,this._connection),e.listen(c.Message.rpc.disconnect.Method,this._disconnect),e.listen(c.Message.asset.initialize.Method,this._initialize),e.listen(c.Message.asset.create.Method,this._create),e.listen(c.Message.asset.delete.Method,this._delete),e.listen(c.Message.asset.add.Method,this._add),e.listen(c.Message.asset.remove.Method,this._remove),e.listen(c.Message.asset.open.Method,this._open),e.listen(c.Message.asset.close.Method,this._close),e.listen(c.Message.asset.update.Method,this._update),e.listen(c.Message.asset.dragdrap.Method,this._dragdrap)}}var m=Object.defineProperty,h=(e,t,n)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v=(e,t,n)=>h(e,"symbol"!==typeof t?t+"":t,n),y=(e,t,n)=>new Promise((r,s)=>{var i=e=>{try{u(n.next(e))}catch(t){s(t)}},o=e=>{try{u(n.throw(e))}catch(t){s(t)}},u=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,o);u((n=n.apply(e,t)).next())});class M extends o.Service{constructor(e,t){super(e),v(this,"_provider",new g(this)),v(this,"root"),this.name=e,this.root=t}ready(){return y(this,null,function*(){this._provider.listen()})}start(){return y(this,null,function*(){yield this._provider.ready.done()})}select(e){const t=u.runtime.get("rpc");t.send(new c.Message.asset.select.RequestMessage(e))}open(e){const t=u.runtime.get("rpc");t.send(new c.Message.asset.open.RequestMessage(e))}close(e){const t=u.runtime.get("rpc");t.send(new c.Message.asset.close.RequestMessage(e))}create(e,t,n,r,s){const i=u.runtime.get("rpc");i.send(new c.Message.asset.create.RequestMessage(e,t,n,r,s))}delete(e){const t=Array.isArray(e)?e:[e];if(0===t.length)return;const n=u.runtime.get("rpc");n.send(new c.Message.asset.delete.RequestMessage(t))}add(e,t,n){const r=u.runtime.get("rpc");r.send(new c.Message.asset.add.RequestMessage(e,n,t))}remove(e,t){const n=u.runtime.get("rpc");n.send(new c.Message.asset.remove.RequestMessage(e,t))}dragdrap(e,t,n,r){const s=u.runtime.get("rpc");s.send(new c.Message.asset.dragdrap.RequestMessage(e,t,n,r))}rename(e,t){const n=u.runtime.get("rpc");n.send(new c.Message.asset.rename.RequestMessage(t,e))}cut(e,t){if(0===e.length)return;const n=u.runtime.get("rpc");n.send(new c.Message.asset.cut.RequestMessage(e,t))}copy(e,t){if(0===e.length)return;const n=u.runtime.get("rpc");n.send(new c.Message.asset.copy.RequestMessage(e,t))}update(e,t){const n=u.runtime.get("rpc");n.send(new c.Message.asset.update.RequestMessage(e,t))}read(e){return y(this,null,function*(){const t=yield c.request.get(e,{responseType:"text"});return t.data})}}v(M,"key","asset"),v(M,"save",(e,t)=>{const n=t instanceof Blob?t:new Blob([t]),r=window.URL.createObjectURL(n),s=document.createElement("a");s.href=r,s.setAttribute("download",e),document.body.appendChild(s),s.click(),document.body.removeChild(s),window.URL.revokeObjectURL(r)})},50931:function(e,t,n){n.r(t),n.d(t,{Actor:function(){return b.Ag},AnimationUnitActor:function(){return b.g1},AnimationUnitDescriptor:function(){return y.uj},AnimationUnitInterpreter:function(){return M.DM},ArrayUtils:function(){return c.l},Asset:function(){return _.Vd},AssetGraph:function(){return _.jB},AsyncTask:function(){return m.g},BasicStyleColor:function(){return i.Ru},CameraDescriptor:function(){return y.Vp},Category:function(){return u.b},Color:function(){return i.Q1},Compilation:function(){return S.O2},ControllerDescriptor:function(){return y.SS},DatasetDescriptor:function(){return y.Y2},DatasetInterpreter:function(){return M.zI},DefaultStyleColor:function(){return i.E8},Dependencide:function(){return _.FD},Descriptor:function(){return y.oJ},DivActor:function(){return b.TD},DivDescriptor:function(){return y.fX},DivInterpreter:function(){return M.oA},DynamicDescriptor:function(){return y.Ts},Engine:function(){return A.N},Euler:function(){return s.O9},FragmentActor:function(){return b.aj},FragmentInterpreter:function(){return M.FG},Generate:function(){return l.w},Graphics:function(){return S.A1},HTMLActor:function(){return b.NA},HTMLDescriptor:function(){return y.Pp},HTMLServiceActor:function(){return b.u2},HTMLServiceDescriptor:function(){return y.q5},HTMLServiceInterpreter:function(){return M.Pk},HTMLTransformControllerActor:function(){return b.ZQ},HTMLTransformControllerDescriptor:function(){return y.xq},HTMLTransformControllerInterpreter:function(){return M.OH},HttpType:function(){return w.$B},InputSystem:function(){return p.U},InteractionDescriptor:function(){return v.MS},InteractionExecutor:function(){return v.oU},Interpreter:function(){return M.$R},LinearStyleColor:function(){return i.yq},Listener:function(){return d.r},Matrix4:function(){return s.kn},NodeDescriptor:function(){return y.KM},ObjectUtils:function(){return a.B},PrefaInterpreter:function(){return M.TS},PrefabInstanceDescriptor:function(){return y.X7},PrefabInstanceInterpreter:function(){return M.Gd},PrefabeDescriptor:function(){return y.Zl},Quaternion:function(){return s.PT},Queue:function(){return S.op},RadialStyleColor:function(){return i.GH},Scriptable:function(){return h.e},Serialization:function(){return o.z},ServiceDescriptor:function(){return y.RE},ServiceInterpreter:function(){return M._J},ServiceSchedulerDescriptor:function(){return y.K4},ServiceSchedulerInterpreter:function(){return M.B0},StyleActor:function(){return b.XI},StyleDescriptor:function(){return y.Jf},StyleInterpreter:function(){return M.KQ},StyleRule:function(){return y.aq},StyleShadow:function(){return y.CH},StyleSpacing:function(){return y.Dg},Traverser:function(){return f.B},Unit:function(){return S.Nf},VariableProxy:function(){return S.D_},Vector2:function(){return s.I9},Vector3:function(){return s.Pq},compile:function(){return w.wE},destroyInstance:function(){return g.Sh},executePreset:function(){return D.N},http:function(){return w.LV},interactionPreset:function(){return D.a},language:function(){return r.B},observer:function(){return S.PA},privateState:function(){return _.nP},setHttpHeaders:function(){return w.P},zhCnLanguageProvider:function(){return r.t}});var r=n(64898),s=n(64006),i=n(69776),o=n(21627),u=n(13591),c=n(48393),a=n(48583),l=n(47552),f=n(17227),d=n(13507),p=n(25946),g=n(97338),m=n(72094),h=n(65325),v=n(93360),y=n(21865),M=n(42778),w=n(35265),b=n(81789),S=n(51329),_=n(10692),D=n(23083),A=n(46597)},70172:function(e,t,n){n.r(t),n.d(t,{ExampleService:function(){return M},language:function(){return i},zhCnLanguageProvider:function(){return r}});const r={id:"zh_CN",name:"@vyr/service-example"};var s=n(75133);s.Locale.register(r);const i=s.Locale.getLanguage(r.name);var o=n(81336),u=n(93785),c=n(87167),a=n(34753),l=n(50931),f=Object.defineProperty,d=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t,n)=>d(e,"symbol"!==typeof t?t+"":t,n);class g{constructor(e){p(this,"ready",new l.AsyncTask),p(this,"service"),p(this,"_connection",()=>{const e=o.runtime.get("rpc");e.send(new u.Message.example.initialize.RequestMessage)}),p(this,"_disconnect",e=>{}),p(this,"_initialize",(e,t)=>{this.ready.run()}),this.service=e}listen(){const e=o.runtime.get("rpc");e.listen(u.Message.rpc.connection.Method,this._connection),e.listen(u.Message.rpc.disconnect.Method,this._disconnect),e.listen(u.Message.example.initialize.Method,this._initialize)}}var m=Object.defineProperty,h=(e,t,n)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v=(e,t,n)=>h(e,"symbol"!==typeof t?t+"":t,n),y=(e,t,n)=>new Promise((r,s)=>{var i=e=>{try{u(n.next(e))}catch(t){s(t)}},o=e=>{try{u(n.throw(e))}catch(t){s(t)}},u=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,o);u((n=n.apply(e,t)).next())});class M extends c.Service{constructor(e){super(e),v(this,"_provider"),this._provider=new g(this)}ready(){return y(this,null,function*(){this._provider.listen()})}start(){return y(this,null,function*(){yield this._provider.ready.done()})}list(e){const t=o.runtime.get("rpc");return t.send(new u.Message.example.list.RequestMessage(e))}create(e){const t=o.runtime.get("rpc");return t.send(new u.Message.example.create.RequestMessage(e))}delete(e){const t=o.runtime.get("rpc");return t.send(new u.Message.example.delete.RequestMessage(e))}apply(e,t){const n=o.runtime.get("rpc");return n.send(new u.Message.example.apply.RequestMessage(e,t))}download(e,t){return y(this,null,function*(){const n=yield u.request.get("/download/example",{params:{example:e},responseType:"blob"});a.AssetService.save(t,n.data)})}upload(e){return y(this,null,function*(){yield u.request.post("/upload/example",e)})}}},81336:function(e,t,n){n.r(t),n.d(t,{Action:function(){return i.r},ActionGroup:function(){return i.K},DataService:function(){return o.u},Draggable:function(){return c.s},DraggableService:function(){return c.f},Global:function(){return o.m},InspectorService:function(){return a.j},PresetService:function(){return u.R},RemoteService:function(){return l.e},Runtime:function(){return d.v},ShortcutkeyService:function(){return f.t},SidebarNavigator:function(){return s.I},Status:function(){return s.n},language:function(){return r.B},runtime:function(){return d.f},zhCnLanguageProvider:function(){return r.t}});var r=n(72931),s=n(34361),i=n(1520),o=n(46550),u=n(34774),c=n(2284),a=n(21822),l=n(52913),f=n(20986),d=n(69188)},92328:function(e,t,n){n.r(t),n.d(t,{Bridge:function(){return i.q},Collection:function(){return o.p},Job:function(){return s._},RemoteExecutor:function(){return u.Q},RemoteInvoker:function(){return a.p},RemoteProcess:function(){return c.u},language:function(){return r.B},zhCnLanguageProvider:function(){return r.t}});var r=n(28723),s=n(84105),i=n(76379),o=n(70026),u=n(93355),c=n(70151),a=n(22984)},93785:function(e,t,n){n.r(t),n.d(t,{Entity:function(){return r.wC},ExampleDO:function(){return r.Aj},ExampleVO:function(){return r.Uc},Message:function(){return r.QB},Method:function(){return r.IT},NoticeMessage:function(){return r.qe},Operation:function(){return r.I},RpcService:function(){return o.R},UseRecord:function(){return r.Nk},UserDO:function(){return r.bw},UserVO:function(){return r.dC},VirtualNode:function(){return r.UV},defineScheme:function(){return r.XZ},language:function(){return s.B},path:function(){return r.Ae},request:function(){return i.E},tokenKey:function(){return r.bV},topic:function(){return r.At},zhCnLanguageProvider:function(){return s.t}});var r=n(38788),s=n(70584),i=n(92699),o=n(9763)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[344,931,3312,7963],{50931:function(n,r,t){t.r(r),t.d(r,{Actor:function(){return T.Ag},AnimationUnitActor:function(){return T.g1},AnimationUnitDescriptor:function(){return A.uj},AnimationUnitInterpreter:function(){return g.DM},ArrayUtils:function(){return f.l},Asset:function(){return d.Vd},AssetGraph:function(){return d.jB},AsyncTask:function(){return I.g},BasicStyleColor:function(){return o.Ru},CameraDescriptor:function(){return A.Vp},Category:function(){return c.b},Color:function(){return o.Q1},Compilation:function(){return P.O2},ControllerDescriptor:function(){return A.SS},DatasetDescriptor:function(){return A.Y2},DatasetInterpreter:function(){return g.zI},DefaultStyleColor:function(){return o.E8},Dependencide:function(){return d.FD},Descriptor:function(){return A.oJ},DivActor:function(){return T.TD},DivDescriptor:function(){return A.fX},DivInterpreter:function(){return g.oA},DynamicDescriptor:function(){return A.Ts},Engine:function(){return H.N},Euler:function(){return u.O9},FragmentActor:function(){return T.aj},FragmentInterpreter:function(){return g.FG},Generate:function(){return s.w},Graphics:function(){return P.A1},HTMLActor:function(){return T.NA},HTMLDescriptor:function(){return A.Pp},HTMLServiceActor:function(){return T.u2},HTMLServiceDescriptor:function(){return A.q5},HTMLServiceInterpreter:function(){return g.Pk},HTMLTransformControllerActor:function(){return T.ZQ},HTMLTransformControllerDescriptor:function(){return A.xq},HTMLTransformControllerInterpreter:function(){return g.OH},HttpType:function(){return C.$B},InputSystem:function(){return D.U},InteractionDescriptor:function(){return v.MS},InteractionExecutor:function(){return v.oU},Interpreter:function(){return g.$R},LinearStyleColor:function(){return o.yq},Listener:function(){return l.r},Matrix4:function(){return u.kn},NodeDescriptor:function(){return A.KM},ObjectUtils:function(){return a.B},PrefaInterpreter:function(){return g.TS},PrefabInstanceDescriptor:function(){return A.X7},PrefabInstanceInterpreter:function(){return g.Gd},PrefabeDescriptor:function(){return A.Zl},Quaternion:function(){return u.PT},Queue:function(){return P.op},RadialStyleColor:function(){return o.GH},Scriptable:function(){return y.e},Serialization:function(){return i.z},ServiceDescriptor:function(){return A.RE},ServiceInterpreter:function(){return g._J},ServiceSchedulerDescriptor:function(){return A.K4},ServiceSchedulerInterpreter:function(){return g.B0},StyleActor:function(){return T.XI},StyleDescriptor:function(){return A.Jf},StyleInterpreter:function(){return g.KQ},StyleRule:function(){return A.aq},StyleShadow:function(){return A.CH},StyleSpacing:function(){return A.Dg},Traverser:function(){return p.B},Unit:function(){return P.Nf},VariableProxy:function(){return P.D_},Vector2:function(){return u.I9},Vector3:function(){return u.Pq},compile:function(){return C.wE},destroyInstance:function(){return S.Sh},executePreset:function(){return m.N},http:function(){return C.LV},interactionPreset:function(){return m.a},language:function(){return e.B},observer:function(){return P.PA},privateState:function(){return d.nP},setHttpHeaders:function(){return C.P},zhCnLanguageProvider:function(){return e.t}});var e=t(64898),u=t(64006),o=t(69776),i=t(21627),c=t(13591),f=t(48393),a=t(48583),s=t(47552),p=t(17227),l=t(13507),D=t(25946),S=t(97338),I=t(72094),y=t(65325),v=t(93360),A=t(21865),g=t(42778),C=t(35265),T=t(81789),P=t(51329),d=t(10692),m=t(23083),H=t(46597)},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)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[288,344,931,1018,3312,4939,7320,7907,7963,8637],{34753:function(e,t,n){n.r(t),n.d(t,{AssetService:function(){return M},language:function(){return o},zhCnLanguageProvider:function(){return r}});const r={id:"zh_CN",name:"@vyr/service-asset"};var u=n(75133);u.Locale.register(r);const o=u.Locale.getLanguage(r.name);var i=n(87167),s=n(81336),c=n(93785),a=n(50931),f=Object.defineProperty,l=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t,n)=>l(e,"symbol"!==typeof t?t+"":t,n),p=(e,t,n)=>new Promise((r,u)=>{var o=e=>{try{s(n.next(e))}catch(t){u(t)}},i=e=>{try{s(n.throw(e))}catch(t){u(t)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,i);s((n=n.apply(e,t)).next())});class g{constructor(e){d(this,"ready",new a.AsyncTask),d(this,"service"),d(this,"_connection",e=>p(null,null,function*(){const e=s.runtime.get("rpc");e.send(new c.Message.asset.initialize.RequestMessage)})),d(this,"_disconnect",e=>{this.service.root.clearUser(e.params.client)}),d(this,"_initialize",e=>{this.service.root.clear();for(const t of e.params.root.children)this.service.root.add(new c.VirtualNode(t));this.ready.run()}),d(this,"_open",e=>{const t=c.VirtualNode.get(e.params.url);t&&t.addUser(e.params.client)}),d(this,"_close",e=>{const t=c.VirtualNode.get(e.params.url);t&&t.removeUser(e.params.client)}),d(this,"_create",e=>{const t=c.VirtualNode.get(e.params.parent);null!==t&&(t.add(new c.VirtualNode(c.VirtualNode.deserialization(e.params.node))),t.sort())}),d(this,"_delete",e=>{const t=s.runtime.get("data");for(const n of e.params.urls){const e=c.VirtualNode.get(n);if(null===e)return;const r=e.traceAncestor(!1);null!==r.parent&&(this._clear(t.footer.status.stickupItems,e),r.parent.remove(e))}}),d(this,"_add",e=>{const t=a.Descriptor.get(e.params.parent);if(null!==t)if(e.params.next)for(const n of e.params.node){const r=a.Descriptor.create(n);t.insertBefore(r.uuid,e.params.next)}else for(const n of e.params.node){const e=a.Descriptor.create(n);t.add(e)}}),d(this,"_remove",e=>{const t=s.runtime.get("data"),n=t.sidebar.get(M.key);for(const r of e.params.uuids){const e=a.Descriptor.get(r);if(null===e)continue;const t=e.traceAncestor(!1);null!==t.parent&&(t.parent.remove(e),a.ArrayUtils.removeByKey(n.selectAll,"uuid",e.uuid),a.ArrayUtils.removeByKey(n.status.stickupItems,"uuid",e.uuid))}}),d(this,"_update",e=>{const t=a.Descriptor.get(e.params.content.uuid);t&&t.syncWith(e.params.content)}),d(this,"_dragdrap",e=>{const t=s.runtime.get("data"),n=t.sidebar.get(M.key);if(e.params.url!==n.url)return;const r=e.params.next?"insertBefore":e.params.type,u=e.params.next||e.params.targetData.data.uuid;for(const o of e.params.dragData.data.uuids)this.service.root[r](o,u)}),this.service=e}_clear(e,t){if(0!==e.length)for(const n of e)if(n.uuid===t.uuid)return void a.ArrayUtils.remove(e,n)}listen(){const e=s.runtime.get("rpc");e.listen(c.Message.rpc.connection.Method,this._connection),e.listen(c.Message.rpc.disconnect.Method,this._disconnect),e.listen(c.Message.asset.initialize.Method,this._initialize),e.listen(c.Message.asset.create.Method,this._create),e.listen(c.Message.asset.delete.Method,this._delete),e.listen(c.Message.asset.add.Method,this._add),e.listen(c.Message.asset.remove.Method,this._remove),e.listen(c.Message.asset.open.Method,this._open),e.listen(c.Message.asset.close.Method,this._close),e.listen(c.Message.asset.update.Method,this._update),e.listen(c.Message.asset.dragdrap.Method,this._dragdrap)}}var m=Object.defineProperty,h=(e,t,n)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v=(e,t,n)=>h(e,"symbol"!==typeof t?t+"":t,n),y=(e,t,n)=>new Promise((r,u)=>{var o=e=>{try{s(n.next(e))}catch(t){u(t)}},i=e=>{try{s(n.throw(e))}catch(t){u(t)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,i);s((n=n.apply(e,t)).next())});class M extends i.Service{constructor(e,t){super(e),v(this,"_provider",new g(this)),v(this,"root"),this.name=e,this.root=t}ready(){return y(this,null,function*(){this._provider.listen()})}start(){return y(this,null,function*(){yield this._provider.ready.done()})}select(e){const t=s.runtime.get("rpc");t.send(new c.Message.asset.select.RequestMessage(e))}open(e){const t=s.runtime.get("rpc");t.send(new c.Message.asset.open.RequestMessage(e))}close(e){const t=s.runtime.get("rpc");t.send(new c.Message.asset.close.RequestMessage(e))}create(e,t,n,r,u){const o=s.runtime.get("rpc");o.send(new c.Message.asset.create.RequestMessage(e,t,n,r,u))}delete(e){const t=Array.isArray(e)?e:[e];if(0===t.length)return;const n=s.runtime.get("rpc");n.send(new c.Message.asset.delete.RequestMessage(t))}add(e,t,n){const r=s.runtime.get("rpc");r.send(new c.Message.asset.add.RequestMessage(e,n,t))}remove(e,t){const n=s.runtime.get("rpc");n.send(new c.Message.asset.remove.RequestMessage(e,t))}dragdrap(e,t,n,r){const u=s.runtime.get("rpc");u.send(new c.Message.asset.dragdrap.RequestMessage(e,t,n,r))}rename(e,t){const n=s.runtime.get("rpc");n.send(new c.Message.asset.rename.RequestMessage(t,e))}cut(e,t){if(0===e.length)return;const n=s.runtime.get("rpc");n.send(new c.Message.asset.cut.RequestMessage(e,t))}copy(e,t){if(0===e.length)return;const n=s.runtime.get("rpc");n.send(new c.Message.asset.copy.RequestMessage(e,t))}update(e,t){const n=s.runtime.get("rpc");n.send(new c.Message.asset.update.RequestMessage(e,t))}read(e){return y(this,null,function*(){const t=yield c.request.get(e,{responseType:"text"});return t.data})}}v(M,"key","asset"),v(M,"save",(e,t)=>{const n=t instanceof Blob?t:new Blob([t]),r=window.URL.createObjectURL(n),u=document.createElement("a");u.href=r,u.setAttribute("download",e),document.body.appendChild(u),u.click(),document.body.removeChild(u),window.URL.revokeObjectURL(r)})},50931:function(e,t,n){n.r(t),n.d(t,{Actor:function(){return D.Ag},AnimationUnitActor:function(){return D.g1},AnimationUnitDescriptor:function(){return y.uj},AnimationUnitInterpreter:function(){return M.DM},ArrayUtils:function(){return c.l},Asset:function(){return w.Vd},AssetGraph:function(){return w.jB},AsyncTask:function(){return m.g},BasicStyleColor:function(){return o.Ru},CameraDescriptor:function(){return y.Vp},Category:function(){return s.b},Color:function(){return o.Q1},Compilation:function(){return b.O2},ControllerDescriptor:function(){return y.SS},DatasetDescriptor:function(){return y.Y2},DatasetInterpreter:function(){return M.zI},DefaultStyleColor:function(){return o.E8},Dependencide:function(){return w.FD},Descriptor:function(){return y.oJ},DivActor:function(){return D.TD},DivDescriptor:function(){return y.fX},DivInterpreter:function(){return M.oA},DynamicDescriptor:function(){return y.Ts},Engine:function(){return _.N},Euler:function(){return u.O9},FragmentActor:function(){return D.aj},FragmentInterpreter:function(){return M.FG},Generate:function(){return f.w},Graphics:function(){return b.A1},HTMLActor:function(){return D.NA},HTMLDescriptor:function(){return y.Pp},HTMLServiceActor:function(){return D.u2},HTMLServiceDescriptor:function(){return y.q5},HTMLServiceInterpreter:function(){return M.Pk},HTMLTransformControllerActor:function(){return D.ZQ},HTMLTransformControllerDescriptor:function(){return y.xq},HTMLTransformControllerInterpreter:function(){return M.OH},HttpType:function(){return S.$B},InputSystem:function(){return p.U},InteractionDescriptor:function(){return v.MS},InteractionExecutor:function(){return v.oU},Interpreter:function(){return M.$R},LinearStyleColor:function(){return o.yq},Listener:function(){return d.r},Matrix4:function(){return u.kn},NodeDescriptor:function(){return y.KM},ObjectUtils:function(){return a.B},PrefaInterpreter:function(){return M.TS},PrefabInstanceDescriptor:function(){return y.X7},PrefabInstanceInterpreter:function(){return M.Gd},PrefabeDescriptor:function(){return y.Zl},Quaternion:function(){return u.PT},Queue:function(){return b.op},RadialStyleColor:function(){return o.GH},Scriptable:function(){return h.e},Serialization:function(){return i.z},ServiceDescriptor:function(){return y.RE},ServiceInterpreter:function(){return M._J},ServiceSchedulerDescriptor:function(){return y.K4},ServiceSchedulerInterpreter:function(){return M.B0},StyleActor:function(){return D.XI},StyleDescriptor:function(){return y.Jf},StyleInterpreter:function(){return M.KQ},StyleRule:function(){return y.aq},StyleShadow:function(){return y.CH},StyleSpacing:function(){return y.Dg},Traverser:function(){return l.B},Unit:function(){return b.Nf},VariableProxy:function(){return b.D_},Vector2:function(){return u.I9},Vector3:function(){return u.Pq},compile:function(){return S.wE},destroyInstance:function(){return g.Sh},executePreset:function(){return A.N},http:function(){return S.LV},interactionPreset:function(){return A.a},language:function(){return r.B},observer:function(){return b.PA},privateState:function(){return w.nP},setHttpHeaders:function(){return S.P},zhCnLanguageProvider:function(){return r.t}});var r=n(64898),u=n(64006),o=n(69776),i=n(21627),s=n(13591),c=n(48393),a=n(48583),f=n(47552),l=n(17227),d=n(13507),p=n(25946),g=n(97338),m=n(72094),h=n(65325),v=n(93360),y=n(21865),M=n(42778),S=n(35265),D=n(81789),b=n(51329),w=n(10692),A=n(23083),_=n(46597)},81336:function(e,t,n){n.r(t),n.d(t,{Action:function(){return o.r},ActionGroup:function(){return o.K},DataService:function(){return i.u},Draggable:function(){return c.s},DraggableService:function(){return c.f},Global:function(){return i.m},InspectorService:function(){return a.j},PresetService:function(){return s.R},RemoteService:function(){return f.e},Runtime:function(){return d.v},ShortcutkeyService:function(){return l.t},SidebarNavigator:function(){return u.I},Status:function(){return u.n},language:function(){return r.B},runtime:function(){return d.f},zhCnLanguageProvider:function(){return r.t}});var r=n(72931),u=n(34361),o=n(1520),i=n(46550),s=n(34774),c=n(2284),a=n(21822),f=n(52913),l=n(20986),d=n(69188)},92328:function(e,t,n){n.r(t),n.d(t,{Bridge:function(){return o.q},Collection:function(){return i.p},Job:function(){return u._},RemoteExecutor:function(){return s.Q},RemoteInvoker:function(){return a.p},RemoteProcess:function(){return c.u},language:function(){return r.B},zhCnLanguageProvider:function(){return r.t}});var r=n(28723),u=n(84105),o=n(76379),i=n(70026),s=n(93355),c=n(70151),a=n(22984)},93785:function(e,t,n){n.r(t),n.d(t,{Entity:function(){return r.wC},ExampleDO:function(){return r.Aj},ExampleVO:function(){return r.Uc},Message:function(){return r.QB},Method:function(){return r.IT},NoticeMessage:function(){return r.qe},Operation:function(){return r.I},RpcService:function(){return i.R},UseRecord:function(){return r.Nk},UserDO:function(){return r.bw},UserVO:function(){return r.dC},VirtualNode:function(){return r.UV},defineScheme:function(){return r.XZ},language:function(){return u.B},path:function(){return r.Ae},request:function(){return o.E},tokenKey:function(){return r.bV},topic:function(){return r.At},zhCnLanguageProvider:function(){return u.t}});var r=n(38788),u=n(70584),o=n(92699),i=n(9763)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[288,344,931,1508,2132,3312,4939,7320,7907,7963,9127,9751],{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 l.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},VyrHeaderSearch:function(){return a.Vz},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 s.qr},global:function(){return s.Sf},header:function(){return s.wx},language:function(){return o.B},option:function(){return i},preset:function(){return c.I},providerDescriptor:function(){return f.nh},rightMenu:function(){return l.f},setup:function(){return s.mj},sidebar:function(){return s.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(70423),f=t(12350),a=t(92246),l=t(46247),s=t(30288)},32132:function(n,r,t){t.r(r),t.d(r,{ArrayUtils:function(){return z.lv},Color:function(){return z.Q1},DraggableController:function(){return B.g},Listener:function(){return z.rZ},Loading:function(){return k.Rh},NotifySetting:function(){return x.G8},ResizeListener:function(){return O.T},RightMenuSetting:function(){return x.Eo},Theme:function(){return e.S},VyrButton:function(){return c.A},VyrCard:function(){return a.A},VyrCascader:function(){return l.A},VyrChecked:function(){return s.A},VyrCheckedGroup:function(){return g.A},VyrCol:function(){return p.A},VyrColorPicker:function(){return y.A},VyrDialog:function(){return A.A},VyrDivider:function(){return f.A},VyrDraggable:function(){return V.A},VyrDrapdown:function(){return d.A},VyrDynamicLayouter:function(){return S.A},VyrForm:function(){return m.A},VyrInput:function(){return D.A},VyrInputNumber:function(){return v.A},VyrLabel:function(){return C.A},VyrMask:function(){return I.A},VyrOption:function(){return b.A},VyrOptions:function(){return h.A},VyrPopover:function(){return L.A},VyrProvider:function(){return P.A},VyrRightMenu:function(){return E.A},VyrRow:function(){return T.A},VyrScroll:function(){return R.A},VyrSelect:function(){return M.A},VyrSlot:function(){return i.A},VyrTable:function(){return o.b},VyrTableCommon:function(){return u},VyrTree:function(){return H.A},addFloatLayer:function(){return x.r4},computedFloatLayer:function(){return x.tg},confirm:function(){return k.lJ},confirmKey:function(){return x.GR},createPopper:function(){return x.n4},dialog:function(){return k.r3},dialogKey:function(){return x.SE},dialogPrivateWarp:function(){return x.g_},dynamicLayouterlisteners:function(){return x.CG},floatLayer:function(){return x.iF},generateFloatLayer:function(){return x.pi},getConfirmState:function(){return x.Wz},getDialogHeight:function(){return x.Ub},getDialogState:function(){return x.MX},getDialogWrapHeight:function(){return x.YZ},getDialogWrapRect:function(){return x.Tl},getDirective:function(){return x.e8},getFirstVNode:function(){return x.RB},getInputValue:function(){return x.y5},getOnlyNode:function(){return x.ZO},getOptions:function(){return x.$E},getSearchOptions:function(){return x.Ds},getSelectOptions:function(){return x.pN},inputNumberReExp:function(){return x.ap},isActiveLayer:function(){return x.mo},isContains:function(){return x.c5},language:function(){return N.B},loading:function(){return k.Lq},notify:function(){return k.me},observer:function(){return x.PA},removeFloatLayer:function(){return x.Cn},seActiveLayer:function(){return x.gV},tooltip:function(){return x.YL},useConfirmState:function(){return x.V2},useDialogState:function(){return x.pA},zhCnLanguageProvider:function(){return N.t}});var e=t(32946),u=t(80346),o=t(48842),i=t(7931),c=t(62687),f=t(41030),a=t(62517),l=t(67079),s=t(43554),g=t(33947),p=t(15687),y=t(38430),d=t(68676),A=t(8715),V=t(66384),S=t(91905),m=t(75465),D=t(18985),v=t(55522),C=t(91023),I=t(73923),b=t(81320),h=t(54963),L=t(67698),P=t(72756),T=t(98433),R=t(60460),M=t(62263),H=t(60651),E=t(78966),N=t(7135),B=t(57744),O=t(4615),k=t(1307),x=t(93623),z=t(29255);u.ModuleRegistry.registerModules([u.AllCommunityModule])},50931:function(n,r,t){t.r(r),t.d(r,{Actor:function(){return v.Ag},AnimationUnitActor:function(){return v.g1},AnimationUnitDescriptor:function(){return S.uj},AnimationUnitInterpreter:function(){return m.DM},ArrayUtils:function(){return f.l},Asset:function(){return I.Vd},AssetGraph:function(){return I.jB},AsyncTask:function(){return d.g},BasicStyleColor:function(){return o.Ru},CameraDescriptor:function(){return S.Vp},Category:function(){return c.b},Color:function(){return o.Q1},Compilation:function(){return C.O2},ControllerDescriptor:function(){return S.SS},DatasetDescriptor:function(){return S.Y2},DatasetInterpreter:function(){return m.zI},DefaultStyleColor:function(){return o.E8},Dependencide:function(){return I.FD},Descriptor:function(){return S.oJ},DivActor:function(){return v.TD},DivDescriptor:function(){return S.fX},DivInterpreter:function(){return m.oA},DynamicDescriptor:function(){return S.Ts},Engine:function(){return h.N},Euler:function(){return u.O9},FragmentActor:function(){return v.aj},FragmentInterpreter:function(){return m.FG},Generate:function(){return l.w},Graphics:function(){return C.A1},HTMLActor:function(){return v.NA},HTMLDescriptor:function(){return S.Pp},HTMLServiceActor:function(){return v.u2},HTMLServiceDescriptor:function(){return S.q5},HTMLServiceInterpreter:function(){return m.Pk},HTMLTransformControllerActor:function(){return v.ZQ},HTMLTransformControllerDescriptor:function(){return S.xq},HTMLTransformControllerInterpreter:function(){return m.OH},HttpType:function(){return D.$B},InputSystem:function(){return p.U},InteractionDescriptor:function(){return V.MS},InteractionExecutor:function(){return V.oU},Interpreter:function(){return m.$R},LinearStyleColor:function(){return o.yq},Listener:function(){return g.r},Matrix4:function(){return u.kn},NodeDescriptor:function(){return S.KM},ObjectUtils:function(){return a.B},PrefaInterpreter:function(){return m.TS},PrefabInstanceDescriptor:function(){return S.X7},PrefabInstanceInterpreter:function(){return m.Gd},PrefabeDescriptor:function(){return S.Zl},Quaternion:function(){return u.PT},Queue:function(){return C.op},RadialStyleColor:function(){return o.GH},Scriptable:function(){return A.e},Serialization:function(){return i.z},ServiceDescriptor:function(){return S.RE},ServiceInterpreter:function(){return m._J},ServiceSchedulerDescriptor:function(){return S.K4},ServiceSchedulerInterpreter:function(){return m.B0},StyleActor:function(){return v.XI},StyleDescriptor:function(){return S.Jf},StyleInterpreter:function(){return m.KQ},StyleRule:function(){return S.aq},StyleShadow:function(){return S.CH},StyleSpacing:function(){return S.Dg},Traverser:function(){return s.B},Unit:function(){return C.Nf},VariableProxy:function(){return C.D_},Vector2:function(){return u.I9},Vector3:function(){return u.Pq},compile:function(){return D.wE},destroyInstance:function(){return y.Sh},executePreset:function(){return b.N},http:function(){return D.LV},interactionPreset:function(){return b.a},language:function(){return e.B},observer:function(){return C.PA},privateState:function(){return I.nP},setHttpHeaders:function(){return D.P},zhCnLanguageProvider:function(){return e.t}});var e=t(64898),u=t(64006),o=t(69776),i=t(21627),c=t(13591),f=t(48393),a=t(48583),l=t(47552),s=t(17227),g=t(13507),p=t(25946),y=t(97338),d=t(72094),A=t(65325),V=t(93360),S=t(21865),m=t(42778),D=t(35265),v=t(81789),C=t(51329),I=t(10692),b=t(23083),h=t(46597)},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 l.e},Runtime:function(){return g.v},ShortcutkeyService:function(){return s.t},SidebarNavigator:function(){return u.I},Status:function(){return u.n},language:function(){return e.B},runtime:function(){return g.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),l=t(52913),s=t(20986),g=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 i.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},request:function(){return o.E},tokenKey:function(){return e.bV},topic:function(){return e.At},zhCnLanguageProvider:function(){return u.t}});var e=t(38788),u=t(70584),o=t(92699),i=t(9763)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[9160],{99160:function(e,t,r){r.r(t),r.d(t,{default:function(){return h}});var a=r(67227),n=r(14291),l=r(81336),o=r(21275),u=r(50931),s=r(10950),c=Object.defineProperty,i=Object.defineProperties,p=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,y=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))v.call(t,r)&&y(e,r,t[r]);if(d)for(var r of d(t))f.call(t,r)&&y(e,r,t[r]);return e},O=(e,t)=>i(e,p(t));const j={class:"vyr-json-editor"};var g=(0,a.pM)({__name:"JsonEditor",props:{url:{},readonly:{type:Boolean}},setup(e){const t=e,r=(0,s.FU)(),c=l.runtime.get("asset");let i={};const p=(0,n.KR)("{}"),d=()=>{var e;if(null===r.value||!1===Object.hasOwn(r.value,"defaultData"))p.value="{}";else{if(u.ObjectUtils.equals(i,r.value.defaultData))return;p.value=JSON.stringify(null!=(e=r.value.defaultData)?e:{},null,2)}};(0,a.wB)(()=>r.value,d,{deep:!0,immediate:!0});const v=e=>{try{return JSON.parse(e)}catch(t){return console.log(t),null}},f=e=>{const a=v(e);if(null===a)return;const n=O(b({},r.value),{defaultData:a});c.update(t.url,n),i=e};return(t,r)=>((0,a.uX)(),(0,a.CE)("div",j,[(0,a.bF)((0,n.R1)(o.VyrCodeEditor),{language:"json",content:p.value,readonly:e.readonly,onChange:f},null,8,["content","readonly"])]))}}),w=r(45904);const _=(0,w.A)(g,[["__scopeId","data-v-91438c18"]]);var h=_}}]);