@maka/maka-cli 4.6.23 → 4.7.0

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 (150) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/kit.js +1 -1
  109. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  110. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -0
  111. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  112. package/bundle/obf/src/generators/layout.js +1 -1
  113. package/bundle/obf/src/generators/maka.gen.js +1 -1
  114. package/bundle/obf/src/generators/methods.js +1 -1
  115. package/bundle/obf/src/generators/package.js +1 -1
  116. package/bundle/obf/src/generators/page.js +1 -1
  117. package/bundle/obf/src/generators/publish.js +1 -1
  118. package/bundle/obf/src/generators/route.js +1 -1
  119. package/bundle/obf/src/generators/service.js +1 -1
  120. package/bundle/obf/src/generators/services/_index.js +1 -1
  121. package/bundle/obf/src/generators/services/openssl.js +1 -1
  122. package/bundle/obf/src/generators/services/translation.js +1 -1
  123. package/bundle/obf/src/maka.js +1 -1
  124. package/bundle/obf/src/templates/react/kit/mui/frame/{basic-app-bar.js.jsx → app-bars/basic-app-bar.js.jsx} +12 -2
  125. package/bundle/obf/src/templates/react/kit/mui/frame/{basic-app-bar.js → app-bars/basic-app-bar.js.tsx} +10 -2
  126. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +118 -0
  127. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +116 -0
  128. package/bundle/obf/src/tool.js +1 -1
  129. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/https/https.class.js +1 -1
  137. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  138. package/bundle/obf/src/tools/log/log.class.js +1 -1
  139. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/options/options.class.js +1 -1
  141. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  147. package/package.json +1 -1
  148. package/bundle/obf/src/generators/kits/mui/layout.mui.gen.js +0 -1
  149. package/bundle/obf/src/templates/react/kit/mui/frame/basic-app-bar.js.ts +0 -0
  150. package/bundle/obf/src/templates/react/kit/mui/frame/basic-app-bar.js.tsx +0 -0
@@ -1 +1 @@
1
- const a139t=a139d;function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0xea;let f=c[d];return f;},a139d(a,b);}(function(a,b){const m=a139d,c=a();while(!![]){try{const d=-parseInt(m(0xf0))/0x1*(parseInt(m(0xf5))/0x2)+parseInt(m(0xfe))/0x3*(-parseInt(m(0x108))/0x4)+parseInt(m(0x10d))/0x5+parseInt(m(0xf9))/0x6*(parseInt(m(0xf6))/0x7)+parseInt(m(0x101))/0x8*(parseInt(m(0xfd))/0x9)+-parseInt(m(0x105))/0xa+parseInt(m(0x100))/0xb*(parseInt(m(0xf8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0xd93b0));const a139b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a139d;if(c){const e=c[n(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a139a=a139b(this,function(){const o=a139d;return a139a[o(0xef)]()[o(0x112)](o(0xfb))[o(0xef)]()[o(0xf7)](a139a)[o(0x112)]('(((.+)+)+)+$');});a139a();import a139e from'path';import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';export class SSH{static ['ssh']=(a,b,c)=>{return new Promise((d,e)=>{const p=a139d,f=b['user']+'@'+b[p(0x107)],g=a139e['join'](b[p(0xfc)],b[p(0xf2)]),h=c?.[p(0xf3)]||![],i=c?.[p(0x10c)]||![];let j=[];h&&j['push']('-t');i&&j['push']('-v');j=j['concat'](['-o',p(0xff),'-i',g,'-p',b['port'],f,a]);const k=Log['withSpinner']();c?.[p(0xfa)]&&k[p(0x103)](c?.['message']);const l=spawn(p(0x115),j,{'stdio':c?.[p(0x111)]?'inherit':'ignore'});l['on'](p(0xed),()=>{const q=p;c?.[q(0xfa)]&&k[q(0x10b)](),d();}),l['on'](p(0xea),()=>{const r=p;c?.[r(0xfa)]&&k[r(0x10b)](),d();}),l['on'](p(0x114),()=>{const s=p;c?.[s(0xfa)]&&k[s(0x113)](),e();});});};static [a139t(0x10e)]=(a,b,c)=>{const u=a139t,d=b[u(0xf1)]+'@'+b[u(0x107)],e=a139e[u(0xee)](b[u(0xfc)],b[u(0xf2)]),f=c?.[u(0xf3)]||![],g=c?.[u(0x10c)]||![];let h=[];f&&h[u(0xeb)]('-t'),g&&h[u(0xeb)]('-v'),h=h[u(0x110)](['-o',u(0xff),'-i',e,'-p',b[u(0x104)],d,a]),spawnSync(u(0x115),h,{'stdio':c?.[u(0x111)]?u(0x106):u(0x10a)});};static[a139t(0xec)](a,b,c){const v=a139t,d=b[v(0xf1)]+'@'+b[v(0x107)],e=a139e['join'](b['env'],b[v(0xf2)]),f=c?.[v(0xf3)]||![];let g=[];f&&g[v(0xeb)]('-t');g=g['concat'](['-o',v(0xff),'-i',e,'-p',b['port'],d,a,v(0x102)]);const h=v(0x109)+g[v(0xee)]('\x20');return execSync(h)[v(0xef)]();}static['scp'](a,b){const w=a139t,c=b[w(0xf1)]+'@'+b[w(0x107)]+':'+a[w(0x10f)],d=a139e['join'](b[w(0xfc)],b[w(0xf2)]),e=['-i',d,'-P',b[w(0x104)],a['source'],c];spawnSync('scp',e,{'stdio':a[w(0x111)]?'inherit':'ignore'});}}function a139c(){const x=['222468dOpvaf','114ClUXhq','message','(((.+)+)+)+$','env','9vzZXxw','582hVcoDC','ConnectTimeout=2','319aqUamq','8053192GokylP','2>&1','start','port','1997400ySDAmp','inherit','host','14392YajAfg','ssh\x20','ignore','success','sshVerbose','2477970cuXDzL','sshSync','dest','concat','verbose','search','failure','error','ssh','close','push','ping','disconnect','join','toString','20681FHFdWi','user','pem','tty','apply','86uIAzqY','234661suvGNL','constructor'];a139c=function(){return x;};return a139c();}
1
+ const a139p=a139d;(function(a,b){const m=a139d,c=a();while(!![]){try{const d=-parseInt(m(0x1b4))/0x1+parseInt(m(0x1b8))/0x2*(parseInt(m(0x1a4))/0x3)+-parseInt(m(0x1aa))/0x4*(-parseInt(m(0x1a5))/0x5)+parseInt(m(0x1ba))/0x6+parseInt(m(0x1a3))/0x7+parseInt(m(0x199))/0x8+-parseInt(m(0x193))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0xda964));const a139b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a139d;if(c){const e=c[n(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a139a=a139b(this,function(){const o=a139d;return a139a[o(0x19b)]()[o(0x1a2)](o(0x1ad))[o(0x19b)]()[o(0x194)](a139a)[o(0x1a2)](o(0x1ad));});function a139c(){const x=['error','pem','inherit','19684BiYaUv','push','sshVerbose','(((.+)+)+)+$','close','ConnectTimeout=2','ssh\x20','success','ssh','ignore','25851anfkhQ','withSpinner','verbose','port','1449986weXeTJ','concat','7436838xTPKJo','34749027JihHOn','constructor','message','dest','2>&1','apply','13200104UiUHCQ','join','toString','ping','host','user','env','tty','disconnect','search','2444505BrKlDn','6veWbRx','95IxNkyJ','source'];a139c=function(){return x;};return a139c();}a139a();function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0x193;let f=c[d];return f;},a139d(a,b);}import a139e from'path';import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';export class SSH{static [a139p(0x1b2)]=(a,b,c)=>{return new Promise((d,e)=>{const q=a139d,f=b[q(0x19e)]+'@'+b[q(0x19d)],g=a139e[q(0x19a)](b[q(0x19f)],b[q(0x1a8)]),h=c?.[q(0x1a0)]||![],i=c?.['sshVerbose']||![];let j=[];h&&j['push']('-t');i&&j['push']('-v');j=j[q(0x1b9)](['-o',q(0x1af),'-i',g,'-p',b[q(0x1b7)],f,a]);const k=Log[q(0x1b5)]();c?.['message']&&k['start'](c?.['message']);const l=spawn('ssh',j,{'stdio':c?.[q(0x1b6)]?q(0x1a9):q(0x1b3)});l['on'](q(0x1a1),()=>{const r=q;c?.[r(0x195)]&&k[r(0x1b1)](),d();}),l['on'](q(0x1ae),()=>{const s=q;c?.['message']&&k[s(0x1b1)](),d();}),l['on'](q(0x1a7),()=>{const t=q;c?.[t(0x195)]&&k['failure'](),e();});});};static ['sshSync']=(a,b,c)=>{const u=a139p,d=b['user']+'@'+b[u(0x19d)],e=a139e[u(0x19a)](b['env'],b[u(0x1a8)]),f=c?.[u(0x1a0)]||![],g=c?.[u(0x1ac)]||![];let h=[];f&&h[u(0x1ab)]('-t'),g&&h[u(0x1ab)]('-v'),h=h['concat'](['-o',u(0x1af),'-i',e,'-p',b[u(0x1b7)],d,a]),spawnSync(u(0x1b2),h,{'stdio':c?.[u(0x1b6)]?u(0x1a9):u(0x1b3)});};static[a139p(0x19c)](a,b,c){const v=a139p,d=b[v(0x19e)]+'@'+b[v(0x19d)],e=a139e['join'](b[v(0x19f)],b[v(0x1a8)]),f=c?.[v(0x1a0)]||![];let g=[];f&&g[v(0x1ab)]('-t');g=g[v(0x1b9)](['-o',v(0x1af),'-i',e,'-p',b[v(0x1b7)],d,a,v(0x197)]);const h=v(0x1b0)+g['join']('\x20');return execSync(h)['toString']();}static['scp'](a,b){const w=a139p,c=b['user']+'@'+b[w(0x19d)]+':'+a[w(0x196)],d=a139e['join'](b['env'],b[w(0x1a8)]),e=['-i',d,'-P',b[w(0x1b7)],a[w(0x1a6)],c];spawnSync('scp',e,{'stdio':a[w(0x1b6)]?w(0x1a9):w(0x1b3)});}}
@@ -1 +1 @@
1
- (function(a,b){var f=a140d,c=a();while(!![]){try{var d=parseInt(f(0x8c))/0x1*(parseInt(f(0x8a))/0x2)+parseInt(f(0x90))/0x3*(-parseInt(f(0x8e))/0x4)+parseInt(f(0x92))/0x5+-parseInt(f(0x8d))/0x6+-parseInt(f(0x91))/0x7+parseInt(f(0x8b))/0x8+parseInt(f(0x8f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x93051));function a140d(a,b){var c=a140c();return a140d=function(d,e){d=d-0x8a;var f=c[d];return f;},a140d(a,b);}var a140b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){var g=a140d;return a140a['toString']()[g(0x94)](g(0x93))['toString']()['constructor'](a140a)['search'](g(0x93));});function a140c(){var h=['6297128iDCOGk','1SztZEv','5302932MgOCuc','96828hAveko','5399136lLRWJf','108KfNQDT','4666340KvoxKd','5871665DrxTgK','(((.+)+)+)+$','search','925418fVNIwy'];a140c=function(){return h;};return a140c();}a140a();export{};
1
+ (function(a,b){var f=a140d,c=a();while(!![]){try{var d=parseInt(f(0x124))/0x1*(-parseInt(f(0x12b))/0x2)+-parseInt(f(0x12a))/0x3*(-parseInt(f(0x12d))/0x4)+-parseInt(f(0x128))/0x5*(parseInt(f(0x126))/0x6)+parseInt(f(0x129))/0x7*(-parseInt(f(0x127))/0x8)+parseInt(f(0x130))/0x9*(parseInt(f(0x125))/0xa)+-parseInt(f(0x12e))/0xb*(parseInt(f(0x12c))/0xc)+parseInt(f(0x12f))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x80973));function a140d(a,b){var c=a140c();return a140d=function(d,e){d=d-0x122;var f=c[d];return f;},a140d(a,b);}function a140c(){var h=['1125730ekRdof','3409XYQBUq','79155vrcTzL','282zYxOsW','2049660ndQwRA','32ABstnL','11iJxiMp','13231374IahUoO','9090fGpoHO','(((.+)+)+)+$','toString','search','155MIsGJW','9160dOlpJS','18dJqgUP','12472yckJkh'];a140c=function(){return h;};return a140c();}var a140b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){var g=a140d;return a140a[g(0x122)]()[g(0x123)](g(0x131))[g(0x122)]()['constructor'](a140a)[g(0x123)](g(0x131));});a140a();export{};
@@ -1 +1 @@
1
- const a141h=a141d;function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a141d(a,b);}(function(a,b){const f=a141d,c=a();while(!![]){try{const d=parseInt(f(0x1ac))/0x1+-parseInt(f(0x1af))/0x2*(parseInt(f(0x1b9))/0x3)+parseInt(f(0x1b2))/0x4*(-parseInt(f(0x1c0))/0x5)+parseInt(f(0x1ae))/0x6*(parseInt(f(0x1bb))/0x7)+-parseInt(f(0x1b3))/0x8+parseInt(f(0x1a9))/0x9*(parseInt(f(0x1b0))/0xa)+parseInt(f(0x1ad))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0xb96fa));const a141b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a141a=a141b(this,function(){const g=a141d;return a141a[g(0x1bf)]()[g(0x1bd)](g(0x1c6))[g(0x1bf)]()['constructor'](a141a)[g(0x1bd)](g(0x1c6));});a141a();import{spawnSync}from'child_process';function a141c(){const k=['genCSR','-config','crtName','-keyout','cwd','481809dBdJKy','push','1322629zpBAlF','-new','search','inherit','toString','492535JlTPfa','-out','req','keyName','-newkey','openssl','(((.+)+)+)+$','2070EottfR','rsa:2048','csrName','1354357qEpPbI','13106841KwUgAb','6plYTPx','6OSCmcM','20020BdkVjs','-nodes','36vZzZqx','8539016XesSNT'];a141c=function(){return k;};return a141c();}export class SSL{static[a141h(0x1b4)](a){const i=a141h,b=a[i(0x1b8)]?a[i(0x1b8)]:process['cwd'](),c=[i(0x1c2),i(0x1bc),i(0x1c4),i(0x1aa),i(0x1b1),i(0x1b7),a[i(0x1c3)],i(0x1c1),a[i(0x1ab)]];a['useConfig']&&(c[i(0x1ba)](i(0x1b5)),c['push']('openssl.conf')),spawnSync('openssl',c,{'stdio':i(0x1be),'cwd':b});}static['genSSC'](a){const j=a141h,b=a[j(0x1b8)]?a[j(0x1b8)]:process[j(0x1b8)](),c=[j(0x1c2),'-x509',j(0x1bc),'-key',a['keyName'],'-out',a[j(0x1b6)]];a['useConfig']&&(c[j(0x1ba)]('-config'),c['push']('openssl.conf')),spawnSync(j(0x1c5),c,{'stdio':j(0x1be),'cwd':b});}}
1
+ const a141j=a141d;(function(a,b){const f=a141d,c=a();while(!![]){try{const d=parseInt(f(0x91))/0x1+parseInt(f(0x96))/0x2*(parseInt(f(0x83))/0x3)+parseInt(f(0x8c))/0x4*(-parseInt(f(0x8b))/0x5)+parseInt(f(0x8d))/0x6+parseInt(f(0x97))/0x7+parseInt(f(0x99))/0x8*(-parseInt(f(0x88))/0x9)+-parseInt(f(0x80))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0xc3981));const a141b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a141d;if(c){const e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a141a=a141b(this,function(){const h=a141d;return a141a[h(0x90)]()['search'](h(0x8a))['toString']()[h(0x89)](a141a)[h(0x84)]('(((.+)+)+)+$');});a141a();function a141c(){const l=['306KPleks','constructor','(((.+)+)+)+$','30zQKHdB','509468pkuyKZ','6062772XQYOOx','-newkey','keyName','toString','1246341NTutbh','-keyout','openssl.conf','cwd','inherit','1926334YqCiIq','9349872RVVmcY','-nodes','193688pnDKWJ','rsa:2048','openssl','apply','-config','req','crtName','21671370tKEHLK','-new','push','3QZoiqT','search','useConfig','-out','genSSC'];a141c=function(){return l;};return a141c();}function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0x80;let f=c[d];return f;},a141d(a,b);}import{spawnSync}from'child_process';export class SSL{static['genCSR'](a){const i=a141d,b=a[i(0x94)]?a[i(0x94)]:process[i(0x94)](),c=['req',i(0x81),i(0x8e),i(0x9a),i(0x98),i(0x92),a[i(0x8f)],i(0x86),a['csrName']];a[i(0x85)]&&(c[i(0x82)](i(0x9d)),c[i(0x82)](i(0x93))),spawnSync(i(0x9b),c,{'stdio':i(0x95),'cwd':b});}static[a141j(0x87)](a){const k=a141j,b=a[k(0x94)]?a[k(0x94)]:process['cwd'](),c=[k(0x9e),'-x509',k(0x81),'-key',a[k(0x8f)],'-out',a[k(0x9f)]];a[k(0x85)]&&(c['push'](k(0x9d)),c[k(0x82)](k(0x93))),spawnSync(k(0x9b),c,{'stdio':k(0x95),'cwd':b});}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maka/maka-cli",
3
3
  "//": "NOTE: don't forget to update version.ts and fsi.class.ts",
4
- "version": "4.6.23",
4
+ "version": "4.7.0",
5
5
  "type": "module",
6
6
  "summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
7
7
  "description": "A command line tool for scaffolding Meteor 2.x applications using React.",
@@ -1 +0,0 @@
1
- const a109x=a109d;(function(a,b){const u=a109d,c=a();while(!![]){try{const d=parseInt(u(0x17b))/0x1+parseInt(u(0x18d))/0x2+-parseInt(u(0x17c))/0x3*(-parseInt(u(0x190))/0x4)+parseInt(u(0x1ac))/0x5*(-parseInt(u(0x1a0))/0x6)+parseInt(u(0x18c))/0x7*(parseInt(u(0x184))/0x8)+parseInt(u(0x18f))/0x9*(-parseInt(u(0x195))/0xa)+-parseInt(u(0x1aa))/0xb*(parseInt(u(0x1ad))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x33052));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a109d;if(c){const e=c[v(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const w=a109d;return a109a[w(0x1a6)]()['search'](w(0x178))[w(0x1a6)]()[w(0x19d)](a109a)[w(0x18a)](w(0x178));});a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a109c(){const z=['toString','react','.js','engines','629013MvTePI','error','40NtkFMk','12SDcvcN','baseDir','(((.+)+)+)+$','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','pathFromApp','6544lNJMia','13371sTbPHJ','findAppDirectory','checkbox','getProjectConfig','true','length','appName','dir','40aIoJkZ','ssr','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20layout\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','<div\x20id=\x22','jsx','fsi','search','layout','94822IcBCXe','769942arYdrB','-hook\x22>','16758IYzQGc','296egVsaS','{this.props.children}','No\x20layouts\x20selected','kit/mui/frame/','/imports/startup/client/templates','2090WjckQy','MATERIAL','apply','getFiles','options','/imports/ui/hooks','Generate\x20a\x20standard\x20MUI\x20layout','layouts','constructor','/imports/ui/','/imports/startup/lib/templates','100308ajTieK','basic-app-bar','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{layout,\x20l}','{\x20this.props.children\x20}','{\x20props.children\x20}','\x20/>\x0a'];a109c=function(){return z;};return a109c();}import{Actions}from'../../../tools/actions/actions.class.js';import a109e from'path';import a109f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines}from'../../../tools/fsi/fsi.interfaces.js';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x178;let f=c[d];return f;},a109d(a,b);}Generator['create']({'name':a109x(0x18b),'aliases':['l'],'usage':a109x(0x1a2),'shortDesc':a109x(0x19b),'validOpts':['layouts'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a109x(0x196)]},'examples':['maka\x20g:k:m:l'],'description':a109x(0x186)},async function(a,b){const y=a109x;try{const c=y(0x1a1),d=this['fsi'][y(0x17f)](),f=d[y(0x1a9)][y(0x185)]===y(0x180),g=this['fsi'][y(0x17d)](),h=a109e['join'](g,'imports','ui',y(0x19c)),i=this[y(0x189)]['getDirectories'](h),j=await Actions[y(0x199)]({'type':y(0x17e),'name':y(0x19c),'message':y(0x179),'choices':i});if(j['layouts'][y(0x181)]===0x0){Log['error'](y(0x192));return;}const k=b[y(0x1ae)]?y(0x19e)+b['baseDir']:y(0x19a),l=this[y(0x189)][y(0x17a)]({'pathParts':[k,b[y(0x183)],paramCase(c),paramCase(c)]}),m={'name':headerCase(d[y(0x182)])['replace']('-','\x20')};this[y(0x189)]['template']({'srcPath':y(0x193)+c+'.js','destPath':l+y(0x1a8),'framework':y(0x1a7),'context':m,'config':d,'force':![],'ignore':!![]});const n=''+k+b[y(0x183)]+'/'+c+'/'+c;await this['fsi']['injectTemplateModule'](c,d,n);const {layouts:o}=j;for(const p of o){const q=this[y(0x189)][y(0x198)](a109e['join'](h,p),{'extensions':[y(0x188),'tsx']});for(const r of q){const s=a109e['join'](h,p,r);await this[y(0x189)]['injectImport']({'filePath':s,'importName':pascalCase(c),'modulePath':f?y(0x19f):y(0x194),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':s,'content':'<'+pascalCase(c)+y(0x1a5),'begin':[y(0x187)+p+'-component\x22>','<div\x20id=\x22'+p+y(0x18e)],'end':[y(0x191),y(0x1a3),'{props.children}',y(0x1a4)]});}}}catch(t){t&&Log[y(0x1ab)](t);}},a109f);