This commit is contained in:
PC-20230316NUNE\Administrator
2023-10-23 18:56:01 +08:00
parent ac94959a45
commit 77d44ee300
328 changed files with 16429 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
{
"type": ["bt.SharedBoolean", "bt.SharedNode", "bt.SharedNumber", "bt.SharedString"],
"global": {
},
"unsupported": ["bt.SharedArray", "bt.SharedCustom"]
}

View File

@@ -0,0 +1,3 @@
{
"ignore": ["RigidBodyComponent", "ColliderComponent", "RenderableComponent"]
}

View File

@@ -0,0 +1 @@
'use strict';var _0x20718a=_0x1fb7;function _0x1fb7(_0x3d2def,_0x217f1a){var _0x31a30f=_0x31a3();return _0x1fb7=function(_0x1fb7cb,_0x571680){_0x1fb7cb=_0x1fb7cb-0x167;var _0x22e6b1=_0x31a30f[_0x1fb7cb];return _0x22e6b1;},_0x1fb7(_0x3d2def,_0x217f1a);}(function(_0x29e29a,_0x35920b){var _0x4cf57f=_0x1fb7,_0xb2247a=_0x29e29a();while(!![]){try{var _0x4abea3=parseInt(_0x4cf57f(0x181))/0x1*(-parseInt(_0x4cf57f(0x182))/0x2)+parseInt(_0x4cf57f(0x17c))/0x3*(-parseInt(_0x4cf57f(0x17a))/0x4)+parseInt(_0x4cf57f(0x16f))/0x5*(-parseInt(_0x4cf57f(0x17b))/0x6)+-parseInt(_0x4cf57f(0x171))/0x7*(parseInt(_0x4cf57f(0x175))/0x8)+parseInt(_0x4cf57f(0x184))/0x9+parseInt(_0x4cf57f(0x16a))/0xa+-parseInt(_0x4cf57f(0x172))/0xb*(-parseInt(_0x4cf57f(0x18b))/0xc);if(_0x4abea3===_0x35920b)break;else _0xb2247a['push'](_0xb2247a['shift']());}catch(_0x3e18eb){_0xb2247a['push'](_0xb2247a['shift']());}}}(_0x31a3,0xd9ed7));var __createBinding=this&&this['__createBinding']||(Object[_0x20718a(0x174)]?function(_0x455d2d,_0xb4fceb,_0x30c036,_0x1efa5f){var _0x25e8e5=_0x20718a;void 0x0===_0x1efa5f&&(_0x1efa5f=_0x30c036);var _0x14010c=Object[_0x25e8e5(0x18e)](_0xb4fceb,_0x30c036);_0x14010c&&(_0x25e8e5(0x17d)in _0x14010c?_0xb4fceb['__esModule']:!_0x14010c[_0x25e8e5(0x193)]&&!_0x14010c[_0x25e8e5(0x194)])||(_0x14010c={'enumerable':!0x0,'get':function(){return _0xb4fceb[_0x30c036];}}),Object['defineProperty'](_0x455d2d,_0x1efa5f,_0x14010c);}:function(_0x44185c,_0x19ddea,_0x282a3e,_0x4f5a24){_0x44185c[_0x4f5a24=void 0x0===_0x4f5a24?_0x282a3e:_0x4f5a24]=_0x19ddea[_0x282a3e];}),__setModuleDefault=this&&this[_0x20718a(0x16c)]||(Object[_0x20718a(0x174)]?function(_0x433e72,_0x5f4733){Object['defineProperty'](_0x433e72,'default',{'enumerable':!0x0,'value':_0x5f4733});}:function(_0xa775dc,_0x15b5e6){var _0x340fd6=_0x20718a;_0xa775dc[_0x340fd6(0x176)]=_0x15b5e6;}),__importStar=this&&this[_0x20718a(0x179)]||function(_0x4da497){var _0xb25167=_0x20718a;if(_0x4da497&&_0x4da497[_0xb25167(0x177)])return _0x4da497;var _0x56574c={};if(null!=_0x4da497){for(var _0x1b7574 in _0x4da497)_0xb25167(0x176)!==_0x1b7574&&Object[_0xb25167(0x170)][_0xb25167(0x17f)][_0xb25167(0x189)](_0x4da497,_0x1b7574)&&__createBinding(_0x56574c,_0x4da497,_0x1b7574);}return __setModuleDefault(_0x56574c,_0x4da497),_0x56574c;};Object[_0x20718a(0x187)](exports,_0x20718a(0x177),{'value':!0x0});const packageJSON=__importStar(require(_0x20718a(0x180))),temp1=_0x20718a(0x188),temp2=_0x20718a(0x169);let component=null,root_uuid='';module[_0x20718a(0x18c)]=Editor[_0x20718a(0x185)][_0x20718a(0x183)]({'$':{'button':_0x20718a(0x198)},'template':temp1,'update'(_0x10f2b2){var _0x17193c=_0x20718a;(_0x10f2b2=((_0x10f2b2[_0x17193c(0x18d)]||{})[_0x17193c(0x18a)]||{})[_0x17193c(0x18d)]||{})[_0x17193c(0x192)]&&(root_uuid=_0x10f2b2['uuid'],this['getCompoennts'](_0x10f2b2[_0x17193c(0x192)]));},'ready'(){var _0x3d40cf=_0x20718a;this[_0x3d40cf(0x197)](!0x1);let _0x4ce06b=this[_0x3d40cf(0x17e)]();_0x4ce06b['addEventListener'](_0x3d40cf(0x16d),()=>{var _0x2039ec=_0x3d40cf;component&&component[_0x2039ec(0x16b)]?Editor[_0x2039ec(0x167)]['send'](packageJSON[_0x2039ec(0x168)],_0x2039ec(0x18f),{'component':component,'uuid':root_uuid}):Editor[_0x2039ec(0x167)][_0x2039ec(0x178)](packageJSON[_0x2039ec(0x168)],_0x2039ec(0x18f),{'msg':'You\x20must\x20assign\x20a\x20JsonAsset\x20before\x20editing\x20the\x20behavior\x20tree.'});});},'close'(){},'methods':{'getButton'(){var _0x3578ea=_0x20718a;return this['$'][_0x3578ea(0x16e)];},'showButton'(_0x714782){var _0x490476=_0x20718a;this[_0x490476(0x17e)]()[_0x490476(0x190)]['display']=_0x714782?_0x490476(0x173):_0x490476(0x186);},async 'getCompoennts'(_0x2190e4){var _0x332355=_0x20718a;_0x2190e4=await Editor['Message'][_0x332355(0x196)](_0x332355(0x195),'execute-scene-script',{'name':packageJSON[_0x332355(0x168)],'method':'getBehaviorTreeInfo','args':[_0x2190e4]}),_0x2190e4&&0x0<_0x2190e4[_0x332355(0x191)]?(component=_0x2190e4[0x0],this[_0x332355(0x197)](!0x0)):component=null;}}});function _0x31a3(){var _0x46d964=['send','__importStar','1909068kyPQnA','534dnQBoN','3QeraqM','get','getButton','hasOwnProperty','../../package.json','23620KCdRtA','2ZeZXiB','define','12028176XTsruJ','Panel','none','defineProperty','\x0a<ui-button\x20style=\x22width:\x2080%;\x20margin:\x2020px\x2010%\x205px;\x20border:\x20dashed\x201px\x22>Edit\x20Behavior</ui-button>\x0a','call','node','92208GpGHoO','exports','value','getOwnPropertyDescriptor','edit-behavior','style','length','uuid','writable','configurable','scene','request','showButton','ui-button','Message','name','\x0a<ui-prop>\x0a\x20\x20\x20\x20<ui-label\x20value=\x22Button\x22\x20slot=\x22label\x22></ui-label>\x0a\x20\x20\x20\x20<ui-button\x20slot=\x22content\x22>Edit\x20Behavior</ui-button>\x0a</ui-prop>\x0a','158340JBQFeU','jsonAsset','__setModuleDefault','confirm','button','36925oRUgUR','prototype','5384113zoTaAO','2101JeiGoo','block','create','8JBeUGJ','default','__esModule'];_0x31a3=function(){return _0x46d964;};return _0x31a3();}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
'use strict';const _0x3225c8=_0xb98f;function _0x28d3(){const _0x1c2b1b=['22023vgUMBw','getInstance','getOneVariable','bt.SharedBoolean','cc.Enum','getBlackboardAllType','name','number','2381GMqrnW','../../../utils/blackboard','isTypeVariable','bt.SharedDynamic','910bLKQGM','187624fvoTfw','default','bt.SharedVariable','TYPE','bt.SharedNumber','string','2496EExBDS','includes','bt.SharedNode','sort','common','Blackboard','defineProperty','enum','6072890rPgRFS','__esModule','boolean','3657006YHaUDc','10OFEdtl','getAllVariable','45xhjzlB','bt.SharedString','5830216rbMlFi','9025093TjuLZW','filter'];_0x28d3=function(){return _0x1c2b1b;};return _0x28d3();}function _0xb98f(_0x2f9119,_0x34a71f){const _0x28d353=_0x28d3();return _0xb98f=function(_0xb98ff9,_0x292f40){_0xb98ff9=_0xb98ff9-0x19c;let _0x5833df=_0x28d353[_0xb98ff9];return _0x5833df;},_0xb98f(_0x2f9119,_0x34a71f);}(function(_0x23ec1e,_0x4945ad){const _0x27779b=_0xb98f,_0x24802c=_0x23ec1e();while(!![]){try{const _0x3abcab=-parseInt(_0x27779b(0x1a6))/0x1*(parseInt(_0x27779b(0x1aa))/0x2)+parseInt(_0x27779b(0x1bf))/0x3*(parseInt(_0x27779b(0x1ab))/0x4)+-parseInt(_0x27779b(0x1bd))/0x5*(-parseInt(_0x27779b(0x1bc))/0x6)+-parseInt(_0x27779b(0x1c1))/0x7+-parseInt(_0x27779b(0x1b1))/0x8*(parseInt(_0x27779b(0x19e))/0x9)+parseInt(_0x27779b(0x1b9))/0xa+parseInt(_0x27779b(0x19c))/0xb;if(_0x3abcab===_0x4945ad)break;else _0x24802c['push'](_0x24802c['shift']());}catch(_0x4fc44b){_0x24802c['push'](_0x24802c['shift']());}}}(_0x28d3,0xa3bad));Object[_0x3225c8(0x1b7)](exports,_0x3225c8(0x1ba),{'value':!0x0}),exports[_0x3225c8(0x1b5)]=void 0x0;const blackboard_1=require(_0x3225c8(0x1a7)),blackboard=blackboard_1[_0x3225c8(0x1b6)][_0x3225c8(0x19f)]();exports[_0x3225c8(0x1b5)]={'getDefaultValue'(_0x557944){const _0x127a54=_0x3225c8;switch(_0x557944){case _0x127a54(0x1a5):case _0x127a54(0x1af):return 0x0;case _0x127a54(0x1b0):case _0x127a54(0x1c0):return'';case _0x127a54(0x1bb):case _0x127a54(0x1a1):return!0x1;default:return'';}},'isTypeString'(_0x3f0570){const _0x4ea495=_0x3225c8;return _0x3f0570[_0x4ea495(0x1ae)]?'bt.SharedString'==_0x3f0570[_0x4ea495(0x1ae)]:_0x4ea495(0x1b0)==typeof _0x3f0570[_0x4ea495(0x1ac)];},'isTypeNumber'(_0x489569){const _0x436428=_0x3225c8;return _0x489569[_0x436428(0x1ae)]?_0x436428(0x1af)==_0x489569['TYPE']:_0x436428(0x1a5)==typeof _0x489569[_0x436428(0x1ac)];},'isTypeBoolean'(_0x36d4b1){const _0x12c35d=_0x3225c8;return _0x36d4b1[_0x12c35d(0x1ae)]?_0x12c35d(0x1a1)==_0x36d4b1['TYPE']:'boolean'==typeof _0x36d4b1[_0x12c35d(0x1ac)];},'isTypeNode'(_0x1ed668){const _0x2686b6=_0x3225c8;return'cc.Node'==_0x1ed668[_0x2686b6(0x1ae)]||_0x2686b6(0x1b3)==_0x1ed668[_0x2686b6(0x1ae)];},'isTypeEnum'(_0x60b7d8){const _0x4a6684=_0x3225c8;return _0x4a6684(0x1a2)==_0x60b7d8[_0x4a6684(0x1ae)];},'isTypeBlackboard'(_0x4cbcc1){const _0x214d9b=_0x3225c8,_0x1c559c=this[_0x214d9b(0x1a3)]();return _0x1c559c instanceof Array&&_0x1c559c[_0x214d9b(0x1b2)](_0x4cbcc1[_0x214d9b(0x1ae)]);},'isTypeVariable'(_0xcb5c36){const _0xee0070=_0x3225c8;return _0xee0070(0x1ad)==_0xcb5c36['TYPE'];},'isTypeDynamic'(_0xf71c83){const _0x4b2861=_0x3225c8;return _0x4b2861(0x1a9)==_0xf71c83['TYPE'];},'getOneVariable'(_0x5c9238){const _0x12e01c=_0x3225c8;return blackboard[_0x12e01c(0x1a0)](_0x5c9238);},'getBlackboardAllType'(){return blackboard['getAllType']();},'getBlackboardVariableList'(_0x3c181e){const _0x548c88=_0x3225c8,_0x51af7d=blackboard['getAllVariable']();let _0xd39be5=_0x51af7d[_0x548c88(0x19d)](_0x5652f7=>_0x5652f7['value'][_0x548c88(0x1ae)]==_0x3c181e[_0x548c88(0x1ae)]);return _0xd39be5[_0x548c88(0x1b4)]((_0xb1d229,_0x4bba41)=>_0xb1d229[_0x548c88(0x1a4)]['localeCompare'](_0x4bba41[_0x548c88(0x1a4)])),_0xd39be5;},'getEnumVariableList'(_0x438ce0){const _0x4bd9a9=_0x3225c8;return _0x438ce0[_0x4bd9a9(0x1b8)];},'getAllVariableList'(_0x50e2d6){const _0x4ee880=_0x3225c8;let _0x273410=[];return this[_0x4ee880(0x1a8)](_0x50e2d6)&&(_0x273410=blackboard[_0x4ee880(0x1be)]())[_0x4ee880(0x1b4)]((_0x2f402d,_0x45fbb6)=>_0x2f402d[_0x4ee880(0x1a4)]['localeCompare'](_0x45fbb6[_0x4ee880(0x1a4)])),_0x273410;}};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
'use strict';function _0x157d(){const _0x1a0202=['uuid','6MroAnn','path','3394106gfXInk','onSyncAllData','../../../utils/util','join','../../../../static/template/update_tree/index.html','request','运行时版本:','packageJSON','63779190swjEge','Message','exports','674020TewLOk','length','version_waring','8241462jXQhHo','utf-8','5683948IRuLiX','log','../../../../static/template/vue/update_tree.html','../../../../static/style/update_tree/index.css','1877379wIFdxf','get\x20json\x20file\x20error:\x20','runtime','version','default','blackboard','fs-extra','#tree_panel_app','defineProperty','readFileSync','app','localeCompare','refs','push','file','8oyXfpo','list','util','cc.JsonAsset','parse','hide','1234933IHkQhv','asset-db','show','query-assets','Panel','define','3DmiUft','version_error'];_0x157d=function(){return _0x1a0202;};return _0x157d();}const _0x187041=_0x2d92;(function(_0x4c7cd7,_0x172d30){const _0x4762bf=_0x2d92,_0x33bb14=_0x4c7cd7();while(!![]){try{const _0x45aed7=-parseInt(_0x4762bf(0x151))/0x1+parseInt(_0x4762bf(0x128))/0x2*(-parseInt(_0x4762bf(0x123))/0x3)+-parseInt(_0x4762bf(0x138))/0x4+parseInt(_0x4762bf(0x133))/0x5+parseInt(_0x4762bf(0x126))/0x6*(-parseInt(_0x4762bf(0x13c))/0x7)+parseInt(_0x4762bf(0x14b))/0x8*(-parseInt(_0x4762bf(0x136))/0x9)+parseInt(_0x4762bf(0x130))/0xa;if(_0x45aed7===_0x172d30)break;else _0x33bb14['push'](_0x33bb14['shift']());}catch(_0x225fcf){_0x33bb14['push'](_0x33bb14['shift']());}}}(_0x157d,0xee3db));var __importDefault=this&&this['__importDefault']||function(_0x2e7a4a){return _0x2e7a4a&&_0x2e7a4a['__esModule']?_0x2e7a4a:{'default':_0x2e7a4a};};function _0x2d92(_0x20665e,_0x4afb51){const _0x157d35=_0x157d();return _0x2d92=function(_0x2d9272,_0x90c4e2){_0x2d9272=_0x2d9272-0x123;let _0x616a9b=_0x157d35[_0x2d9272];return _0x616a9b;},_0x2d92(_0x20665e,_0x4afb51);}Object[_0x187041(0x144)](exports,'__esModule',{'value':!0x0});const fs_extra_1=require(_0x187041(0x142)),path_1=require(_0x187041(0x127)),vue_1=__importDefault(require('vue/dist/vue')),util_1=require(_0x187041(0x12a));module[_0x187041(0x132)]=Editor[_0x187041(0x155)][_0x187041(0x156)]({'listeners':{'show'(){const _0x16adf1=_0x187041;console[_0x16adf1(0x139)](_0x16adf1(0x153));},'hide'(){const _0xa9d722=_0x187041;console[_0xa9d722(0x139)](_0xa9d722(0x150));}},'template':(0x0,fs_extra_1['readFileSync'])((0x0,path_1[_0x187041(0x12b)])(__dirname,_0x187041(0x12c)),_0x187041(0x137)),'style':(0x0,fs_extra_1[_0x187041(0x145)])((0x0,path_1['join'])(__dirname,_0x187041(0x13b)),'utf-8'),'$':{'app':_0x187041(0x143)},'methods':{'hello'(){}},'ready'(){const _0x398a13=_0x187041;this['$'][_0x398a13(0x146)]&&new vue_1[(_0x398a13(0x140))]({'template':(0x0,fs_extra_1[_0x398a13(0x145)])((0x0,path_1[_0x398a13(0x12b)])(__dirname,_0x398a13(0x13a)),_0x398a13(0x137)),'data'(){return{'list':[]};},'mounted'(){this['initList']();},'methods':{async 'initList'(){const _0x1d8127=_0x398a13;this[_0x1d8127(0x14c)][_0x1d8127(0x134)]=0x0;let _0xd866b=await Editor[_0x1d8127(0x131)][_0x1d8127(0x12d)](_0x1d8127(0x152),_0x1d8127(0x154),{'ccType':_0x1d8127(0x14e),'pattern':'db://**'});_0xd866b['forEach'](_0x3df714=>{const _0x23e20f=_0x1d8127;try{let _0x229388={};_0x229388['url']=_0x3df714['url'],_0x229388[_0x23e20f(0x125)]=_0x3df714[_0x23e20f(0x125)];var _0xa3b96c=(0x0,fs_extra_1['readFileSync'])(_0x3df714[_0x23e20f(0x14a)],_0x23e20f(0x137)),_0x1810bb=JSON[_0x23e20f(0x14f)](_0xa3b96c);'string'==typeof(null==_0x1810bb?void 0x0:_0x1810bb['version'])&&((_0x1810bb[_0x23e20f(0x13e)]==util_1[_0x23e20f(0x14d)][_0x23e20f(0x12f)]['name']||_0x1810bb['root']&&_0x1810bb[_0x23e20f(0x141)]&&_0x1810bb[_0x23e20f(0x148)])&&(_0x229388[_0x23e20f(0x13f)]=_0x1810bb[_0x23e20f(0x13f)]),_0x229388[_0x23e20f(0x13f)]&&this[_0x23e20f(0x14c)][_0x23e20f(0x149)](_0x229388));}catch(_0x13cbcf){util_1[_0x23e20f(0x14d)]['error'](_0x23e20f(0x13d),_0x13cbcf);}});},'onSyncAllData'(){const _0x5e6a10=_0x398a13;console[_0x5e6a10(0x139)](_0x5e6a10(0x129));},'getVersion'(){const _0x56e5ff=_0x398a13;return _0x56e5ff(0x12e)+util_1[_0x56e5ff(0x14d)][_0x56e5ff(0x12f)][_0x56e5ff(0x13f)];},'getVersionColor'(_0x13cd92){const _0x298595=_0x398a13;return _0x13cd92['version'][_0x298595(0x147)](util_1[_0x298595(0x14d)][_0x298595(0x12f)][_0x298595(0x13f)])<0x0?_0x13cd92['version']['localeCompare'](util_1['util'][_0x298595(0x12f)]['compatible_version'])<0x0?_0x298595(0x124):_0x298595(0x135):'';}},'el':this['$']['app']});},'beforeClose'(){},'close'(){}});

View File

@@ -0,0 +1 @@
'use strict';var _0x23e4cb=_0x1724;(function(_0x375846,_0x4a470b){var _0x17a05e=_0x1724,_0x174083=_0x375846();while(!![]){try{var _0x19c00c=parseInt(_0x17a05e(0x13d))/0x1*(-parseInt(_0x17a05e(0x132))/0x2)+-parseInt(_0x17a05e(0x140))/0x3+-parseInt(_0x17a05e(0x143))/0x4*(parseInt(_0x17a05e(0x13c))/0x5)+parseInt(_0x17a05e(0x142))/0x6+-parseInt(_0x17a05e(0x147))/0x7+parseInt(_0x17a05e(0x14a))/0x8+parseInt(_0x17a05e(0x130))/0x9*(parseInt(_0x17a05e(0x139))/0xa);if(_0x19c00c===_0x4a470b)break;else _0x174083['push'](_0x174083['shift']());}catch(_0x2adb25){_0x174083['push'](_0x174083['shift']());}}}(_0x4222,0xe1808));var __importDefault=this&&this[_0x23e4cb(0x150)]||function(_0x31b79c){var _0x2e3aae=_0x23e4cb;return _0x31b79c&&_0x31b79c[_0x2e3aae(0x134)]?_0x31b79c:{'default':_0x31b79c};};Object[_0x23e4cb(0x13e)](exports,_0x23e4cb(0x134),{'value':!0x0});function _0x4222(){var _0x243f80=['__esModule','Panel','join','../../../../static/template/usage/index.html','#app','26227030bxTcFn','default','define','7899245VVyYmJ','397GxXRUr','defineProperty','#text','1081299MeExmy','readFileSync','10413042OyRqYM','4yPStOE','log','innerHTML','hello','9369094igvkVN','exports','text','8811752lPLTCm','show','app','../../../../../README.md','counter','utf-8','__importDefault','path','9ZihDzH','fs-extra','6334mHOiYG','[cocos-panel-html.default]:\x20hello'];_0x4222=function(){return _0x243f80;};return _0x4222();}function _0x1724(_0x34ad52,_0x312f23){var _0x4222f8=_0x4222();return _0x1724=function(_0x1724dc,_0x5c5f27){_0x1724dc=_0x1724dc-0x12f;var _0x319242=_0x4222f8[_0x1724dc];return _0x319242;},_0x1724(_0x34ad52,_0x312f23);}const fs_extra_1=require(_0x23e4cb(0x131)),path_1=require(_0x23e4cb(0x12f)),vue_1=__importDefault(require('vue/dist/vue'));module[_0x23e4cb(0x148)]=Editor[_0x23e4cb(0x135)][_0x23e4cb(0x13b)]({'listeners':{'show'(){var _0x3ab556=_0x23e4cb;console[_0x3ab556(0x144)](_0x3ab556(0x14b));},'hide'(){var _0x1d297b=_0x23e4cb;console[_0x1d297b(0x144)]('hide');}},'template':(0x0,fs_extra_1[_0x23e4cb(0x141)])((0x0,path_1['join'])(__dirname,_0x23e4cb(0x137)),_0x23e4cb(0x14f)),'style':(0x0,fs_extra_1[_0x23e4cb(0x141)])((0x0,path_1['join'])(__dirname,'../../../../static/style/usage/index.css'),'utf-8'),'$':{'app':_0x23e4cb(0x138),'text':_0x23e4cb(0x13f)},'methods':{'hello'(){var _0x172762=_0x23e4cb;this['$'][_0x172762(0x149)]&&(this['$'][_0x172762(0x149)][_0x172762(0x145)]=_0x172762(0x146),console[_0x172762(0x144)](_0x172762(0x133)));}},'ready'(){var _0x2f2657=_0x23e4cb;this['$'][_0x2f2657(0x149)],this['$'][_0x2f2657(0x14c)]&&new vue_1[(_0x2f2657(0x13a))]({'template':(0x0,fs_extra_1[_0x2f2657(0x141)])((0x0,path_1['join'])(__dirname,'../../../../static/template/vue/usage.html'),_0x2f2657(0x14f)),'data'(){var _0xdc05eb=_0x2f2657;return{'counter':0x0,'content':(0x0,fs_extra_1['readFileSync'])((0x0,path_1[_0xdc05eb(0x136)])(__dirname,_0xdc05eb(0x14d)),_0xdc05eb(0x14f))};},'methods':{'addition'(){var _0x1ac8cf=_0x2f2657;this[_0x1ac8cf(0x14e)]+=0x1;},'subtraction'(){var _0x1ad71d=_0x2f2657;--this[_0x1ad71d(0x14e)];}},'el':this['$'][_0x2f2657(0x14c)]});},'beforeClose'(){},'close'(){}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
'use strict';var _0xdb3fe2=_0x2cb4;(function(_0x2e6740,_0x4f5499){var _0x2bd0fb=_0x2cb4,_0x411029=_0x2e6740();while(!![]){try{var _0x75a7f6=parseInt(_0x2bd0fb(0xf4))/0x1*(-parseInt(_0x2bd0fb(0xf1))/0x2)+parseInt(_0x2bd0fb(0xeb))/0x3*(parseInt(_0x2bd0fb(0xf6))/0x4)+-parseInt(_0x2bd0fb(0xf7))/0x5*(parseInt(_0x2bd0fb(0xec))/0x6)+-parseInt(_0x2bd0fb(0xea))/0x7*(parseInt(_0x2bd0fb(0xf3))/0x8)+-parseInt(_0x2bd0fb(0xf5))/0x9*(parseInt(_0x2bd0fb(0xef))/0xa)+parseInt(_0x2bd0fb(0xf0))/0xb+parseInt(_0x2bd0fb(0xed))/0xc;if(_0x75a7f6===_0x4f5499)break;else _0x411029['push'](_0x411029['shift']());}catch(_0x594138){_0x411029['push'](_0x411029['shift']());}}}(_0x1b65,0x9a965));function _0x1b65(){var _0x27d408=['1404590VBDRCZ','122762tyJoXA','defineProperty','90536kzKMhX','13Mgitnb','9hAwtnM','467708vrvgiz','91115VJZkWi','__esModule','707bWxIuq','27mYsoNW','54HJmTsS','20158956eTVdbG','components','1217800JGoirp'];_0x1b65=function(){return _0x27d408;};return _0x1b65();}function _0x2cb4(_0x2240c2,_0x5a2999){var _0x1b658c=_0x1b65();return _0x2cb4=function(_0x2cb47b,_0xea5f43){_0x2cb47b=_0x2cb47b-0xea;var _0x846fa1=_0x1b658c[_0x2cb47b];return _0x846fa1;},_0x2cb4(_0x2240c2,_0x5a2999);}Object[_0xdb3fe2(0xf2)](exports,_0xdb3fe2(0xf8),{'value':!0x0}),exports[_0xdb3fe2(0xee)]=void 0x0,exports[_0xdb3fe2(0xee)]={};

View File

@@ -0,0 +1 @@
'use strict';var _0x2c8a6c=_0x48c0;(function(_0x2fe105,_0x2b9041){var _0x3f869f=_0x48c0,_0x222a53=_0x2fe105();while(!![]){try{var _0x59dd58=-parseInt(_0x3f869f(0x1c2))/0x1+-parseInt(_0x3f869f(0x1c1))/0x2+parseInt(_0x3f869f(0x1b3))/0x3*(parseInt(_0x3f869f(0x1b6))/0x4)+-parseInt(_0x3f869f(0x1c3))/0x5+parseInt(_0x3f869f(0x1bf))/0x6*(parseInt(_0x3f869f(0x1b4))/0x7)+parseInt(_0x3f869f(0x1ba))/0x8*(parseInt(_0x3f869f(0x1b9))/0x9)+-parseInt(_0x3f869f(0x1b5))/0xa;if(_0x59dd58===_0x2b9041)break;else _0x222a53['push'](_0x222a53['shift']());}catch(_0x13ae8e){_0x222a53['push'](_0x222a53['shift']());}}}(_0x9073,0x389b8));function _0x48c0(_0x5edc85,_0x528fb2){var _0x907324=_0x9073();return _0x48c0=function(_0x48c0d7,_0x111084){_0x48c0d7=_0x48c0d7-0x1b3;var _0x30d693=_0x907324[_0x48c0d7];return _0x30d693;},_0x48c0(_0x5edc85,_0x528fb2);}function _0x9073(){var _0x500282=['defineProperty','90142nkIWuF','183543JgnrKO','95300oVFVKI','REFRESH_COMPONENT','189765cmhynP','1358pWMXgA','2164510KIjrrr','8DsqFpS','__importDefault','event','752337gAuMKE','40XcNYmN','default','target','./onfire','__esModule','4686CdWInj'];_0x9073=function(){return _0x500282;};return _0x9073();}var __importDefault=this&&this[_0x2c8a6c(0x1b7)]||function(_0x47b78d){var _0x46f66b=_0x2c8a6c;return _0x47b78d&&_0x47b78d[_0x46f66b(0x1be)]?_0x47b78d:{'default':_0x47b78d};};Object[_0x2c8a6c(0x1c0)](exports,_0x2c8a6c(0x1be),{'value':!0x0}),exports[_0x2c8a6c(0x1b8)]=exports['target']=void 0x0;const onfire_1=__importDefault(require(_0x2c8a6c(0x1bd)));exports[_0x2c8a6c(0x1bc)]=new onfire_1[(_0x2c8a6c(0x1bb))](),exports[_0x2c8a6c(0x1b8)]={'MODIFY':'MODIFY','REFRESH_COMPONENT':_0x2c8a6c(0x1c4)};

View File

@@ -0,0 +1 @@
'use strict';const _0x4b5426=_0x222f;(function(_0x58746b,_0x4bd6ae){const _0x48115d=_0x222f,_0x2ac771=_0x58746b();while(!![]){try{const _0x24f2e6=parseInt(_0x48115d(0xe9))/0x1+-parseInt(_0x48115d(0xe5))/0x2*(-parseInt(_0x48115d(0xec))/0x3)+-parseInt(_0x48115d(0xea))/0x4*(parseInt(_0x48115d(0xe3))/0x5)+parseInt(_0x48115d(0xef))/0x6+parseInt(_0x48115d(0xe7))/0x7+parseInt(_0x48115d(0xe8))/0x8*(-parseInt(_0x48115d(0xe1))/0x9)+-parseInt(_0x48115d(0xf3))/0xa;if(_0x24f2e6===_0x4bd6ae)break;else _0x2ac771['push'](_0x2ac771['shift']());}catch(_0x3a0f6b){_0x2ac771['push'](_0x2ac771['shift']());}}}(_0x2af1,0xb4885));Object[_0x4b5426(0xde)](exports,_0x4b5426(0xf2),{'value':!0x0});function _0x222f(_0x466d93,_0xbec72){const _0x2af194=_0x2af1();return _0x222f=function(_0x222ff1,_0x2f9f06){_0x222ff1=_0x222ff1-0xdd;let _0x35e670=_0x2af194[_0x222ff1];return _0x35e670;},_0x222f(_0x466d93,_0xbec72);}class OnFire{constructor(){this['es']={};}['on'](_0x2a8dd3,_0x4e8b8a,_0x36e523=!0x1){const _0x175c5e=_0x4b5426;this['es'][_0x2a8dd3]||(this['es'][_0x2a8dd3]=[]),this['es'][_0x2a8dd3][_0x175c5e(0xdd)]({'cb':_0x4e8b8a,'once':_0x36e523});}[_0x4b5426(0xe6)](_0x9dfe26,_0x5edc5f){this['on'](_0x9dfe26,_0x5edc5f,!0x0);}[_0x4b5426(0xe0)](_0x2cb7f9,..._0x4c1c34){const _0x3ce30a=_0x4b5426,_0x3dc9cf=this['es'][_0x2cb7f9]||[];let _0x38dce8=_0x3dc9cf[_0x3ce30a(0xeb)];for(let _0x50a14a=0x0;_0x50a14a<_0x38dce8;_0x50a14a++){const {cb:_0x1a7d6f,once:_0x548731}=_0x3dc9cf[_0x50a14a];_0x1a7d6f[_0x3ce30a(0xee)](this,_0x4c1c34),_0x548731&&(_0x3dc9cf[_0x3ce30a(0xf0)](_0x50a14a,0x1),_0x50a14a--,_0x38dce8--);}}[_0x4b5426(0xdf)](_0x5c706b,_0x8e67b0){const _0x1ac398=_0x4b5426;if(void 0x0===_0x5c706b)this['es']={};else{if(void 0x0===_0x8e67b0)delete this['es'][_0x5c706b];else{const _0x4e7461=this['es'][_0x5c706b]||[];let _0x242c1c=_0x4e7461[_0x1ac398(0xeb)];for(let _0x16555f=0x0;_0x16555f<_0x242c1c;_0x16555f++)_0x4e7461[_0x16555f]['cb']===_0x8e67b0&&(_0x4e7461[_0x1ac398(0xf0)](_0x16555f,0x1),_0x16555f--,_0x242c1c--);}}}[_0x4b5426(0xed)](_0x2017c9,..._0x1a0b0d){this['fire'](_0x2017c9,..._0x1a0b0d);}}function _0x2af1(){const _0x3eb5f8=['5KTZdVF','default','6RpktmN','once','9339596TOdFhu','1583096FGMhSV','1012308btHKtG','283252FVrudJ','length','1302057yuSpQn','emit','apply','7804260PMqEiA','splice','__VERSION__','__esModule','35453680hIDjEa','push','defineProperty','off','fire','27TNTEpX','ver'];_0x2af1=function(){return _0x3eb5f8;};return _0x2af1();}(exports[_0x4b5426(0xe4)]=OnFire)[_0x4b5426(0xe2)]=_0x4b5426(0xf1);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.container[data-v-f54e8984]{overflow:hidden;height:100%}#scene[data-v-f54e8984]{width:100%;height:100%;background-color:#fff}.tools-main[data-v-f54e8984]{height:100%;width:100%}.sider[data-v-f54e8984]{right:0;overflow:auto}.edit_props[data-v-f54e8984],.sider[data-v-f54e8984]{background-color:#303030;color:#eee;position:absolute;top:0;height:100%}.edit_props[data-v-f54e8984]{left:0;width:100px}.tabs[data-v-f54e8984]{color:#eee!important}.menu[data-v-f54e8984]{position:absolute;top:0;left:250px;overflow:visible;text-align:left;margin-left:10px;margin-top:10px}.menu-buildin[data-v-f54e8984]{left:0}.ivu-dropdown[data-v-f54e8984]{margin-left:10px}.sider[data-v-f54e8984] .ivu-tabs-bar{margin-bottom:2px}.sider[data-v-f54e8984] .ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab{border-color:grey;background:transparent;padding:5px 10px 4px;margin-right:2px;color:#e4e4e4}.sider[data-v-f54e8984] .ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab-active{color:#65acf8}.sider[data-v-f54e8984] .ivu-collapse{background-color:transparent;border-left:0;border-top:0;border-right:0}.sider[data-v-f54e8984] .ivu-collapse>.ivu-collapse-item>.ivu-collapse-header{color:#e4e4e4;background-color:#1f1f1f}.sider[data-v-f54e8984] .ivu-collapse>.ivu-collapse-item>.ivu-collapse-content{background-color:rgba(31,31,31,.1843137254901961)}.sider[data-v-f54e8984] .ivu-btn{text-align:left;cursor:-webkit-grab;cursor:grab;background-color:#363636;color:#e4e4e4;margin-bottom:2px;border-color:rgba(220,222,226,.3215686274509804)}.panel-group[data-v-f54e8984]{font-size:14px}.button-type[data-v-f54e8984]{font-size:12px}.button-icon[data-v-f54e8984]{font-size:20px;margin-left:-5px;margin-right:5px}.button-icon-large[data-v-f54e8984]{font-size:24px}.tab-row[data-v-f54e8984]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;line-height:30px;color:#e4e4e4}.tab-row-height[data-v-f54e8984]{line-height:inherit;-ms-flex-item-align:center;align-self:center}.tab-row-icon[data-v-f54e8984]{font-size:20px;margin-left:-5px;margin-right:5px;padding-bottom:2px}.tab-row-icon-small[data-v-f54e8984]{font-size:16px;margin-left:-5px;margin-right:5px;padding-bottom:2px}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;overflow:hidden}#app,.tools-main{height:100%;width:100%}.layout{border:1px solid #d7dde4;background:#f5f7f9;position:relative;border-radius:4px;overflow:hidden;height:100%}.layout-logo{width:40px;border-radius:3px;left:20px}.layout-logo,.layout-title{height:40px;float:left;position:relative;top:15px}.layout-title{width:100px;color:#fff;line-height:40px}.layout-nav{width:420px;margin:0 auto;margin-right:20px}.CodeMirror{border:1px solid #eee;height:600px}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 434 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 542 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,378 @@
{
"name": "oreo-behavior-creator",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@electron/remote": {
"version": "2.0.8",
"resolved": "https://registry.npmmirror.com/@electron/remote/-/remote-2.0.8.tgz",
"integrity": "sha512-P10v3+iFCIvEPeYzTWWGwwHmqWnjoh8RYnbtZAb3RlQefy4guagzIwcWtfftABIfm6JJTNQf4WPSKWZOpLmHXw=="
},
"ajv": {
"version": "6.12.6",
"resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz",
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
"requires": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
"json-schema-traverse": "^0.4.1",
"uri-js": "^4.2.2"
}
},
"asn1": {
"version": "0.2.6",
"resolved": "https://registry.npmmirror.com/asn1/-/asn1-0.2.6.tgz",
"integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==",
"requires": {
"safer-buffer": "~2.1.0"
}
},
"assert-plus": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/assert-plus/-/assert-plus-1.0.0.tgz",
"integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw=="
},
"asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
},
"aws-sign2": {
"version": "0.7.0",
"resolved": "https://registry.npmmirror.com/aws-sign2/-/aws-sign2-0.7.0.tgz",
"integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA=="
},
"aws4": {
"version": "1.11.0",
"resolved": "https://registry.npmmirror.com/aws4/-/aws4-1.11.0.tgz",
"integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA=="
},
"bcrypt-pbkdf": {
"version": "1.0.2",
"resolved": "https://registry.npmmirror.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
"integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==",
"requires": {
"tweetnacl": "^0.14.3"
}
},
"caseless": {
"version": "0.12.0",
"resolved": "https://registry.npmmirror.com/caseless/-/caseless-0.12.0.tgz",
"integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw=="
},
"combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
"requires": {
"delayed-stream": "~1.0.0"
}
},
"core-util-is": {
"version": "1.0.2",
"resolved": "https://registry.npmmirror.com/core-util-is/-/core-util-is-1.0.2.tgz",
"integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ=="
},
"dashdash": {
"version": "1.14.1",
"resolved": "https://registry.npmmirror.com/dashdash/-/dashdash-1.14.1.tgz",
"integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==",
"requires": {
"assert-plus": "^1.0.0"
}
},
"delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="
},
"ecc-jsbn": {
"version": "0.1.2",
"resolved": "https://registry.npmmirror.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
"integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==",
"requires": {
"jsbn": "~0.1.0",
"safer-buffer": "^2.1.0"
}
},
"extend": {
"version": "3.0.2",
"resolved": "https://registry.npmmirror.com/extend/-/extend-3.0.2.tgz",
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
},
"extsprintf": {
"version": "1.3.0",
"resolved": "https://registry.npmmirror.com/extsprintf/-/extsprintf-1.3.0.tgz",
"integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g=="
},
"fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
},
"fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
},
"forever-agent": {
"version": "0.6.1",
"resolved": "https://registry.npmmirror.com/forever-agent/-/forever-agent-0.6.1.tgz",
"integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw=="
},
"form-data": {
"version": "2.3.3",
"resolved": "https://registry.npmmirror.com/form-data/-/form-data-2.3.3.tgz",
"integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.6",
"mime-types": "^2.1.12"
}
},
"fs-extra": {
"version": "10.1.0",
"resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz",
"integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
"requires": {
"graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1",
"universalify": "^2.0.0"
}
},
"getpass": {
"version": "0.1.7",
"resolved": "https://registry.npmmirror.com/getpass/-/getpass-0.1.7.tgz",
"integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==",
"requires": {
"assert-plus": "^1.0.0"
}
},
"graceful-fs": {
"version": "4.2.10",
"resolved": "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.10.tgz",
"integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA=="
},
"har-schema": {
"version": "2.0.0",
"resolved": "https://registry.npmmirror.com/har-schema/-/har-schema-2.0.0.tgz",
"integrity": "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q=="
},
"har-validator": {
"version": "5.1.5",
"resolved": "https://registry.npmmirror.com/har-validator/-/har-validator-5.1.5.tgz",
"integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==",
"requires": {
"ajv": "^6.12.3",
"har-schema": "^2.0.0"
}
},
"http-signature": {
"version": "1.2.0",
"resolved": "https://registry.npmmirror.com/http-signature/-/http-signature-1.2.0.tgz",
"integrity": "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==",
"requires": {
"assert-plus": "^1.0.0",
"jsprim": "^1.2.2",
"sshpk": "^1.7.0"
}
},
"is-typedarray": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/is-typedarray/-/is-typedarray-1.0.0.tgz",
"integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA=="
},
"isstream": {
"version": "0.1.2",
"resolved": "https://registry.npmmirror.com/isstream/-/isstream-0.1.2.tgz",
"integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g=="
},
"jsbn": {
"version": "0.1.1",
"resolved": "https://registry.npmmirror.com/jsbn/-/jsbn-0.1.1.tgz",
"integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg=="
},
"json-schema": {
"version": "0.4.0",
"resolved": "https://registry.npmmirror.com/json-schema/-/json-schema-0.4.0.tgz",
"integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA=="
},
"json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
},
"json-stringify-safe": {
"version": "5.0.1",
"resolved": "https://registry.npmmirror.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
"integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA=="
},
"jsonfile": {
"version": "6.1.0",
"resolved": "https://registry.npmmirror.com/jsonfile/-/jsonfile-6.1.0.tgz",
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"requires": {
"graceful-fs": "^4.1.6",
"universalify": "^2.0.0"
}
},
"jsprim": {
"version": "1.4.2",
"resolved": "https://registry.npmmirror.com/jsprim/-/jsprim-1.4.2.tgz",
"integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==",
"requires": {
"assert-plus": "1.0.0",
"extsprintf": "1.3.0",
"json-schema": "0.4.0",
"verror": "1.10.0"
}
},
"mime-db": {
"version": "1.52.0",
"resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz",
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="
},
"mime-types": {
"version": "2.1.35",
"resolved": "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz",
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
"requires": {
"mime-db": "1.52.0"
}
},
"oauth-sign": {
"version": "0.9.0",
"resolved": "https://registry.npmmirror.com/oauth-sign/-/oauth-sign-0.9.0.tgz",
"integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="
},
"performance-now": {
"version": "2.1.0",
"resolved": "https://registry.npmmirror.com/performance-now/-/performance-now-2.1.0.tgz",
"integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow=="
},
"psl": {
"version": "1.8.0",
"resolved": "https://registry.npmmirror.com/psl/-/psl-1.8.0.tgz",
"integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
},
"punycode": {
"version": "2.1.1",
"resolved": "https://registry.npmmirror.com/punycode/-/punycode-2.1.1.tgz",
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
},
"qs": {
"version": "6.5.3",
"resolved": "https://registry.npmmirror.com/qs/-/qs-6.5.3.tgz",
"integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA=="
},
"request": {
"version": "2.88.2",
"resolved": "https://registry.npmmirror.com/request/-/request-2.88.2.tgz",
"integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==",
"requires": {
"aws-sign2": "~0.7.0",
"aws4": "^1.8.0",
"caseless": "~0.12.0",
"combined-stream": "~1.0.6",
"extend": "~3.0.2",
"forever-agent": "~0.6.1",
"form-data": "~2.3.2",
"har-validator": "~5.1.3",
"http-signature": "~1.2.0",
"is-typedarray": "~1.0.0",
"isstream": "~0.1.2",
"json-stringify-safe": "~5.0.1",
"mime-types": "~2.1.19",
"oauth-sign": "~0.9.0",
"performance-now": "^2.1.0",
"qs": "~6.5.2",
"safe-buffer": "^5.1.2",
"tough-cookie": "~2.5.0",
"tunnel-agent": "^0.6.0",
"uuid": "^3.3.2"
}
},
"safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz",
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
},
"safer-buffer": {
"version": "2.1.2",
"resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
"sshpk": {
"version": "1.17.0",
"resolved": "https://registry.npmmirror.com/sshpk/-/sshpk-1.17.0.tgz",
"integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==",
"requires": {
"asn1": "~0.2.3",
"assert-plus": "^1.0.0",
"bcrypt-pbkdf": "^1.0.0",
"dashdash": "^1.12.0",
"ecc-jsbn": "~0.1.1",
"getpass": "^0.1.1",
"jsbn": "~0.1.0",
"safer-buffer": "^2.0.2",
"tweetnacl": "~0.14.0"
}
},
"tough-cookie": {
"version": "2.5.0",
"resolved": "https://registry.npmmirror.com/tough-cookie/-/tough-cookie-2.5.0.tgz",
"integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==",
"requires": {
"psl": "^1.1.28",
"punycode": "^2.1.1"
}
},
"tunnel-agent": {
"version": "0.6.0",
"resolved": "https://registry.npmmirror.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
"integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",
"requires": {
"safe-buffer": "^5.0.1"
}
},
"tweetnacl": {
"version": "0.14.5",
"resolved": "https://registry.npmmirror.com/tweetnacl/-/tweetnacl-0.14.5.tgz",
"integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA=="
},
"universalify": {
"version": "2.0.0",
"resolved": "https://registry.npmmirror.com/universalify/-/universalify-2.0.0.tgz",
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ=="
},
"uri-js": {
"version": "4.4.1",
"resolved": "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz",
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
"requires": {
"punycode": "^2.1.0"
}
},
"uuid": {
"version": "3.4.0",
"resolved": "https://registry.npmmirror.com/uuid/-/uuid-3.4.0.tgz",
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
},
"verror": {
"version": "1.10.0",
"resolved": "https://registry.npmmirror.com/verror/-/verror-1.10.0.tgz",
"integrity": "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==",
"requires": {
"assert-plus": "^1.0.0",
"core-util-is": "1.0.2",
"extsprintf": "^1.2.0"
}
},
"vue": {
"version": "2.6.14",
"resolved": "https://registry.npmmirror.com/vue/-/vue-2.6.14.tgz",
"integrity": "sha512-x2284lgYvjOMj3Za7kqzRcUSxBboHqtgRE2zlos1qWaOye5yUmHn42LB1250NJBLRwEcdrB0JRwyPTEPhfQjiQ=="
}
}
}

View File

@@ -0,0 +1,16 @@
{
"package_version": 2,
"version": "1.0.0",
"name": "oreo-behavior-creator",
"dependencies": {
"@electron/remote": "^2.0.8",
"fs-extra": "^10.0.0",
"request": "^2.88.2",
"vue": "^2.6.14"
},
"scripts": {
"build": "tsc -b",
"watch": "tsc -w"
}
}

View File

@@ -0,0 +1,37 @@
.blackboard {
margin: 0px 10px;
}
.blackboard-content {
margin: 0px 10px;
}
.section-header {
margin-top: 10px;
}
.btn-create {
width: 80%;
line-height: 22px;
margin: 5px 10% 5px;
/* border: dashed 1px */
}
.btn-apply {
width: 30%;
line-height: 22px;
margin: 5px 5% 5px 15%;
/* border: dashed 1px */
}
.btn-cancel {
width: 30%;
line-height: 22px;
margin: 5px 12% 5px 5%;
/* border: dashed 1px */
}
.line {
margin: 5px 0px;
border-bottom: solid 2px rgba(128, 128, 128, 0.5);
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,47 @@
:host {
/* display: flex; */
overflow-y: scroll;
}
/* #tree_panel_app {
overflow-y: scroll;
}
#tree_panel {
overflow-y: scroll;
} */
.title {
font-size: large;
}
.version_error {
color: red;
}
.version_waring {
color: orange;
}
.div_mg8 {
margin: 10px 8px;
}
.div_mgt8 {
margin: 5px 8px 0px;
}
.div_line {
border-bottom: solid 1px rgb(155, 155, 106);
margin: 0px 0px 0px 8px;
}
.div_mg10 {
margin: 0px 10px;
}
.prop-script {
padding-top: 5px;
margin-top: 2px;
align-items: center;
/* border-top: dashed 1px rgba(128, 128, 128, 0.2); */
}
.row_item {
margin: 5px 8px;
}
.label_asset {
margin: 5px 8px;
min-width: 150px;
width: 100%;
}

View File

@@ -0,0 +1,8 @@
#text {
color: var(--color-normal-contrast-weakest);
margin: auto;
width: 180px;
}
.counter {
text-align: center;
}

View File

@@ -0,0 +1,12 @@
<!--
* @Author: OreoWang
* @Email: ihc523@163.com
* @Date: 2022-03-23 10:12:09
* @LastEditors: OreoWang
* @LastEditTime: 2022-03-23 14:23:33
* @Description:
-->
<div>
<div id="default-app"></div>
<h1 id="text"></h1>
</div>

View File

@@ -0,0 +1,12 @@
<!--
* @Author: OreoWang
* @Email: ihc523@163.com
* @Date: 2022-03-23 10:12:09
* @LastEditors: OreoWang
* @LastEditTime: 2022-03-23 14:23:33
* @Description:
-->
<!-- <div> -->
<div id="tree_panel_app"></div>
<!-- <h1 id="text"></h1> -->
<!-- </div> -->

View File

@@ -0,0 +1,4 @@
<div>
<div id="app"></div>
<!-- <h1 id="text"></h1> -->
</div>

View File

@@ -0,0 +1,14 @@
<div>
<!-- <div class="counter">
<h2> {{counter}}</h2>
<ui-button class="blue"
@click="addition">+</ui-button>
<ui-button @click="subtraction">-</ui-button>
</div> -->
<div>
<ui-markdown>
{{content}}
</ui-markdown>
</div>
</div>

View File

@@ -0,0 +1,94 @@
<!--
* @Author: OreoWang
* @Email: ihc523@163.com
* @Date: 2022-04-12 10:26:27
* @LastEditors: OreoWang
* @LastEditTime: 2022-04-12 18:37:17
* @Description:
-->
<div id="props-root">
<div class="settings" >
<div class="content">
<div class="wrap">
<div class="">
<ui-section expand="" :header="getEditingHeader()">
<ui-prop class="">
<div slot="label" class="row_item prop-label-content">
<ui-label tabindex="-1" value="Name" tooltip="Name of the variable"></ui-label>
<ui-icon v-if="isEditing" class="prop-icon" value="lock"></ui-icon>
</div>
<ui-input :readonly="isEditing" class="row_item" slot="content" :value="props.name" v-on:change="onChangeName">
</ui-input>
</ui-prop>
<ui-prop class="">
<div slot="label" class="row_item prop-label-content">
<ui-label tabindex="-1" value="Type" tooltip="Type of the variable"></ui-label>
<ui-icon v-if="isEditing" class="prop-icon" value="lock"></ui-icon>
</div>
<ui-select :readonly="isEditing" class="row_item" slot="content" v-on:change="onSelectType($event)" v-bind:value="props.type">
<template v-for="(ctype, ckey) in getBlackboardAllType()">
<option :value=ctype>{{ctype}}</option>
</template>
</ui-select>
</ui-prop>
<ui-prop class="">
<div slot="label" class="row_item">
<ui-label tabindex="-1" value="Description" tooltip="Description of the variable"></ui-label>
</div>
<ui-textarea class="row_item" slot="content" placeholder="Description of the variable" :value="props.tooltip" v-on:change="onChangeDescription">
</ui-textarea>
</ui-prop>
<div v-if="isEditing">
<ui-button class="btn-apply" @confirm="onApplyEditing()">apply</ui-button> <ui-button class="btn-cancel" @confirm="onCancelEditing()">cancel</ui-button>
</div>
<div v-else>
<ui-button class="btn-create" @confirm="onAddVariable()">create</ui-button>
</div>
<div class="line"></div>
</ui-section>
<ui-section class="section-header" expand="" header="Shared Variables">
<!-- <div class="blackboard-content"> -->
<template v-for="(item, key) in getAllVariable()">
<ui-prop class="">
<div slot="label" class="row_item">
<ui-label tabindex="-1" :value="item.name" :tooltip="getVariableTooltip(item)"></ui-label>
</div>
<div slot="content" class="prop-content">
<ui-input v-if="isTypeString(item.value)" class="row_item prop-mr2" v-on:change="onValueChange($event, key, item)" v-bind:value="item.value.default">
</ui-input>
<ui-num-input v-if="isTypeNumber(item.value)" class="row_item prop-mr2" slot="content" v-on:change="onValueChange($event, key, item)" v-bind:value="item.value.default">
</ui-num-input>
<ui-checkbox v-if="isTypeBoolean(item.value)" class="row_item prop-mr2" slot="content" v-on:change="onValueChange($event, key, item)" v-bind:value="item.value.default">
</ui-checkbox>
<ui-node v-if="isTypeNode(item.value)" class="row_item prop-mr2" slot="content" v-on:change="onNodeValueChange($event, key, item)" v-bind:value="getSharedNodeUUID(item.value)" type="cc.Node" droppable="cc.Node" typename="Node" tabindex="-1">
</ui-node>
<span v-if="isTypeBoolean(item.value)" class="prop-span"></span>
<!-- <div v-if="isTypeBoolean(item.value)">
</div> -->
<ui-button class="transparent prop-button" tooltip="Edit" tabindex="-1" @confirm="onEditVariable(item)">
<ui-icon class="prop-icon" value="edit"></ui-icon>
</ui-button>
<ui-button class="transparent prop-button" tooltip="Delete" tabindex="-1" @confirm="onDelVariable(item)">
<ui-icon class="prop-icon" value="del"></ui-icon>
</ui-button>
</div>
</ui-prop>
</template>
<!-- </div> -->
</ui-section>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,178 @@
<!--
* @Author: OreoWang
* @Email: ihc523@163.com
* @Date: 2022-03-23 10:12:09
* @LastEditors: OreoWang
* @LastEditTime: 2022-06-07 17:19:26
* @Description:
-->
<div id="props-root">
<div class="settings" >
<div class="content">
<div class="wrap">
<ui-section expand="" header="Inspector">
<ui-prop class="prop-script" v-if="!isRootNode()">
<div slot="label" class="row_item prop-label-content">
<ui-label tabindex="-1" value="Script" tooltip="Script"></ui-label>
<ui-icon class="prop-icon" value="lock"></ui-icon>
</div>
<ui-asset class="row_item" slot="content" v-bind:value="getScriptUUID(props.uuid)"
droppable="cc.Script" readonly tabindex="-1">
</ui-asset>
</ui-prop>
<ui-prop class="" v-if="!isRootNode()">
<div slot="label" class="row_item prop-label-content">
<ui-label tabindex="-1" value="Type" tooltip="Type"></ui-label>
<ui-icon class="prop-icon" value="lock"></ui-icon>
</div>
<ui-input class="row_item" slot="content" v-bind:value="props.group" :tooltip="props.group" readonly>
</ui-input>
</ui-prop>
<ui-prop class="" v-if="!isRootNode()">
<div slot="label" class="row_item prop-label-content">
<ui-label tabindex="-1" value="Component" tooltip="Component"></ui-label>
<ui-icon class="prop-icon" value="lock"></ui-icon>
</div>
<ui-input class="row_item" slot="content" v-bind:value="props.name" :tooltip="props.name" readonly>
</ui-input>
</ui-prop>
<ui-prop class="prop-script" v-if="isRootNode()">
<div slot="label" class="row_item prop-label-content">
<ui-label tabindex="-1" value="TargetNode" tooltip="Target Node"></ui-label>
<ui-icon class="prop-icon" value="lock"></ui-icon>
</div>
<!-- <ui-input class="row_item" slot="content" v-bind:value="props.name" :tooltip="props.name" readonly>
</ui-input> -->
<ui-node readonly class="row_item" slot="content" v-bind:value="getRootNodeUUID()" type="cc.Node" droppable="cc.Node" typename="Node" tabindex="-1">
</ui-node>
</ui-prop>
<ui-prop class="" v-if="!isRootNode()">
<div slot="label" class="row_item prop-label-content">
<ui-label tabindex="-1" value="Tag" tooltip="Tag in tree"></ui-label>
<!-- <ui-icon v-if="!isRootNode()" class="prop-icon" value="refresh"></ui-icon> -->
<ui-button v-if="!isRootNode()" class="transparent prop-button" tooltip="Refresh Tag" tabindex="-1" @confirm="onRefreshTag()">
<ui-icon class="prop-icon" value="refresh"></ui-icon>
</ui-button>
</div>
<ui-input class="row_item" slot="content" v-on:change="onChangeTag" v-bind:value="props.tag" :tooltip="props.tag" :readonly="isRootNode()">
</ui-input>
</ui-prop>
<ui-prop class="">
<div slot="label" class="row_item prop-label-content">
<ui-label tabindex="-1" value="Title" tooltip="Title"></ui-label>
<ui-icon v-if="isRootNode()" class="prop-icon" value="lock"></ui-icon>
</div>
<ui-input class="row_item" slot="content" v-on:change="onChangeTitle" v-bind:value="props.title" :tooltip="props.title" :readonly="isRootNode()">
</ui-input>
</ui-prop>
<div v-show="showProps()">
<div class="group-line"></div>
<div v-for="(value, key) in props.properties" :key="key">
<ui-prop class="" v-show="showOneProperty(key, value)">
<div slot="label" class="row_item prop-label-content">
<ui-label tabindex="-1" :value="key" :tooltip="getPropertyTooltip(key, value)"></ui-label>
<div v-if="isTypeBlackboard(value)">
<ui-icon class="prop-icon" value="edit" tooltip="Shared Variable"></ui-icon>
</div>
</div>
<div v-if="isTypeDynamic(value)" slot="content" class="prop=content">
<ui-input v-if="isDynamicTypeString(value)" class="row_item" slot="content" v-on:change="onValueChange($event, key, value)" v-bind:value="value.default">
</ui-input>
<ui-num-input v-if="isDynamicTypeNumber(value)" class="row_item" slot="content" v-on:change="onValueChange($event, key, value)" v-bind:value="value.default">
</ui-num-input>
<ui-checkbox v-if="isDynamicTypeBoolean(value)" class="row_item" slot="content" v-on:change="onValueChange($event, key, value)" v-bind:value="value.default">
</ui-checkbox>
<ui-node v-if="isDynamicTypeNode(value)" class="row_item" slot="content" v-on:change="onDynamicNodeValueChange($event, key, value)" v-bind:value="getDynamicNodeUUID(value)" type="cc.Node" droppable="cc.Node" typename="Node" tabindex="-1">
</ui-node>
</div>
<div v-else-if="isTypeEnum(value)" slot="content" class="prop=content">
<ui-select class="row_item" v-on:change="onEnumValueChange($event, key, value)" v-bind:value="value.default">
<option v-for="(cvalue, ckey) in getEnumVariableList(key, value)" :key="ckey" :value="cvalue">
{{ckey}}
</option>
</ui-select>
</div>
<div v-else-if="isTypeBlackboard(value)" slot="content" class="prop=content">
<ui-select class="row_item" v-on:change="onBlackboardValueChange($event, key, value)" v-bind:value="value.default">
<option v-for="(item, ckey) in getBlackboardVariableList(value)" :key="ckey" :value="item.name">
{{item.name}}
</option>
</ui-select>
</div>
<div v-else-if="isTypeVariable(value)" slot="content" class="prop=content">
<ui-select class="row_item" v-on:change="onSharedVariableChange($event, key, value)" v-bind:value="value.default">
<option v-for="(item, ckey) in getAllVariableList(value)" :key="ckey" :value="item.name">
{{item.name}}
</option>
</ui-select>
</div>
<div v-else slot="content">
<ui-input v-if="isTypeString(value)" class="row_item" slot="content" v-on:change="onValueChange($event, key, value)" v-bind:value="value.default">
</ui-input>
<ui-num-input v-if="isTypeNumber(value)" class="row_item" slot="content" v-on:change="onValueChange($event, key, value)" v-bind:value="value.default">
</ui-num-input>
<ui-checkbox v-if="isTypeBoolean(value)" class="row_item" slot="content" v-on:change="onValueChange($event, key, value)" v-bind:value="value.default">
</ui-checkbox>
<ui-node v-if="isTypeNode(value)" class="row_item" slot="content" v-on:change="onNodeValueChange($event, key, value)" v-bind:value="getPropertyNodeUUID(value)" type="cc.Node" droppable="cc.Node" typename="Node" tabindex="-1">
</ui-node>
</div>
</ui-prop>
</div>
</div>
</ui-section>
<ui-section expand="" header="Delegate" v-if="!isRootNode()&&showEvent()" class="section-mt10">
<div v-for="(event, key) in props.events" :key="key">
<ui-section expand="" :header="key" class="config section-mt10">
<div class="">
<div class="">
<ui-prop class="prop-node">
<div slot="label" class="row_item">
<ui-label tabindex="-1" value="Target" tooltip="Target"></ui-label>
</div>
<ui-node class="row_item" slot="content" v-bind:value="getDelegateNodeUUID(event.node)" v-on:change="onDelegateNodeChange($event, key)"
droppable="cc.Node" :tooltip="event.node.name" type="cc.Node" typename="Node" tabindex="-1">
</ui-node>
</ui-prop>
<ui-prop class="">
<div slot="label" class="row_item">
<ui-label tabindex="-1" value="Component" tooltip="Component"></ui-label>
</div>
<ui-select class="row_item" slot="content" v-bind:value="event.component.uuid" v-on:change="onComponentChange($event, key)"
:tooltip="event.component.name">
<option v-for="(component, ckey) in eventData[key].components" :key="ckey" :value="component.uuid">
{{component.name}}
</option>
</ui-select>
</ui-prop>
<ui-prop class="">
<div slot="label" class="row_item">
<ui-label tabindex="-1" value="Method" tooltip="Method"></ui-label>
</div>
<ui-select class="row_item" slot="content" v-bind:value="event.method" v-on:change="onMethodChange($event, key)"
:tooltip="event.method">
<option v-for="(method, key) in eventData[key].methods" :key="method" :value="method">
{{method}}
</option>
</ui-select>
</ui-prop>
</div>
<ui-prop class="">
<div slot="label" class="row_item">
<ui-label tabindex="-1" value="Data" tooltip="Arguments(string)"></ui-label>
</div>
<ui-input class="row_item" slot="content" v-on:change="onDataChange($event, key)" v-bind:value="event.data">
</ui-input>
</ui-prop>
</div>
</ui-section>
</div>
</ui-section>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,53 @@
<!--
* @Author: OreoWang
* @Email: ihc523@163.com
* @Date: 2022-05-23 09:39:48
* @LastEditors: OreoWang
* @LastEditTime: 2022-06-06 15:48:17
* @Description:
-->
<div id="tree_panel">
<div class="div_mgt8">
<!-- <ui-button class="yellow" @click="onSyncAllData">
同步
</ui-button> -->
</div>
<div class="div_mg8">
<ui-label class="title" :value="getVersion()">
</ui-label>
<br>
<ui-label class="" value="数据版本为 红色 表示版本不兼容,需要手动更新">
</ui-label>
</div>
<div class="div_line">
</div>
<div>
<div v-for="(item, key) in list" :key="key">
<ui-prop class="prop-script">
<ui-asset class="label_asset" slot="label" v-bind:value="item.uuid" droppable="cc.JsonAsset" readonly>
</ui-asset>
<ui-input class="" slot="content" v-bind:value="item.url" readonly>
</ui-input>
</ui-prop>
<div class="div_mg10">
<ui-label value="数据版本">
</ui-label>
<ui-label :class="getVersionColor(item)" v-bind:value="item.version">
</ui-label>
<!-- <ui-label value="待更新">
</ui-label> -->
</div>
<div class="div_line">
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,14 @@
<div>
<!-- <div class="counter">
<h2> {{counter}}</h2>
<ui-button class="blue"
@click="addition">+</ui-button>
<ui-button @click="subtraction">-</ui-button>
</div> -->
<div>
<ui-markdown>
{{content}}
</ui-markdown>
</div>
</div>