@maka/maka-cli 4.7.15 → 4.7.17

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 (323) hide show
  1. package/.eslintrc.json +29 -29
  2. package/.mocharc.json +3 -3
  3. package/README.md +21 -21
  4. package/bundle/obf/package.json +126 -127
  5. package/bundle/obf/src/README.md +21 -21
  6. package/bundle/obf/src/command.js +1 -1
  7. package/bundle/obf/src/commands/_index.js +1 -1
  8. package/bundle/obf/src/commands/ai.js +1 -1
  9. package/bundle/obf/src/commands/aws/_index.js +1 -1
  10. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  11. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  23. package/bundle/obf/src/commands/build/_index.js +1 -1
  24. package/bundle/obf/src/commands/build/build.js +1 -1
  25. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/create.js +1 -1
  27. package/bundle/obf/src/commands/debug.js +1 -1
  28. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  29. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  30. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/_index.js +1 -1
  33. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/game/play.command.js +1 -1
  35. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  69. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/generate.js +1 -1
  73. package/bundle/obf/src/commands/get/_index.js +1 -1
  74. package/bundle/obf/src/commands/get/get.command.js +1 -1
  75. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  78. package/bundle/obf/src/commands/help.js +1 -1
  79. package/bundle/obf/src/commands/install.js +1 -1
  80. package/bundle/obf/src/commands/jsdoc.js +1 -1
  81. package/bundle/obf/src/commands/lint.js +1 -1
  82. package/bundle/obf/src/commands/login.js +1 -1
  83. package/bundle/obf/src/commands/logout.js +1 -1
  84. package/bundle/obf/src/commands/logs.js +1 -1
  85. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  86. package/bundle/obf/src/commands/murder.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/run/_index.js +1 -1
  90. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/run/run.command.js +1 -1
  92. package/bundle/obf/src/commands/set/_index.js +1 -1
  93. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  94. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/set.command.js +1 -1
  96. package/bundle/obf/src/commands/ssh.js +1 -1
  97. package/bundle/obf/src/commands/ssl.js +1 -1
  98. package/bundle/obf/src/commands/test.js +1 -1
  99. package/bundle/obf/src/commands/version.js +1 -1
  100. package/bundle/obf/src/error.js +1 -1
  101. package/bundle/obf/src/exec.js +1 -1
  102. package/bundle/obf/src/generator.js +1 -1
  103. package/bundle/obf/src/generators/_index.js +1 -1
  104. package/bundle/obf/src/generators/api.js +1 -1
  105. package/bundle/obf/src/generators/collection.js +1 -1
  106. package/bundle/obf/src/generators/component.js +1 -1
  107. package/bundle/obf/src/generators/config.js +1 -1
  108. package/bundle/obf/src/generators/dbc.js +1 -1
  109. package/bundle/obf/src/generators/dockerfile.js +1 -1
  110. package/bundle/obf/src/generators/hook.js +1 -1
  111. package/bundle/obf/src/generators/kits/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  114. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  115. package/bundle/obf/src/generators/kits/kit.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  117. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  119. package/bundle/obf/src/generators/layout.js +1 -1
  120. package/bundle/obf/src/generators/maka.gen.js +1 -1
  121. package/bundle/obf/src/generators/methods.js +1 -1
  122. package/bundle/obf/src/generators/package.js +1 -1
  123. package/bundle/obf/src/generators/page.js +1 -1
  124. package/bundle/obf/src/generators/publish.js +1 -1
  125. package/bundle/obf/src/generators/route.js +1 -1
  126. package/bundle/obf/src/generators/service.js +1 -1
  127. package/bundle/obf/src/generators/services/_index.js +1 -1
  128. package/bundle/obf/src/generators/services/openssl.js +1 -1
  129. package/bundle/obf/src/generators/services/translation.js +1 -1
  130. package/bundle/obf/src/maka.js +1 -1
  131. package/bundle/obf/src/templates/meteor/api/api.js +11 -11
  132. package/bundle/obf/src/templates/meteor/api/api.js.ts +11 -11
  133. package/bundle/obf/src/templates/meteor/api/collection.js +86 -86
  134. package/bundle/obf/src/templates/meteor/api/collection.js.ts +94 -94
  135. package/bundle/obf/src/templates/meteor/api/fixtures.js +23 -23
  136. package/bundle/obf/src/templates/meteor/api/fixtures.js.ts +23 -23
  137. package/bundle/obf/src/templates/meteor/api/methods.js +136 -136
  138. package/bundle/obf/src/templates/meteor/api/methods.js.ts +137 -137
  139. package/bundle/obf/src/templates/meteor/api/publications.js +31 -31
  140. package/bundle/obf/src/templates/meteor/api/publications.js.ts +31 -31
  141. package/bundle/obf/src/templates/meteor/api/register-api.js +15 -15
  142. package/bundle/obf/src/templates/meteor/api/register-api.js.ts +15 -15
  143. package/bundle/obf/src/templates/meteor/api/resolvers.js +9 -9
  144. package/bundle/obf/src/templates/meteor/api/resolvers.js.ts +9 -9
  145. package/bundle/obf/src/templates/meteor/api/tests.js +1 -1
  146. package/bundle/obf/src/templates/meteor/api/tests.js.ts +1 -1
  147. package/bundle/obf/src/templates/meteor/api/typeDefs.js +5 -5
  148. package/bundle/obf/src/templates/meteor/api/typeDefs.js.ts +5 -5
  149. package/bundle/obf/src/templates/meteor/app/client/body.html +3 -3
  150. package/bundle/obf/src/templates/meteor/app/client/head.html +15 -15
  151. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js +9 -9
  152. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.jsx +9 -9
  153. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.ts +9 -9
  154. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.tsx +9 -9
  155. package/bundle/obf/src/templates/meteor/app/client/main.js +13 -13
  156. package/bundle/obf/src/templates/meteor/app/client/main.js.jsx +13 -13
  157. package/bundle/obf/src/templates/meteor/app/client/main.js.ts +13 -13
  158. package/bundle/obf/src/templates/meteor/app/client/main.js.tsx +13 -13
  159. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js +20 -20
  160. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +117 -117
  161. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.ts +20 -20
  162. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +118 -118
  163. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js +39 -39
  164. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.jsx +48 -48
  165. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.ts +24 -24
  166. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +48 -48
  167. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js +9 -9
  168. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.jsx +9 -9
  169. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.ts +9 -9
  170. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.tsx +9 -9
  171. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js +1 -1
  172. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +21 -21
  173. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.ts +1 -1
  174. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +21 -21
  175. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +48 -48
  176. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +48 -48
  177. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js +1 -1
  178. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +152 -152
  179. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +152 -152
  180. package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js +24 -24
  181. package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js.ts +24 -24
  182. package/bundle/obf/src/templates/meteor/app/lib/main.js +1 -1
  183. package/bundle/obf/src/templates/meteor/app/lib/main.js.jsx +1 -1
  184. package/bundle/obf/src/templates/meteor/app/lib/main.js.ts +1 -1
  185. package/bundle/obf/src/templates/meteor/app/lib/main.js.tsx +1 -1
  186. package/bundle/obf/src/templates/meteor/app/maka.d.ts +160 -160
  187. package/bundle/obf/src/templates/meteor/app/meteor.d.ts +955 -955
  188. package/bundle/obf/src/templates/meteor/app/public/manifest.json +27 -27
  189. package/bundle/obf/src/templates/meteor/app/public/sw.js +30 -30
  190. package/bundle/obf/src/templates/meteor/app/public/sw.js.jsx +30 -30
  191. package/bundle/obf/src/templates/meteor/app/public/sw.js.ts +30 -30
  192. package/bundle/obf/src/templates/meteor/app/public/sw.js.tsx +30 -30
  193. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js +179 -179
  194. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +179 -179
  195. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +179 -179
  196. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +179 -179
  197. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js +9 -9
  198. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.jsx +9 -9
  199. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.ts +9 -9
  200. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.tsx +9 -9
  201. package/bundle/obf/src/templates/meteor/app/server/main.js +11 -11
  202. package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +11 -11
  203. package/bundle/obf/src/templates/meteor/app/server/main.js.ts +11 -11
  204. package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +11 -11
  205. package/bundle/obf/src/templates/meteor/app/tsconfig.json +40 -40
  206. package/bundle/obf/src/templates/meteor/collection/collection.js +85 -85
  207. package/bundle/obf/src/templates/meteor/collection/collection.js.ts +97 -97
  208. package/bundle/obf/src/templates/meteor/collection/tests.js +27 -27
  209. package/bundle/obf/src/templates/meteor/collection/tests.js.ts +27 -27
  210. package/bundle/obf/src/templates/meteor/config/docker-compose.yaml +17 -17
  211. package/bundle/obf/src/templates/meteor/config/pm2.config.js +25 -25
  212. package/bundle/obf/src/templates/meteor/config/process.env +5 -5
  213. package/bundle/obf/src/templates/meteor/config/settings.json +11 -11
  214. package/bundle/obf/src/templates/meteor/config/ssh.json +6 -6
  215. package/bundle/obf/src/templates/meteor/dbc/config.js +70 -70
  216. package/bundle/obf/src/templates/meteor/dbc/config.js.ts +70 -70
  217. package/bundle/obf/src/templates/meteor/dbc/conn.js +37 -37
  218. package/bundle/obf/src/templates/meteor/dbc/conn.js.ts +37 -37
  219. package/bundle/obf/src/templates/meteor/dbc/register-dbc.js +3 -3
  220. package/bundle/obf/src/templates/meteor/dbc/register-dbc.js.ts +3 -3
  221. package/bundle/obf/src/templates/meteor/method/method.js +48 -48
  222. package/bundle/obf/src/templates/meteor/method/method.js.ts +48 -48
  223. package/bundle/obf/src/templates/meteor/package/package.js +37 -37
  224. package/bundle/obf/src/templates/meteor/package/package.js.jsx +37 -37
  225. package/bundle/obf/src/templates/meteor/package/package.js.ts +36 -36
  226. package/bundle/obf/src/templates/meteor/package/package.js.tsx +37 -37
  227. package/bundle/obf/src/templates/meteor/package/tests/client/package.js +5 -5
  228. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.jsx +5 -5
  229. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.ts +5 -5
  230. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.tsx +5 -5
  231. package/bundle/obf/src/templates/meteor/package/tests/server/package.js +5 -5
  232. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.jsx +5 -5
  233. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.ts +5 -5
  234. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.tsx +5 -5
  235. package/bundle/obf/src/templates/meteor/project/.maka/config.json +29 -29
  236. package/bundle/obf/src/templates/meteor/project/README.md +1 -1
  237. package/bundle/obf/src/templates/meteor/project/build/README +4 -4
  238. package/bundle/obf/src/templates/meteor/project/gitignore +7 -7
  239. package/bundle/obf/src/templates/meteor/project/package.json +20 -20
  240. package/bundle/obf/src/templates/meteor/publish/publish.js +3 -3
  241. package/bundle/obf/src/templates/meteor/publish/publish.js.jsx +3 -3
  242. package/bundle/obf/src/templates/meteor/publish/publish.js.tsx +3 -3
  243. package/bundle/obf/src/templates/meteor/publish/publish.ts +3 -3
  244. package/bundle/obf/src/templates/meteor/service/logger/logger.js +27 -27
  245. package/bundle/obf/src/templates/meteor/service/logger/logger.js.ts +27 -27
  246. package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css +5 -5
  247. package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css.less +5 -5
  248. package/bundle/obf/src/templates/meteor/template/template-tests.js +1 -1
  249. package/bundle/obf/src/templates/meteor/template/template-tests.js.jsx +55 -55
  250. package/bundle/obf/src/templates/meteor/template/template-tests.js.ts +1 -1
  251. package/bundle/obf/src/templates/meteor/template/template-tests.js.tsx +55 -55
  252. package/bundle/obf/src/templates/meteor/template/template.css +3 -3
  253. package/bundle/obf/src/templates/meteor/template/template.css.less +3 -3
  254. package/bundle/obf/src/templates/meteor/template/template.css.scss +3 -3
  255. package/bundle/obf/src/templates/meteor/template/template.html +5 -5
  256. package/bundle/obf/src/templates/meteor/template/template.js +20 -20
  257. package/bundle/obf/src/templates/meteor/template/template.js.jsx +77 -77
  258. package/bundle/obf/src/templates/meteor/template/template.js.ts +1 -1
  259. package/bundle/obf/src/templates/meteor/template/template.js.tsx +89 -89
  260. package/bundle/obf/src/templates/react/component/component.css +6 -6
  261. package/bundle/obf/src/templates/react/component/component.css.less +6 -6
  262. package/bundle/obf/src/templates/react/component/component.css.scss +3 -3
  263. package/bundle/obf/src/templates/react/component/component.js.jsx +63 -63
  264. package/bundle/obf/src/templates/react/component/component.js.tsx +68 -68
  265. package/bundle/obf/src/templates/react/hook/hook.css +3 -3
  266. package/bundle/obf/src/templates/react/hook/hook.css.scss +3 -3
  267. package/bundle/obf/src/templates/react/hook/hook.js +1 -1
  268. package/bundle/obf/src/templates/react/hook/hook.js.jsx +24 -24
  269. package/bundle/obf/src/templates/react/hook/hook.js.tsx +23 -23
  270. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.jsx +27 -27
  271. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.tsx +29 -29
  272. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +41 -41
  273. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +40 -40
  274. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +118 -118
  275. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +116 -116
  276. package/bundle/obf/src/templates/react/route/route.js +8 -8
  277. package/bundle/obf/src/templates/react/route/route.js.jsx +8 -8
  278. package/bundle/obf/src/templates/react/route/route.js.ts +8 -8
  279. package/bundle/obf/src/templates/react/route/route.js.tsx +8 -8
  280. package/bundle/obf/src/templates/react/test/test.js +1 -1
  281. package/bundle/obf/src/templates/react/test/test.js.jsx +41 -41
  282. package/bundle/obf/src/templates/react/test/test.js.ts +1 -1
  283. package/bundle/obf/src/templates/react/test/test.js.tsx +41 -41
  284. package/bundle/obf/src/templates/service/docker/Dockerfile +54 -54
  285. package/bundle/obf/src/templates/service/eslint/eslintrc.json +33 -33
  286. package/bundle/obf/src/templates/service/i18n/i18n.js +33 -33
  287. package/bundle/obf/src/templates/service/i18n/i18n.js.ts +33 -33
  288. package/bundle/obf/src/templates/service/i18n/locales.js +3 -3
  289. package/bundle/obf/src/templates/service/i18n/locales.js.ts +3 -3
  290. package/bundle/obf/src/templates/service/openssl/openssl.conf +22 -22
  291. package/bundle/obf/src/tool.js +1 -1
  292. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  293. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  294. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  295. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  296. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  297. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  298. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  299. package/bundle/obf/src/tools/https/https.class.js +1 -1
  300. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  301. package/bundle/obf/src/tools/log/log.class.js +1 -1
  302. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  303. package/bundle/obf/src/tools/options/options.class.js +1 -1
  304. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  305. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  306. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  307. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  308. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  309. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  310. package/jest.config.js +11 -11
  311. package/obfuscator.json +29 -29
  312. package/package.json +126 -127
  313. package/tsconfig.json +23 -23
  314. package/.vs/VSWorkspaceState.json +0 -15
  315. package/.vs/maka-cli-src/FileContentIndex/18ca123b-cf4e-4263-8cf0-ed1624e8e918.vsidx +0 -0
  316. package/.vs/maka-cli-src/FileContentIndex/93947812-c77d-4667-aaed-3f9a0df8b484.vsidx +0 -0
  317. package/.vs/maka-cli-src/FileContentIndex/c4cbf57e-b360-4b2a-8b3d-fc8f800c195a.vsidx +0 -0
  318. package/.vs/maka-cli-src/FileContentIndex/c9d2ef23-4e6c-46eb-a405-3584022229ed.vsidx +0 -0
  319. package/.vs/maka-cli-src/FileContentIndex/f530d0eb-18c4-4b49-9f77-9bef59b119f3.vsidx +0 -0
  320. package/.vs/maka-cli-src/config/applicationhost.config +0 -1016
  321. package/.vs/maka-cli-src/v17/.wsuo +0 -0
  322. package/.vs/maka-cli-src/v17/workspaceFileList.bin +0 -0
  323. package/.vs/slnx.sqlite +0 -0
@@ -1 +1 @@
1
- function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x130;let f=c[d];return f;},a100d(a,b);}const a100m=a100d;(function(a,b){const k=a100d,c=a();while(!![]){try{const d=-parseInt(k(0x16b))/0x1*(-parseInt(k(0x15f))/0x2)+-parseInt(k(0x143))/0x3*(-parseInt(k(0x138))/0x4)+-parseInt(k(0x156))/0x5+parseInt(k(0x15a))/0x6*(-parseInt(k(0x13c))/0x7)+-parseInt(k(0x14a))/0x8*(-parseInt(k(0x141))/0x9)+-parseInt(k(0x165))/0xa*(-parseInt(k(0x159))/0xb)+parseInt(k(0x154))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x449d8));const a100b=(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;};}()),a100a=a100b(this,function(){const l=a100d;return a100a[l(0x149)]()[l(0x152)](l(0x166))['toString']()[l(0x137)](a100a)[l(0x152)](l(0x166));});function a100c(){const p=['pages','checkNpmPackage','setTemplate','true','10OovoWb','(((.+)+)+)+$','engines','baseDir','string','root','383PfWenm','/imports/ui/components','resourceName','components','warn','ramda','installNpmPackage','import\x20\x27./','.js','constructor','3304eEcxLY','pathFromProject','fileName','findAppDirectory','20657yIkwMN','none','features','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','css','2781tyUgSZ','ssr','480MdRgLv','graphql','relative','create','withValue','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','toString','7384qgeufF','hooks','template','injectTemplateModule','/imports/ui/','maka\x20g:comp\x20todos/todos-item','.tests.js','assign','search','className','1627884ncEpnp','pathFromApp','649100EghBfH','error','react','674861MEuKlm','786pyQBkR','withTranslations','fsi','test','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','956JMSzKl','dir'];a100c=function(){return p;};return a100c();}a100a();import a100e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=['comp'];Generator[a100m(0x146)]({'name':'component','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':a100m(0x15e),'validOpts':[{'name':'baseDir','values':[a100m(0x14b),a100m(0x131),a100m(0x161),'layouts']}],'examples':[a100m(0x14f)]},async function(a,b){const n=a100m;try{const c=this['fsi'][n(0x13b)](),d=b[n(0x168)]?n(0x14e)+b[n(0x168)]:n(0x16c),f=this[n(0x15c)][n(0x155)]({'pathParts':[d,b[n(0x160)],paramCase(b[n(0x130)]),paramCase(b['resourceName'])]}),g=await this[n(0x15c)]['getMakaProjectConfig']();await this[n(0x15c)][n(0x147)](g,async()=>{const o=n;typeof g[o(0x14c)][o(0x15d)]===o(0x169)&&(g[o(0x14c)][o(0x15d)]=g[o(0x14c)]['test']===o(0x164)?!![]:![],this[o(0x15c)][o(0x163)](o(0x15d),g[o(0x14c)]['test']));typeof g[o(0x14c)][o(0x140)]===o(0x169)&&(g[o(0x14c)][o(0x140)]=g[o(0x14c)][o(0x140)]===o(0x164)?!![]:![],this[o(0x15c)]['setTemplate'](o(0x140),g[o(0x14c)][o(0x140)]));typeof g[o(0x14c)]['js']===o(0x169)&&(g[o(0x14c)]['js']=g[o(0x14c)]['js']==='true'?!![]:![],this[o(0x15c)][o(0x163)]('js',g[o(0x14c)]['js']));!g[o(0x13e)]&&(g[o(0x13e)]={});!b[o(0x16a)]&&!this['fsi'][o(0x162)]('ramda')&&(Log[o(0x132)](o(0x13f)),await this[o(0x15c)][o(0x134)](o(0x133),{'cwd':c}));if(!b[o(0x16a)]&&!this[o(0x15c)][o(0x162)]('react')){Log[o(0x157)](o(0x148));return;}const h={'name':pascalCase(b[o(0x130)]),'myPath':a100e[o(0x145)](this['fsi'][o(0x139)]({}),f),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[o(0x130)]),'camelCaseName':camelCase(b[o(0x130)]),'fileName':paramCase(b['resourceName']),'graphql':g[o(0x167)][o(0x144)],'features':g[o(0x13e)],'client':g[o(0x167)]['client'],'api':g[o(0x167)]['api'],'ssr':g[o(0x167)][o(0x142)],'test':g[o(0x167)][o(0x15d)],'theme':g[o(0x167)]['theme'],'isLayout':![],'isComponent':!![],'withTranslations':g[o(0x13e)][o(0x15b)]};await this[o(0x15c)][o(0x14c)]({'srcPath':'component/component.js','destPath':f+o(0x136),'context':h,'framework':o(0x158),'config':g});g[o(0x167)][o(0x15d)]!==o(0x13d)&&await this[o(0x15c)]['template']({'srcPath':'test/test.js','destPath':f+o(0x150),'context':h,'framework':'react','config':g});g[o(0x14c)]['css']&&(await this[o(0x15c)][o(0x14c)]({'srcPath':'template/template.css','destPath':f+'.css','context':Object[o(0x151)]({},h,{'className':paramCase(b['resourceName'])}),'config':g}),await this['fsi']['injectAtBeginningOfFile']({'filePath':f+'.'+g[o(0x167)]['js'],'content':o(0x135)+h['cssCaseName']+'.'+g[o(0x167)]['css']+'\x27;'}));const i=b[o(0x160)]?'/'+b[o(0x160)]+'/':'/',j=''+d+i+h[o(0x13a)]+'/'+h[o(0x13a)];await this[o(0x15c)][o(0x14d)](h[o(0x153)],g,j);});}catch(h){Log[n(0x157)](h);}});
1
+ function a101c(){const q=['Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','(((.+)+)+)+$','className','fsi','none','apply','baseDir','true','template/template.css','7433060rPSCye','/imports/ui/','.css','.js','string','error','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','css','engines','872678CYaDjz','component/component.js','resourceName','injectTemplateModule','hooks','cssCaseName','126Zkzeje','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','ssr','pathFromProject','findAppDirectory','pages','client','48062NZLymk','injectAtBeginningOfFile','layouts','180104ZkaHBK','withTranslations','/imports/ui/components','102RClfSn','react','test','getMakaProjectConfig','checkNpmPackage','setTemplate','333JXcZuD','features','api','graphql','root','toString','dir','183636INeGTh','constructor','.tests.js','917250eZWNrc','assign','template','withValue','relative','fileName','163664ElSCnV','installNpmPackage','search','theme','warn','maka\x20g:comp\x20todos/todos-item','ramda'];a101c=function(){return q;};return a101c();}const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=parseInt(k(0x132))/0x1+-parseInt(k(0x13f))/0x2*(parseInt(k(0x145))/0x3)+-parseInt(k(0x119))/0x4+-parseInt(k(0x155))/0x5+-parseInt(k(0x152))/0x6*(-parseInt(k(0x138))/0x7)+parseInt(k(0x142))/0x8*(parseInt(k(0x14b))/0x9)+-parseInt(k(0x129))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x73321));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0x150)]()[m(0x11b)](m(0x121))['toString']()[m(0x153)](a101a)[m(0x11b)](m(0x121));});a101a();import a101e from'path';import{camelCase,paramCase,pascalCase}from'change-case';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x118;let f=c[d];return f;},a101d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=['comp'];Generator['create']({'name':'component','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':a101n(0x120),'validOpts':[{'name':a101n(0x126),'values':[a101n(0x136),'components',a101n(0x13d),a101n(0x141)]}],'examples':[a101n(0x11e)]},async function(a,b){const o=a101n;try{const c=this[o(0x123)][o(0x13c)](),d=b['baseDir']?o(0x12a)+b[o(0x126)]:o(0x144),f=this[o(0x123)]['pathFromApp']({'pathParts':[d,b['dir'],paramCase(b[o(0x134)]),paramCase(b[o(0x134)])]}),g=await this[o(0x123)][o(0x148)]();await this['fsi'][o(0x158)](g,async()=>{const p=o;typeof g[p(0x157)][p(0x147)]===p(0x12d)&&(g[p(0x157)][p(0x147)]=g[p(0x157)][p(0x147)]===p(0x127)?!![]:![],this[p(0x123)]['setTemplate'](p(0x147),g['template'][p(0x147)]));typeof g[p(0x157)][p(0x130)]==='string'&&(g['template']['css']=g[p(0x157)][p(0x130)]===p(0x127)?!![]:![],this[p(0x123)][p(0x14a)](p(0x130),g['template'][p(0x130)]));typeof g['template']['js']==='string'&&(g['template']['js']=g['template']['js']===p(0x127)?!![]:![],this[p(0x123)][p(0x14a)]('js',g[p(0x157)]['js']));!g[p(0x14c)]&&(g['features']={});!b[p(0x14f)]&&!this[p(0x123)][p(0x149)](p(0x11f))&&(Log[p(0x11d)](p(0x12f)),await this[p(0x123)][p(0x11a)](p(0x11f),{'cwd':c}));if(!b[p(0x14f)]&&!this[p(0x123)][p(0x149)](p(0x146))){Log[p(0x12e)](p(0x139));return;}const h={'name':pascalCase(b['resourceName']),'myPath':a101e[p(0x159)](this[p(0x123)][p(0x13b)]({}),f),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x134)]),'camelCaseName':camelCase(b[p(0x134)]),'fileName':paramCase(b[p(0x134)]),'graphql':g[p(0x131)][p(0x14e)],'features':g[p(0x14c)],'client':g[p(0x131)][p(0x13e)],'api':g[p(0x131)][p(0x14d)],'ssr':g[p(0x131)][p(0x13a)],'test':g[p(0x131)][p(0x147)],'theme':g[p(0x131)][p(0x11c)],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0x14c)][p(0x143)]};await this[p(0x123)][p(0x157)]({'srcPath':p(0x133),'destPath':f+p(0x12c),'context':h,'framework':p(0x146),'config':g});g[p(0x131)]['test']!==p(0x124)&&await this[p(0x123)][p(0x157)]({'srcPath':'test/test.js','destPath':f+p(0x154),'context':h,'framework':p(0x146),'config':g});g[p(0x157)]['css']&&(await this[p(0x123)]['template']({'srcPath':p(0x128),'destPath':f+p(0x12b),'context':Object[p(0x156)]({},h,{'className':paramCase(b[p(0x134)])}),'config':g}),await this[p(0x123)][p(0x140)]({'filePath':f+'.'+g[p(0x131)]['js'],'content':'import\x20\x27./'+h[p(0x137)]+'.'+g[p(0x131)]['css']+'\x27;'}));const i=b[p(0x151)]?'/'+b[p(0x151)]+'/':'/',j=''+d+i+h[p(0x118)]+'/'+h[p(0x118)];await this[p(0x123)][p(0x135)](h[p(0x122)],g,j);});}catch(h){Log[o(0x12e)](h);}});
@@ -1 +1 @@
1
- function a101c(){const m=['437498oWLNFc','24IVUYHs','dev','3393MOLwFY','70Tmtvwq','appName','fsi','12080cZMYty','withValue','pathFromProject','maka\x20g:config\x20production','2340456sHiMwi','Generate\x20configuration\x20settings.','1494780lpcMIK','config','resourceName','prod','template','(((.+)+)+)+$','development','search','isDocker','maka\x20{generate,\x20g}:{config}\x20<name>','config/settings.json','131948LWKhSS','9714067hShvPw','1hlZpfJ','production','settings.json','1834270ggCBmI','toString'];a101c=function(){return m;};return a101c();}const a101j=a101d;(function(a,b){const h=a101d,c=a();while(!![]){try{const d=parseInt(h(0xb4))/0x1*(-parseInt(h(0xb9))/0x2)+-parseInt(h(0xa5))/0x3+-parseInt(h(0xb2))/0x4*(-parseInt(h(0xbd))/0x5)+-parseInt(h(0xba))/0x6*(-parseInt(h(0xa7))/0x7)+parseInt(h(0xa1))/0x8*(-parseInt(h(0xbc))/0x9)+-parseInt(h(0xb7))/0xa+parseInt(h(0xb3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x6d3f5));function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0xa1;let f=c[d];return f;},a101d(a,b);}const a101b=(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;};}()),a101a=a101b(this,function(){const i=a101d;return a101a[i(0xb8)]()[i(0xae)](i(0xac))[i(0xb8)]()['constructor'](a101a)['search'](i(0xac));});a101a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a101j(0xa8),'usage':a101j(0xb0),'shortDesc':a101j(0xa6),'validOpts':['isDocker'],'examples':[a101j(0xa4)]},async function(a,b){const k=a101j,c=this[k(0xbf)]['getMakaProjectConfig']();await this[k(0xbf)][k(0xa2)](c,async()=>{const l=k,d={'app':c['appName'],'appFileCase':paramCase(c[l(0xbe)]),'name':pascalCase(b[l(0xa9)]),'fileName':paramCase(b[l(0xa9)]),'camelCase':camelCase(b[l(0xa9)]),'userName':'ubuntu','isDocker':b[l(0xaf)]};let e=b['resourceName'];if(e===l(0xbb))e=l(0xad);else e===l(0xaa)&&(e=l(0xb5));const f=this[l(0xbf)][l(0xa3)]({'pathParts':['config',e,l(0xb6)]});await this[l(0xbf)][l(0xab)]({'srcPath':l(0xb1),'destPath':f,'context':d,'config':c});if(!b[l(0xaf)]){const g=this[l(0xbf)]['pathFromProject']({'pathParts':[l(0xa8),e,'process.env']});await this[l(0xbf)][l(0xab)]({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});
1
+ const a102j=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=-parseInt(h(0xbc))/0x1*(parseInt(h(0xce))/0x2)+parseInt(h(0xb9))/0x3*(parseInt(h(0xd4))/0x4)+parseInt(h(0xba))/0x5*(parseInt(h(0xc5))/0x6)+-parseInt(h(0xd9))/0x7+-parseInt(h(0xd8))/0x8*(parseInt(h(0xcc))/0x9)+parseInt(h(0xc1))/0xa*(-parseInt(h(0xc0))/0xb)+parseInt(h(0xc9))/0xc*(parseInt(h(0xc7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x88a91));const a102b=(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;};}()),a102a=a102b(this,function(){const i=a102d;return a102a['toString']()[i(0xc3)]('(((.+)+)+)+$')[i(0xbd)]()[i(0xd3)](a102a)[i(0xc3)](i(0xc2));});function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0xb9;let f=c[d];return f;},a102d(a,b);}a102a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102j(0xd6)]({'name':a102j(0xcf),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a102j(0xd2),'validOpts':[a102j(0xc8)],'examples':[a102j(0xda)]},async function(a,b){const k=a102j,c=this[k(0xc6)]['getMakaProjectConfig']();await this[k(0xc6)][k(0xca)](c,async()=>{const l=k,d={'app':c[l(0xcd)],'appFileCase':paramCase(c[l(0xcd)]),'name':pascalCase(b[l(0xbf)]),'fileName':paramCase(b[l(0xbf)]),'camelCase':camelCase(b['resourceName']),'userName':l(0xc4),'isDocker':b['isDocker']};let e=b[l(0xbf)];if(e===l(0xd7))e=l(0xd5);else e===l(0xbe)&&(e=l(0xdb));const f=this[l(0xc6)]['pathFromProject']({'pathParts':['config',e,'settings.json']});await this[l(0xc6)]['template']({'srcPath':l(0xcb),'destPath':f,'context':d,'config':c});if(!b[l(0xc8)]){const g=this[l(0xc6)][l(0xbb)]({'pathParts':[l(0xcf),e,l(0xd1)]});await this[l(0xc6)][l(0xd0)]({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});function a102c(){const m=['constructor','8VmFogp','development','create','dev','4042672EyvxSk','4200623rseygo','maka\x20g:config\x20production','production','79449UhDKfj','10jJYvZx','pathFromProject','30973RnpDaB','toString','prod','resourceName','583GDswxQ','173890BqXheF','(((.+)+)+)+$','search','ubuntu','1467306FoWcum','fsi','65AMgRwq','isDocker','5948052uxrWeL','withValue','config/settings.json','9YRSydX','appName','28IHEMMU','config','template','process.env','Generate\x20configuration\x20settings.'];a102c=function(){return m;};return a102c();}
@@ -1 +1 @@
1
- function a102c(){const p=['template','1106BxdlsO','-dbc\x27;','imports','pathFromApp','pgsql','fsi','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','startup','search','660XuVCgP','toString','1423962zYpGAE','maka\x20g:dbc\x20todos\x20--type=sqlite','tsx','11DJPQBB','dbc/config.js','engines','withValue','constructor','resourceName','dbc/conn.js','better-sqlite3','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','installNpmPackage','dbc','type','57272tQGEbH','checkNpmPackage','server','(((.+)+)+)+$','1171vEDSyI','error','maka\x20g:dbc\x20azure\x20--type=mssql','maka\x20g:dbc\x20geoserver\x20--type=pgsql','dbc/register-dbc.js','config.','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','20gFcaiD','609036XSRPaP','133047kZnfgH','dir','3723174GUHMmU','mssql','warn','398596hTcSVW','apply','sqlite','357uJoBdC'];a102c=function(){return p;};return a102c();}function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x139;let f=c[d];return f;},a102d(a,b);}const a102m=a102d;(function(a,b){const j=a102d,c=a();while(!![]){try{const d=parseInt(j(0x143))/0x1*(parseInt(j(0x156))/0x2)+-parseInt(j(0x14e))/0x3+parseInt(j(0x151))/0x4*(parseInt(j(0x14a))/0x5)+parseInt(j(0x161))/0x6+parseInt(j(0x154))/0x7*(-parseInt(j(0x13f))/0x8)+-parseInt(j(0x14c))/0x9*(-parseInt(j(0x15f))/0xa)+parseInt(j(0x164))/0xb*(parseInt(j(0x14b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xabd06));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a102d;if(c){const e=c[k(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const l=a102d;return a102a['toString']()[l(0x15e)](l(0x142))[l(0x160)]()[l(0x168)](a102a)[l(0x15e)](l(0x142));});a102a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a102m(0x13d),'usage':a102m(0x149),'shortDesc':a102m(0x15c),'validOpts':[a102m(0x14d)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a102m(0x15a),'mssql',a102m(0x153)]}],'examples':[a102m(0x146),a102m(0x145),a102m(0x162)]},async function(a,b){const n=a102m;try{const c=await this[n(0x15b)]['getMakaProjectConfig'](),d=this[n(0x15b)][n(0x159)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[n(0x169)]),'fileName':paramCase(b[n(0x169)]),'camelCase':camelCase(b['resourceName']),'type':b['type'],'engine':c[n(0x166)]['js'],'noRename':!![]};await this[n(0x15b)][n(0x167)](c,async()=>{const o=n;let h='js';c[o(0x166)]['js']===o(0x163)&&(h='ts');b[o(0x13e)]===o(0x15a)&&!this[o(0x15b)][o(0x140)]('pg')&&(Log[o(0x150)]('Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...'),await this[o(0x15b)]['installNpmPackage']('pg',{'cwd':d}));b[o(0x13e)]===o(0x14f)&&!this[o(0x15b)][o(0x140)]('mssql')&&(Log[o(0x150)](o(0x13b)),await this[o(0x15b)][o(0x13c)](o(0x14f),{'cwd':d}));b[o(0x13e)]===o(0x153)&&!this[o(0x15b)][o(0x140)]('better-sqlite3')&&(Log[o(0x150)]('Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...'),await this[o(0x15b)][o(0x13c)](o(0x13a),{'cwd':d}));await this[o(0x15b)]['template']({'srcPath':o(0x165),'destPath':this[o(0x15b)][o(0x159)]({'pathParts':['imports',o(0x15d),o(0x141),o(0x13d),b['dir'],f,o(0x148)+h]}),'context':g,'config':c}),await this[o(0x15b)][o(0x155)]({'srcPath':o(0x139),'destPath':this[o(0x15b)][o(0x159)]({'pathParts':[o(0x158),o(0x15d),'server',o(0x13d),b['dir'],f,'conn.'+h]}),'context':g,'config':c}),await this[o(0x15b)]['template']({'srcPath':o(0x147),'destPath':this[o(0x15b)]['pathFromApp']({'pathParts':[o(0x158),'startup',o(0x141),'register-'+f+'-dbc.'+h]}),'context':g,'config':c});const i=this[o(0x15b)][o(0x159)]({'pathParts':[o(0x158),o(0x15d),o(0x141),'index.'+c[o(0x166)]['js']]});await this['fsi']['injectAtEndOfFile']({'filePath':i,'content':'import\x20\x27./register-'+f+o(0x157)});});}catch(h){Log[n(0x144)](h);}});
1
+ const a103m=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=parseInt(j(0xb7))/0x1+parseInt(j(0xed))/0x2*(parseInt(j(0xcd))/0x3)+parseInt(j(0xdf))/0x4*(-parseInt(j(0xe0))/0x5)+parseInt(j(0xe4))/0x6*(parseInt(j(0xca))/0x7)+-parseInt(j(0xdb))/0x8*(parseInt(j(0xe6))/0x9)+-parseInt(j(0xbf))/0xa*(parseInt(j(0xc9))/0xb)+-parseInt(j(0xbc))/0xc*(-parseInt(j(0xeb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xc5358));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a103d;if(c){const e=c[k(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const l=a103d;return a103a[l(0xc1)]()[l(0xc4)](l(0xc2))['toString']()[l(0xec)](a103a)[l(0xc4)](l(0xc2));});function a103c(){const p=['engines','type','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','1694823caevvQ','constructor','235666LtqBzt','dbc/conn.js','dbc/register-dbc.js','1160644CYOttA','checkNpmPackage','import\x20\x27./register-','config.','tsx','60VHbYgw','dir','error','123110KRfWEm','imports','toString','(((.+)+)+)+$','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','search','withValue','dbc/config.js','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','installNpmPackage','847qaOOJw','7PJPQNL','create','maka\x20g:dbc\x20todos\x20--type=sqlite','30lrMMjL','resourceName','pathFromApp','pgsql','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','dbc','server','warn','sqlite','-dbc.','register-','fsi','better-sqlite3','-dbc\x27;','48szSppr','mssql','conn.','injectAtEndOfFile','52GAcNhX','513935DIkDif','template','getMakaProjectConfig','startup','6757410qJyVvG','apply','1537677zuKbOG','index.'];a103c=function(){return p;};return a103c();}a103a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0xb6;let f=c[d];return f;},a103d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a103m(0xcb)]({'name':a103m(0xd2),'usage':a103m(0xd1),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a103m(0xbd)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a103m(0xe9),'values':[a103m(0xd0),'mssql',a103m(0xd5)]}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:dbc\x20azure\x20--type=mssql',a103m(0xcc)]},async function(a,b){const n=a103m;try{const c=await this[n(0xd8)][n(0xe2)](),d=this['fsi']['pathFromApp']({}),f=paramCase(b[n(0xce)]),g={'name':pascalCase(b[n(0xce)]),'fileName':paramCase(b[n(0xce)]),'camelCase':camelCase(b['resourceName']),'type':b[n(0xe9)],'engine':c[n(0xe8)]['js'],'noRename':!![]};await this[n(0xd8)][n(0xc5)](c,async()=>{const o=n;let h='js';c[o(0xe8)]['js']===o(0xbb)&&(h='ts');b['type']===o(0xd0)&&!this[o(0xd8)][o(0xb8)]('pg')&&(Log[o(0xd4)](o(0xea)),await this[o(0xd8)][o(0xc8)]('pg',{'cwd':d}));b[o(0xe9)]===o(0xdc)&&!this[o(0xd8)][o(0xb8)](o(0xdc))&&(Log[o(0xd4)](o(0xc7)),await this[o(0xd8)][o(0xc8)](o(0xdc),{'cwd':d}));b[o(0xe9)]===o(0xd5)&&!this[o(0xd8)][o(0xb8)]('better-sqlite3')&&(Log[o(0xd4)](o(0xc3)),await this[o(0xd8)][o(0xc8)](o(0xd9),{'cwd':d}));await this[o(0xd8)][o(0xe1)]({'srcPath':o(0xc6),'destPath':this[o(0xd8)][o(0xcf)]({'pathParts':[o(0xc0),o(0xe3),'server',o(0xd2),b[o(0xbd)],f,o(0xba)+h]}),'context':g,'config':c}),await this[o(0xd8)][o(0xe1)]({'srcPath':o(0xee),'destPath':this[o(0xd8)]['pathFromApp']({'pathParts':[o(0xc0),o(0xe3),o(0xd3),'dbc',b['dir'],f,o(0xdd)+h]}),'context':g,'config':c}),await this['fsi'][o(0xe1)]({'srcPath':o(0xb6),'destPath':this[o(0xd8)][o(0xcf)]({'pathParts':[o(0xc0),o(0xe3),o(0xd3),o(0xd7)+f+o(0xd6)+h]}),'context':g,'config':c});const i=this[o(0xd8)]['pathFromApp']({'pathParts':[o(0xc0),'startup',o(0xd3),o(0xe7)+c[o(0xe8)]['js']]});await this['fsi'][o(0xde)]({'filePath':i,'content':o(0xb9)+f+o(0xda)});});}catch(h){Log[n(0xbe)](h);}});
@@ -1 +1 @@
1
- const a103h=a103d;(function(a,b){const f=a103d,c=a();while(!![]){try{const d=-parseInt(f(0x158))/0x1+-parseInt(f(0x15b))/0x2*(parseInt(f(0x169))/0x3)+parseInt(f(0x15e))/0x4*(parseInt(f(0x168))/0x5)+-parseInt(f(0x16c))/0x6+parseInt(f(0x173))/0x7+parseInt(f(0x163))/0x8+-parseInt(f(0x15d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xcb483));const a103b=(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;};}()),a103a=a103b(this,function(){const g=a103d;return a103a[g(0x167)]()['search'](g(0x15f))[g(0x167)]()[g(0x161)](a103a)[g(0x171)](g(0x15f));});a103a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a103c(){const k=['findProjectDirectory','constructor','fsi','13298032sGGysK','build','withValue','Dockerfile','toString','4030fDICdT','3BFfofQ','getMakaProjectConfig','maka\x20{generate,\x20g}:dockerfile','9283398GfUisR','template','join','create','error','search','service','7689661BqColp','Generate\x20an\x20updated\x20dockerfile','296063SUuhMc','cert','docker/Dockerfile','1525574mYApUn','app','5940099uznIow','6640SNSSRT','(((.+)+)+)+$'];a103c=function(){return k;};return a103c();}function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x158;let f=c[d];return f;},a103d(a,b);}import a103e from'path';Generator[a103h(0x16f)]({'name':'dockerfile','usage':a103h(0x16b),'shortDesc':a103h(0x174),'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(){const i=a103h;try{const a=await this[i(0x162)][i(0x16a)](),b=await this[i(0x162)]['getGlobalConfig'](),c=this['fsi'][i(0x160)]();await this['fsi'][i(0x165)](a,async()=>{const j=i,d={'app':b['appName'],'config':a,'appPath':a103e[j(0x16e)](c,j(0x15c)),'bundlePath':a103e[j(0x16e)](c,j(0x164),'app.tar.gz'),'useCert':this[j(0x162)]['isFile'](b[j(0x159)])};await this[j(0x162)][j(0x16d)]({'srcPath':j(0x15a),'destPath':a103e[j(0x16e)](c,j(0x166)),'framework':j(0x172),'context':d,'config':a});});}catch(d){Log[i(0x170)](d);}});
1
+ function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a104d(a,b);}const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(0x1f2))/0x1*(-parseInt(f(0x208))/0x2)+parseInt(f(0x205))/0x3*(parseInt(f(0x204))/0x4)+parseInt(f(0x1f3))/0x5*(parseInt(f(0x200))/0x6)+parseInt(f(0x209))/0x7*(-parseInt(f(0x1f4))/0x8)+-parseInt(f(0x1fe))/0x9*(-parseInt(f(0x203))/0xa)+parseInt(f(0x1fb))/0xb+-parseInt(f(0x201))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x363bf));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a[h(0x1ed)]()[h(0x1f7)]('(((.+)+)+)+$')[h(0x1ed)]()[h(0x20b)](a104a)['search'](h(0x1f8));});a104a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a104e from'path';Generator['create']({'name':a104i(0x1f6),'usage':a104i(0x20c),'shortDesc':a104i(0x20a),'validOpts':[],'noNeedResource':!![],'examples':[a104i(0x1ef)]},async function(){const j=a104i;try{const a=await this[j(0x1f0)][j(0x206)](),b=await this[j(0x1f0)][j(0x1f1)](),c=this['fsi'][j(0x1fd)]();await this['fsi']['withValue'](a,async()=>{const k=j,d={'app':b[k(0x1ff)],'config':a,'appPath':a104e['join'](c,k(0x20f)),'bundlePath':a104e[k(0x1f5)](c,k(0x20e),k(0x207)),'useCert':this[k(0x1f0)][k(0x1fc)](b['cert'])};await this[k(0x1f0)][k(0x1fa)]({'srcPath':k(0x202),'destPath':a104e['join'](c,k(0x20d)),'framework':k(0x1f9),'context':d,'config':a});});}catch(d){Log['error'](d);}});function a104c(){const l=['service','template','3774595SLPzWI','isFile','findProjectDirectory','767061RbKNpM','appName','31092qborVT','19640076RtHnWf','docker/Dockerfile','50ORgYSJ','176308rsODRo','27emeHMW','getMakaProjectConfig','app.tar.gz','290410rrhVOa','7HsTnVU','Generate\x20an\x20updated\x20dockerfile','constructor','maka\x20{generate,\x20g}:dockerfile','Dockerfile','build','app','toString','apply','maka\x20g:dockerfile','fsi','getGlobalConfig','3YuuTJm','350BzaqNS','844176uqeZRB','join','dockerfile','search','(((.+)+)+)+$'];a104c=function(){return l;};return a104c();}
@@ -1 +1 @@
1
- const a104o=a104d;function a104c(){const r=['error','create','import\x20\x27./','apollo','(((.+)+)+)+$','injectTemplateModule','.js','.app-tests.js','/imports/ui/','theme','6lYuolf','11499273gWZsXt','baseDir','7844YqdNxA','pathFromApp','apply','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','template/template.css','dir','pathFromProject','checkNpmPackage','template','245pLQOhm','react','/imports/ui/hooks','installNpmPackage','injectAtBeginningOfFile','pages','features','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','154bvTZLT','@apollo/client\x20isomorphic-fetch','1302914ACJwhd','css','warn','.css','2511257pwRUhq','@apollo/client','fileName','toString','withValue','696912UJrubB','constructor','getMakaProjectConfig','engines','3366944YIXXSS','hook/hook.js','layouts','graphql','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','search','hook','resourceName','1038210zMnmVc','fsi','test','force','cssCaseName','6TAfFSe'];a104c=function(){return r;};return a104c();}(function(a,b){const l=a104d,c=a();while(!![]){try{const d=-parseInt(l(0x17e))/0x1+-parseInt(l(0x175))/0x2*(parseInt(l(0x18f))/0x3)+parseInt(l(0x19d))/0x4*(parseInt(l(0x16b))/0x5)+-parseInt(l(0x19a))/0x6*(-parseInt(l(0x179))/0x7)+-parseInt(l(0x182))/0x8+parseInt(l(0x19b))/0x9+-parseInt(l(0x18a))/0xa*(-parseInt(l(0x173))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xbad99));function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x167;let f=c[d];return f;},a104d(a,b);}const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a104d;if(c){const e=c[m(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const n=a104d;return a104a[n(0x17c)]()['search'](n(0x194))[n(0x17c)]()[n(0x17f)](a104a)[n(0x187)](n(0x194));});a104a();import a104e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a104o(0x191)]({'name':a104o(0x188),'aliases':['h'],'checkWhere':![],'usage':a104o(0x1a0),'shortDesc':a104o(0x172),'validOpts':[{'name':a104o(0x19c),'values':['hooks','components',a104o(0x170),a104o(0x184)]},{'name':a104o(0x18d),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20Hooks\x20are\x20created\x20in\x20the\x20imports/ui/hooks\x20directory\x20by\x20default,\x20but\x20can\x20be\x20created\x20in\x0a\x20\x20the\x20imports/ui/components,\x20imports/ui/pages,\x20or\x20imports/ui/layouts\x20directories\x20by\x0a\x20\x20using\x20the\x20--baseDir\x20option\x20with\x20the\x20appropriate\x20directory\x20name.\x0a\x0a\x20\x20To\x20create\x20a\x20hook\x20in\x20a\x20subdirectory\x20of\x20the\x20hooks\x20directory,\x20add\x20the\x20path\x20to\x20the\x0a\x20\x20hook\x20name.\x20For\x20example,\x20maka\x20g:hook\x20myHooks/useCoolHook\x20will\x20create\x20a\x20hook\x20in\x0a\x20\x20imports/ui/hooks/my-hooks/use-cool-hook.jsx\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const p=a104o;Log['notice']('Creating\x20'+b[p(0x189)]+'\x20hook...');try{const c=this['fsi'][p(0x169)](p(0x16c));if(!c){Log[p(0x190)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[p(0x18b)][p(0x19e)](b),f=b[p(0x19c)]?p(0x198)+b[p(0x19c)]:p(0x16d),g=this[p(0x18b)][p(0x19e)]({'pathParts':[f,b[p(0x167)],paramCase(b[p(0x189)]),paramCase(b[p(0x189)])]}),h=await this[p(0x18b)][p(0x180)]();await this['fsi'][p(0x17d)](h,async()=>{const q=p;typeof h[q(0x16a)][q(0x176)]==='string'&&(h[q(0x16a)][q(0x176)]=h[q(0x16a)][q(0x176)]==='true'?!![]:![],this['fsi']['setTemplate']('css',h[q(0x16a)][q(0x176)]));h[q(0x181)][q(0x185)]===q(0x193)&&!this[q(0x18b)][q(0x169)](q(0x17a))&&(Log[q(0x177)](q(0x186)),await this[q(0x18b)][q(0x16e)](q(0x174),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x189)]),'camelCaseName':camelCase(b[q(0x189)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[q(0x189)]),'graphql':h['engines'][q(0x185)],'theme':h['engines'][q(0x199)],'features':h[q(0x171)],'myPath':a104e['relative'](this['fsi'][q(0x168)]({}),g),'fileName':paramCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x171)]['withTranslations']};await this['fsi']['template']({'srcPath':q(0x183),'destPath':g+q(0x196),'context':i,'config':h,'framework':q(0x16c),'force':b[q(0x18d)]});h[q(0x16a)][q(0x176)]&&(await this[q(0x18b)][q(0x16a)]({'srcPath':q(0x1a1),'destPath':g+q(0x178),'context':Object['assign']({},i,{'className':i[q(0x18e)]}),'config':h,'force':b[q(0x18d)]}),await this[q(0x18b)][q(0x16f)]({'filePath':g+'.'+h[q(0x181)]['js'],'content':q(0x192)+i['fileName']+'.'+h[q(0x181)]['css']+'\x27;'}));h[q(0x181)][q(0x18c)]!=='none'&&await this[q(0x18b)]['template']({'srcPath':'test/test.js','destPath':g+q(0x197),'framework':'react','context':i,'config':h,'force':b[q(0x18d)]});const j=b[q(0x167)]?'/'+b['dir']+'/':'/',k=''+f+j+i[q(0x17b)]+'/'+i[q(0x17b)];await this[q(0x18b)][q(0x195)](i['className'],h,k);});}catch(i){Log[p(0x190)](i);}});
1
+ const a105o=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d=parseInt(l(0x167))/0x1*(parseInt(l(0x162))/0x2)+parseInt(l(0x14e))/0x3*(parseInt(l(0x14c))/0x4)+-parseInt(l(0x153))/0x5*(-parseInt(l(0x136))/0x6)+parseInt(l(0x161))/0x7+-parseInt(l(0x15f))/0x8*(-parseInt(l(0x129))/0x9)+parseInt(l(0x12d))/0xa*(parseInt(l(0x16a))/0xb)+-parseInt(l(0x13c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x45454));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a105d;if(c){const e=c[m(0x169)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const n=a105d;return a105a[n(0x138)]()[n(0x15d)](n(0x131))[n(0x138)]()['constructor'](a105a)[n(0x15d)](n(0x131));});function a105c(){const r=['Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','test/test.js','true','search','components','24RzBepN','withValue','3633721MKADCi','2UdQyxp','graphql','installNpmPackage','injectAtBeginningOfFile','baseDir','307423BpQLmI','apollo','apply','11GMAwBy','none','withTranslations','1144701hikEBA','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','hook/hook.js','import\x20\x27./','4075030ChxPwZ','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','notice','hook','(((.+)+)+)+$','@apollo/client','features','react','injectTemplateModule','786NvnHMU','/imports/ui/hooks','toString','pathFromProject','hooks','layouts','22509336CJRSUx','.js','/imports/ui/','\x20hook...','engines','pathFromApp','template/template.css','dir','test','maka\x20g:hook\x20cool-hook','css','checkNpmPackage','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','setTemplate','template','warn','508kXFtBW','Creating\x20','5697zmtmnU','.app-tests.js','className','string','fileName','11555rUnLLf','force','@apollo/client\x20isomorphic-fetch','.css','fsi','resourceName','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20Hooks\x20are\x20created\x20in\x20the\x20imports/ui/hooks\x20directory\x20by\x20default,\x20but\x20can\x20be\x20created\x20in\x0a\x20\x20the\x20imports/ui/components,\x20imports/ui/pages,\x20or\x20imports/ui/layouts\x20directories\x20by\x0a\x20\x20using\x20the\x20--baseDir\x20option\x20with\x20the\x20appropriate\x20directory\x20name.\x0a\x0a\x20\x20To\x20create\x20a\x20hook\x20in\x20a\x20subdirectory\x20of\x20the\x20hooks\x20directory,\x20add\x20the\x20path\x20to\x20the\x0a\x20\x20hook\x20name.\x20For\x20example,\x20maka\x20g:hook\x20myHooks/useCoolHook\x20will\x20create\x20a\x20hook\x20in\x0a\x20\x20imports/ui/hooks/my-hooks/use-cool-hook.jsx\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'];a105c=function(){return r;};return a105c();}a105a();function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x129;let f=c[d];return f;},a105d(a,b);}import a105e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':a105o(0x130),'aliases':['h'],'checkWhere':![],'usage':a105o(0x148),'shortDesc':a105o(0x15a),'validOpts':[{'name':a105o(0x166),'values':[a105o(0x13a),a105o(0x15e),'pages',a105o(0x13b)]},{'name':a105o(0x154),'boolFlag':!![]}],'examples':[a105o(0x145)],'description':a105o(0x159)},async function(a,b){const p=a105o;Log[p(0x12f)](p(0x14d)+b[p(0x158)]+p(0x13f));try{const c=this[p(0x157)][p(0x147)]('react');if(!c){Log['error'](p(0x12e));throw new UsageError();}const d=this[p(0x157)][p(0x141)](b),f=b[p(0x166)]?p(0x13e)+b[p(0x166)]:p(0x137),g=this[p(0x157)]['pathFromApp']({'pathParts':[f,b[p(0x143)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),h=await this[p(0x157)]['getMakaProjectConfig']();await this['fsi'][p(0x160)](h,async()=>{const q=p;typeof h[q(0x14a)][q(0x146)]===q(0x151)&&(h[q(0x14a)][q(0x146)]=h[q(0x14a)][q(0x146)]===q(0x15c)?!![]:![],this[q(0x157)][q(0x149)](q(0x146),h['template'][q(0x146)]));h[q(0x140)]['graphql']===q(0x168)&&!this[q(0x157)]['checkNpmPackage'](q(0x132))&&(Log[q(0x14b)](q(0x12a)),await this[q(0x157)][q(0x164)](q(0x155),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b['resourceName']),'name':pascalCase(b['resourceName']),'graphql':h[q(0x140)][q(0x163)],'theme':h[q(0x140)]['theme'],'features':h[q(0x133)],'myPath':a105e['relative'](this[q(0x157)][q(0x139)]({}),g),'fileName':paramCase(b[q(0x158)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x133)][q(0x16c)]};await this[q(0x157)]['template']({'srcPath':q(0x12b),'destPath':g+q(0x13d),'context':i,'config':h,'framework':q(0x134),'force':b[q(0x154)]});h[q(0x14a)][q(0x146)]&&(await this['fsi']['template']({'srcPath':q(0x142),'destPath':g+q(0x156),'context':Object['assign']({},i,{'className':i['cssCaseName']}),'config':h,'force':b[q(0x154)]}),await this[q(0x157)][q(0x165)]({'filePath':g+'.'+h['engines']['js'],'content':q(0x12c)+i[q(0x152)]+'.'+h[q(0x140)][q(0x146)]+'\x27;'}));h['engines'][q(0x144)]!==q(0x16b)&&await this[q(0x157)]['template']({'srcPath':q(0x15b),'destPath':g+q(0x14f),'framework':q(0x134),'context':i,'config':h,'force':b[q(0x154)]});const j=b[q(0x143)]?'/'+b[q(0x143)]+'/':'/',k=''+f+j+i['fileName']+'/'+i[q(0x152)];await this[q(0x157)][q(0x135)](i[q(0x150)],h,k);});}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a112d,c=a();while(!![]){try{var d=parseInt(f(0x11c))/0x1+parseInt(f(0x114))/0x2+-parseInt(f(0x11a))/0x3+-parseInt(f(0x113))/0x4*(-parseInt(f(0x11b))/0x5)+parseInt(f(0x119))/0x6*(-parseInt(f(0x117))/0x7)+-parseInt(f(0x115))/0x8*(-parseInt(f(0x11d))/0x9)+parseInt(f(0x120))/0xa*(-parseInt(f(0x11f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x1e222));var a112b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a112d;if(c){var e=c[g(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){var h=a112d;return a112a[h(0x118)]()[h(0x112)](h(0x116))[h(0x118)]()[h(0x11e)](a112a)[h(0x112)]('(((.+)+)+)+$');});function a112d(a,b){var c=a112c();return a112d=function(d,e){d=d-0x112;var f=c[d];return f;},a112d(a,b);}a112a();function a112c(){var i=['1584whNnvM','269286juYutZ','121135vcUBJs','20375KBgKeR','990BEUlfu','constructor','13464EiYklg','840MiAUdg','apply','search','36lGzBsp','303364WYtIwO','5536DlEkUg','(((.+)+)+)+$','3983NWgTdh','toString'];a112c=function(){return i;};return a112c();}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';
1
+ (function(a,b){var f=a106d,c=a();while(!![]){try{var d=-parseInt(f(0x1ce))/0x1*(parseInt(f(0x1c5))/0x2)+parseInt(f(0x1ca))/0x3+parseInt(f(0x1cc))/0x4*(parseInt(f(0x1c2))/0x5)+-parseInt(f(0x1c3))/0x6+parseInt(f(0x1c4))/0x7+-parseInt(f(0x1c9))/0x8+-parseInt(f(0x1c1))/0x9*(parseInt(f(0x1c7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x82104));var a106b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a106d;if(c){var e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){var h=a106d;return a106a['toString']()[h(0x1cd)](h(0x1c6))[h(0x1cb)]()[h(0x1c0)](a106a)[h(0x1cd)](h(0x1c6));});a106a();import'./kit.js';function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0x1c0;var f=c[d];return f;},a106d(a,b);}function a106c(){var i=['399332uuGmLR','search','43093NEpvjA','constructor','2609991IINrdX','15IpELMy','3120618FzbJVI','3268405iUHDcQ','4XHnsjS','(((.+)+)+)+$','10lQPqij','apply','944704ZkwRFm','2342106SxwMDV','toString'];a106c=function(){return i;};return a106c();}import'./mui/_index.js';import'./esri/_index.js';
@@ -1 +1 @@
1
- function a107c(){var i=['12jYtGrF','16050vckcIJ','40twkOtr','269142MHJtHW','186354DQisNH','apply','2387rAYEBC','search','16tWOrzl','toString','32492UFqxnl','45405OlNIAx','694673uMBWPD','1969875jimEdT','constructor'];a107c=function(){return i;};return a107c();}(function(a,b){var f=a107d,c=a();while(!![]){try{var d=parseInt(f(0x17f))/0x1*(parseInt(f(0x177))/0x2)+-parseInt(f(0x180))/0x3*(parseInt(f(0x175))/0x4)+parseInt(f(0x182))/0x5+-parseInt(f(0x178))/0x6+-parseInt(f(0x181))/0x7*(parseInt(f(0x17d))/0x8)+-parseInt(f(0x179))/0x9+-parseInt(f(0x176))/0xa*(parseInt(f(0x17b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x5e424));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a['toString']()[h(0x17c)]('(((.+)+)+)+$')[h(0x17e)]()[h(0x183)](a107a)['search']('(((.+)+)+)+$');});a107a();function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x175;var f=c[d];return f;},a107d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a107d,c=a();while(!![]){try{var d=parseInt(f(0x121))/0x1*(-parseInt(f(0x11f))/0x2)+-parseInt(f(0x11b))/0x3+parseInt(f(0x120))/0x4*(-parseInt(f(0x124))/0x5)+-parseInt(f(0x125))/0x6*(-parseInt(f(0x11d))/0x7)+-parseInt(f(0x123))/0x8*(-parseInt(f(0x11a))/0x9)+parseInt(f(0x128))/0xa*(-parseInt(f(0x126))/0xb)+parseInt(f(0x11e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x73c97));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a[h(0x11c)]()[h(0x119)](h(0x118))[h(0x11c)]()[h(0x122)](a107a)[h(0x119)](h(0x118));});a107a();import'./esri.generator.js';function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x118;var f=c[d];return f;},a107d(a,b);}import'./map.esri.gen.js';function a107c(){var i=['139316KpaKCo','constructor','1882328LRqsCW','35dNqDLo','298482OgCqkK','42262KqJXYP','apply','450NkTFeL','(((.+)+)+)+$','search','9gVBAZR','1438245NQayJj','toString','133jIwMtD','5976180MNUNyV','2QaYksj','235780nlcEZz'];a107c=function(){return i;};return a107c();}
@@ -1 +1 @@
1
- const a105i=a105d;function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0xc4;let f=c[d];return f;},a105d(a,b);}(function(a,b){const f=a105d,c=a();while(!![]){try{const d=parseInt(f(0xc8))/0x1+-parseInt(f(0xd8))/0x2*(-parseInt(f(0xd6))/0x3)+-parseInt(f(0xd7))/0x4*(-parseInt(f(0xc9))/0x5)+parseInt(f(0xd2))/0x6*(-parseInt(f(0xca))/0x7)+-parseInt(f(0xc4))/0x8+parseInt(f(0xcc))/0x9*(-parseInt(f(0xc5))/0xa)+parseInt(f(0xd0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x88e4c));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a105d;if(c){const e=c[g(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const h=a105d;return a105a[h(0xd1)]()[h(0xcb)]('(((.+)+)+)+$')[h(0xd1)]()[h(0xd9)](a105a)['search'](h(0xce));});a105a();import{Generator}from'../../../generator.js';function a105c(){const k=['46017MoNAkr','apply','(((.+)+)+)+$','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','15108159xpxpOJ','toString','6VMKBAi','maka\x20g:kit:e','NIE','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','3mHuIMN','4QmJZbS','2069198JafcLn','constructor','esri','3962944UMcvSo','1450dQchxK','create','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','73075AYMemb','1462255hIuwVE','6832875WtExxc','search'];a105c=function(){return k;};return a105c();}import a105e from'../kit.js';const EsriGen=Generator[a105i(0xc6)]({'name':a105i(0xda),'aliases':['e'],'usage':a105i(0xd5),'noNeedResource':!![],'shortDesc':a105i(0xc7),'validOpts':[''],'isPro':!![],'examples':[a105i(0xd3)],'description':a105i(0xcf)},async function(){const j=a105i;throw j(0xd4);},a105e);export default EsriGen;
1
+ function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x174;let f=c[d];return f;},a108d(a,b);}const a108h=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=-parseInt(f(0x178))/0x1+-parseInt(f(0x177))/0x2+parseInt(f(0x176))/0x3+-parseInt(f(0x175))/0x4*(parseInt(f(0x17d))/0x5)+-parseInt(f(0x184))/0x6+-parseInt(f(0x17f))/0x7+-parseInt(f(0x181))/0x8*(-parseInt(f(0x185))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x537a7));const a108b=(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;};}()),a108a=a108b(this,function(){const g=a108d;return a108a[g(0x17e)]()[g(0x174)](g(0x17b))[g(0x17e)]()['constructor'](a108a)[g(0x174)](g(0x17b));});a108a();import{Generator}from'../../../generator.js';function a108c(){const j=['704711swAXid','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','8CFrslk','create','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','829398HoPyWZ','12077982vkrqXG','search','176rMtOje','887283soSZwR','1303218gZQhjV','165561marnif','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','NIE','(((.+)+)+)+$','esri','27245CHyxXd','toString'];a108c=function(){return j;};return a108c();}import a108e from'../kit.js';const EsriGen=Generator[a108h(0x182)]({'name':a108h(0x17c),'aliases':['e'],'usage':a108h(0x180),'noNeedResource':!![],'shortDesc':a108h(0x183),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a108h(0x179)},async function(){const i=a108h;throw i(0x17a);},a108e);export default EsriGen;
@@ -1 +1 @@
1
- const a106s=a106d;(function(a,b){const p=a106d,c=a();while(!![]){try{const d=parseInt(p(0xd7))/0x1+parseInt(p(0xdd))/0x2*(parseInt(p(0xde))/0x3)+-parseInt(p(0xfb))/0x4+parseInt(p(0xe2))/0x5+-parseInt(p(0x102))/0x6+-parseInt(p(0xd2))/0x7*(parseInt(p(0xd3))/0x8)+parseInt(p(0xea))/0x9*(parseInt(p(0xe0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x47353));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a106d;if(c){const e=c[q(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const r=a106d;return a106a[r(0xf4)]()[r(0xd0)](r(0xd4))[r(0xf4)]()[r(0xf2)](a106a)['search'](r(0xd4));});a106a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a106e from'./esri.generator.js';import a106f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';function a106c(){const v=['page','1629716NkUPWC','dir','replaceAll','basic-map','baseDir','@esri/react-arcgis','fsi','1861854LhmNSp','/imports/startup/client/templates','Generate\x20an\x20Esri\x20map\x20component','exit','search','injectIntoFile','3190187zWtDTF','8dYuQBe','(((.+)+)+)+$','true','engines','51483EcJpVi','injectTemplateModule','<div\x20id=\x22map-component\x22>','map','Generating\x20a\x20map\x20component','apply','1644qmaxGI','939JgDJWy','pathFromApp','20SzuauV','withValue','2879915BasRBz','kit/esri/map/','REACT','.js','template','</div>','<div\x20id=\x22map-hook\x22>','getMakaProjectConfig','2611773XWcSpS','ssr','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','processAndRunGenerator','create','esri-loader','split','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','constructor','/imports/startup/lib/templates','toString','bright','checkNpmPackage','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','injectImport','FALSE'];a106c=function(){return v;};return a106c();}function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0xcf;let f=c[d];return f;},a106d(a,b);}Generator[a106s(0xee)]({'name':a106s(0xda),'aliases':['m'],'usage':a106s(0xec),'shortDesc':a106s(0x104),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a106s(0xe4)],'ssr':SsrEngines[a106s(0xf9)]},'description':a106s(0xf7)},async function(a,b){const t=a106s;try{Log[t(0xf5)](t(0xdb));const c=t(0xfe);await this[t(0x101)][t(0xf6)]([t(0x100),t(0xef)],{'shouldInstall':!![]});const d=this[t(0x101)]['findProjectDirectory'](),f=this[t(0x101)][t(0xe9)](),g=f[t(0xd6)][t(0xeb)]===t(0xd5),h=await a106f[t(0xed)](t(0xfa),[t(0xda)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0xfd)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0xff)]?'/imports/ui/'+b[t(0xff)]:'/imports/ui/hooks',k=this[t(0x101)][t(0xdf)]({'pathParts':[j,b[t(0xfc)],paramCase(c),paramCase(c)]});this[t(0x101)][t(0xe1)](f,async()=>{const u=t;this[u(0x101)][u(0xe6)]({'srcPath':u(0xe3)+c+'.js','destPath':k+u(0xe5),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0xfc)]+'/'+c+'/'+c;await this['fsi'][t(0xd8)](c,f,l);const m=h[t(0xf0)]('/'),n=this['fsi'][t(0xdf)]({'pathParts':m});await this[t(0x101)][t(0xf8)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0xf3):t(0x103),'isNamedExport':!![]}),await this[t(0x101)][t(0xd1)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0xf1),'begin':[t(0xe8),t(0xd9)],'end':[t(0xe7)],'replace':!![]});}catch(o){Log['error'](o),process[t(0xcf)](0x1);}},a106e);
1
+ const a109s=a109d;function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x165;let f=c[d];return f;},a109d(a,b);}(function(a,b){const p=a109d,c=a();while(!![]){try{const d=-parseInt(p(0x188))/0x1*(parseInt(p(0x17f))/0x2)+parseInt(p(0x17d))/0x3*(parseInt(p(0x165))/0x4)+parseInt(p(0x195))/0x5*(parseInt(p(0x16f))/0x6)+parseInt(p(0x16a))/0x7+parseInt(p(0x17c))/0x8*(-parseInt(p(0x184))/0x9)+parseInt(p(0x168))/0xa+-parseInt(p(0x173))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xb6ad1));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a109d;if(c){const e=c[q(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const r=a109d;return a109a[r(0x18c)]()['search'](r(0x172))[r(0x18c)]()[r(0x177)](a109a)[r(0x182)](r(0x172));});function a109c(){const v=['apply','replaceAll','/imports/ui/hooks','18ilOnYG','<div\x20id=\x22map-component\x22>','fsi','(((.+)+)+)+$','7834882QLwvXE','true','dir','Generate\x20an\x20Esri\x20map\x20component','constructor','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','template','@esri/react-arcgis','create','3571416eWINDG','10491VWbiTB','getMakaProjectConfig','24542uauPsQ','engines','appName','search','basic-map','27ZvNFpY','.js','injectImport','split','41yqsOEk','/imports/startup/client/templates','ssr','page','toString','/imports/ui/','baseDir','injectTemplateModule','findProjectDirectory','checkNpmPackage','injectIntoFile','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','<div\x20id=\x22map-hook\x22>','1528260nbZpDJ','464DYNQgc','map','REACT','9440960OGpoUk','react','7253337RJcQNF','Generating\x20a\x20map\x20component'];a109c=function(){return v;};return a109c();}a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a109e from'./esri.generator.js';import a109f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a109s(0x17b)]({'name':a109s(0x166),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a109s(0x176),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a109s(0x167)],'ssr':SsrEngines['FALSE']},'description':a109s(0x193)},async function(a,b){const t=a109s;try{Log['bright'](t(0x16b));const c=t(0x183);await this[t(0x171)][t(0x191)]([t(0x17a),'esri-loader'],{'shouldInstall':!![]});const d=this[t(0x171)][t(0x190)](),f=this[t(0x171)][t(0x17e)](),g=f[t(0x180)][t(0x18a)]===t(0x174),h=await a109f['processAndRunGenerator'](t(0x18b),[t(0x166)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x181)])[t(0x16d)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x18e)]?t(0x18d)+b[t(0x18e)]:t(0x16e),k=this['fsi']['pathFromApp']({'pathParts':[j,b[t(0x175)],paramCase(c),paramCase(c)]});this[t(0x171)]['withValue'](f,async()=>{const u=t;this[u(0x171)][u(0x179)]({'srcPath':'kit/esri/map/'+c+u(0x185),'destPath':k+'.js','framework':u(0x169),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x175)]+'/'+c+'/'+c;await this[t(0x171)][t(0x18f)](c,f,l);const m=h[t(0x187)]('/'),n=this['fsi']['pathFromApp']({'pathParts':m});await this['fsi'][t(0x186)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x189),'isNamedExport':!![]}),await this[t(0x171)][t(0x192)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x178),'begin':[t(0x194),t(0x170)],'end':['</div>'],'replace':!![]});}catch(o){Log['error'](o),process['exit'](0x1);}},a109e);
@@ -1 +1 @@
1
- function a108c(){const i=['477660iDnEBV','maka\x20{generate,\x20g}:{kit}\x20<name>','32feQJCE','search','507648nscoZG','maka\x20g:k','105233VClWiq','430507sGVFhC','constructor','113820cenGWK','700876XEfkKD','kit','189qPYQuX','(((.+)+)+)+$','5pnuclR','toString','3670997BAlkRA','2zlCdGP','maka\x20g:kit'];a108c=function(){return i;};return a108c();}const a108h=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=-parseInt(f(0x101))/0x1*(parseInt(f(0xf9))/0x2)+parseInt(f(0xfb))/0x3+parseInt(f(0x105))/0x4*(-parseInt(f(0xf6))/0x5)+-parseInt(f(0xff))/0x6+parseInt(f(0x102))/0x7*(parseInt(f(0xfd))/0x8)+-parseInt(f(0xf4))/0x9*(parseInt(f(0x104))/0xa)+parseInt(f(0xf8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x20ed5));const a108b=(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;};}()),a108a=a108b(this,function(){const g=a108d;return a108a[g(0xf7)]()[g(0xfe)](g(0xf5))[g(0xf7)]()[g(0x103)](a108a)[g(0xfe)](g(0xf5));});function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0xf4;let f=c[d];return f;},a108d(a,b);}a108a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a108h(0x106),'aliases':['k'],'usage':a108h(0xfc),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a108h(0xfa),a108h(0x100)]},async function(){});export default KitGen;
1
+ const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0x1fc))/0x1+parseInt(f(0x1f9))/0x2+-parseInt(f(0x1f4))/0x3+-parseInt(f(0x1f1))/0x4*(-parseInt(f(0x1ea))/0x5)+-parseInt(f(0x1ee))/0x6+parseInt(f(0x1ec))/0x7*(parseInt(f(0x1f2))/0x8)+-parseInt(f(0x1eb))/0x9*(-parseInt(f(0x1ed))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x5d4d6));function a110c(){const j=['156108YedKLz','kit','maka\x20{generate,\x20g}:{kit}\x20<name>','20838zqZvVB','search','maka\x20g:k','5TrUjFn','18zpPkBD','7RxuRSd','747130hsHbDX','3115902fcdobx','toString','apply','1509964UBwrMK','5731816rfdrDU','create','1197381bceFOo','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','constructor','(((.+)+)+)+$','maka\x20g:kit'];a110c=function(){return j;};return a110c();}const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a[h(0x1ef)]()[h(0x1fd)]('(((.+)+)+)+$')['toString']()[h(0x1f6)](a110a)[h(0x1fd)](h(0x1f7));});a110a();import{Generator}from'../../generator.js';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a110d(a,b);}const KitGen=Generator[a110i(0x1f3)]({'name':a110i(0x1fa),'aliases':['k'],'usage':a110i(0x1fb),'shortDesc':a110i(0x1f5),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a110i(0x1f8),a110i(0x1e9)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(0x1e5))/0x1+parseInt(f(0x1e1))/0x2+parseInt(f(0x1e4))/0x3+parseInt(f(0x1e8))/0x4*(-parseInt(f(0x1eb))/0x5)+-parseInt(f(0x1e3))/0x6*(-parseInt(f(0x1e9))/0x7)+parseInt(f(0x1ec))/0x8+parseInt(f(0x1ee))/0x9*(-parseInt(f(0x1ef))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x7e7b5));var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a[h(0x1ea)]()[h(0x1e7)](h(0x1ed))[h(0x1ea)]()[h(0x1e6)](a111a)[h(0x1e7)](h(0x1ed));});a111a();function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x1e1;var f=c[d];return f;},a111d(a,b);}import'./mui.generator.js';function a111c(){var i=['868383CKcUOR','1026675EKozKS','constructor','search','661772iCTXvj','1365ilEihG','toString','10TcZVBb','232072ekWYNS','(((.+)+)+)+$','396909VjHzeu','30wqhRwR','1597016PCzdAC','apply','27414XncKTD'];a111c=function(){return i;};return a111c();}import'./frame.mui.gen.js';
1
+ function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0xe6;var f=c[d];return f;},a111d(a,b);}(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(0xef))/0x1+parseInt(f(0xf1))/0x2*(-parseInt(f(0xf0))/0x3)+parseInt(f(0xf2))/0x4*(-parseInt(f(0xec))/0x5)+-parseInt(f(0xe6))/0x6*(-parseInt(f(0xf3))/0x7)+parseInt(f(0xe7))/0x8*(parseInt(f(0xee))/0x9)+parseInt(f(0xe8))/0xa+parseInt(f(0xeb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x5aff9));var a111b=(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;};}()),a111a=a111b(this,function(){var g=a111d;return a111a[g(0xed)]()[g(0xe9)](g(0xea))['toString']()['constructor'](a111a)[g(0xe9)](g(0xea));});function a111c(){var h=['(((.+)+)+)+$','3258013npMWuS','3397825bhpMsM','toString','2322666RVtQAK','123549zYSxOl','3eqggZN','170398ngKQQj','4SbTLvp','47159bNkoZM','222IZlfPb','8eKBPcZ','4575160GeWitS','search'];a111c=function(){return h;};return a111c();}a111a();import'./mui.generator.js';import'./frame.mui.gen.js';
@@ -1 +1 @@
1
- const a109A=a109d;(function(a,b){const x=a109d,c=a();while(!![]){try{const d=-parseInt(x(0x1ca))/0x1*(-parseInt(x(0x1d9))/0x2)+parseInt(x(0x1dd))/0x3+-parseInt(x(0x1e6))/0x4+-parseInt(x(0x1eb))/0x5+parseInt(x(0x1d8))/0x6+parseInt(x(0x1df))/0x7+parseInt(x(0x205))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xb209d));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a109d;if(c){const e=c[y(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const z=a109d;return a109a[z(0x1e7)]()[z(0x1ec)](z(0x1e8))[z(0x1e7)]()[z(0x1fd)](a109a)[z(0x1ec)](z(0x1e8));});a109a();import{Generator}from'../../../generator.js';function a109c(){const D=['error','create','tsx','constructor','baseDir','/imports/ui/hooks','fsi','{props.children}','template','react','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','3923792FjLojI','kit/mui/frame/drawers/','session','engines','7vhVnfN','-component\x22>','jsx','{this.props.children}','getFiles','test','checkbox','No\x20layouts\x20selected','checkMeteorPackage','-hook\x22>','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','\x20/>\x0a','/imports/ui/','app-tests','6247392kHxPSG','48284PIgPqe','injectTemplateModule','pathFromApp','MATERIAL','1317555CPYHzV','dir','7960414cDkPin','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','getDirectories','injectIntoFile','findAppDirectory','apply','frame','5205984JpUqEk','toString','(((.+)+)+)+$','{\x20this.props.children\x20}','REACT','6231730jtoAiS','search','layouts','maka\x20g:k:m:f','/imports/startup/client/templates','maka\x20generate:kit:mui:frame','.js','/imports/startup/lib/templates','<div\x20id=\x22','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','{\x20props.children\x20}','join','injectImport','replaceAll','withValue'];a109c=function(){return D;};return a109c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a109d(a,b);}import a109e from'path';import a109f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a109A(0x1fb)]({'name':a109A(0x1e5),'aliases':['f'],'usage':a109A(0x204),'shortDesc':a109A(0x1e0),'validOpts':[a109A(0x1ed)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a109A(0x1dc)],'client':ClientEngines[a109A(0x1ea)]},'examples':[a109A(0x1f0),a109A(0x1ee)],'description':a109A(0x1f4)},async function(a,b){const B=a109A;try{const c='basic-app-bar',d='basic-drawer',f=this[B(0x200)]['getMakaProjectConfig'](),g=f[B(0x1c9)]['ssr']==='true';await this[B(0x200)][B(0x1d2)](B(0x1c8),{'shouldInstall':!![]});const h=this['fsi'][B(0x1e3)](),i=a109e[B(0x1f6)](h,'imports','ui',B(0x1ed)),j=this[B(0x200)][B(0x1e1)](i),k=await Actions['options']({'type':B(0x1d0),'name':B(0x1ed),'message':B(0x1d4),'choices':j});if(k[B(0x1ed)]['length']===0x0){Log[B(0x1fa)](B(0x1d1));return;}const l=b[B(0x1fe)]?B(0x1d6)+b[B(0x1fe)]:B(0x1ff),m=this[B(0x200)][B(0x1db)]({'pathParts':[l,b['dir'],paramCase(c),paramCase(c)]}),n=this[B(0x200)][B(0x1db)]({'pathParts':[l,b['dir'],paramCase(d),paramCase(d)]}),o={'name':headerCase(f['appName'])[B(0x1f8)]('-','\x20')};await this['fsi'][B(0x1f9)](f,async()=>{const C=B;await this['fsi'][C(0x202)]({'srcPath':'kit/mui/frame/app-bars/'+c+C(0x1f1),'destPath':m+C(0x1f1),'framework':C(0x203),'context':o,'config':f,'force':![],'ignore':![]}),await this['fsi'][C(0x202)]({'srcPath':C(0x1c7)+d+C(0x1f1),'destPath':n+'.js','framework':C(0x203),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x1de)]+'/'+c+'/'+c;await this['fsi'][B(0x1da)](c,f,p);const q=''+l+b[B(0x1de)]+'/'+d+'/'+d;await this[B(0x200)]['injectTemplateModule'](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x200)][B(0x1ce)](a109e[B(0x1f6)](i,s),{'extensions':[B(0x1cc),B(0x1fc)],'omit':[B(0x1d7),'tests',B(0x1cf)]});for(const u of t){const v=a109e[B(0x1f6)](i,s,u);await this[B(0x200)][B(0x1f7)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x1f2):B(0x1ef),'isNamedExport':!![]}),await this[B(0x200)][B(0x1e2)]({'filePath':v,'content':'<'+pascalCase(c)+B(0x1d5),'begin':[B(0x1f3)+s+'-component\x22>','<div\x20id=\x22'+s+B(0x1d3)],'end':['{this.props.children}',B(0x1e9),B(0x201),B(0x1f5)]}),await this[B(0x200)][B(0x1f7)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x1f2):B(0x1ef),'isNamedExport':!![]}),await this[B(0x200)][B(0x1e2)]({'filePath':v,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[B(0x1f3)+s+B(0x1cb),B(0x1f3)+s+B(0x1d3)],'end':[B(0x1cd),B(0x1e9),B(0x201),'{\x20props.children\x20}']});}}}catch(w){Log[B(0x1fa)](w);}},a109f);
1
+ function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0xd6;let f=c[d];return f;},a112d(a,b);}const a112A=a112d;(function(a,b){const x=a112d,c=a();while(!![]){try{const d=-parseInt(x(0xed))/0x1+parseInt(x(0xe9))/0x2*(parseInt(x(0xfa))/0x3)+-parseInt(x(0xfb))/0x4+parseInt(x(0xdc))/0x5*(parseInt(x(0x110))/0x6)+parseInt(x(0xe5))/0x7+parseInt(x(0xff))/0x8*(-parseInt(x(0xfc))/0x9)+parseInt(x(0xf7))/0xa*(parseInt(x(0x101))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x73dfa));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a112d;if(c){const e=c[y(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const z=a112d;return a112a['toString']()[z(0xf3)](z(0x100))[z(0x111)]()[z(0x109)](a112a)[z(0xf3)](z(0x100));});a112a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a112e from'path';function a112c(){const D=['tsx','<div\x20id=\x22','6aJYvZy','toString','injectIntoFile','template','{\x20this.props.children\x20}','join','checkbox','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','options','pathFromApp','app-tests','2963135vykXik','MATERIAL','jsx','getMakaProjectConfig','engines','{\x20props.children\x20}','getDirectories','error','injectTemplateModule','4580569eLvToc','-hook\x22>','react','frame','178gVNbih','{this.props.children}','No\x20layouts\x20selected','withValue','708085suMLLT','create','test','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','\x20/>\x0a','basic-drawer','search','.js','-component\x22>','layouts','4010CREaOO','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','length','6186tTKSNk','2912948xAmwGA','1057167AXumqh','injectImport','{props.children}','8HYkpml','(((.+)+)+)+$','16401uUDaTO','/imports/startup/client/templates','REACT','dir','baseDir','fsi','maka\x20generate:kit:mui:frame','true','constructor','tests','/imports/startup/lib/templates','session','apply'];a112c=function(){return D;};return a112c();}import a112f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a112A(0xee)]({'name':a112A(0xe8),'aliases':['f'],'usage':a112A(0xd8),'shortDesc':a112A(0xf0),'validOpts':[a112A(0xf6)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a112A(0xdd)],'client':ClientEngines[a112A(0x103)]},'examples':[a112A(0x107),'maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const B=a112A;try{const c='basic-app-bar',d=B(0xf2),f=this[B(0x106)][B(0xdf)](),g=f[B(0xe0)]['ssr']===B(0x108);await this['fsi']['checkMeteorPackage'](B(0x10c),{'shouldInstall':!![]});const h=this[B(0x106)]['findAppDirectory'](),i=a112e[B(0xd6)](h,'imports','ui','layouts'),j=this[B(0x106)][B(0xe2)](i),k=await Actions[B(0xd9)]({'type':B(0xd7),'name':B(0xf6),'message':B(0xf8),'choices':j});if(k[B(0xf6)][B(0xf9)]===0x0){Log[B(0xe3)](B(0xeb));return;}const l=b[B(0x105)]?'/imports/ui/'+b[B(0x105)]:'/imports/ui/hooks',m=this[B(0x106)]['pathFromApp']({'pathParts':[l,b[B(0x104)],paramCase(c),paramCase(c)]}),n=this[B(0x106)][B(0xda)]({'pathParts':[l,b[B(0x104)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f['appName'])['replaceAll']('-','\x20')};await this[B(0x106)][B(0xec)](f,async()=>{const C=B;await this[C(0x106)][C(0x113)]({'srcPath':'kit/mui/frame/app-bars/'+c+C(0xf4),'destPath':m+C(0xf4),'framework':C(0xe7),'context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x106)][C(0x113)]({'srcPath':'kit/mui/frame/drawers/'+d+C(0xf4),'destPath':n+C(0xf4),'framework':C(0xe7),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x104)]+'/'+c+'/'+c;await this['fsi'][B(0xe4)](c,f,p);const q=''+l+b[B(0x104)]+'/'+d+'/'+d;await this[B(0x106)][B(0xe4)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x106)]['getFiles'](a112e[B(0xd6)](i,s),{'extensions':[B(0xde),B(0x10e)],'omit':[B(0xdb),B(0x10a),B(0xef)]});for(const u of t){const v=a112e['join'](i,s,u);await this[B(0x106)][B(0xfd)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x10b):B(0x102),'isNamedExport':!![]}),await this['fsi'][B(0x112)]({'filePath':v,'content':'<'+pascalCase(c)+B(0xf1),'begin':['<div\x20id=\x22'+s+B(0xf5),B(0x10f)+s+B(0xe6)],'end':[B(0xea),'{\x20this.props.children\x20}',B(0xfe),B(0xe1)]}),await this['fsi'][B(0xfd)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x10b):B(0x102),'isNamedExport':!![]}),await this['fsi'][B(0x112)]({'filePath':v,'content':'<'+pascalCase(d)+B(0xf1),'begin':[B(0x10f)+s+'-component\x22>',B(0x10f)+s+B(0xe6)],'end':['{this.props.children}',B(0x114),B(0xfe),'{\x20props.children\x20}']});}}}catch(w){Log[B(0xe3)](w);}},a112f);
@@ -1 +1 @@
1
- const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0x136))/0x1*(-parseInt(f(0x12c))/0x2)+-parseInt(f(0x131))/0x3+parseInt(f(0x128))/0x4*(parseInt(f(0x134))/0x5)+parseInt(f(0x132))/0x6*(parseInt(f(0x127))/0x7)+parseInt(f(0x133))/0x8+-parseInt(f(0x12b))/0x9+-parseInt(f(0x130))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0xd6d96));function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x125;let f=c[d];return f;},a110d(a,b);}const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a['toString']()['search'](h(0x129))['toString']()['constructor'](a110a)[h(0x12f)](h(0x129));});a110a();import{Generator}from'../../../generator.js';import a110e from'../kit.js';function a110c(){const k=['750756zKYQJV','(((.+)+)+)+$','Material-UI\x20Kit','6344568lGWpPv','1575162qBPqrK','create','apply','search','11519560ZESrxH','3874419ffDNeK','38268qUUEqF','10638672XdpJwA','25ThLEML','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','2LhKNsu','maka\x20g:kit:m','NIE','203RtTIxe'];a110c=function(){return k;};return a110c();}const MuiGen=Generator[a110i(0x12d)]({'name':'mui','aliases':['m'],'usage':a110i(0x135),'noNeedResource':!![],'shortDesc':a110i(0x12a),'validOpts':[''],'isPro':!![],'examples':[a110i(0x125)]},async function(){const j=a110i;throw j(0x126);},a110e);export default MuiGen;
1
+ const a113i=a113d;function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0xa0;let f=c[d];return f;},a113d(a,b);}(function(a,b){const f=a113d,c=a();while(!![]){try{const d=-parseInt(f(0xaf))/0x1+parseInt(f(0xab))/0x2+-parseInt(f(0xad))/0x3*(-parseInt(f(0xb2))/0x4)+-parseInt(f(0xac))/0x5+parseInt(f(0xa4))/0x6+-parseInt(f(0xa7))/0x7*(-parseInt(f(0xb1))/0x8)+parseInt(f(0xa5))/0x9*(-parseInt(f(0xa1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xec863));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a113d;if(c){const e=c[g(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const h=a113d;return a113a[h(0xb0)]()[h(0xa8)](h(0xb3))[h(0xb0)]()['constructor'](a113a)[h(0xa8)]('(((.+)+)+)+$');});a113a();function a113c(){const k=['mui','5713926LNjYnc','9734166JmeRqb','NIE','7cupfKq','search','maka\x20g:kit:m','Material-UI\x20Kit','2727696mxelSX','5472025wBDwaQ','5349vJpGrU','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','58541ACikZi','toString','14280632fuFASv','412SDRbgn','(((.+)+)+)+$','apply','20uqcnEV','create'];a113c=function(){return k;};return a113c();}import{Generator}from'../../../generator.js';import a113e from'../kit.js';const MuiGen=Generator[a113i(0xa2)]({'name':a113i(0xa3),'aliases':['m'],'usage':a113i(0xae),'noNeedResource':!![],'shortDesc':a113i(0xaa),'validOpts':[''],'isPro':!![],'examples':[a113i(0xa9)]},async function(){const j=a113i;throw j(0xa6);},a113e);export default MuiGen;
@@ -1 +1 @@
1
- const a113o=a113d;(function(a,b){const l=a113d,c=a();while(!![]){try{const d=-parseInt(l(0x17c))/0x1+-parseInt(l(0x161))/0x2*(parseInt(l(0x17e))/0x3)+parseInt(l(0x178))/0x4*(parseInt(l(0x15d))/0x5)+parseInt(l(0x186))/0x6+-parseInt(l(0x15f))/0x7*(parseInt(l(0x15e))/0x8)+-parseInt(l(0x173))/0x9*(parseInt(l(0x18c))/0xa)+parseInt(l(0x157))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xa13e3));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a113d;if(c){const e=c[m(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const n=a113d;return a113a[n(0x16d)]()[n(0x168)](n(0x172))[n(0x16d)]()['constructor'](a113a)['search']('(((.+)+)+)+$');});a113a();import a113e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x156;let f=c[d];return f;},a113d(a,b);}function a113c(){const r=['ramda','setTemplate','search','/imports/ui/layouts','className','template/template.css','react','toString','graphql','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','split','warn','(((.+)+)+)+$','12573rPjcXN','injectTemplateModule','withValue','Scaffolding\x20for\x20a\x20React\x20Layout.','string','64XKiPVZ','layout','apply','css','540132RsWMaP','none','69KyvCno','maka\x20g:layout\x20mobile/iPhone8','test/test.js','withHook','template','resourceName','checkNpmPackage','engines','6665310NcaiOB','fsi','dir','maka\x20g:l\x20web/safari','withTranslations','import\x20\x27./','2310tIrIml','create','5114802ksYOfe','relative','withHooks','includes','fileName','api','302085qrBXQz','264NsKTkI','149443bQewrV','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','27368cSFmAd','true','test','injectAtBeginningOfFile','features'];a113c=function(){return r;};return a113c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a113o(0x156)]({'name':a113o(0x179),'aliases':aliases,'usage':a113o(0x160),'shortDesc':a113o(0x176),'validOpts':[],'examples':[a113o(0x17f),a113o(0x189)]},async function(a,b){const p=a113o,c=p(0x169),d=this[p(0x187)]['findAppDirectory'](),e=this[p(0x187)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),f=this[p(0x187)]['getMakaProjectConfig']();await this[p(0x187)][p(0x175)](f,async()=>{const q=p;typeof f['template'][q(0x163)]===q(0x177)&&(f['template'][q(0x163)]=f[q(0x182)][q(0x163)]===q(0x162)?!![]:![],this[q(0x187)][q(0x167)](q(0x163),f[q(0x182)][q(0x163)]));typeof f[q(0x182)]['css']==='string'&&(f['template'][q(0x17b)]=f[q(0x182)][q(0x17b)]===q(0x162)?!![]:![],this[q(0x187)][q(0x167)](q(0x17b),f[q(0x182)]['css']));typeof f[q(0x182)]['js']===q(0x177)&&(f[q(0x182)]['js']=f[q(0x182)]['js']===q(0x162)?!![]:![],this[q(0x187)][q(0x167)]('js',f[q(0x182)]['js']));!f[q(0x165)]&&(f['features']={});const g=b['_']?b['_'][0x0][q(0x170)](':')[0x1]:![],h=b['_']&&aliases[q(0x15a)](g);h&&!this[q(0x184)](q(0x166))&&(Log[q(0x171)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0x187)]['installNpmPackage'](q(0x166),{'cwd':d}));if(h&&!this[q(0x184)](q(0x16c))){Log[q(0x171)](q(0x16f));return;}const i={'name':pascalCase(b[q(0x183)]),'myPath':a113e[q(0x158)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x183)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x183)]),'fileName':paramCase(b[q(0x183)]),'graphql':f[q(0x185)][q(0x16e)],'features':f['features'],'client':f['engines']['client'],'api':f[q(0x185)][q(0x15c)],'ssr':f[q(0x185)]['ssr'],'test':f['engines']['test'],'theme':f['engines']['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][q(0x18a)]};f['features']?.[q(0x159)]||b[q(0x181)]?await this[q(0x187)]['template']({'srcPath':'hook/hook.js','destPath':e+'.js','framework':q(0x16c),'context':i,'config':f}):await this[q(0x187)][q(0x182)]({'srcPath':'component/component.js','destPath':e+'.js','framework':'react','context':i,'config':f});f[q(0x185)][q(0x163)]!==q(0x17d)&&await this[q(0x187)][q(0x182)]({'srcPath':q(0x180),'destPath':e+'.app-tests.js','framework':q(0x16c),'context':i,'config':f});f[q(0x182)]['css']&&(await this[q(0x187)]['template']({'srcPath':q(0x16b),'destPath':e+'.css','context':Object['assign']({},i,{'className':paramCase(b[q(0x183)])}),'config':f}),await this['fsi'][q(0x164)]({'filePath':e+'.'+f[q(0x185)]['js'],'content':q(0x18b)+i['fileName']+'.'+f[q(0x185)][q(0x17b)]+'\x27;'}));const j=b[q(0x188)]?'/'+b[q(0x188)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[q(0x15b)];await this[q(0x187)][q(0x174)](i[q(0x16a)],f,k);});});
1
+ const a114n=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d=-parseInt(l(0x72))/0x1+-parseInt(l(0x8d))/0x2*(parseInt(l(0xa5))/0x3)+-parseInt(l(0x74))/0x4*(parseInt(l(0xa7))/0x5)+parseInt(l(0x9d))/0x6*(-parseInt(l(0x97))/0x7)+-parseInt(l(0x82))/0x8+parseInt(l(0x96))/0x9*(-parseInt(l(0x85))/0xa)+parseInt(l(0x76))/0xb*(parseInt(l(0xa8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xbfce4));const a114b=(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;};}()),a114a=a114b(this,function(){const m=a114d;return a114a['toString']()['search'](m(0x86))[m(0xa1)]()[m(0x94)](a114a)[m(0x9c)](m(0x86));});a114a();function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x72;let f=c[d];return f;},a114d(a,b);}import a114e from'path';import{Generator}from'../generator.js';function a114c(){const q=['fileName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fsi','react','template','includes','28lkDWtH','client','assign','test/test.js','dir','.css','Scaffolding\x20for\x20a\x20React\x20Layout.','constructor','features','126UAijsX','5118162iHxViP','.js','.app-tests.js','string','graphql','search','12RUbgvo','split','setTemplate','css','toString','template/template.css','withHook','api','71853QaaQGP','component/component.js','1905qjIJVS','204rMHBfg','injectAtBeginningOfFile','withHooks','checkNpmPackage','472102IJXCVJ','hook/hook.js','7884KFPtSn','warn','3070782IFPnXM','withTranslations','pathFromProject','resourceName','className','theme','ramda','test','engines','true','import\x20\x27./','ssr','4407128kWTBaZ','none','layout','277520ocaxYD','(((.+)+)+)+$'];a114c=function(){return q;};return a114c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a114n(0x84),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a114n(0x93),'validOpts':[],'examples':['maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari']},async function(a,b){const o=a114n,c='/imports/ui/layouts',d=this[o(0x89)]['findAppDirectory'](),e=this[o(0x89)]['pathFromApp']({'pathParts':[c,b[o(0x91)],paramCase(b['resourceName']),paramCase(b[o(0x79)])]}),f=this[o(0x89)]['getMakaProjectConfig']();await this['fsi']['withValue'](f,async()=>{const p=o;typeof f[p(0x8b)][p(0x7d)]===p(0x9a)&&(f[p(0x8b)][p(0x7d)]=f[p(0x8b)]['test']===p(0x7f)?!![]:![],this['fsi'][p(0x9f)](p(0x7d),f[p(0x8b)][p(0x7d)]));typeof f['template'][p(0xa0)]===p(0x9a)&&(f[p(0x8b)][p(0xa0)]=f[p(0x8b)][p(0xa0)]===p(0x7f)?!![]:![],this['fsi'][p(0x9f)](p(0xa0),f['template'][p(0xa0)]));typeof f[p(0x8b)]['js']===p(0x9a)&&(f['template']['js']=f[p(0x8b)]['js']==='true'?!![]:![],this['fsi']['setTemplate']('js',f['template']['js']));!f[p(0x95)]&&(f[p(0x95)]={});const g=b['_']?b['_'][0x0][p(0x9e)](':')[0x1]:![],h=b['_']&&aliases[p(0x8c)](g);h&&!this[p(0xab)]('ramda')&&(Log[p(0x75)](p(0x88)),this[p(0x89)]['installNpmPackage'](p(0x7c),{'cwd':d}));if(h&&!this[p(0xab)](p(0x8a))){Log[p(0x75)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b['resourceName']),'myPath':a114e['relative'](this[p(0x89)][p(0x78)]({}),e),'cssCaseName':paramCase(b[p(0x79)]),'className':pascalCase(b[p(0x79)]),'camelCaseName':camelCase(b[p(0x79)]),'fileName':paramCase(b[p(0x79)]),'graphql':f[p(0x7e)][p(0x9b)],'features':f[p(0x95)],'client':f[p(0x7e)][p(0x8e)],'api':f['engines'][p(0xa4)],'ssr':f[p(0x7e)][p(0x81)],'test':f[p(0x7e)]['test'],'theme':f[p(0x7e)][p(0x7b)],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][p(0x77)]};f['features']?.[p(0xaa)]||b[p(0xa3)]?await this[p(0x89)][p(0x8b)]({'srcPath':p(0x73),'destPath':e+'.js','framework':p(0x8a),'context':i,'config':f}):await this[p(0x89)][p(0x8b)]({'srcPath':p(0xa6),'destPath':e+p(0x98),'framework':p(0x8a),'context':i,'config':f});f[p(0x7e)][p(0x7d)]!==p(0x83)&&await this[p(0x89)][p(0x8b)]({'srcPath':p(0x90),'destPath':e+p(0x99),'framework':p(0x8a),'context':i,'config':f});f['template'][p(0xa0)]&&(await this[p(0x89)][p(0x8b)]({'srcPath':p(0xa2),'destPath':e+p(0x92),'context':Object[p(0x8f)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[p(0x89)][p(0xa9)]({'filePath':e+'.'+f[p(0x7e)]['js'],'content':p(0x80)+i[p(0x87)]+'.'+f[p(0x7e)][p(0xa0)]+'\x27;'}));const j=b[p(0x91)]?'/'+b['dir']+'/':'/',k=''+c+j+i[p(0x87)]+'/'+i[p(0x87)];await this[p(0x89)]['injectTemplateModule'](i[p(0x7a)],f,k);});});
@@ -1 +1 @@
1
- const a114i=a114d;(function(a,b){const f=a114d,c=a();while(!![]){try{const d=parseInt(f(0x1e8))/0x1*(parseInt(f(0x1ee))/0x2)+-parseInt(f(0x1f5))/0x3+parseInt(f(0x1fa))/0x4*(-parseInt(f(0x1f1))/0x5)+parseInt(f(0x1f3))/0x6*(-parseInt(f(0x1f4))/0x7)+-parseInt(f(0x1ec))/0x8+-parseInt(f(0x1f0))/0x9*(-parseInt(f(0x1f7))/0xa)+parseInt(f(0x1fb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x3503f));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a114d;if(c){const e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const h=a114d;return a114a[h(0x1ed)]()[h(0x1f9)](h(0x1fd))[h(0x1ed)]()[h(0x1f2)](a114a)[h(0x1f9)]('(((.+)+)+)+$');});function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a114d(a,b);}function a114c(){const j=['maka\x20g:route\x20todos/edit','50zxzlRM','maka\x20{generate,\x20g}:<generator>\x20<name>','search','768572uPhCbm','2633433vKZFKV','maka\x20g:api\x20trucks','(((.+)+)+)+$','127pGRTIc','apply','maka\x20g:template\x20todos/todo_item','maka\x20g:dbc\x20geoserver\x20--type=pgsql','547024MNNMGi','toString','5546WOQVWj','generate','741402VtaAYx','5btcwFz','constructor','6GdoVaT','2910362SKUcqv','330078GqRaLd'];a114c=function(){return j;};return a114c();}a114a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a114i(0x1ef),'aliases':['g'],'usage':a114i(0x1f8),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a114i(0x1ea),'maka\x20g:package\x20package:name',a114i(0x1f6),a114i(0x1fc),a114i(0x1eb)]},function(){});export default MakaGen;
1
+ const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=parseInt(f(0x18b))/0x1+parseInt(f(0x194))/0x2*(-parseInt(f(0x19e))/0x3)+parseInt(f(0x199))/0x4+-parseInt(f(0x196))/0x5*(parseInt(f(0x19c))/0x6)+parseInt(f(0x18f))/0x7*(parseInt(f(0x190))/0x8)+parseInt(f(0x19d))/0x9*(-parseInt(f(0x191))/0xa)+-parseInt(f(0x198))/0xb*(-parseInt(f(0x18d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xc99cd));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a[h(0x193)]()[h(0x192)]('(((.+)+)+)+$')[h(0x193)]()[h(0x18e)](a115a)[h(0x192)]('(((.+)+)+)+$');});function a115c(){const j=['apply','maka\x20{generate,\x20g}:<generator>\x20<name>','983289ohtruj','maka\x20generate:scaffold\x20todos','8002284ZNejgH','constructor','3045mgpkKO','2600qXlCZa','10ZtLNQl','search','toString','2402luITbM','maka\x20g:template\x20todos/todo_item','125iAWZuS','maka\x20g:package\x20package:name','11SbNiVn','6245968UATUqk','maka\x20g:route\x20todos/edit','generate','284766WqKWEb','10942011SDBqhe','312YElgLH'];a115c=function(){return j;};return a115c();}a115a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a115i(0x19b),'aliases':['g'],'usage':a115i(0x18a),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a115i(0x18c),'maka\x20g:scaffold\x20todos',a115i(0x195),a115i(0x197),a115i(0x19a),'maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x189;let f=c[d];return f;},a115d(a,b);}export default MakaGen;
@@ -1 +1 @@
1
- const a115l=a115d;(function(a,b){const j=a115d,c=a();while(!![]){try{const d=-parseInt(j(0x17c))/0x1*(-parseInt(j(0x184))/0x2)+parseInt(j(0x19d))/0x3*(-parseInt(j(0x19b))/0x4)+-parseInt(j(0x19f))/0x5+-parseInt(j(0x18a))/0x6+-parseInt(j(0x181))/0x7*(parseInt(j(0x193))/0x8)+parseInt(j(0x199))/0x9*(parseInt(j(0x180))/0xa)+-parseInt(j(0x197))/0xb*(-parseInt(j(0x18f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x54ec9));function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x17c;let f=c[d];return f;},a115d(a,b);}const a115b=(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;};}()),a115a=a115b(this,function(){const k=a115d;return a115a['toString']()['search'](k(0x18b))['toString']()[k(0x182)](a115a)[k(0x19a)]('(((.+)+)+)+$');});function a115c(){const o=['2187000zaPtcQ','create','77SFZEoB','dir','maka\x20g:method\x20todos','imports','1740rjXNFx','32557biXwTw','constructor','maka:check','8670YaquLB','methods','resourceName','index.','checkMeteorPackage','startup','1280502UYMYGq','(((.+)+)+)+$','-rpc-method.','method','maka\x20{generate,\x20g}:{method,\x20m}\x20name','3620028cWepNd','mdg:validated-method','template','withValue','8HbaERk','pathFromApp','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','engines','22uBNTCx','getMakaProjectConfig','35253WKRJNj','search','1230748rYYtdi','tsx','6ehjLAw','fsi'];a115c=function(){return o;};return a115c();}a115a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a115l(0x1a0)]({'name':a115l(0x18d),'aliases':['m'],'usage':a115l(0x18e),'checkWhere':!![],'shortDesc':a115l(0x195),'validOpts':[a115l(0x17d)],'examples':[a115l(0x17e)]},async function(a,b){const m=a115l;try{const c=this[m(0x19e)][m(0x198)]();await this[m(0x19e)][m(0x192)](c,async()=>{const n=m,d=paramCase(b['resourceName']),f={'name':b[n(0x186)],'fileName':d,'className':pascalCase(b[n(0x186)]),'camelCase':camelCase(b[n(0x186)]),'noRename':!![]};let g='js';c[n(0x196)]['js']===n(0x19c)&&(g='ts');await this[n(0x19e)][n(0x188)]([n(0x183),'ddp-rate-limiter',n(0x190)],{'shouldInstall':!![]}),await this[n(0x19e)][n(0x191)]({'srcPath':'method/method.js','destPath':this[n(0x19e)][n(0x194)]({'pathParts':[n(0x17f),n(0x189),b['appPathPrefix'],n(0x185),b[n(0x17d)],d+n(0x18c)+g]}),'context':f,'config':c});const h=b[n(0x17d)]?'/'+b[n(0x17d)]+'/':'/',i=this[n(0x19e)]['pathFromApp']({'pathParts':[n(0x17f),n(0x189),b['appPathPrefix'],n(0x187)+c[n(0x196)]['js']]});await this[n(0x19e)]['injectAtEndOfFile']({'filePath':i,'content':'import\x20\x27./methods'+h+d+'-rpc-method\x27;'});});}catch(d){Log['error'](d);}});
1
+ const a116m=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=parseInt(j(0x1f8))/0x1*(-parseInt(j(0x206))/0x2)+-parseInt(j(0x1f3))/0x3+-parseInt(j(0x208))/0x4+parseInt(j(0x1f2))/0x5*(parseInt(j(0x204))/0x6)+-parseInt(j(0x1ff))/0x7+-parseInt(j(0x1f9))/0x8+-parseInt(j(0x1ed))/0x9*(-parseInt(j(0x200))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x6085e));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a116d(a,b);}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a116d;if(c){const e=c[k(0x203)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const l=a116d;return a116a[l(0x1f4)]()[l(0x209)](l(0x1f7))[l(0x1f4)]()[l(0x20c)](a116a)[l(0x209)]('(((.+)+)+)+$');});function a116c(){const p=['create','(((.+)+)+)+$','1wYgtuZ','5231008DZcKjK','startup','import\x20\x27./methods','checkMeteorPackage','ddp-rate-limiter','error','4067896VxrzHx','1420hyaaWD','appPathPrefix','imports','apply','1904034piWver','tsx','1419358XOVTDt','-rpc-method\x27;','232228IYegbO','search','pathFromApp','resourceName','constructor','fsi','methods','125325QpoRPU','getMakaProjectConfig','engines','dir','index.','10FPODxy','641790IVdVLv','toString','injectAtEndOfFile'];a116c=function(){return p;};return a116c();}a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a116m(0x1f6)]({'name':'method','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':['dir'],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a116m;try{const c=this[n(0x20d)][n(0x1ee)]();await this[n(0x20d)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0x20b)]),f={'name':b[o(0x20b)],'fileName':d,'className':pascalCase(b[o(0x20b)]),'camelCase':camelCase(b[o(0x20b)]),'noRename':!![]};let g='js';c[o(0x1ef)]['js']===o(0x205)&&(g='ts');await this[o(0x20d)][o(0x1fc)](['maka:check',o(0x1fd),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x20d)]['template']({'srcPath':'method/method.js','destPath':this[o(0x20d)][o(0x20a)]({'pathParts':[o(0x202),o(0x1fa),b[o(0x201)],o(0x1ec),b[o(0x1f0)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x1f0)]+'/':'/',i=this[o(0x20d)]['pathFromApp']({'pathParts':[o(0x202),o(0x1fa),b[o(0x201)],o(0x1f1)+c[o(0x1ef)]['js']]});await this[o(0x20d)][o(0x1f5)]({'filePath':i,'content':o(0x1fb)+h+d+o(0x207)});});}catch(d){Log[n(0x1fe)](d);}});
@@ -1 +1 @@
1
- const a116o=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=parseInt(l(0xa6))/0x1*(parseInt(l(0xb6))/0x2)+-parseInt(l(0xbe))/0x3+-parseInt(l(0xb9))/0x4*(parseInt(l(0x97))/0x5)+parseInt(l(0xb7))/0x6+-parseInt(l(0xb1))/0x7+-parseInt(l(0x9f))/0x8*(-parseInt(l(0xa8))/0x9)+parseInt(l(0xba))/0xa*(parseInt(l(0xa4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x5166f));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x96;let f=c[d];return f;},a116d(a,b);}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a116d;if(c){const e=c[m(0x9d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const n=a116d;return a116a[n(0xa2)]()[n(0x9e)]('(((.+)+)+)+$')[n(0xa2)]()[n(0xac)](a116a)[n(0x9e)](n(0x9a));});a116a();import a116e from'path';import{Generator}from'../generator.js';function a116c(){const r=['apply','search','88QLARDi','client','ssr','toString','noRename','28171FuRmTb','template/template.js','4pgTKBL','pathFromProject','276399LwSWCp','relative','template','store','constructor','package','.js','package/package.js','pathFromAppWithNoReWrite','1226232YFdmAL','/package.js','getMakaProjectConfig','packages','engines','31286nTIvAk','274728iBJyUl','package/','6268vNHVxp','1410pmhkXN','maka\x20g:package\x20todos:package','dir','component','468258TfojUl','lib','455CCvRAb','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','resourceName','(((.+)+)+)+$','fsi','hasOwnProperty'];a116c=function(){return r;};return a116c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a116o(0xad),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a116o(0x98),'validOpts':['dir'],'examples':[a116o(0xbb)]},async function(a,b){const p=a116o,c=paramCase(b[p(0x99)]),d=this[p(0x9b)]['pathFromApp']({'pathParts':[p(0xb4),b[p(0xbc)],c]}),e=this[p(0x9b)][p(0xb0)]({'pathParts':[p(0xb4),b[p(0xbc)],c,'package.js']}),f=this['fsi'][p(0xb3)]();await this[p(0x9b)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x99)]),'myPath':a116e[q(0xa9)](this[q(0x9b)][q(0xa7)]({}),d),'cssCaseName':paramCase(b[q(0x99)]),'className':pascalCase(b[q(0x99)]),'camelCaseName':camelCase(b[q(0x99)]),'fileName':c,'client':f[q(0xb5)][q(0xa0)],'graphql':f['engines']['graphql'],'ssr':f[q(0xb5)][q(0xa1)],'isComponent':b['hasOwnProperty'](q(0xbd)),'isLayout':b[q(0x9c)]('layout'),'isStore':b['hasOwnProperty'](q(0xab)),'features':f['features'],'noRename':!![],'theme':f[q(0xb5)]['theme']};await this[q(0x9b)][q(0xaa)]({'srcPath':q(0xaf),'destPath':e,'context':g,'config':f}),g[q(0xa3)]=![];const h=d+'/client/'+c+q(0xae);await this['fsi']['template']({'srcPath':q(0xa5),'destPath':h,'context':g,'config':f});const i=[q(0x96),'server','tests/client','tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+q(0xae);await this[q(0x9b)]['template']({'srcPath':q(0xb8)+j+q(0xb2),'destPath':k,'context':g,'config':f});}});});
1
+ function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x10f;let f=c[d];return f;},a117d(a,b);}const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x114))/0x1*(parseInt(l(0x112))/0x2)+parseInt(l(0x12c))/0x3*(-parseInt(l(0x115))/0x4)+-parseInt(l(0x11e))/0x5+-parseInt(l(0x113))/0x6+parseInt(l(0x11b))/0x7*(-parseInt(l(0x12e))/0x8)+parseInt(l(0x135))/0x9*(-parseInt(l(0x132))/0xa)+parseInt(l(0x12f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x53e7d));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x131)]()[n(0x124)]('(((.+)+)+)+$')[n(0x131)]()[n(0x13b)](a117a)[n(0x124)](n(0x137));});a117a();import a117e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a117c(){const r=['2258478wJajOX','8909HfYtEE','4xcTCXY','maka\x20g:package\x20todos:package','/client/','features','theme','resourceName','938BwqhcP','component','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','2492465kYeEzg','layout','graphql','tests/server','withValue','server','search','package','template','fsi','dir','package/package.js','template/template.js','pathFromApp','28758TWmrKa','ssr','39736WNnlYt','25383490fTSyfa','engines','toString','70cYWKzr','pathFromProject','apply','669537lOOZsr','package/','(((.+)+)+)+$','hasOwnProperty','getMakaProjectConfig','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','constructor','store','client','packages','create','24lJaRVP'];a117c=function(){return r;};return a117c();}Generator[a117o(0x111)]({'name':a117o(0x125),'aliases':['p'],'usage':a117o(0x11d),'shortDesc':a117o(0x13a),'validOpts':[a117o(0x128)],'examples':[a117o(0x116)]},async function(a,b){const p=a117o,c=paramCase(b['resourceName']),d=this[p(0x127)][p(0x12b)]({'pathParts':[p(0x110),b['dir'],c]}),e=this['fsi']['pathFromAppWithNoReWrite']({'pathParts':[p(0x110),b[p(0x128)],c,'package.js']}),f=this[p(0x127)][p(0x139)]();await this[p(0x127)][p(0x122)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x11a)]),'myPath':a117e['relative'](this['fsi'][q(0x133)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x11a)]),'camelCaseName':camelCase(b[q(0x11a)]),'fileName':c,'client':f[q(0x130)][q(0x10f)],'graphql':f[q(0x130)][q(0x120)],'ssr':f[q(0x130)][q(0x12d)],'isComponent':b[q(0x138)](q(0x11c)),'isLayout':b[q(0x138)](q(0x11f)),'isStore':b[q(0x138)](q(0x13c)),'features':f[q(0x118)],'noRename':!![],'theme':f['engines'][q(0x119)]};await this['fsi'][q(0x126)]({'srcPath':q(0x129),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0x117)+c+'.js';await this[q(0x127)][q(0x126)]({'srcPath':q(0x12a),'destPath':h,'context':g,'config':f});const i=['lib',q(0x123),'tests/client',q(0x121)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0x127)][q(0x126)]({'srcPath':q(0x136)+j+'/package.js','destPath':k,'context':g,'config':f});}});});
@@ -1 +1 @@
1
- const a117l=a117d;(function(a,b){const j=a117d,c=a();while(!![]){try{const d=parseInt(j(0x17d))/0x1*(-parseInt(j(0x1a2))/0x2)+parseInt(j(0x1a0))/0x3*(-parseInt(j(0x1a6))/0x4)+parseInt(j(0x1b1))/0x5+parseInt(j(0x1b4))/0x6*(-parseInt(j(0x197))/0x7)+-parseInt(j(0x180))/0x8*(parseInt(j(0x198))/0x9)+-parseInt(j(0x199))/0xa*(parseInt(j(0x185))/0xb)+parseInt(j(0x17a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x4630b));const a117b=(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;};}()),a117a=a117b(this,function(){const k=a117d;return a117a[k(0x19c)]()[k(0x188)]('(((.+)+)+)+$')[k(0x19c)]()['constructor'](a117a)['search'](k(0x1bd));});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x179;let f=c[d];return f;},a117d(a,b);}a117a();import a117e from'path';import{Generator}from'../generator.js';function a117c(){const o=['component/component.js','toString','html','injectAtBeginningOfFile','/imports/ui/pages','3AFgROi','engines','406CDZKlI','pathFromApp','.css','injectTemplateModule','2197596UbbNDU','warn','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','components','layouts','Generate\x20a\x20page.','/imports/ui/','test/test.js','checkNpmPackage','theme','setTemplate','2424405boBNeY','import\x20\x27./','fileName','18jshLZt','string','hasOwnProperty','create','client','react','withValue','vanilla','pages','(((.+)+)+)+$','graphql','template/template.html','dir','13161912oDcaXm','.js','\x27;\x0a','24cVgboh','api','withHooks','24664JVWyMA','Updating\x20npm\x20packages\x20...','.html','test','hooks','22WAutQb','resourceName','features','search','className','hook/hook.js','template','route','withHook','fsi','installNpmPackage','root','baseDir','pathFromProject','ramda','assign','store','true','257243LBCDwn','666plsquI','2007740mdChHW','css'];a117c=function(){return o;};return a117c();}import{Log}from'../tools/log/log.class.js';import a117f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a117l(0x1b7)]({'name':'page','aliases':aliases,'usage':a117l(0x1a8),'shortDesc':a117l(0x1ab),'validOpts':[{'name':a117l(0x191),'values':[a117l(0x184),a117l(0x1a9),a117l(0x1bc),a117l(0x1aa)]},{'name':a117l(0x18d),'boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const m=a117l,c=b[m(0x191)]?m(0x1ac)+b[m(0x191)]:m(0x19f),d=this[m(0x18e)][m(0x1a3)](b),e=this['fsi'][m(0x1a3)]({'pathParts':[c,b[m(0x179)],paramCase(b[m(0x186)]),paramCase(b[m(0x186)])]}),f=this['fsi']['getMakaProjectConfig']();let g='';return await this['fsi'][m(0x1ba)](f,async()=>{const n=m;typeof f[n(0x18b)][n(0x19d)]===n(0x1b5)&&(f[n(0x18b)][n(0x19d)]=f[n(0x18b)][n(0x19d)]===n(0x196)?!![]:![],this[n(0x18e)][n(0x1b0)](n(0x19d),f[n(0x18b)][n(0x19d)]));typeof f['template']['test']===n(0x1b5)&&(f[n(0x18b)][n(0x183)]=f[n(0x18b)]['test']===n(0x196)?!![]:![],this['fsi'][n(0x1b0)](n(0x183),f[n(0x18b)]['test']));typeof f[n(0x18b)][n(0x19a)]==='string'&&(f[n(0x18b)]['css']=f['template'][n(0x19a)]==='true'?!![]:![],this['fsi'][n(0x1b0)](n(0x19a),f['template'][n(0x19a)]));typeof f[n(0x18b)]['js']===n(0x1b5)&&(f['template']['js']=f['template']['js']===n(0x196)?!![]:![],this[n(0x18e)]['setTemplate']('js',f[n(0x18b)]['js']));!f[n(0x187)]&&(f[n(0x187)]={});!b[n(0x190)]&&!this['fsi'][n(0x1ae)](n(0x193))&&(Log[n(0x1a7)](n(0x181)),this[n(0x18e)][n(0x18f)](n(0x193),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a117e['relative'](this[n(0x18e)][n(0x192)]({}),e),'cssCaseName':paramCase(b[n(0x186)]),'className':pascalCase(b[n(0x186)]),'camelCaseName':camelCase(b[n(0x186)]),'fileName':paramCase(b['resourceName']),'graphql':f['engines'][n(0x1be)],'features':f[n(0x187)],'client':f[n(0x1a1)]['client'],'api':f[n(0x1a1)][n(0x17e)],'ssr':f[n(0x1a1)]['ssr'],'isStore':b[n(0x1b6)](n(0x195)),'isComponent':b[n(0x1b6)]('component'),'isLayout':b['hasOwnProperty']('layout'),'withTranslations':f[n(0x187)]['withTranslations'],'test':f[n(0x1a1)][n(0x183)],'theme':f['engines'][n(0x1af)]};f[n(0x18b)][n(0x19d)]&&await this[n(0x18e)][n(0x18b)]({'srcPath':n(0x1bf),'destPath':e+n(0x182),'context':h,'config':f});f[n(0x187)]?.[n(0x17f)]||b['withHook']?await this[n(0x18e)]['template']({'srcPath':n(0x18a),'destPath':e+n(0x17b),'framework':'react','context':h,'config':f}):await this[n(0x18e)][n(0x18b)]({'srcPath':n(0x19b),'destPath':e+n(0x17b),'framework':n(0x1b9),'context':h,'config':f});f['engines'][n(0x183)]!=='none'&&await this['fsi'][n(0x18b)]({'srcPath':n(0x1ad),'destPath':e+'.app-tests.js','framework':n(0x1b9),'context':h,'config':f});f[n(0x18b)][n(0x19a)]&&await this[n(0x18e)][n(0x18b)]({'srcPath':'template/template.css','destPath':e+n(0x1a4),'context':Object[n(0x194)]({},h,{'className':paramCase(b[n(0x186)])}),'config':f});f[n(0x1a1)]['client']!==n(0x1b9)&&f[n(0x1a1)][n(0x1b8)]!==n(0x1bb)?(f[n(0x18b)][n(0x19a)]&&await this[n(0x18e)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[n(0x1a1)]['js'],'content':'import\x20\x27./'+h[n(0x1b3)]+'.'+f[n(0x1a1)][n(0x19d)]+n(0x17c)+n(0x1b2)+h[n(0x1b3)]+'.'+f[n(0x1a1)][n(0x19a)]+'\x27;'}),!f['template']['css']&&await this[n(0x18e)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[n(0x1a1)]['js'],'content':n(0x1b2)+h[n(0x1b3)]+'.'+f['engines'][n(0x19d)]+'\x27;'})):f[n(0x18b)][n(0x19a)]&&await this[n(0x18e)][n(0x19e)]({'filePath':e+'.'+f[n(0x1a1)]['js'],'content':'import\x20\x27./'+h[n(0x1b3)]+'.'+f[n(0x1a1)][n(0x19a)]+'\x27;'});const i=b['dir']?'/'+b['dir']+'/':'/';g=''+c+i+h[n(0x1b3)]+'/'+h['fileName'],await this[n(0x18e)][n(0x1a5)](h[n(0x189)],f,g),!b[n(0x190)]&&await a117f['processAndRunGenerator'](n(0x18c),[i+h['className']],b);}),g+'.'+f[m(0x1a1)]['js'];});
1
+ const a118m=a118d;(function(a,b){const j=a118d,c=a();while(!![]){try{const d=-parseInt(j(0x15c))/0x1*(-parseInt(j(0x15a))/0x2)+parseInt(j(0x174))/0x3+-parseInt(j(0x191))/0x4*(-parseInt(j(0x170))/0x5)+-parseInt(j(0x164))/0x6+parseInt(j(0x18f))/0x7*(parseInt(j(0x179))/0x8)+parseInt(j(0x18c))/0x9+parseInt(j(0x168))/0xa*(-parseInt(j(0x173))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xcf438));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a118d;if(c){const e=c[k(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const l=a118d;return a118a[l(0x197)]()[l(0x15f)](l(0x17d))[l(0x197)]()['constructor'](a118a)['search']('(((.+)+)+)+$');});a118a();import a118e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a118f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x159;let f=c[d];return f;},a118d(a,b);}const aliases=['p'];Generator[a118m(0x17c)]({'name':a118m(0x176),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a118m(0x17a),'validOpts':[{'name':a118m(0x190),'values':[a118m(0x171),'components',a118m(0x19c),'layouts']},{'name':a118m(0x196),'boolFlag':!![]}],'examples':[a118m(0x163)]},async function(a,b){const n=a118m,c=b[n(0x190)]?n(0x169)+b[n(0x190)]:n(0x18a),d=this['fsi']['pathFromApp'](b),e=this[n(0x17f)][n(0x194)]({'pathParts':[c,b[n(0x182)],paramCase(b[n(0x16e)]),paramCase(b[n(0x16e)])]}),f=this[n(0x17f)]['getMakaProjectConfig']();let g='';return await this[n(0x17f)][n(0x19e)](f,async()=>{const o=n;typeof f[o(0x198)][o(0x1a1)]==='string'&&(f[o(0x198)]['html']=f['template'][o(0x1a1)]===o(0x166)?!![]:![],this['fsi']['setTemplate'](o(0x1a1),f[o(0x198)][o(0x1a1)]));typeof f[o(0x198)][o(0x19f)]===o(0x184)&&(f[o(0x198)]['test']=f[o(0x198)][o(0x19f)]==='true'?!![]:![],this[o(0x17f)]['setTemplate'](o(0x19f),f[o(0x198)][o(0x19f)]));typeof f[o(0x198)][o(0x16f)]===o(0x184)&&(f['template'][o(0x16f)]=f[o(0x198)][o(0x16f)]===o(0x166)?!![]:![],this['fsi']['setTemplate']('css',f[o(0x198)][o(0x16f)]));typeof f[o(0x198)]['js']==='string'&&(f[o(0x198)]['js']=f[o(0x198)]['js']===o(0x166)?!![]:![],this[o(0x17f)][o(0x18b)]('js',f['template']['js']));!f[o(0x15e)]&&(f[o(0x15e)]={});!b[o(0x17e)]&&!this[o(0x17f)][o(0x17b)]('ramda')&&(Log[o(0x189)]('Updating\x20npm\x20packages\x20...'),this[o(0x17f)][o(0x19b)]('ramda',{'cwd':d}));const h={'name':pascalCase(b[o(0x16e)]),'myPath':a118e['relative'](this[o(0x17f)][o(0x185)]({}),e),'cssCaseName':paramCase(b[o(0x16e)]),'className':pascalCase(b[o(0x16e)]),'camelCaseName':camelCase(b[o(0x16e)]),'fileName':paramCase(b[o(0x16e)]),'graphql':f[o(0x180)][o(0x15d)],'features':f[o(0x15e)],'client':f[o(0x180)][o(0x172)],'api':f[o(0x180)][o(0x178)],'ssr':f['engines'][o(0x167)],'isStore':b[o(0x186)](o(0x192)),'isComponent':b['hasOwnProperty']('component'),'isLayout':b['hasOwnProperty'](o(0x188)),'withTranslations':f['features'][o(0x183)],'test':f['engines'][o(0x19f)],'theme':f[o(0x180)][o(0x16a)]};f['template'][o(0x1a1)]&&await this[o(0x17f)]['template']({'srcPath':'template/template.html','destPath':e+o(0x160),'context':h,'config':f});f[o(0x15e)]?.[o(0x162)]||b[o(0x196)]?await this[o(0x17f)][o(0x198)]({'srcPath':o(0x165),'destPath':e+o(0x18e),'framework':o(0x187),'context':h,'config':f}):await this[o(0x17f)][o(0x198)]({'srcPath':o(0x16b),'destPath':e+o(0x18e),'framework':o(0x187),'context':h,'config':f});f[o(0x180)][o(0x19f)]!==o(0x1a0)&&await this[o(0x17f)][o(0x198)]({'srcPath':o(0x195),'destPath':e+o(0x18d),'framework':o(0x187),'context':h,'config':f});f['template'][o(0x16f)]&&await this[o(0x17f)][o(0x198)]({'srcPath':o(0x193),'destPath':e+o(0x15b),'context':Object[o(0x161)]({},h,{'className':paramCase(b[o(0x16e)])}),'config':f});f[o(0x180)][o(0x172)]!==o(0x187)&&f[o(0x180)][o(0x172)]!==o(0x19a)?(f[o(0x198)][o(0x16f)]&&await this[o(0x17f)][o(0x177)]({'filePath':e+'.'+f['engines']['js'],'content':o(0x16d)+h['fileName']+'.'+f[o(0x180)][o(0x1a1)]+o(0x175)+o(0x16d)+h[o(0x159)]+'.'+f[o(0x180)][o(0x16f)]+'\x27;'}),!f[o(0x198)][o(0x16f)]&&await this[o(0x17f)][o(0x177)]({'filePath':e+'.'+f[o(0x180)]['js'],'content':o(0x16d)+h[o(0x159)]+'.'+f[o(0x180)][o(0x1a1)]+'\x27;'})):f[o(0x198)]['css']&&await this['fsi'][o(0x177)]({'filePath':e+'.'+f[o(0x180)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+f[o(0x180)][o(0x16f)]+'\x27;'});const i=b[o(0x182)]?'/'+b[o(0x182)]+'/':'/';g=''+c+i+h[o(0x159)]+'/'+h['fileName'],await this[o(0x17f)]['injectTemplateModule'](h[o(0x16c)],f,g),!b[o(0x17e)]&&await a118f[o(0x199)](o(0x19d),[i+h[o(0x16c)]],b);}),g+'.'+f[n(0x180)]['js'];});function a118c(){const p=['none','html','fileName','14794pHEtum','.css','62XpbClD','graphql','features','search','.html','assign','withHooks','maka\x20g:page\x20todos/todos-item','4035810fZrsVp','hook/hook.js','true','ssr','84020cXJpjd','/imports/ui/','theme','component/component.js','className','import\x20\x27./','resourceName','css','567525tsWKBq','hooks','client','2882tVKuxi','1707279lUhfEB','\x27;\x0a','page','injectAtBeginningOfFile','api','280kcEPMu','Generate\x20a\x20page.','checkNpmPackage','create','(((.+)+)+)+$','root','fsi','engines','apply','dir','withTranslations','string','pathFromProject','hasOwnProperty','react','layout','warn','/imports/ui/pages','setTemplate','2655081sLUrNn','.app-tests.js','.js','207627sFSAWQ','baseDir','48etkrWu','store','template/template.css','pathFromApp','test/test.js','withHook','toString','template','processAndRunGenerator','vanilla','installNpmPackage','pages','route','withValue','test'];a118c=function(){return p;};return a118c();}
@@ -1 +1 @@
1
- function a118c(){const n=['1422556qDjnPl','729835RgUtWp','getMakaProjectConfig','templateContent','3JtaQjU','16881396fCKxsq','engines','1VduVfB','resourceName','1116764QWkpfr','publish','server/publish.','333cBWvSb','publish/publish.','16COFqPa','8117824gSmNbZ','injectAtEndOfFile','toString','6xGrjDo','withValue','214650rrVXui','apply','2242303mrjCpm','maka\x20g:publish\x20todos','(((.+)+)+)+$','fsi','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>'];a118c=function(){return n;};return a118c();}const a118k=a118d;function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x122;let f=c[d];return f;},a118d(a,b);}(function(a,b){const h=a118d,c=a();while(!![]){try{const d=-parseInt(h(0x13a))/0x1*(parseInt(h(0x133))/0x2)+parseInt(h(0x137))/0x3*(parseInt(h(0x13c))/0x4)+parseInt(h(0x134))/0x5*(parseInt(h(0x12a))/0x6)+parseInt(h(0x12e))/0x7*(-parseInt(h(0x126))/0x8)+parseInt(h(0x124))/0x9*(parseInt(h(0x12c))/0xa)+-parseInt(h(0x127))/0xb+parseInt(h(0x138))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x82ea2));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a118d;if(c){const e=c[i(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const j=a118d;return a118a[j(0x129)]()['search'](j(0x130))['toString']()['constructor'](a118a)['search'](j(0x130));});a118a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator['create']({'name':a118k(0x122),'aliases':['p'],'usage':a118k(0x132),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[],'examples':[a118k(0x12f)]},async function(a,b){const l=a118k,c=this[l(0x131)][l(0x135)]();await this[l(0x131)][l(0x12b)](c,async()=>{const m=l,d={'name':b[m(0x13b)],'collection':paramCase(b['resourceName']),'noRename':!![]};let e='js';c[m(0x139)]['js']==='tsx'&&(e='ts');const f=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[m(0x123)+c[m(0x139)]['js']]}),g=this['fsi'][m(0x136)]({'srcPath':m(0x125)+e,'context':d,'config':c});await this[m(0x131)][m(0x128)]({'filePath':f,'content':'\x0a'+g});});});
1
+ function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a119d(a,b);}const a119k=a119d;(function(a,b){const h=a119d,c=a();while(!![]){try{const d=parseInt(h(0x1d8))/0x1+parseInt(h(0x1ea))/0x2+parseInt(h(0x1d7))/0x3*(-parseInt(h(0x1e8))/0x4)+parseInt(h(0x1e6))/0x5+-parseInt(h(0x1e9))/0x6+parseInt(h(0x1e3))/0x7+-parseInt(h(0x1da))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x6ce47));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a119d;if(c){const e=c[i(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const j=a119d;return a119a[j(0x1e2)]()[j(0x1e0)]('(((.+)+)+)+$')[j(0x1e2)]()[j(0x1d6)](a119a)[j(0x1e0)]('(((.+)+)+)+$');});a119a();import{paramCase}from'change-case';function a119c(){const n=['rewriteDestinationPathForEngine','resourceName','fsi','search','publish/publish.','toString','3927448fpkSgF','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','2828815ltPtrL','engines','121596nOogKc','953400gwRuqk','1186484oqBCXz','constructor','3XfohHg','34060wUSGic','create','8950456SiRvbd','apply','maka\x20g:publish\x20todos'];a119c=function(){return n;};return a119c();}import{Generator}from'../generator.js';Generator[a119k(0x1d9)]({'name':'publish','aliases':['p'],'usage':a119k(0x1e4),'shortDesc':a119k(0x1e5),'validOpts':[],'examples':[a119k(0x1dc)]},async function(a,b){const l=a119k,c=this[l(0x1df)]['getMakaProjectConfig']();await this[l(0x1df)]['withValue'](c,async()=>{const m=l,d={'name':b[m(0x1de)],'collection':paramCase(b[m(0x1de)]),'noRename':!![]};let e='js';c[m(0x1e7)]['js']==='tsx'&&(e='ts');const f=this[m(0x1df)][m(0x1dd)]({'pathParts':['server/publish.'+c[m(0x1e7)]['js']]}),g=this[m(0x1df)]['templateContent']({'srcPath':m(0x1e1)+e,'context':d,'config':c});await this['fsi']['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});