@maka/maka-cli 4.7.16 → 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 -126
  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 -126
  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/79ef20d9-272b-4d5b-9ece-bc61eda1bad6.vsidx +0 -0
  317. package/.vs/maka-cli-src/FileContentIndex/93947812-c77d-4667-aaed-3f9a0df8b484.vsidx +0 -0
  318. package/.vs/maka-cli-src/FileContentIndex/c4cbf57e-b360-4b2a-8b3d-fc8f800c195a.vsidx +0 -0
  319. package/.vs/maka-cli-src/FileContentIndex/c9d2ef23-4e6c-46eb-a405-3584022229ed.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
- const a100n=a100d;function a100c(){const q=['210zhTREp','engines','withValue','client','css','1399497RVTCcR','assign','component/component.js','create','/imports/ui/components','1019774LRAxnZ','350LFcDNz','true','api','1472298yjxRcx','search','39277KBLGjF','setTemplate','injectTemplateModule','error','1814400fcxDCp','graphql','root','features','5RhVTwR','withTranslations','.tests.js','className','fsi','apply','cssCaseName','maka\x20g:comp\x20todos/todos-item','component','injectAtBeginningOfFile','checkNpmPackage','resourceName','24417oBorKa','hooks','none','ssr','baseDir','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','react','findAppDirectory','.css','/imports/ui/','test/test.js','template','pathFromProject','string','2872VLAMEK','components','pathFromApp','import\x20\x27./','getMakaProjectConfig','dir','(((.+)+)+)+$','test','pages','1291972wMmhIM','template/template.css','fileName','installNpmPackage','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','warn','ramda','comp'];a100c=function(){return q;};return a100c();}(function(a,b){const k=a100d,c=a();while(!![]){try{const d=-parseInt(k(0xae))/0x1+-parseInt(k(0xb8))/0x2+-parseInt(k(0xb2))/0x3+parseInt(k(0x9c))/0x4*(-parseInt(k(0x79))/0x5)+parseInt(k(0xa4))/0x6*(-parseInt(k(0xb4))/0x7)+-parseInt(k(0x93))/0x8*(parseInt(k(0x85))/0x9)+-parseInt(k(0xaf))/0xa*(-parseInt(k(0xa9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x844a4));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a100d;if(c){const e=c[l(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const m=a100d;return a100a['toString']()[m(0xb3)](m(0x99))['toString']()['constructor'](a100a)['search']('(((.+)+)+)+$');});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=[a100n(0xa3)];function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x79;let f=c[d];return f;},a100d(a,b);}Generator[a100n(0xac)]({'name':a100n(0x81),'aliases':aliases,'usage':a100n(0x8a),'shortDesc':a100n(0xa0),'validOpts':[{'name':'baseDir','values':[a100n(0x86),a100n(0x94),a100n(0x9b),'layouts']}],'examples':[a100n(0x80)]},async function(a,b){const o=a100n;try{const c=this[o(0x7d)][o(0x8c)](),d=b[o(0x89)]?o(0x8e)+b[o(0x89)]:o(0xad),f=this[o(0x7d)][o(0x95)]({'pathParts':[d,b['dir'],paramCase(b[o(0x84)]),paramCase(b[o(0x84)])]}),g=await this['fsi'][o(0x97)]();await this[o(0x7d)][o(0xa6)](g,async()=>{const p=o;typeof g['template'][p(0x9a)]==='string'&&(g[p(0x90)][p(0x9a)]=g[p(0x90)][p(0x9a)]===p(0xb0)?!![]:![],this[p(0x7d)]['setTemplate'](p(0x9a),g['template'][p(0x9a)]));typeof g[p(0x90)]['css']===p(0x92)&&(g['template']['css']=g[p(0x90)][p(0xa8)]==='true'?!![]:![],this[p(0x7d)][p(0xb5)]('css',g[p(0x90)][p(0xa8)]));typeof g[p(0x90)]['js']==='string'&&(g[p(0x90)]['js']=g[p(0x90)]['js']===p(0xb0)?!![]:![],this['fsi'][p(0xb5)]('js',g['template']['js']));!g[p(0xbb)]&&(g[p(0xbb)]={});!b[p(0xba)]&&!this[p(0x7d)][p(0x83)]('ramda')&&(Log[p(0xa1)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this['fsi'][p(0x9f)](p(0xa2),{'cwd':c}));if(!b[p(0xba)]&&!this[p(0x7d)][p(0x83)](p(0x8b))){Log['error']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const h={'name':pascalCase(b[p(0x84)]),'myPath':a100e['relative'](this['fsi'][p(0x91)]({}),f),'cssCaseName':paramCase(b[p(0x84)]),'className':pascalCase(b[p(0x84)]),'camelCaseName':camelCase(b[p(0x84)]),'fileName':paramCase(b[p(0x84)]),'graphql':g['engines'][p(0xb9)],'features':g[p(0xbb)],'client':g[p(0xa5)][p(0xa7)],'api':g['engines'][p(0xb1)],'ssr':g['engines'][p(0x88)],'test':g['engines'][p(0x9a)],'theme':g['engines']['theme'],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0xbb)][p(0x7a)]};await this[p(0x7d)][p(0x90)]({'srcPath':p(0xab),'destPath':f+'.js','context':h,'framework':p(0x8b),'config':g});g[p(0xa5)][p(0x9a)]!==p(0x87)&&await this[p(0x7d)][p(0x90)]({'srcPath':p(0x8f),'destPath':f+p(0x7b),'context':h,'framework':p(0x8b),'config':g});g[p(0x90)][p(0xa8)]&&(await this[p(0x7d)][p(0x90)]({'srcPath':p(0x9d),'destPath':f+p(0x8d),'context':Object[p(0xaa)]({},h,{'className':paramCase(b[p(0x84)])}),'config':g}),await this[p(0x7d)][p(0x82)]({'filePath':f+'.'+g[p(0xa5)]['js'],'content':p(0x96)+h[p(0x7f)]+'.'+g[p(0xa5)][p(0xa8)]+'\x27;'}));const i=b[p(0x98)]?'/'+b[p(0x98)]+'/':'/',j=''+d+i+h[p(0x9e)]+'/'+h[p(0x9e)];await this[p(0x7d)][p(0xb6)](h[p(0x7c)],g,j);});}catch(h){Log[o(0xb7)](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
- const a101k=a101d;(function(a,b){const h=a101d,c=a();while(!![]){try{const d=-parseInt(h(0x98))/0x1+parseInt(h(0x8b))/0x2+parseInt(h(0x84))/0x3*(parseInt(h(0x96))/0x4)+parseInt(h(0x9b))/0x5+parseInt(h(0x8e))/0x6+-parseInt(h(0x86))/0x7*(parseInt(h(0x8a))/0x8)+parseInt(h(0x80))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x6c837));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a101d;if(c){const e=c[i(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const j=a101d;return a101a[j(0x8d)]()['search'](j(0xa0))[j(0x8d)]()[j(0x9c)](a101a)[j(0x8c)](j(0xa0));});a101a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x80;let f=c[d];return f;},a101d(a,b);}function a101c(){const n=['development','Generate\x20configuration\x20settings.','3443740SBBqVQ','constructor','fsi','appName','maka\x20g:config\x20production','(((.+)+)+)+$','template','1479321qTEJiH','process.env','create','withValue','578577toLiPc','production','4207iXHauW','pathFromProject','ubuntu','dev','7144sQINSE','718382nUboah','search','toString','618558MJaQQT','prod','apply','getMakaProjectConfig','settings.json','resourceName','maka\x20{generate,\x20g}:{config}\x20<name>','isDocker','4iEaivW','config','527096yunNdY'];a101c=function(){return n;};return a101c();}Generator[a101k(0x82)]({'name':a101k(0x97),'usage':a101k(0x94),'shortDesc':a101k(0x9a),'validOpts':['isDocker'],'examples':[a101k(0x9f)]},async function(a,b){const l=a101k,c=this['fsi'][l(0x91)]();await this[l(0x9d)][l(0x83)](c,async()=>{const m=l,d={'app':c[m(0x9e)],'appFileCase':paramCase(c['appName']),'name':pascalCase(b[m(0x93)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[m(0x93)]),'userName':m(0x88),'isDocker':b[m(0x95)]};let e=b[m(0x93)];if(e===m(0x89))e=m(0x99);else e===m(0x8f)&&(e=m(0x85));const f=this['fsi'][m(0x87)]({'pathParts':['config',e,m(0x92)]});await this[m(0x9d)][m(0xa1)]({'srcPath':'config/settings.json','destPath':f,'context':d,'config':c});if(!b[m(0x95)]){const g=this[m(0x9d)]['pathFromProject']({'pathParts':[m(0x97),e,m(0x81)]});await this[m(0x9d)][m(0xa1)]({'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
- const a102m=a102d;(function(a,b){const j=a102d,c=a();while(!![]){try{const d=-parseInt(j(0x1b7))/0x1+parseInt(j(0x1b6))/0x2*(-parseInt(j(0x1ca))/0x3)+-parseInt(j(0x1b0))/0x4*(parseInt(j(0x1d4))/0x5)+-parseInt(j(0x1cb))/0x6+-parseInt(j(0x1d2))/0x7+parseInt(j(0x1be))/0x8*(-parseInt(j(0x1af))/0x9)+parseInt(j(0x1b1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x3a5d3));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a102d;if(c){const e=c[k(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const l=a102d;return a102a[l(0x1b9)]()[l(0x1aa)]('(((.+)+)+)+$')[l(0x1b9)]()['constructor'](a102a)[l(0x1aa)](l(0x1c2));});function a102c(){const p=['better-sqlite3','4142412nxYZUc','745564qFZQtb','16447560FjHGRm','pgsql','fsi','warn','withValue','10CZaOIB','283777bsRTuN','apply','toString','injectAtEndOfFile','dbc/conn.js','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','dbc','8wgaAiP','startup','mssql','import\x20\x27./register-','(((.+)+)+)+$','checkNpmPackage','maka\x20g:dbc\x20azure\x20--type=mssql','error','config.','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','type','server','47211KstMhg','1090128uXjRmM','engines','dir','resourceName','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','template','imports','199479gQBMJV','pathFromApp','10Nrouoc','installNpmPackage','maka\x20g:dbc\x20todos\x20--type=sqlite','dbc/config.js','search','conn.','tsx','sqlite'];a102c=function(){return p;};return a102c();}a102a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a102d(a,b);}import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a102m(0x1bd),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a102m(0x1c7),'validOpts':[a102m(0x1cd)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a102m(0x1c8),'values':[a102m(0x1b2),a102m(0x1c0),a102m(0x1ad)]}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql',a102m(0x1c4),a102m(0x1a8)]},async function(a,b){const n=a102m;try{const c=await this[n(0x1b3)]['getMakaProjectConfig'](),d=this['fsi'][n(0x1d3)]({}),f=paramCase(b[n(0x1ce)]),g={'name':pascalCase(b[n(0x1ce)]),'fileName':paramCase(b[n(0x1ce)]),'camelCase':camelCase(b[n(0x1ce)]),'type':b['type'],'engine':c[n(0x1cc)]['js'],'noRename':!![]};await this[n(0x1b3)][n(0x1b5)](c,async()=>{const o=n;let h='js';c[o(0x1cc)]['js']===o(0x1ac)&&(h='ts');b[o(0x1c8)]===o(0x1b2)&&!this[o(0x1b3)][o(0x1c3)]('pg')&&(Log[o(0x1b4)](o(0x1bc)),await this[o(0x1b3)][o(0x1d5)]('pg',{'cwd':d}));b[o(0x1c8)]==='mssql'&&!this[o(0x1b3)]['checkNpmPackage'](o(0x1c0))&&(Log['warn']('Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...'),await this[o(0x1b3)]['installNpmPackage'](o(0x1c0),{'cwd':d}));b[o(0x1c8)]===o(0x1ad)&&!this['fsi'][o(0x1c3)](o(0x1ae))&&(Log[o(0x1b4)](o(0x1cf)),await this['fsi']['installNpmPackage'](o(0x1ae),{'cwd':d}));await this['fsi'][o(0x1d0)]({'srcPath':o(0x1a9),'destPath':this[o(0x1b3)][o(0x1d3)]({'pathParts':[o(0x1d1),o(0x1bf),o(0x1c9),o(0x1bd),b[o(0x1cd)],f,o(0x1c6)+h]}),'context':g,'config':c}),await this['fsi']['template']({'srcPath':o(0x1bb),'destPath':this[o(0x1b3)][o(0x1d3)]({'pathParts':[o(0x1d1),o(0x1bf),o(0x1c9),o(0x1bd),b[o(0x1cd)],f,o(0x1ab)+h]}),'context':g,'config':c}),await this[o(0x1b3)][o(0x1d0)]({'srcPath':'dbc/register-dbc.js','destPath':this[o(0x1b3)][o(0x1d3)]({'pathParts':[o(0x1d1),o(0x1bf),'server','register-'+f+'-dbc.'+h]}),'context':g,'config':c});const i=this['fsi']['pathFromApp']({'pathParts':[o(0x1d1),o(0x1bf),o(0x1c9),'index.'+c[o(0x1cc)]['js']]});await this[o(0x1b3)][o(0x1ba)]({'filePath':i,'content':o(0x1c1)+f+'-dbc\x27;'});});}catch(h){Log[n(0x1c5)](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(0x1c5))/0x1+-parseInt(f(0x1c2))/0x2+-parseInt(f(0x1d8))/0x3*(-parseInt(f(0x1df))/0x4)+parseInt(f(0x1c3))/0x5+parseInt(f(0x1d4))/0x6+parseInt(f(0x1db))/0x7+-parseInt(f(0x1d5))/0x8*(parseInt(f(0x1c8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xbb60a));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(0x1c4)]()[g(0x1d7)]('(((.+)+)+)+$')[g(0x1c4)]()[g(0x1d9)](a103a)[g(0x1d7)]('(((.+)+)+)+$');});function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a103d(a,b);}a103a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a103e from'path';Generator[a103h(0x1cf)]({'name':a103h(0x1ca),'usage':a103h(0x1cc),'shortDesc':a103h(0x1c7),'validOpts':[],'noNeedResource':!![],'examples':[a103h(0x1dc)]},async function(){const i=a103h;try{const a=await this['fsi'][i(0x1da)](),b=await this[i(0x1ce)][i(0x1cd)](),c=this[i(0x1ce)][i(0x1cb)]();await this[i(0x1ce)]['withValue'](a,async()=>{const j=i,d={'app':b[j(0x1d2)],'config':a,'appPath':a103e[j(0x1de)](c,j(0x1d3)),'bundlePath':a103e['join'](c,'build',j(0x1d1)),'useCert':this['fsi'][j(0x1d0)](b['cert'])};await this[j(0x1ce)][j(0x1d6)]({'srcPath':'docker/Dockerfile','destPath':a103e[j(0x1de)](c,j(0x1c6)),'framework':j(0x1dd),'context':d,'config':a});});}catch(d){Log[i(0x1c9)](d);}});function a103c(){const k=['getGlobalConfig','fsi','create','isFile','app.tar.gz','appName','app','7826808yrsYAJ','1695128zpgDsy','template','search','3SoUMUR','constructor','getMakaProjectConfig','7650461koiyVJ','maka\x20g:dockerfile','service','join','1180836SbLJEg','750846gcyhVC','963240ajpADd','toString','588474pEPerr','Dockerfile','Generate\x20an\x20updated\x20dockerfile','99hbuGsj','error','dockerfile','findProjectDirectory','maka\x20{generate,\x20g}:dockerfile'];a103c=function(){return k;};return a103c();}
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(a,b){const l=a104d,c=a();while(!![]){try{const d=parseInt(l(0x128))/0x1*(parseInt(l(0x141))/0x2)+-parseInt(l(0x10f))/0x3+parseInt(l(0x146))/0x4+parseInt(l(0x119))/0x5*(-parseInt(l(0x149))/0x6)+parseInt(l(0x11f))/0x7*(-parseInt(l(0x130))/0x8)+-parseInt(l(0x117))/0x9+parseInt(l(0x13a))/0xa*(parseInt(l(0x12f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x71e8e));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a104d;if(c){const e=c[m(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const n=a104d;return a104a['toString']()['search'](n(0x132))['toString']()[n(0x131)](a104a)[n(0x123)](n(0x132));});a104a();import a104e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x108;let f=c[d];return f;},a104d(a,b);}function a104c(){const r=['import\x20\x27./','graphql','191234admxfA','installNpmPackage','create','\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','string','checkNpmPackage','hook','3922743xzoeJt','1013704euZVVi','constructor','(((.+)+)+)+$','notice','injectAtBeginningOfFile','@apollo/client','warn','relative','className','hook/hook.js','10UjKSJg','dir','pathFromApp','/imports/ui/hooks','engines','layouts','template/template.css','8vWwGVs','css','theme','test','withValue','3718388xlZtJY','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','withTranslations','518538omiGBb','react','@apollo/client\x20isomorphic-fetch','Creating\x20','test/test.js','\x20hook...','.app-tests.js','pathFromProject','1624665LmmhZV','hooks','template','/imports/ui/','features','.css','fileName','resourceName','7468929eSfgOU','error','5lolPYP','baseDir','true','force','maka\x20g:hook\x20cool-hook','injectTemplateModule','7KwUUMq','pages','fsi','apply','search','setTemplate','none'];a104c=function(){return r;};return a104c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a104o(0x12a)]({'name':a104o(0x12e),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':a104o(0x11a),'values':[a104o(0x110),'components',a104o(0x120),a104o(0x13f)]},{'name':a104o(0x11c),'boolFlag':!![]}],'examples':[a104o(0x11d)],'description':a104o(0x12b)},async function(a,b){const p=a104o;Log[p(0x133)](p(0x10a)+b[p(0x116)]+p(0x10c));try{const c=this[p(0x121)][p(0x12d)](p(0x108));if(!c){Log[p(0x118)](p(0x147));throw new UsageError();}const d=this[p(0x121)][p(0x13c)](b),f=b[p(0x11a)]?p(0x112)+b['baseDir']:p(0x13d),g=this[p(0x121)][p(0x13c)]({'pathParts':[f,b[p(0x13b)],paramCase(b['resourceName']),paramCase(b[p(0x116)])]}),h=await this[p(0x121)]['getMakaProjectConfig']();await this[p(0x121)][p(0x145)](h,async()=>{const q=p;typeof h[q(0x111)][q(0x142)]===q(0x12c)&&(h[q(0x111)][q(0x142)]=h[q(0x111)][q(0x142)]===q(0x11b)?!![]:![],this[q(0x121)][q(0x124)]('css',h[q(0x111)][q(0x142)]));h[q(0x13e)]['graphql']==='apollo'&&!this['fsi'][q(0x12d)](q(0x135))&&(Log[q(0x136)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[q(0x121)][q(0x129)](q(0x109),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x116)]),'camelCaseName':camelCase(b[q(0x116)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[q(0x116)]),'graphql':h[q(0x13e)][q(0x127)],'theme':h[q(0x13e)][q(0x143)],'features':h['features'],'myPath':a104e[q(0x137)](this[q(0x121)][q(0x10e)]({}),g),'fileName':paramCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x113)][q(0x148)]};await this['fsi'][q(0x111)]({'srcPath':q(0x139),'destPath':g+'.js','context':i,'config':h,'framework':'react','force':b[q(0x11c)]});h[q(0x111)][q(0x142)]&&(await this[q(0x121)][q(0x111)]({'srcPath':q(0x140),'destPath':g+q(0x114),'context':Object['assign']({},i,{'className':i['cssCaseName']}),'config':h,'force':b[q(0x11c)]}),await this[q(0x121)][q(0x134)]({'filePath':g+'.'+h['engines']['js'],'content':q(0x126)+i[q(0x115)]+'.'+h[q(0x13e)][q(0x142)]+'\x27;'}));h[q(0x13e)][q(0x144)]!==q(0x125)&&await this['fsi'][q(0x111)]({'srcPath':q(0x10b),'destPath':g+q(0x10d),'framework':q(0x108),'context':i,'config':h,'force':b['force']});const j=b['dir']?'/'+b[q(0x13b)]+'/':'/',k=''+f+j+i[q(0x115)]+'/'+i[q(0x115)];await this[q(0x121)][q(0x11e)](i[q(0x138)],h,k);});}catch(i){Log['error'](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 a112c(){var h=['10sZIWoO','1670697vYXycr','3AhYxih','886860HeJeml','toString','2903160WnMbWc','224168OFqdil','161994PVrGWh','(((.+)+)+)+$','5250240VEBHLu','492162hqOMBE'];a112c=function(){return h;};return a112c();}function a112d(a,b){var c=a112c();return a112d=function(d,e){d=d-0xa5;var f=c[d];return f;},a112d(a,b);}(function(a,b){var f=a112d,c=a();while(!![]){try{var d=parseInt(f(0xa5))/0x1+-parseInt(f(0xa6))/0x2*(parseInt(f(0xac))/0x3)+parseInt(f(0xad))/0x4+-parseInt(f(0xaa))/0x5*(parseInt(f(0xa9))/0x6)+parseInt(f(0xab))/0x7+parseInt(f(0xaf))/0x8+-parseInt(f(0xa8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x3579e));var a112b=(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;};}()),a112a=a112b(this,function(){var g=a112d;return a112a[g(0xae)]()['search'](g(0xa7))['toString']()['constructor'](a112a)['search'](g(0xa7));});a112a();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(a,b){var f=a107d,c=a();while(!![]){try{var d=-parseInt(f(0x1f1))/0x1+parseInt(f(0x1e8))/0x2*(-parseInt(f(0x1e9))/0x3)+-parseInt(f(0x1ed))/0x4+-parseInt(f(0x1eb))/0x5+-parseInt(f(0x1e7))/0x6*(-parseInt(f(0x1ec))/0x7)+parseInt(f(0x1f2))/0x8+-parseInt(f(0x1ee))/0x9*(-parseInt(f(0x1ea))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xdeb91));var a107b=(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;};}()),a107a=a107b(this,function(){var g=a107d;return a107a[g(0x1ef)]()[g(0x1f0)](g(0x1e5))[g(0x1ef)]()[g(0x1e6)](a107a)['search'](g(0x1e5));});a107a();function a107c(){var h=['78ccZDVw','136890ecORVh','2402940taaxKx','14cXHPCE','1983708gFgHCd','639FZhLTH','toString','search','65976pDRPeN','10532120rjsDhs','(((.+)+)+)+$','constructor','1770564rXIrXo','71066DUkvmD'];a107c=function(){return h;};return a107c();}import'./esri.generator.js';function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x1e5;var f=c[d];return f;},a107d(a,b);}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(a,b){const f=a105d,c=a();while(!![]){try{const d=parseInt(f(0xdd))/0x1+-parseInt(f(0xdc))/0x2*(parseInt(f(0xd4))/0x3)+-parseInt(f(0xe1))/0x4+-parseInt(f(0xe2))/0x5+-parseInt(f(0xe3))/0x6+parseInt(f(0xda))/0x7*(parseInt(f(0xdb))/0x8)+parseInt(f(0xd2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0xdaf6f));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a105d;if(c){const e=c[g(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const h=a105d;return a105a[h(0xd7)]()['search'](h(0xe0))[h(0xd7)]()[h(0xd8)](a105a)[h(0xd6)](h(0xe0));});function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0xd1;let f=c[d];return f;},a105d(a,b);}a105a();import{Generator}from'../../../generator.js';import a105e from'../kit.js';function a105c(){const k=['esri','search','toString','constructor','\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','4293436ofsGrU','16qRmxAv','2nXPOJp','25511Uefxig','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','(((.+)+)+)+$','6474424kDiJDM','6101385UYzhCS','6653658KMClha','maka\x20g:kit:e','apply','38269935cPpPtg','NIE','1979151wEJBdN'];a105c=function(){return k;};return a105c();}const EsriGen=Generator['create']({'name':a105i(0xd5),'aliases':['e'],'usage':a105i(0xdf),'noNeedResource':!![],'shortDesc':a105i(0xde),'validOpts':[''],'isPro':!![],'examples':[a105i(0xe4)],'description':a105i(0xd9)},async function(){const j=a105i;throw j(0xd3);},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 a106c(){const v=['(((.+)+)+)+$','<div\x20id=\x22map-component\x22>','create','FALSE','<div\x20id=\x22map-hook\x22>','24XiLbIV','/imports/startup/client/templates','injectIntoFile','49005dGNdrO','1864OGsZJT','findProjectDirectory','9361DQIutV','17910niYWeY','</div>','constructor','search','toString','1207945UEdNdd','appName','pathFromApp','error','split','\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','esri-loader','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','158GdqhJD','fsi','3617301bqjBet','6191507POVMSb','REACT','basic-map','getMakaProjectConfig','template','bright','kit/esri/map/','ssr','.js','apply','3751488vnnfak','engines','14397pFXmPk','dir','map','true','exit','@esri/react-arcgis','baseDir','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','/imports/ui/hooks','page'];a106c=function(){return v;};return a106c();}(function(a,b){const p=a106d,c=a();while(!![]){try{const d=parseInt(p(0x112))/0x1*(-parseInt(p(0x103))/0x2)+-parseInt(p(0x105))/0x3+parseInt(p(0x110))/0x4+parseInt(p(0xfb))/0x5*(parseInt(p(0xef))/0x6)+parseInt(p(0x106))/0x7+-parseInt(p(0xf3))/0x8*(parseInt(p(0xf2))/0x9)+-parseInt(p(0xf6))/0xa*(-parseInt(p(0xf5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0xab27f));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a106d;if(c){const e=c[q(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const r=a106d;return a106a['toString']()[r(0xf9)](r(0xea))[r(0xfa)]()[r(0xf8)](a106a)['search']('(((.+)+)+)+$');});a106a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0xe7;let f=c[d];return f;},a106d(a,b);}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';Generator[a106s(0xec)]({'name':a106s(0x114),'aliases':['m'],'usage':a106s(0xe7),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a106s(0x107)],'ssr':SsrEngines[a106s(0xed)]},'description':a106s(0x100)},async function(a,b){const t=a106s;try{Log[t(0x10b)]('Generating\x20a\x20map\x20component');const c=t(0x108);await this[t(0x104)]['checkNpmPackage']([t(0x117),t(0x101)],{'shouldInstall':!![]});const d=this[t(0x104)][t(0xf4)](),f=this[t(0x104)][t(0x109)](),g=f[t(0x111)][t(0x10d)]===t(0x115),h=await a106f['processAndRunGenerator'](t(0xe9),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0xfc)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x118)]?'/imports/ui/'+b[t(0x118)]:t(0xe8),k=this[t(0x104)][t(0xfd)]({'pathParts':[j,b[t(0x113)],paramCase(c),paramCase(c)]});this[t(0x104)]['withValue'](f,async()=>{const u=t;this[u(0x104)][u(0x10a)]({'srcPath':u(0x10c)+c+u(0x10e),'destPath':k+u(0x10e),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x113)]+'/'+c+'/'+c;await this[t(0x104)]['injectTemplateModule'](c,f,l);const m=h[t(0xff)]('/'),n=this[t(0x104)][t(0xfd)]({'pathParts':m});await this[t(0x104)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0xf0),'isNamedExport':!![]}),await this[t(0x104)][t(0xf1)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x102),'begin':[t(0xee),t(0xeb)],'end':[t(0xf7)],'replace':!![]});}catch(o){Log[t(0xfe)](o),process[t(0x116)](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 a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0xd6;let f=c[d];return f;},a108d(a,b);}const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=parseInt(f(0xd6))/0x1+parseInt(f(0xdf))/0x2*(-parseInt(f(0xe3))/0x3)+parseInt(f(0xd7))/0x4+parseInt(f(0xdc))/0x5*(-parseInt(f(0xd8))/0x6)+parseInt(f(0xe8))/0x7+-parseInt(f(0xd9))/0x8+parseInt(f(0xe2))/0x9*(parseInt(f(0xde))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x6fd1a));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0xdd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a[h(0xe9)]()[h(0xe0)]('(((.+)+)+)+$')[h(0xe9)]()[h(0xdb)](a108a)[h(0xe0)](h(0xda));});function a108c(){const j=['123MVXtmi','create','maka\x20{generate,\x20g}:{kit}\x20<name>','maka\x20g:k','maka\x20g:kit','1719711yXMQsl','toString','595448qqZbWA','1824688lImYwl','756agezxz','6739216tLEwkT','(((.+)+)+)+$','constructor','24095HLatrE','apply','4616330GuFvvp','15266LtkAYF','search','kit','18lwTvCB'];a108c=function(){return j;};return a108c();}a108a();import{Generator}from'../../generator.js';const KitGen=Generator[a108i(0xe4)]({'name':a108i(0xe1),'aliases':['k'],'usage':a108i(0xe5),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a108i(0xe7),a108i(0xe6)]},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(0xaf))/0x1+parseInt(f(0xad))/0x2*(parseInt(f(0xb0))/0x3)+-parseInt(f(0xac))/0x4+-parseInt(f(0xa7))/0x5*(parseInt(f(0xaa))/0x6)+-parseInt(f(0xb2))/0x7+parseInt(f(0xa8))/0x8*(parseInt(f(0xb1))/0x9)+parseInt(f(0xae))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x20feb));var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a[h(0xab)]()[h(0xa6)]('(((.+)+)+)+$')[h(0xab)]()[h(0xa5)](a111a)[h(0xa6)](h(0xa9));});a111a();function a111c(){var i=['2647700LZfsES','204650ldWpOX','69fphFjb','2373381dkhgAI','1375521VSCtCn','apply','constructor','search','10445LSqnJd','8UvhLgT','(((.+)+)+)+$','78LSSYQC','toString','744484amzVko','19226gQGuZZ'];a111c=function(){return i;};return a111c();}import'./mui.generator.js';function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0xa4;var f=c[d];return f;},a111d(a,b);}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(0x8a))/0x1*(parseInt(x(0x9b))/0x2)+-parseInt(x(0x8e))/0x3*(-parseInt(x(0xb0))/0x4)+-parseInt(x(0x94))/0x5+parseInt(x(0xab))/0x6+-parseInt(x(0xb4))/0x7+parseInt(x(0xb5))/0x8+-parseInt(x(0xb8))/0x9*(-parseInt(x(0x8f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x22b1e));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a109d;if(c){const e=c[y(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const z=a109d;return a109a['toString']()['search'](z(0xb3))[z(0x79)]()[z(0xa6)](a109a)[z(0xb9)]('(((.+)+)+)+$');});a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a109e from'path';import a109f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a109c(){const D=['baseDir','/imports/startup/client/templates','create','1039014cjpxHC','checkbox','frame','{props.children}','{this.props.children}','220NKRzbf','ssr','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','(((.+)+)+)+$','708848EcwLBV','778096BKfBPd','app-tests','error','9GuCYjx','search','basic-app-bar','tsx','true','toString','getFiles','MATERIAL','-hook\x22>','{\x20props.children\x20}','-component\x22>','kit/mui/frame/drawers/','tests','injectTemplateModule','react','/imports/ui/hooks','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','options','findAppDirectory','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','layouts','maka\x20g:k:m:f','1uHeAfd','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','getDirectories','/imports/startup/lib/templates','2454BgFxJq','1850750bINhDr','engines','test','getMakaProjectConfig','basic-drawer','776005txADKN','.js','join','length','template','pathFromApp','withValue','203842rCXaEO','fsi','injectIntoFile','session','maka\x20generate:kit:mui:frame','apply','dir','<div\x20id=\x22','imports','injectImport','REACT','constructor','{\x20this.props.children\x20}'];a109c=function(){return D;};return a109c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x76;let f=c[d];return f;},a109d(a,b);}Generator[a109A(0xaa)]({'name':a109A(0xad),'aliases':['f'],'usage':a109A(0xb2),'shortDesc':a109A(0x8b),'validOpts':[a109A(0x88)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a109A(0x7b)],'client':ClientEngines[a109A(0xa5)]},'examples':[a109A(0x9f),a109A(0x89)],'description':a109A(0x87)},async function(a,b){const B=a109A;try{const c=B(0x76),d=B(0x93),f=this[B(0x9c)][B(0x92)](),g=f[B(0x90)][B(0xb1)]===B(0x78);await this[B(0x9c)]['checkMeteorPackage'](B(0x9e),{'shouldInstall':!![]});const h=this[B(0x9c)][B(0x86)](),i=a109e[B(0x96)](h,B(0xa3),'ui',B(0x88)),j=this[B(0x9c)][B(0x8c)](i),k=await Actions[B(0x85)]({'type':B(0xac),'name':B(0x88),'message':B(0x84),'choices':j});if(k['layouts'][B(0x97)]===0x0){Log[B(0xb7)]('No\x20layouts\x20selected');return;}const l=b[B(0xa8)]?'/imports/ui/'+b[B(0xa8)]:B(0x83),m=this[B(0x9c)][B(0x99)]({'pathParts':[l,b[B(0xa1)],paramCase(c),paramCase(c)]}),n=this[B(0x9c)][B(0x99)]({'pathParts':[l,b[B(0xa1)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f['appName'])['replaceAll']('-','\x20')};await this['fsi'][B(0x9a)](f,async()=>{const C=B;await this[C(0x9c)]['template']({'srcPath':'kit/mui/frame/app-bars/'+c+C(0x95),'destPath':m+C(0x95),'framework':C(0x82),'context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x9c)][C(0x98)]({'srcPath':C(0x7f)+d+C(0x95),'destPath':n+C(0x95),'framework':C(0x82),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0xa1)]+'/'+c+'/'+c;await this[B(0x9c)]['injectTemplateModule'](c,f,p);const q=''+l+b[B(0xa1)]+'/'+d+'/'+d;await this['fsi'][B(0x81)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x9c)][B(0x7a)](a109e[B(0x96)](i,s),{'extensions':['jsx',B(0x77)],'omit':[B(0xb6),B(0x80),B(0x91)]});for(const u of t){const v=a109e[B(0x96)](i,s,u);await this['fsi'][B(0xa4)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x8d):B(0xa9),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':v,'content':'<'+pascalCase(c)+'\x20/>\x0a','begin':[B(0xa2)+s+B(0x7e),B(0xa2)+s+B(0x7c)],'end':[B(0xaf),B(0xa7),B(0xae),B(0x7d)]}),await this[B(0x9c)]['injectImport']({'filePath':v,'importName':pascalCase(d),'modulePath':g?'/imports/startup/lib/templates':B(0xa9),'isNamedExport':!![]}),await this[B(0x9c)][B(0x9d)]({'filePath':v,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[B(0xa2)+s+B(0x7e),B(0xa2)+s+'-hook\x22>'],'end':[B(0xaf),B(0xa7),B(0xae),'{\x20props.children\x20}']});}}}catch(w){Log[B(0xb7)](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
- function a110c(){const k=['25vBxLDi','maka\x20g:kit:m','7573563upAWop','327960NJsCbf','63384QMxhor','Material-UI\x20Kit','2293080FqPEoa','constructor','toString','NIE','create','search','30HVOoAE','mui','(((.+)+)+)+$','2167120KUbKuu','3522930ksZrBP','apply','903wXXvDW','29566pXtxXj'];a110c=function(){return k;};return a110c();}const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0x1eb))/0x1*(parseInt(f(0x1ea))/0x2)+-parseInt(f(0x1ee))/0x3+parseInt(f(0x1f1))/0x4+-parseInt(f(0x1e6))/0x5+-parseInt(f(0x1e7))/0x6+parseInt(f(0x1e9))/0x7*(-parseInt(f(0x1ef))/0x8)+-parseInt(f(0x1ed))/0x9*(-parseInt(f(0x1f7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x8cafa));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a[h(0x1f3)]()[h(0x1f6)](h(0x1f9))[h(0x1f3)]()[h(0x1f2)](a110a)['search'](h(0x1f9));});a110a();import{Generator}from'../../../generator.js';import a110e from'../kit.js';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a110d(a,b);}const MuiGen=Generator[a110i(0x1f5)]({'name':a110i(0x1f8),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a110i(0x1f0),'validOpts':[''],'isPro':!![],'examples':[a110i(0x1ec)]},async function(){const j=a110i;throw j(0x1f4);},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
- function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a113d(a,b);}const a113n=a113d;function a113c(){const q=['setTemplate','warn','layout','maka\x20g:layout\x20mobile/iPhone8','ssr','2295712prsuAK','graphql','template','35NHWrEw','test','pathFromApp','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','fileName','none','21dzOyBS','/imports/ui/layouts','template/template.css','4414112lrilzA','.css','constructor','features','.app-tests.js','ramda','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','css','checkNpmPackage','className','assign','injectTemplateModule','string','toString','903990pYyqUX','15377697LyyHJZ','react','fsi','194235oiSiMO','installNpmPackage','search','139030GZLZgG','dir','getMakaProjectConfig','theme','Scaffolding\x20for\x20a\x20React\x20Layout.','withValue','findAppDirectory','test/test.js','(((.+)+)+)+$','client','true','import\x20\x27./','resourceName','component/component.js','withTranslations','withHooks','pathFromProject','engines','1021278gPRxYe'];a113c=function(){return q;};return a113c();}(function(a,b){const l=a113d,c=a();while(!![]){try{const d=parseInt(l(0x1df))/0x1+-parseInt(l(0x1e2))/0x2*(parseInt(l(0x1ca))/0x3)+-parseInt(l(0x1cd))/0x4+-parseInt(l(0x1db))/0x5+-parseInt(l(0x1bb))/0x6*(-parseInt(l(0x1c4))/0x7)+-parseInt(l(0x1c1))/0x8+parseInt(l(0x1dc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xa9ee6));const a113b=(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;};}()),a113a=a113b(this,function(){const m=a113d;return a113a[m(0x1da)]()[m(0x1e1)](m(0x1b1))[m(0x1da)]()[m(0x1cf)](a113a)[m(0x1e1)](m(0x1b1));});a113a();import a113e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a113n(0x1be),'aliases':aliases,'usage':a113n(0x1d3),'shortDesc':a113n(0x1e6),'validOpts':[],'examples':[a113n(0x1bf),'maka\x20g:l\x20web/safari']},async function(a,b){const o=a113n,c=o(0x1cb),d=this['fsi'][o(0x1e8)](),e=this[o(0x1de)][o(0x1c6)]({'pathParts':[c,b[o(0x1e3)],paramCase(b[o(0x1b5)]),paramCase(b['resourceName'])]}),f=this[o(0x1de)][o(0x1e4)]();await this[o(0x1de)][o(0x1e7)](f,async()=>{const p=o;typeof f[p(0x1c3)][p(0x1c5)]===p(0x1d9)&&(f[p(0x1c3)][p(0x1c5)]=f['template'][p(0x1c5)]===p(0x1b3)?!![]:![],this[p(0x1de)]['setTemplate'](p(0x1c5),f[p(0x1c3)][p(0x1c5)]));typeof f[p(0x1c3)]['css']===p(0x1d9)&&(f[p(0x1c3)]['css']=f[p(0x1c3)][p(0x1d4)]==='true'?!![]:![],this['fsi'][p(0x1bc)](p(0x1d4),f['template'][p(0x1d4)]));typeof f[p(0x1c3)]['js']===p(0x1d9)&&(f[p(0x1c3)]['js']=f[p(0x1c3)]['js']==='true'?!![]:![],this[p(0x1de)]['setTemplate']('js',f[p(0x1c3)]['js']));!f['features']&&(f[p(0x1d0)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[p(0x1d5)](p(0x1d2))&&(Log[p(0x1bd)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[p(0x1de)][p(0x1e0)](p(0x1d2),{'cwd':d}));if(h&&!this[p(0x1d5)]('react')){Log[p(0x1bd)](p(0x1c7));return;}const i={'name':pascalCase(b[p(0x1b5)]),'myPath':a113e['relative'](this['fsi'][p(0x1b9)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x1b5)]),'camelCaseName':camelCase(b[p(0x1b5)]),'fileName':paramCase(b[p(0x1b5)]),'graphql':f['engines'][p(0x1c2)],'features':f['features'],'client':f[p(0x1ba)][p(0x1b2)],'api':f[p(0x1ba)]['api'],'ssr':f[p(0x1ba)][p(0x1c0)],'test':f['engines'][p(0x1c5)],'theme':f['engines'][p(0x1e5)],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][p(0x1b7)]};f['features']?.[p(0x1b8)]||b['withHook']?await this[p(0x1de)]['template']({'srcPath':'hook/hook.js','destPath':e+'.js','framework':'react','context':i,'config':f}):await this[p(0x1de)][p(0x1c3)]({'srcPath':p(0x1b6),'destPath':e+'.js','framework':p(0x1dd),'context':i,'config':f});f['engines'][p(0x1c5)]!==p(0x1c9)&&await this[p(0x1de)]['template']({'srcPath':p(0x1e9),'destPath':e+p(0x1d1),'framework':'react','context':i,'config':f});f['template'][p(0x1d4)]&&(await this[p(0x1de)]['template']({'srcPath':p(0x1cc),'destPath':e+p(0x1ce),'context':Object[p(0x1d7)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[p(0x1ba)]['js'],'content':p(0x1b4)+i[p(0x1c8)]+'.'+f[p(0x1ba)][p(0x1d4)]+'\x27;'}));const j=b['dir']?'/'+b['dir']+'/':'/',k=''+c+j+i[p(0x1c8)]+'/'+i[p(0x1c8)];await this[p(0x1de)][p(0x1d8)](i[p(0x1d6)],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(0xe6))/0x1+parseInt(f(0xdc))/0x2*(parseInt(f(0xec))/0x3)+-parseInt(f(0xed))/0x4*(-parseInt(f(0xeb))/0x5)+-parseInt(f(0xee))/0x6*(-parseInt(f(0xd7))/0x7)+parseInt(f(0xe0))/0x8*(-parseInt(f(0xdd))/0x9)+parseInt(f(0xdb))/0xa*(parseInt(f(0xdf))/0xb)+-parseInt(f(0xe8))/0xc*(parseInt(f(0xda))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x87ce5));function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0xd7;let f=c[d];return f;},a114d(a,b);}const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a114d;if(c){const e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const h=a114d;return a114a[h(0xe1)]()[h(0xe7)](h(0xde))[h(0xe1)]()[h(0xe4)](a114a)[h(0xe7)](h(0xde));});a114a();import{Generator}from'../generator.js';function a114c(){const j=['maka\x20g:template\x20todos/todo_item','maka\x20{generate,\x20g}:<generator>\x20<name>','301652KoDCtW','330eSLwmX','440oNLcSV','1435023IjVpAf','(((.+)+)+)+$','142868BaVQSb','32Nwmcnk','toString','maka\x20generate:scaffold\x20todos','maka\x20g:package\x20package:name','constructor','maka\x20g:dbc\x20geoserver\x20--type=pgsql','517578agTyHK','search','60DsanHI','maka\x20g:route\x20todos/edit','apply','410AeSReo','2007dHpTmo','53860WEhnDZ','3678IBFvnl','Scaffold\x20various\x20parts\x20of\x20your\x20application','1687GgjFJl'];a114c=function(){return j;};return a114c();}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a114i(0xd9),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a114i(0xef),'examples':[a114i(0xe2),'maka\x20g:scaffold\x20todos',a114i(0xd8),a114i(0xe3),a114i(0xe9),'maka\x20g:api\x20trucks',a114i(0xe5)]},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(0xb8))/0x1+parseInt(j(0xb6))/0x2*(parseInt(j(0xa8))/0x3)+parseInt(j(0xa4))/0x4*(parseInt(j(0xb2))/0x5)+-parseInt(j(0xa9))/0x6+parseInt(j(0xab))/0x7+parseInt(j(0xb3))/0x8+-parseInt(j(0xaf))/0x9*(parseInt(j(0xae))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xdf2ba));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']()[k(0xa7)]('(((.+)+)+)+$')[k(0xa3)]()[k(0xa2)](a115a)[k(0xa7)](k(0xbc));});a115a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x9a;let f=c[d];return f;},a115d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';function a115c(){const o=['5wWrJHX','13502600avACRQ','maka\x20g:method\x20todos','injectAtEndOfFile','54438jWSWOR','method','770966lnbVHW','methods','dir','appPathPrefix','(((.+)+)+)+$','error','withValue','import\x20\x27./methods','fsi','resourceName','mdg:validated-method','checkMeteorPackage','ddp-rate-limiter','engines','startup','index.','constructor','toString','7259016lDkmjM','imports','-rpc-method.','search','75qwMfLT','10204200tmcioe','pathFromApp','3034927tRxGZv','maka:check','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','5545550udVFbm','45qLSomG','method/method.js','create'];a115c=function(){return o;};return a115c();}Generator[a115l(0xb1)]({'name':a115l(0xb7),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a115l(0xad),'validOpts':[a115l(0xba)],'examples':[a115l(0xb4)]},async function(a,b){const m=a115l;try{const c=this[m(0x9a)]['getMakaProjectConfig']();await this[m(0x9a)][m(0xbe)](c,async()=>{const n=m,d=paramCase(b[n(0x9b)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[n(0x9b)]),'camelCase':camelCase(b[n(0x9b)]),'noRename':!![]};let g='js';c[n(0x9f)]['js']==='tsx'&&(g='ts');await this[n(0x9a)][n(0x9d)]([n(0xac),n(0x9e),n(0x9c)],{'shouldInstall':!![]}),await this[n(0x9a)]['template']({'srcPath':n(0xb0),'destPath':this['fsi'][n(0xaa)]({'pathParts':[n(0xa5),n(0xa0),b['appPathPrefix'],n(0xb9),b[n(0xba)],d+n(0xa6)+g]}),'context':f,'config':c});const h=b[n(0xba)]?'/'+b[n(0xba)]+'/':'/',i=this[n(0x9a)][n(0xaa)]({'pathParts':['imports',n(0xa0),b[n(0xbb)],n(0xa1)+c[n(0x9f)]['js']]});await this[n(0x9a)][n(0xb5)]({'filePath':i,'content':n(0xbf)+h+d+'-rpc-method\x27;'});});}catch(d){Log[m(0xbd)](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 a116n=a116d;function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x10b;let f=c[d];return f;},a116d(a,b);}(function(a,b){const l=a116d,c=a();while(!![]){try{const d=parseInt(l(0x133))/0x1+-parseInt(l(0x124))/0x2+parseInt(l(0x11d))/0x3*(parseInt(l(0x114))/0x4)+parseInt(l(0x12c))/0x5*(-parseInt(l(0x111))/0x6)+parseInt(l(0x115))/0x7*(parseInt(l(0x12b))/0x8)+parseInt(l(0x123))/0x9+parseInt(l(0x125))/0xa*(-parseInt(l(0x121))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xdbbe6));const a116b=(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;};}()),a116a=a116b(this,function(){const m=a116d;return a116a['toString']()[m(0x128)](m(0x10e))[m(0x131)]()[m(0x119)](a116a)[m(0x128)](m(0x10e));});function a116c(){const q=['package','layout','engines','24669018RBkTHJ','resourceName','14932503QrSlAu','1711202CepqlK','10ateOja','package.js','hasOwnProperty','search','server','/client/','8941768URTuwG','155VTjdny','noRename','pathFromApp','.js','features','toString','store','963480gJjqnd','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','relative','packages','(((.+)+)+)+$','maka\x20g:package\x20todos:package','theme','139752FRower','dir','pathFromAppWithNoReWrite','28YXZFMT','7VZyiGS','fsi','graphql','getMakaProjectConfig','constructor','template','/package.js','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','419997aMEyQk'];a116c=function(){return q;};return a116c();}a116a();import a116e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a116n(0x11e),'aliases':['p'],'usage':a116n(0x11c),'shortDesc':a116n(0x10b),'validOpts':[a116n(0x112)],'examples':[a116n(0x10f)]},async function(a,b){const o=a116n,c=paramCase(b['resourceName']),d=this[o(0x116)][o(0x12e)]({'pathParts':[o(0x10d),b[o(0x112)],c]}),e=this['fsi'][o(0x113)]({'pathParts':['packages',b['dir'],c,o(0x126)]}),f=this[o(0x116)][o(0x118)]();await this['fsi']['withValue'](f,async()=>{const p=o,g={'name':paramCase(b[p(0x122)]),'myPath':a116e[p(0x10c)](this['fsi']['pathFromProject']({}),d),'cssCaseName':paramCase(b[p(0x122)]),'className':pascalCase(b[p(0x122)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[p(0x120)]['client'],'graphql':f['engines'][p(0x117)],'ssr':f[p(0x120)]['ssr'],'isComponent':b['hasOwnProperty']('component'),'isLayout':b[p(0x127)](p(0x11f)),'isStore':b[p(0x127)](p(0x132)),'features':f[p(0x130)],'noRename':!![],'theme':f[p(0x120)][p(0x110)]};await this[p(0x116)]['template']({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[p(0x12d)]=![];const h=d+p(0x12a)+c+p(0x12f);await this[p(0x116)][p(0x11a)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=['lib',p(0x129),'tests/client','tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+p(0x12f);await this[p(0x116)][p(0x11a)]({'srcPath':'package/'+j+p(0x11b),'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(0x1d4))/0x1+parseInt(j(0x1ba))/0x2+parseInt(j(0x1db))/0x3*(parseInt(j(0x1cc))/0x4)+-parseInt(j(0x1ac))/0x5*(-parseInt(j(0x1c7))/0x6)+-parseInt(j(0x1a3))/0x7+-parseInt(j(0x1ae))/0x8*(-parseInt(j(0x1cb))/0x9)+parseInt(j(0x1a0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xb0a4d));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(0x1b4)]()[k(0x1b8)]('(((.+)+)+)+$')[k(0x1b4)]()['constructor'](a117a)[k(0x1b8)](k(0x1a8));});function a117c(){const o=['withHooks','search','injectAtBeginningOfFile','1100928dcviHa','react','engines','/imports/ui/','string','root','features','theme','components','true','hooks','Updating\x20npm\x20packages\x20...','page','9624lkcbWm','test','\x27;\x0a','dir','882aESfWY','227284jHXOXu','template/template.css','client','graphql','hook/hook.js','import\x20\x27./','/imports/ui/pages','template/template.html','1216728CyzDOk','injectTemplateModule','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','.css','baseDir','.js','pathFromProject','3wgRmWm','pages','getMakaProjectConfig','checkNpmPackage','component/component.js','fileName','relative','vanilla','className','none','store','css','10627340FbDary','.html','template','8655080JGNAat','withTranslations','ssr','setTemplate','api','(((.+)+)+)+$','create','pathFromApp','html','2495tDHcIu','Generate\x20a\x20page.','57656atHUra','installNpmPackage','route','ramda','hasOwnProperty','fsi','toString','processAndRunGenerator','resourceName'];a117c=function(){return o;};return a117c();}a117a();import a117e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a117f from'../generators/maka.gen.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x19f;let f=c[d];return f;},a117d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a117l(0x1a9)]({'name':a117l(0x1c6),'aliases':aliases,'usage':a117l(0x1d6),'shortDesc':a117l(0x1ad),'validOpts':[{'name':'baseDir','values':[a117l(0x1c4),a117l(0x1c2),a117l(0x1dc),'layouts']},{'name':'withHook','boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const m=a117l,c=b[m(0x1d8)]?m(0x1bd)+b[m(0x1d8)]:m(0x1d2),d=this[m(0x1b3)][m(0x1aa)](b),e=this['fsi'][m(0x1aa)]({'pathParts':[c,b['dir'],paramCase(b[m(0x1b6)]),paramCase(b[m(0x1b6)])]}),f=this[m(0x1b3)][m(0x1dd)]();let g='';return await this[m(0x1b3)]['withValue'](f,async()=>{const n=m;typeof f['template'][n(0x1ab)]===n(0x1be)&&(f[n(0x1a2)][n(0x1ab)]=f[n(0x1a2)][n(0x1ab)]===n(0x1c3)?!![]:![],this[n(0x1b3)][n(0x1a6)](n(0x1ab),f[n(0x1a2)][n(0x1ab)]));typeof f[n(0x1a2)][n(0x1c8)]===n(0x1be)&&(f['template']['test']=f[n(0x1a2)]['test']==='true'?!![]:![],this[n(0x1b3)]['setTemplate']('test',f[n(0x1a2)][n(0x1c8)]));typeof f[n(0x1a2)][n(0x19f)]===n(0x1be)&&(f[n(0x1a2)][n(0x19f)]=f['template'][n(0x19f)]===n(0x1c3)?!![]:![],this[n(0x1b3)][n(0x1a6)](n(0x19f),f[n(0x1a2)][n(0x19f)]));typeof f[n(0x1a2)]['js']===n(0x1be)&&(f['template']['js']=f[n(0x1a2)]['js']==='true'?!![]:![],this[n(0x1b3)]['setTemplate']('js',f[n(0x1a2)]['js']));!f[n(0x1c0)]&&(f['features']={});!b[n(0x1bf)]&&!this[n(0x1b3)][n(0x1de)](n(0x1b1))&&(Log['warn'](n(0x1c5)),this[n(0x1b3)][n(0x1af)]('ramda',{'cwd':d}));const h={'name':pascalCase(b[n(0x1b6)]),'myPath':a117e[n(0x1e1)](this['fsi'][n(0x1da)]({}),e),'cssCaseName':paramCase(b[n(0x1b6)]),'className':pascalCase(b[n(0x1b6)]),'camelCaseName':camelCase(b[n(0x1b6)]),'fileName':paramCase(b[n(0x1b6)]),'graphql':f['engines'][n(0x1cf)],'features':f['features'],'client':f[n(0x1bc)][n(0x1ce)],'api':f['engines'][n(0x1a7)],'ssr':f[n(0x1bc)][n(0x1a5)],'isStore':b[n(0x1b2)](n(0x1e5)),'isComponent':b['hasOwnProperty']('component'),'isLayout':b[n(0x1b2)]('layout'),'withTranslations':f[n(0x1c0)][n(0x1a4)],'test':f[n(0x1bc)][n(0x1c8)],'theme':f['engines'][n(0x1c1)]};f[n(0x1a2)][n(0x1ab)]&&await this[n(0x1b3)][n(0x1a2)]({'srcPath':n(0x1d3),'destPath':e+n(0x1a1),'context':h,'config':f});f['features']?.[n(0x1b7)]||b['withHook']?await this[n(0x1b3)]['template']({'srcPath':n(0x1d0),'destPath':e+'.js','framework':'react','context':h,'config':f}):await this['fsi'][n(0x1a2)]({'srcPath':n(0x1df),'destPath':e+n(0x1d9),'framework':n(0x1bb),'context':h,'config':f});f[n(0x1bc)][n(0x1c8)]!==n(0x1e4)&&await this[n(0x1b3)][n(0x1a2)]({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':n(0x1bb),'context':h,'config':f});f[n(0x1a2)][n(0x19f)]&&await this[n(0x1b3)][n(0x1a2)]({'srcPath':n(0x1cd),'destPath':e+n(0x1d7),'context':Object['assign']({},h,{'className':paramCase(b['resourceName'])}),'config':f});f[n(0x1bc)]['client']!=='react'&&f[n(0x1bc)][n(0x1ce)]!==n(0x1e2)?(f[n(0x1a2)][n(0x19f)]&&await this[n(0x1b3)][n(0x1b9)]({'filePath':e+'.'+f[n(0x1bc)]['js'],'content':n(0x1d1)+h[n(0x1e0)]+'.'+f[n(0x1bc)][n(0x1ab)]+n(0x1c9)+n(0x1d1)+h[n(0x1e0)]+'.'+f[n(0x1bc)][n(0x19f)]+'\x27;'}),!f[n(0x1a2)][n(0x19f)]&&await this[n(0x1b3)][n(0x1b9)]({'filePath':e+'.'+f[n(0x1bc)]['js'],'content':'import\x20\x27./'+h[n(0x1e0)]+'.'+f[n(0x1bc)][n(0x1ab)]+'\x27;'})):f['template'][n(0x19f)]&&await this[n(0x1b3)][n(0x1b9)]({'filePath':e+'.'+f[n(0x1bc)]['js'],'content':n(0x1d1)+h[n(0x1e0)]+'.'+f[n(0x1bc)][n(0x19f)]+'\x27;'});const i=b[n(0x1ca)]?'/'+b[n(0x1ca)]+'/':'/';g=''+c+i+h[n(0x1e0)]+'/'+h['fileName'],await this['fsi'][n(0x1d5)](h[n(0x1e3)],f,g),!b[n(0x1bf)]&&await a117f[n(0x1b5)](n(0x1b0),[i+h[n(0x1e3)]],b);}),g+'.'+f[m(0x1bc)]['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
- const a118j=a118d;(function(a,b){const h=a118d,c=a();while(!![]){try{const d=parseInt(h(0xa3))/0x1*(-parseInt(h(0xaf))/0x2)+-parseInt(h(0xae))/0x3*(parseInt(h(0xa9))/0x4)+-parseInt(h(0xaa))/0x5+parseInt(h(0x9a))/0x6+parseInt(h(0xa2))/0x7+parseInt(h(0x9e))/0x8+parseInt(h(0xab))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x556da));const a118b=(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;};}()),a118a=a118b(this,function(){const i=a118d;return a118a['toString']()['search'](i(0xa7))[i(0xac)]()[i(0xb3)](a118a)[i(0xb4)]('(((.+)+)+)+$');});a118a();function a118c(){const m=['118815zcSROJ','1226WEqyxO','publish/publish.','server/publish.','maka\x20g:publish\x20todos','constructor','search','3113196jfrXlq','engines','rewriteDestinationPathForEngine','getMakaProjectConfig','1051808kUGRZR','templateContent','withValue','fsi','2357264Qmzzva','173XYxFEk','resourceName','create','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','(((.+)+)+)+$','tsx','16dCMzxG','2810450RtYUte','1704411CCWMnh','toString','publish'];a118c=function(){return m;};return a118c();}function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x9a;let f=c[d];return f;},a118d(a,b);}import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a118j(0xa5)]({'name':a118j(0xad),'aliases':['p'],'usage':a118j(0xa6),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[],'examples':[a118j(0xb2)]},async function(a,b){const k=a118j,c=this['fsi'][k(0x9d)]();await this['fsi'][k(0xa0)](c,async()=>{const l=k,d={'name':b[l(0xa4)],'collection':paramCase(b[l(0xa4)]),'noRename':!![]};let e='js';c['engines']['js']===l(0xa8)&&(e='ts');const f=this[l(0xa1)][l(0x9c)]({'pathParts':[l(0xb1)+c[l(0x9b)]['js']]}),g=this[l(0xa1)][l(0x9f)]({'srcPath':l(0xb0)+e,'context':d,'config':c});await this['fsi']['injectAtEndOfFile']({'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});});});