@adaas/a-concept 0.0.33 → 0.0.35

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 (368) hide show
  1. package/README.md +156 -8
  2. package/dist/index.d.ts +3 -1
  3. package/dist/index.js +6 -3
  4. package/dist/index.js.map +1 -1
  5. package/dist/src/base/A-Config/A-Config.container.d.ts +5 -2
  6. package/dist/src/base/A-Config/A-Config.container.js +7 -2
  7. package/dist/src/base/A-Config/A-Config.container.js.map +1 -1
  8. package/dist/src/base/A-Config/components/ConfigReader.component.js +1 -1
  9. package/dist/src/base/A-Config/components/ConfigReader.component.js.map +1 -1
  10. package/dist/src/base/A-Config/components/FileConfigReader.component.js.map +1 -1
  11. package/dist/src/base/A-Errors/A-Errors.context.js.map +1 -1
  12. package/dist/src/base/A-Logger/A-Logger.component.js.map +1 -1
  13. package/dist/src/decorators/A-Abstraction/{A-Abstraction.decorator.d.ts → A-Abstraction-Extend.decorator.d.ts} +1 -1
  14. package/dist/src/decorators/A-Abstraction/{A-Abstraction.decorator.js → A-Abstraction-Extend.decorator.js} +6 -6
  15. package/dist/src/decorators/A-Abstraction/A-Abstraction-Extend.decorator.js.map +1 -0
  16. package/dist/src/decorators/A-Abstraction/A-Abstraction.decorator.types.d.ts +1 -1
  17. package/dist/src/decorators/A-Connect/A-Connect.decorator.js.map +1 -1
  18. package/dist/src/decorators/A-Entity/A-Entity.decorator.types.d.ts +1 -1
  19. package/dist/src/decorators/A-Feature/A-Feature-Define.decorator.d.ts +3 -3
  20. package/dist/src/decorators/A-Feature/A-Feature-Define.decorator.js +20 -4
  21. package/dist/src/decorators/A-Feature/A-Feature-Define.decorator.js.map +1 -1
  22. package/dist/src/decorators/A-Feature/A-Feature.decorator.types.d.ts +3 -2
  23. package/dist/src/decorators/A-Inject/A-Inject.decorator.d.ts +1 -1
  24. package/dist/src/decorators/A-Inject/A-Inject.decorator.js +23 -2
  25. package/dist/src/decorators/A-Inject/A-Inject.decorator.js.map +1 -1
  26. package/dist/src/decorators/A-Inject/A-Inject.decorator.types.d.ts +3 -3
  27. package/dist/src/global/A-Abstraction/A-Abstraction.class.d.ts +40 -0
  28. package/dist/src/global/A-Abstraction/A-Abstraction.class.js +113 -0
  29. package/dist/src/global/A-Abstraction/A-Abstraction.class.js.map +1 -0
  30. package/dist/src/global/A-Abstraction/A-Abstraction.types.d.ts +13 -0
  31. package/dist/src/global/A-Abstraction/A-Abstraction.types.js +11 -0
  32. package/dist/src/global/A-Abstraction/A-Abstraction.types.js.map +1 -0
  33. package/dist/src/global/A-Channel/A-Channel.class.js +0 -1
  34. package/dist/src/global/A-Channel/A-Channel.class.js.map +1 -1
  35. package/dist/src/global/A-Channel/A-Channel.types.d.ts +2 -1
  36. package/dist/src/global/A-Component/A-Component.class.d.ts +5 -30
  37. package/dist/src/global/A-Component/A-Component.class.js +6 -10
  38. package/dist/src/global/A-Component/A-Component.class.js.map +1 -1
  39. package/dist/src/global/A-Component/A-Component.meta.d.ts +9 -2
  40. package/dist/src/global/A-Component/A-Component.meta.js +10 -1
  41. package/dist/src/global/A-Component/A-Component.meta.js.map +1 -1
  42. package/dist/src/global/A-Concept/A_Concept.class.d.ts +16 -17
  43. package/dist/src/global/A-Concept/A_Concept.class.js +31 -65
  44. package/dist/src/global/A-Concept/A_Concept.class.js.map +1 -1
  45. package/dist/src/global/A-Concept/A_Concept.meta.d.ts +10 -0
  46. package/dist/src/global/A-Concept/A_Concept.meta.js +20 -0
  47. package/dist/src/global/A-Concept/A_Concept.meta.js.map +1 -1
  48. package/dist/src/global/A-Concept/A_Concept.types.d.ts +2 -2
  49. package/dist/src/global/A-Container/A-Container.class.d.ts +7 -50
  50. package/dist/src/global/A-Container/A-Container.class.js +9 -19
  51. package/dist/src/global/A-Container/A-Container.class.js.map +1 -1
  52. package/dist/src/global/A-Container/A-Container.meta.d.ts +15 -0
  53. package/dist/src/global/A-Container/A-Container.meta.js +20 -0
  54. package/dist/src/global/A-Container/A-Container.meta.js.map +1 -1
  55. package/dist/src/global/A-Context/A-Context.class.d.ts +20 -20
  56. package/dist/src/global/A-Context/A-Context.class.js +57 -15
  57. package/dist/src/global/A-Context/A-Context.class.js.map +1 -1
  58. package/dist/src/global/A-Entity/A-Entity.class.d.ts +10 -18
  59. package/dist/src/global/A-Entity/A-Entity.class.js +21 -31
  60. package/dist/src/global/A-Entity/A-Entity.class.js.map +1 -1
  61. package/dist/src/global/A-Entity/A-Entity.meta.js.map +1 -1
  62. package/dist/src/global/A-Entity/A-Entity.types.d.ts +3 -2
  63. package/dist/src/global/A-Entity/A-Entity.types.js +1 -0
  64. package/dist/src/global/A-Entity/A-Entity.types.js.map +1 -1
  65. package/dist/src/global/A-Feature/A-Feature.class.d.ts +2 -1
  66. package/dist/src/global/A-Feature/A-Feature.class.js +14 -4
  67. package/dist/src/global/A-Feature/A-Feature.class.js.map +1 -1
  68. package/dist/src/global/A-Feature/A-Feature.types.d.ts +9 -0
  69. package/dist/src/global/A-Feature/A-Feature.types.js.map +1 -1
  70. package/dist/src/global/A-Fragment/A-Fragment.class.d.ts +1 -3
  71. package/dist/src/global/A-Meta/A-Meta.class.d.ts +1 -0
  72. package/dist/src/global/A-Meta/A-Meta.class.js +3 -6
  73. package/dist/src/global/A-Meta/A-Meta.class.js.map +1 -1
  74. package/dist/src/global/A-Scope/A-Scope.class.d.ts +4 -2
  75. package/dist/src/global/A-Scope/A-Scope.class.js +23 -16
  76. package/dist/src/global/A-Scope/A-Scope.class.js.map +1 -1
  77. package/dist/src/global/A-Scope/A-Scope.types.d.ts +0 -8
  78. package/dist/src/global/A-Stage/A-Stage.class.d.ts +3 -3
  79. package/dist/src/global/A-Stage/A-Stage.class.js +11 -10
  80. package/dist/src/global/A-Stage/A-Stage.class.js.map +1 -1
  81. package/dist/src/global/A-Stage/A-Stage.types.d.ts +1 -1
  82. package/dist/src/global/A-Stage/A-Stage.types.js.map +1 -1
  83. package/dist/src/helpers/StepsManager.class.d.ts +1 -0
  84. package/dist/src/helpers/StepsManager.class.js +10 -7
  85. package/dist/src/helpers/StepsManager.class.js.map +1 -1
  86. package/docs/a-concept-logo.png +0 -0
  87. package/docs/a-logo-docs.png +0 -0
  88. package/examples/fe-be/channels/Test.channel.ts +6 -3
  89. package/examples/multi-container/containers/Schedule.container.ts +1 -6
  90. package/examples/simple/components/A.component.ts +7 -0
  91. package/examples/simple/components/B.component.ts +9 -0
  92. package/examples/simple/concept.ts +38 -60
  93. package/examples/simple/containers/Main.container.ts +24 -11
  94. package/examples/simple/entities/EntityA.entity.ts +3 -5
  95. package/examples/simple-http-server/components/http-request-handler.component.ts +6 -4
  96. package/examples/simple-http-server/concept.ts +24 -21
  97. package/examples/simple-http-server/containers/http-server.container.ts +4 -3
  98. package/index.ts +4 -1
  99. package/package.json +6 -2
  100. package/src/base/A-Config/A-Config.container.ts +12 -4
  101. package/src/base/A-Config/components/ConfigReader.component.ts +4 -5
  102. package/src/base/A-Config/components/FileConfigReader.component.ts +0 -2
  103. package/src/base/A-Errors/A-Error.entity.ts +1 -1
  104. package/src/base/A-Errors/A-Errors.context.ts +2 -1
  105. package/src/base/A-Logger/A-Logger.component.ts +0 -1
  106. package/src/decorators/A-Abstraction/{A-Abstraction.decorator.ts → A-Abstraction-Extend.decorator.ts} +5 -6
  107. package/src/decorators/A-Abstraction/A-Abstraction.decorator.types.ts +1 -1
  108. package/src/decorators/A-Connect/A-Connect.decorator.ts +1 -1
  109. package/src/decorators/A-Entity/A-Entity.decorator.types.ts +1 -1
  110. package/src/decorators/A-Feature/A-Feature-Define.decorator.ts +37 -10
  111. package/src/decorators/A-Feature/A-Feature.decorator.types.ts +12 -12
  112. package/src/decorators/A-Inject/A-Inject.decorator.ts +31 -4
  113. package/src/decorators/A-Inject/A-Inject.decorator.types.ts +4 -3
  114. package/src/global/A-Abstraction/A-Abstraction.class.ts +130 -0
  115. package/src/global/A-Abstraction/A-Abstraction.types.ts +22 -0
  116. package/src/global/A-Channel/A-Channel.class.ts +0 -2
  117. package/src/global/A-Channel/A-Channel.types.ts +2 -1
  118. package/src/global/A-Component/A-Component.class.ts +12 -52
  119. package/src/global/A-Component/A-Component.meta.ts +19 -2
  120. package/src/global/A-Concept/A_Concept.class.ts +45 -126
  121. package/src/global/A-Concept/A_Concept.meta.ts +68 -0
  122. package/src/global/A-Concept/A_Concept.types.ts +2 -2
  123. package/src/global/A-Container/A-Container.class.ts +11 -90
  124. package/src/global/A-Container/A-Container.meta.ts +33 -0
  125. package/src/global/A-Context/A-Context.class.ts +134 -56
  126. package/src/global/A-Entity/A-Entity.class.ts +22 -69
  127. package/src/global/A-Entity/A-Entity.meta.ts +3 -2
  128. package/src/global/A-Entity/A-Entity.types.ts +2 -1
  129. package/src/global/A-Feature/A-Feature.class.ts +18 -7
  130. package/src/global/A-Feature/A-Feature.types.ts +10 -2
  131. package/src/global/A-Fragment/A-Fragment.class.ts +1 -1
  132. package/src/global/A-Meta/A-Meta.class.ts +5 -8
  133. package/src/global/A-Scope/A-Scope.class.ts +38 -21
  134. package/src/global/A-Scope/A-Scope.types.ts +2 -2
  135. package/src/global/A-Stage/A-Stage.class.ts +20 -20
  136. package/src/global/A-Stage/A-Stage.types.ts +2 -3
  137. package/src/helpers/StepsManager.class.ts +11 -7
  138. package/trace-require.js +46 -0
  139. package/tsconfig.build.json +57 -0
  140. package/dist/examples/fe-be/channels/Test.channel.d.ts +0 -6
  141. package/dist/examples/fe-be/channels/Test.channel.js +0 -14
  142. package/dist/examples/fe-be/channels/Test.channel.js.map +0 -1
  143. package/dist/examples/fe-be/components/BE-Controller.component.d.ts +0 -4
  144. package/dist/examples/fe-be/components/BE-Controller.component.js +0 -24
  145. package/dist/examples/fe-be/components/BE-Controller.component.js.map +0 -1
  146. package/dist/examples/fe-be/components/FE.component.d.ts +0 -4
  147. package/dist/examples/fe-be/components/FE.component.js +0 -31
  148. package/dist/examples/fe-be/components/FE.component.js.map +0 -1
  149. package/dist/examples/fe-be/components/UserActions.component.d.ts +0 -5
  150. package/dist/examples/fe-be/components/UserActions.component.js +0 -25
  151. package/dist/examples/fe-be/components/UserActions.component.js.map +0 -1
  152. package/dist/examples/fe-be/concept.d.ts +0 -0
  153. package/dist/examples/fe-be/concept.js +0 -2
  154. package/dist/examples/fe-be/concept.js.map +0 -1
  155. package/dist/examples/fe-be/containers/ServerApp.container.d.ts +0 -3
  156. package/dist/examples/fe-be/containers/ServerApp.container.js +0 -8
  157. package/dist/examples/fe-be/containers/ServerApp.container.js.map +0 -1
  158. package/dist/examples/fe-be/containers/WebApp.container.d.ts +0 -3
  159. package/dist/examples/fe-be/containers/WebApp.container.js +0 -8
  160. package/dist/examples/fe-be/containers/WebApp.container.js.map +0 -1
  161. package/dist/examples/multi-container/channels/Direct.channel.d.ts +0 -9
  162. package/dist/examples/multi-container/channels/Direct.channel.js +0 -32
  163. package/dist/examples/multi-container/channels/Direct.channel.js.map +0 -1
  164. package/dist/examples/multi-container/concept.d.ts +0 -0
  165. package/dist/examples/multi-container/concept.js +0 -2
  166. package/dist/examples/multi-container/concept.js.map +0 -1
  167. package/dist/examples/multi-container/containers/Command.container.d.ts +0 -11
  168. package/dist/examples/multi-container/containers/Command.container.js +0 -51
  169. package/dist/examples/multi-container/containers/Command.container.js.map +0 -1
  170. package/dist/examples/multi-container/containers/Schedule.container.d.ts +0 -15
  171. package/dist/examples/multi-container/containers/Schedule.container.js +0 -67
  172. package/dist/examples/multi-container/containers/Schedule.container.js.map +0 -1
  173. package/dist/examples/sdk/concept.d.ts +0 -0
  174. package/dist/examples/sdk/concept.js +0 -21
  175. package/dist/examples/sdk/concept.js.map +0 -1
  176. package/dist/examples/sdk/orders.api.d.ts +0 -0
  177. package/dist/examples/sdk/orders.api.js +0 -16
  178. package/dist/examples/sdk/orders.api.js.map +0 -1
  179. package/dist/examples/sdk/users.api.d.ts +0 -0
  180. package/dist/examples/sdk/users.api.js +0 -16
  181. package/dist/examples/sdk/users.api.js.map +0 -1
  182. package/dist/examples/simple/components/A.component.d.ts +0 -9
  183. package/dist/examples/simple/components/A.component.js +0 -60
  184. package/dist/examples/simple/components/A.component.js.map +0 -1
  185. package/dist/examples/simple/components/B.component.d.ts +0 -13
  186. package/dist/examples/simple/components/B.component.js +0 -88
  187. package/dist/examples/simple/components/B.component.js.map +0 -1
  188. package/dist/examples/simple/concept.d.ts +0 -1
  189. package/dist/examples/simple/concept.js +0 -82
  190. package/dist/examples/simple/concept.js.map +0 -1
  191. package/dist/examples/simple/containers/Main.container.d.ts +0 -11
  192. package/dist/examples/simple/containers/Main.container.js +0 -86
  193. package/dist/examples/simple/containers/Main.container.js.map +0 -1
  194. package/dist/examples/simple/context/Fragment_A.context.d.ts +0 -6
  195. package/dist/examples/simple/context/Fragment_A.context.js +0 -16
  196. package/dist/examples/simple/context/Fragment_A.context.js.map +0 -1
  197. package/dist/examples/simple/context/Fragment_B.context.d.ts +0 -6
  198. package/dist/examples/simple/context/Fragment_B.context.js +0 -16
  199. package/dist/examples/simple/context/Fragment_B.context.js.map +0 -1
  200. package/dist/examples/simple/entities/EntityA.entity.d.ts +0 -8
  201. package/dist/examples/simple/entities/EntityA.entity.js +0 -22
  202. package/dist/examples/simple/entities/EntityA.entity.js.map +0 -1
  203. package/dist/examples/simple-http-server/components/http-error-handler.component.d.ts +0 -10
  204. package/dist/examples/simple-http-server/components/http-error-handler.component.js +0 -65
  205. package/dist/examples/simple-http-server/components/http-error-handler.component.js.map +0 -1
  206. package/dist/examples/simple-http-server/components/http-request-handler.component.d.ts +0 -3
  207. package/dist/examples/simple-http-server/components/http-request-handler.component.js +0 -8
  208. package/dist/examples/simple-http-server/components/http-request-handler.component.js.map +0 -1
  209. package/dist/examples/simple-http-server/concept.d.ts +0 -1
  210. package/dist/examples/simple-http-server/concept.js +0 -35
  211. package/dist/examples/simple-http-server/concept.js.map +0 -1
  212. package/dist/examples/simple-http-server/containers/http-server.container.d.ts +0 -11
  213. package/dist/examples/simple-http-server/containers/http-server.container.js +0 -73
  214. package/dist/examples/simple-http-server/containers/http-server.container.js.map +0 -1
  215. package/dist/examples/simple-http-server/containers/http-server.controller.d.ts +0 -7
  216. package/dist/examples/simple-http-server/containers/http-server.controller.js +0 -37
  217. package/dist/examples/simple-http-server/containers/http-server.controller.js.map +0 -1
  218. package/dist/examples/simple-http-server/containers/http-server.router.d.ts +0 -6
  219. package/dist/examples/simple-http-server/containers/http-server.router.js +0 -39
  220. package/dist/examples/simple-http-server/containers/http-server.router.js.map +0 -1
  221. package/dist/examples/simple-http-server/contexts/http-request.context.d.ts +0 -12
  222. package/dist/examples/simple-http-server/contexts/http-request.context.js +0 -49
  223. package/dist/examples/simple-http-server/contexts/http-request.context.js.map +0 -1
  224. package/dist/examples/simple-http-server/contexts/http-server.context.types.d.ts +0 -0
  225. package/dist/examples/simple-http-server/contexts/http-server.context.types.js +0 -2
  226. package/dist/examples/simple-http-server/contexts/http-server.context.types.js.map +0 -1
  227. package/dist/examples/simple-http-server/contexts/http-server.namespace.d.ts +0 -10
  228. package/dist/examples/simple-http-server/contexts/http-server.namespace.js +0 -26
  229. package/dist/examples/simple-http-server/contexts/http-server.namespace.js.map +0 -1
  230. package/dist/examples/simple-http-server/controllers/orders.controller.d.ts +0 -5
  231. package/dist/examples/simple-http-server/controllers/orders.controller.js +0 -32
  232. package/dist/examples/simple-http-server/controllers/orders.controller.js.map +0 -1
  233. package/dist/examples/simple-http-server/controllers/users.controller.d.ts +0 -0
  234. package/dist/examples/simple-http-server/controllers/users.controller.js +0 -87
  235. package/dist/examples/simple-http-server/controllers/users.controller.js.map +0 -1
  236. package/dist/examples/simple-http-server/modules/simple-http-server.context.d.ts +0 -5
  237. package/dist/examples/simple-http-server/modules/simple-http-server.context.js +0 -25
  238. package/dist/examples/simple-http-server/modules/simple-http-server.context.js.map +0 -1
  239. package/dist/examples/simple-http-server/modules/simple-http-server.module.d.ts +0 -16
  240. package/dist/examples/simple-http-server/modules/simple-http-server.module.js +0 -8
  241. package/dist/examples/simple-http-server/modules/simple-http-server.module.js.map +0 -1
  242. package/dist/examples/simple-http-server/modules/simple-http-server.types.d.ts +0 -2
  243. package/dist/examples/simple-http-server/modules/simple-http-server.types.js +0 -3
  244. package/dist/examples/simple-http-server/modules/simple-http-server.types.js.map +0 -1
  245. package/dist/examples/simple-http-server/test.d.ts +0 -68
  246. package/dist/examples/simple-http-server/test.js +0 -162
  247. package/dist/examples/simple-http-server/test.js.map +0 -1
  248. package/dist/src/containers/A-Config/A-Config.container.d.ts +0 -7
  249. package/dist/src/containers/A-Config/A-Config.container.js +0 -65
  250. package/dist/src/containers/A-Config/A-Config.container.js.map +0 -1
  251. package/dist/src/containers/A-Config/A-Config.namespace.d.ts +0 -28
  252. package/dist/src/containers/A-Config/A-Config.namespace.js +0 -54
  253. package/dist/src/containers/A-Config/A-Config.namespace.js.map +0 -1
  254. package/dist/src/containers/A-Config/A-Config.types.d.ts +0 -12
  255. package/dist/src/containers/A-Config/A-Config.types.js +0 -3
  256. package/dist/src/containers/A-Config/A-Config.types.js.map +0 -1
  257. package/dist/src/containers/A-Config/components/ConfigReader.component.d.ts +0 -18
  258. package/dist/src/containers/A-Config/components/ConfigReader.component.js +0 -37
  259. package/dist/src/containers/A-Config/components/ConfigReader.component.js.map +0 -1
  260. package/dist/src/containers/A-Config/components/ENVConfigReader.component.d.ts +0 -10
  261. package/dist/src/containers/A-Config/components/ENVConfigReader.component.js +0 -37
  262. package/dist/src/containers/A-Config/components/ENVConfigReader.component.js.map +0 -1
  263. package/dist/src/containers/A-Config/components/FileConfigReader.component.d.ts +0 -11
  264. package/dist/src/containers/A-Config/components/FileConfigReader.component.js +0 -47
  265. package/dist/src/containers/A-Config/components/FileConfigReader.component.js.map +0 -1
  266. package/dist/src/containers/A-Errors/A-Errors.container.d.ts +0 -5
  267. package/dist/src/containers/A-Errors/A-Errors.container.js +0 -32
  268. package/dist/src/containers/A-Errors/A-Errors.container.js.map +0 -1
  269. package/dist/src/containers/A-Errors/A-Errors.namespace.d.ts +0 -40
  270. package/dist/src/containers/A-Errors/A-Errors.namespace.js +0 -76
  271. package/dist/src/containers/A-Errors/A-Errors.namespace.js.map +0 -1
  272. package/dist/src/containers/A-Errors/A-Errors.types.d.ts +0 -5
  273. package/dist/src/containers/A-Errors/A-Errors.types.js +0 -3
  274. package/dist/src/containers/A-Errors/A-Errors.types.js.map +0 -1
  275. package/dist/src/containers/A-Logger/A-Logger.container.d.ts +0 -6
  276. package/dist/src/containers/A-Logger/A-Logger.container.js +0 -41
  277. package/dist/src/containers/A-Logger/A-Logger.container.js.map +0 -1
  278. package/dist/src/containers/A-Logger/A-Logger.namespace.d.ts +0 -17
  279. package/dist/src/containers/A-Logger/A-Logger.namespace.js +0 -22
  280. package/dist/src/containers/A-Logger/A-Logger.namespace.js.map +0 -1
  281. package/dist/src/containers/A-Logger/A-Logger.types.d.ts +0 -0
  282. package/dist/src/containers/A-Logger/A-Logger.types.js +0 -2
  283. package/dist/src/containers/A-Logger/A-Logger.types.js.map +0 -1
  284. package/dist/src/containers/A-Logger/components/Logger.component.d.ts +0 -29
  285. package/dist/src/containers/A-Logger/components/Logger.component.js +0 -128
  286. package/dist/src/containers/A-Logger/components/Logger.component.js.map +0 -1
  287. package/dist/src/decorators/A-Abstraction/A-Abstraction.decorator.js.map +0 -1
  288. package/dist/src/decorators/A-ConceptLifecycle/A-ConceptLifecycle.decorator.types.d.ts +0 -34
  289. package/dist/src/decorators/A-ConceptLifecycle/A-ConceptLifecycle.decorator.types.js +0 -3
  290. package/dist/src/decorators/A-ConceptLifecycle/A-ConceptLifecycle.decorator.types.js.map +0 -1
  291. package/dist/src/decorators/A-ConceptLifecycle/A-Load/A-Load.decorator.d.ts +0 -11
  292. package/dist/src/decorators/A-ConceptLifecycle/A-Load/A-Load.decorator.js +0 -36
  293. package/dist/src/decorators/A-ConceptLifecycle/A-Load/A-Load.decorator.js.map +0 -1
  294. package/dist/src/decorators/A-ConceptLifecycle/A-Load/A-Load.decorator.types.d.ts +0 -7
  295. package/dist/src/decorators/A-ConceptLifecycle/A-Load/A-Load.decorator.types.js +0 -3
  296. package/dist/src/decorators/A-ConceptLifecycle/A-Load/A-Load.decorator.types.js.map +0 -1
  297. package/dist/src/decorators/A-ConceptLifecycle/A-Run/A-Run.decorator.d.ts +0 -17
  298. package/dist/src/decorators/A-ConceptLifecycle/A-Run/A-Run.decorator.js +0 -42
  299. package/dist/src/decorators/A-ConceptLifecycle/A-Run/A-Run.decorator.js.map +0 -1
  300. package/dist/src/decorators/A-ConceptLifecycle/A-Run/A-Run.decorator.types.d.ts +0 -8
  301. package/dist/src/decorators/A-ConceptLifecycle/A-Run/A-Run.decorator.types.js +0 -3
  302. package/dist/src/decorators/A-ConceptLifecycle/A-Run/A-Run.decorator.types.js.map +0 -1
  303. package/dist/src/decorators/A-ConceptLifecycle/index.d.ts +0 -7
  304. package/dist/src/decorators/A-ConceptLifecycle/index.js +0 -11
  305. package/dist/src/decorators/A-ConceptLifecycle/index.js.map +0 -1
  306. package/dist/src/decorators/A-Define/Feature/Feature.decorator.d.ts +0 -16
  307. package/dist/src/decorators/A-Define/Feature/Feature.decorator.js +0 -36
  308. package/dist/src/decorators/A-Define/Feature/Feature.decorator.js.map +0 -1
  309. package/dist/src/decorators/A-Define/Feature/Feature.decorator.types.d.ts +0 -8
  310. package/dist/src/decorators/A-Define/Feature/Feature.decorator.types.js +0 -3
  311. package/dist/src/decorators/A-Define/Feature/Feature.decorator.types.js.map +0 -1
  312. package/dist/src/decorators/A-Define/Lifecycle/Lifecycle.decorator.d.ts +0 -14
  313. package/dist/src/decorators/A-Define/Lifecycle/Lifecycle.decorator.js +0 -24
  314. package/dist/src/decorators/A-Define/Lifecycle/Lifecycle.decorator.js.map +0 -1
  315. package/dist/src/decorators/A-Define/Lifecycle/Lifecycle.decorator.types.d.ts +0 -8
  316. package/dist/src/decorators/A-Define/Lifecycle/Lifecycle.decorator.types.js +0 -3
  317. package/dist/src/decorators/A-Define/Lifecycle/Lifecycle.decorator.types.js.map +0 -1
  318. package/dist/src/decorators/A-Define/index.d.ts +0 -7
  319. package/dist/src/decorators/A-Define/index.js +0 -10
  320. package/dist/src/decorators/A-Define/index.js.map +0 -1
  321. package/dist/src/decorators/A-Extend/A-Extend.decorator.d.ts +0 -18
  322. package/dist/src/decorators/A-Extend/A-Extend.decorator.js +0 -37
  323. package/dist/src/decorators/A-Extend/A-Extend.decorator.js.map +0 -1
  324. package/dist/src/decorators/A-Extend/A-Extend.decorator.types.d.ts +0 -21
  325. package/dist/src/decorators/A-Extend/A-Extend.decorator.types.js +0 -3
  326. package/dist/src/decorators/A-Extend/A-Extend.decorator.types.js.map +0 -1
  327. package/dist/src/decorators/A-Feature/A-Feature.decorator.d.ts +0 -0
  328. package/dist/src/decorators/A-Feature/A-Feature.decorator.js +0 -11
  329. package/dist/src/decorators/A-Feature/A-Feature.decorator.js.map +0 -1
  330. package/dist/src/decorators/A-Stage/A-Stage.decorator.d.ts +0 -13
  331. package/dist/src/decorators/A-Stage/A-Stage.decorator.js +0 -52
  332. package/dist/src/decorators/A-Stage/A-Stage.decorator.js.map +0 -1
  333. package/dist/src/decorators/A-Stage/A-Stage.decorator.types.d.ts +0 -2
  334. package/dist/src/decorators/A-Stage/A-Stage.decorator.types.js +0 -3
  335. package/dist/src/decorators/A-Stage/A-Stage.decorator.types.js.map +0 -1
  336. package/dist/src/decorators/A_ConceptMethods.decorator.d.ts +0 -0
  337. package/dist/src/decorators/A_ConceptMethods.decorator.js +0 -2
  338. package/dist/src/decorators/A_ConceptMethods.decorator.js.map +0 -1
  339. package/dist/src/decorators/A_Lazy.decorator.d.ts +0 -5
  340. package/dist/src/decorators/A_Lazy.decorator.js +0 -20
  341. package/dist/src/decorators/A_Lazy.decorator.js.map +0 -1
  342. package/dist/src/global/A-Context/A-ContextFragment.class.d.ts +0 -12
  343. package/dist/src/global/A-Context/A-ContextFragment.class.js +0 -19
  344. package/dist/src/global/A-Context/A-ContextFragment.class.js.map +0 -1
  345. package/dist/src/global/A-Namespace/A_Namespace.class.d.ts +0 -47
  346. package/dist/src/global/A-Namespace/A_Namespace.class.js +0 -112
  347. package/dist/src/global/A-Namespace/A_Namespace.class.js.map +0 -1
  348. package/dist/src/global/A-Namespace/A_Namespace.types.d.ts +0 -19
  349. package/dist/src/global/A-Namespace/A_Namespace.types.js +0 -3
  350. package/dist/src/global/A-Namespace/A_Namespace.types.js.map +0 -1
  351. package/dist/src/managers/A_DependencyManager.class.d.ts +0 -24
  352. package/dist/src/managers/A_DependencyManager.class.js +0 -129
  353. package/dist/src/managers/A_DependencyManager.class.js.map +0 -1
  354. package/dist/src/storage/A_Component.storage.d.ts +0 -10
  355. package/dist/src/storage/A_Component.storage.js +0 -17
  356. package/dist/src/storage/A_Component.storage.js.map +0 -1
  357. package/dist/src/storage/A_Concept.storage.d.ts +0 -19
  358. package/dist/src/storage/A_Concept.storage.js +0 -29
  359. package/dist/src/storage/A_Concept.storage.js.map +0 -1
  360. package/dist/src/storage/A_Container.storage.d.ts +0 -8
  361. package/dist/src/storage/A_Container.storage.js +0 -17
  362. package/dist/src/storage/A_Container.storage.js.map +0 -1
  363. package/dist/src/storage/A_Inject.storage.d.ts +0 -9
  364. package/dist/src/storage/A_Inject.storage.js +0 -13
  365. package/dist/src/storage/A_Inject.storage.js.map +0 -1
  366. package/dist/src/types/A_DependencyManager.types.d.ts +0 -15
  367. package/dist/src/types/A_DependencyManager.types.js +0 -3
  368. package/dist/src/types/A_DependencyManager.types.js.map +0 -1
package/README.md CHANGED
@@ -1,19 +1,167 @@
1
- <img align="left" style="margin-right:40px; margin-bottom:80px;" width="180" height="80" src="./docs/logo.png" alt="ADAAS Logo">
1
+ <img align="left" style="margin-right:40px; margin-bottom:80px;" width="200" height="200" src="./docs/a-concept-logo.png" alt="ADAAS Logo">
2
2
 
3
- # A Set Of Shared Types across ADAAS SDKs
3
+ # A-Concept
4
4
 
5
- | LTS | Latest | npm |
6
- |---------------|----------|---------------------------|
7
- | v1.0.0 | v1.0.1 | [@adaas/a-concept](https://npm.com) |
5
+ 🚀 A Paradigm Shift for Software Development in the Age of AI and [Industry 5.0](https://research-and-innovation.ec.europa.eu/research-area/industrial-research-and-innovation/industry-50_en).
8
6
 
7
+ [![npm](https://img.shields.io/npm/v/@adaas/a-concept.svg)](https://www.npmjs.com/package/@adaas/a-concept)
8
+ [![Release](https://img.shields.io/github/release/ADAAS-org/adaas-a-concept.svg)](https://github.com/ADAAS-org/adaas-a-concept/releases)
9
+ [![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-blue)](https://www.linkedin.com/in/your-profile/)
10
+ [![License](https://img.shields.io/badge/License-MIT-blue)](LICENSE)
11
+ [![Open Issues](https://img.shields.io/github/issues/ADAAS-org/adaas-a-concept.svg)](https://github.com/your-framework/repo/issues)
12
+ [![Documentation](https://img.shields.io/badge/Docs-Read-blue)](https://a-concept.com/docs)
13
+ <!-- [![Version](https://img.shields.io/badge/Version-1.0.0-green)](https://github.com/your-framework/repo/releases/tag/v1.0.0) -->
9
14
 
10
- ## Install SDK
11
15
 
12
- ```bash
13
16
 
17
+ ---
18
+
19
+ ## 📖 **Table of Contents**
20
+
21
+ 1. [Overview](#-overview)
22
+ 2. [Why Choose A-Concept?](#-why-choose-a-concept)
23
+ 3. [Core Principles](#-core-principles)
24
+ - [Technology](#-technology)
25
+ - [Collaboration](#-collaboration)
26
+ - [Bridging Architecture & Code](#-bridging-architecture--code)
27
+ 4. [Getting Started](#-getting-started)
28
+ 5. [Challenges in Modern Development](#-challenges-in-modern-development)
29
+ - [AI Hallucinations and Incorrect Code Outputs](#-ai-hallucinations-and-incorrect-code-outputs)
30
+ - [The Gap Between Software Design and Implementation](#-the-gap-between-software-design-and-implementation)
31
+ - [Scaling and Product Evolution](#-scaling-and-product-evolution)
32
+ - [Inappropriate Role Combinations and Team Structures](#-inappropriate-role-combinations-and-team-structures)
33
+ - [Outdated SDLC Methodologies](#-outdated-sdlc-methodologies)
34
+ 6. [About the Team](#-about-the-team)
35
+
36
+ ---
37
+
38
+
39
+ ## 📖 Overview
40
+
41
+ A-Concept is a modern framework created by the ADAAS R&D team to redefine how we design and develop software in the Industry 5.0 era. It combines:
42
+
43
+ 1. **The A-Concept Paradigm**: A revolutionary architectural framework rooted in an enhanced C4 model, designed to bridge software design and actual development.
44
+
45
+ 2. **The A-Concept Framework**: A robust software development toolkit that brings the paradigm to life. It includes tools, APIs, and integrations to enable developers to implement the A-Concept methodology seamlessly in their projects, regardless of the platform or domain.
46
+
47
+ 3. **A-Concept Ecosystem**: A suite of AI-prepared components, libraries, and modules designed to ensure AI-generated code is not only functional but also architecturally sound.
48
+
49
+ With A-Concept, developers and businesses can create software that evolves seamlessly, breaking free from outdated methodologies and limitations.
50
+
51
+ ## 🌍 Core Principles
52
+
53
+ ### 🔧 Technology
54
+
55
+ Unlike traditional frameworks that impose restrictions, A-Concept:
56
+ - Offers tools, not rules.
57
+ - Encourages flexibility to build, combine, and innovate across platforms.
58
+ - Provides AI-ready modules for faster and more accurate development.
59
+
60
+ ### 🫠 Collaboration
61
+
62
+ SCRUM is outdated. Here’s why A-Concept takes a futuristic approach:
63
+ - Simplifies processes for solo entrepreneurs and lean enterprises.
64
+ - Eliminates unnecessary rituals, focusing instead on results and innovation.
65
+ - Enhances developer productivity by automating repetitive tasks, enabling teams to focus on optimized, high-quality code.
66
+
67
+ ### 🔽 Bridging Architecture & Code
68
+
69
+ Traditional development often struggles with a disconnect between architecture and code. A-Concept fixes this by:
70
+ - Extending the C4 model to include design capabilities.
71
+ - Ensuring architecture and code stay in sync with AI-assisted tools.
72
+ - Empowering developers to become architects with intuitive and self-documented workflows.
73
+
74
+
75
+ ## Problems
76
+
77
+
78
+
79
+ ## 📂 Getting Started
80
+
81
+ ```bash
14
82
  cd /your/project/location
15
- adf
16
83
  npm i @adaas/a-concept
84
+ ```
85
+ Then export
86
+
87
+ ```ts
88
+ import { Concept } from '@adaas/a-concept';
89
+ const concept = new Concept({
90
+ name: 'my-concept'
91
+ });
92
+ ```
93
+
94
+ and extend
17
95
 
96
+ ```ts
97
+ (async () => {
98
+ const concept = new A_Concept({
99
+ name: 'test-simple',
100
+ fragments: [
101
+ new A_Config({
102
+ variables: ['CONFIG_VERBOSE'],
103
+ defaults: {
104
+ 'CONFIG_VERBOSE': true
105
+ }
106
+ })
107
+ ],
108
+ containers: [
109
+ new A_ConfigLoader({
110
+ components: [
111
+ ENVConfigReader
112
+ ]
113
+ })
114
+ ]
115
+ });
116
+
117
+ await concept.start();
118
+ })();
18
119
  ```
19
120
 
121
+
122
+
123
+ ## 👨‍💻 About the Team
124
+
125
+ The [ADAAS R&D](https://adaas.org) team comprises seasoned developers and architects who’ve been part of software evolution from its early days. We understand the pain points of traditional methodologies and are passionate about creating tools that bridge gaps and propel development into the future.
126
+
127
+
128
+
129
+ ## 🗋 Challenges in Modern Development
130
+
131
+ ### 🚀 AI Hallucinations and Incorrect Code Outputs
132
+
133
+ The rapid rise of AI tools for code generation has introduced a significant challenge: hallucinations. These occur when AI generates plausible-looking but fundamentally flawed code. While impressive, AI outputs often lack precision and fail to align with the overall architectural vision.
134
+
135
+ Solution:
136
+ A-Concept creates an ecosystem where AI operates within clearly defined boundaries, leveraging self-documenting primitives and an extended C4 model. This ensures that AI’s contributions align with the intended design and functionality.
137
+
138
+ ### 🔗 The Gap Between Software Design and Implementation
139
+
140
+ One of the most persistent problems in software development is the disconnect between high-level architectural plans and actual implementation. Traditional methodologies often result in documentation that quickly becomes outdated, leading to chaotic, hard-to-maintain codebases.
141
+
142
+ Solution:
143
+ A-Concept merges design and implementation into a single, seamless process. The framework’s self-documenting capabilities mean that architecture is always synchronized with the code, offering clarity for both developers and stakeholders.
144
+
145
+ ### 📈 Scaling and Product Evolution
146
+
147
+ Scaling a product over time is a daunting task. As projects grow, technical debt accumulates, making it harder to introduce new features or pivot to meet market demands. Existing frameworks often fail to provide tools that support long-term evolution.
148
+
149
+ Solution:
150
+ A-Concept introduces an ecosystem built with scalability in mind. Its modular design enables projects to adapt, evolve, and scale without compromising the integrity of the underlying architecture.
151
+
152
+ ### 🛠️ Inappropriate Role Combinations and Team Structures
153
+
154
+ The industry’s current approach to team roles and responsibilities is often inefficient. Developers juggle multiple hats, ranging from low-level coding to high-level architectural design. This mismatch leads to burnout and suboptimal results.
155
+
156
+ Solution:
157
+ A-Concept reimagines collaboration by enabling developers to focus on their strengths. The framework’s tools allow low-level specialists to optimize performance while product-focused professionals drive business outcomes. AI handles routine tasks, freeing teams to innovate.
158
+
159
+ ### 🗂 Outdated SDLC Methodologies
160
+
161
+ Traditional methodologies like SCRUM and Waterfall were revolutionary in their time, but they struggle to meet the demands of modern software development. These methodologies are ritual-heavy, time-consuming, and ill-suited for AI-driven development.
162
+
163
+ Solution:
164
+ A-Concept promotes a streamlined approach. By leveraging AI and rethinking team structures, we eliminate unnecessary rituals and focus on achieving results. This makes the development process leaner, faster, and more aligned with business goals.
165
+
166
+
167
+
package/dist/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  export { A_Context } from './src/global/A-Context/A-Context.class';
2
+ export { A_Abstraction } from './src/global/A-Abstraction/A-Abstraction.class';
3
+ export * from './src/global/A-Abstraction/A-Abstraction.types';
2
4
  export { A_Concept } from './src/global/A-Concept/A_Concept.class';
3
5
  export { A_ConceptMeta } from './src/global/A-Concept/A_Concept.meta';
4
6
  export * from './src/global/A-Concept/A_Concept.types';
@@ -26,7 +28,7 @@ export * from './src/decorators/A-Inject/A-Inject.decorator.types';
26
28
  export { A_Feature_Define } from './src/decorators/A-Feature/A-Feature-Define.decorator';
27
29
  export { A_Feature_Extend } from './src/decorators/A-Feature/A-Feature-Extend.decorator';
28
30
  export * from './src/decorators/A-Feature/A-Feature.decorator.types';
29
- export { A_Abstraction } from './src/decorators/A-Abstraction/A-Abstraction.decorator';
31
+ export { A_Abstraction_Extend } from './src/decorators/A-Abstraction/A-Abstraction-Extend.decorator';
30
32
  export * from './src/decorators/A-Abstraction/A-Abstraction.decorator.types';
31
33
  export { A_Connect } from './src/decorators/A-Connect/A-Connect.decorator';
32
34
  export * from './src/decorators/A-Connect/A-Connect.decorator.types';
package/dist/index.js CHANGED
@@ -17,11 +17,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
17
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.A_Errors = exports.A_ErrorsManager = exports.FileConfigReader = exports.ENVConfigReader = exports.ConfigReader = exports.A_Config = exports.A_ConfigLoader = exports.A_Connect = exports.A_Abstraction = exports.A_Feature_Extend = exports.A_Feature_Define = exports.A_Inject = exports.A_Fragment = exports.A_Meta = exports.A_Scope = exports.A_Stage = exports.A_Feature = exports.A_Channel = exports.A_Entity = exports.A_ComponentMeta = exports.A_Component = exports.A_ContainerMeta = exports.A_Container = exports.A_ConceptMeta = exports.A_Concept = exports.A_Context = void 0;
20
+ exports.A_Errors = exports.A_ErrorsManager = exports.FileConfigReader = exports.ENVConfigReader = exports.ConfigReader = exports.A_Config = exports.A_ConfigLoader = exports.A_Connect = exports.A_Abstraction_Extend = exports.A_Feature_Extend = exports.A_Feature_Define = exports.A_Inject = exports.A_Fragment = exports.A_Meta = exports.A_Scope = exports.A_Stage = exports.A_Feature = exports.A_Channel = exports.A_Entity = exports.A_ComponentMeta = exports.A_Component = exports.A_ContainerMeta = exports.A_Container = exports.A_ConceptMeta = exports.A_Concept = exports.A_Abstraction = exports.A_Context = void 0;
21
21
  // ---------------------- Major Components ----------------------
22
22
  var A_Context_class_1 = require("./src/global/A-Context/A-Context.class");
23
23
  Object.defineProperty(exports, "A_Context", { enumerable: true, get: function () { return A_Context_class_1.A_Context; } });
24
24
  // export * from './src/global/A-Context/A-Context.types';
25
+ var A_Abstraction_class_1 = require("./src/global/A-Abstraction/A-Abstraction.class");
26
+ Object.defineProperty(exports, "A_Abstraction", { enumerable: true, get: function () { return A_Abstraction_class_1.A_Abstraction; } });
27
+ __exportStar(require("./src/global/A-Abstraction/A-Abstraction.types"), exports);
25
28
  var A_Concept_class_1 = require("./src/global/A-Concept/A_Concept.class");
26
29
  Object.defineProperty(exports, "A_Concept", { enumerable: true, get: function () { return A_Concept_class_1.A_Concept; } });
27
30
  var A_Concept_meta_1 = require("./src/global/A-Concept/A_Concept.meta");
@@ -70,8 +73,8 @@ Object.defineProperty(exports, "A_Feature_Define", { enumerable: true, get: func
70
73
  var A_Feature_Extend_decorator_1 = require("./src/decorators/A-Feature/A-Feature-Extend.decorator");
71
74
  Object.defineProperty(exports, "A_Feature_Extend", { enumerable: true, get: function () { return A_Feature_Extend_decorator_1.A_Feature_Extend; } });
72
75
  __exportStar(require("./src/decorators/A-Feature/A-Feature.decorator.types"), exports);
73
- var A_Abstraction_decorator_1 = require("./src/decorators/A-Abstraction/A-Abstraction.decorator");
74
- Object.defineProperty(exports, "A_Abstraction", { enumerable: true, get: function () { return A_Abstraction_decorator_1.A_Abstraction; } });
76
+ var A_Abstraction_Extend_decorator_1 = require("./src/decorators/A-Abstraction/A-Abstraction-Extend.decorator");
77
+ Object.defineProperty(exports, "A_Abstraction_Extend", { enumerable: true, get: function () { return A_Abstraction_Extend_decorator_1.A_Abstraction_Extend; } });
75
78
  __exportStar(require("./src/decorators/A-Abstraction/A-Abstraction.decorator.types"), exports);
76
79
  var A_Connect_decorator_1 = require("./src/decorators/A-Connect/A-Connect.decorator");
77
80
  Object.defineProperty(exports, "A_Connect", { enumerable: true, get: function () { return A_Connect_decorator_1.A_Connect; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,oGAAoG;AACpG,oGAAoG;AACpG,oGAAoG;;;;;;;;;;;;;;;;;AAEpG,iEAAiE;AACjE,0EAAmE;AAA1D,4GAAA,SAAS,OAAA;AAClB,0DAA0D;AAE1D,0EAAmE;AAA1D,4GAAA,SAAS,OAAA;AAClB,wEAAsE;AAA7D,+GAAA,aAAa,OAAA;AACtB,yEAAuD;AAEvD,gFAAyE;AAAhE,gHA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,sIAAA,oBAAoB,OAAA;AAC7B,+FAA6E;AAE7E,sFAA2E;AAAlE,gHAAA,SAAS,OAAA;AAClB,uFAAqE;AAGrE,oGAAoG;AACpG,oGAAoG;AACpG,oGAAoG;AACpG,6EAAwE;AAA/D,oHAAA,cAAc,OAAA;AACvB,yEAAgE;AAAvD,4GAAA,QAAQ,OAAA;AACjB,gGAAqF;AAA5E,sHAAA,YAAY,OAAA;AACrB,sGAA2F;AAAlF,4HAAA,eAAe,OAAA;AACxB,wGAA6F;AAApF,8HAAA,gBAAgB,OAAA;AACzB,qEAAmD;AAEnD,yEAAuD;AACvD,sDAAsD;AAEtD,6EAAyE;AAAhE,qHAAA,eAAe,OAAA;AACxB,yEAAgE;AAAvD,4GAAA,QAAQ,OAAA;AACjB,qEAAmD"}
@@ -1,7 +1,10 @@
1
1
  import { A_Container } from "../../global/A-Container/A-Container.class";
2
+ import { A_Scope } from "../../global/A-Scope/A-Scope.class";
2
3
  import { A_Config } from "./A-Config.context";
3
- export declare class A_ConfigLoader extends A_Container<['load', 'read']> {
4
+ import { A_TYPES__ContainerConstructor } from "../../global/A-Container/A-Container.types";
5
+ export declare class A_ConfigLoader extends A_Container {
4
6
  private reader;
7
+ constructor(params: Partial<A_TYPES__ContainerConstructor<['load', 'read']>>);
5
8
  prepare(config: A_Config): Promise<void>;
6
- readVariables(config: A_Config): Promise<void>;
9
+ readVariables(config: A_Config, scope: A_Scope): Promise<void>;
7
10
  }
@@ -25,9 +25,13 @@ const a_utils_1 = require("@adaas/a-utils");
25
25
  const A_Context_class_1 = require("../../global/A-Context/A-Context.class");
26
26
  const FileConfigReader_component_1 = require("./components/FileConfigReader.component");
27
27
  const ENVConfigReader_component_1 = require("./components/ENVConfigReader.component");
28
+ const A_Scope_class_1 = require("../../global/A-Scope/A-Scope.class");
28
29
  const A_Concept_class_1 = require("../../global/A-Concept/A_Concept.class");
29
30
  const A_Config_context_1 = require("./A-Config.context");
30
31
  class A_ConfigLoader extends A_Container_class_1.A_Container {
32
+ constructor(params) {
33
+ super(Object.assign(Object.assign({}, params), { name: params.name || 'a-config-loader' }));
34
+ }
31
35
  prepare(config) {
32
36
  return __awaiter(this, void 0, void 0, function* () {
33
37
  const fs = yield a_utils_1.A_Polyfills.fs();
@@ -47,7 +51,7 @@ class A_ConfigLoader extends A_Container_class_1.A_Container {
47
51
  }
48
52
  });
49
53
  }
50
- readVariables(config) {
54
+ readVariables(config, scope) {
51
55
  return __awaiter(this, void 0, void 0, function* () {
52
56
  yield this.reader.inject(config);
53
57
  });
@@ -60,7 +64,8 @@ __decorate([
60
64
  ], A_ConfigLoader.prototype, "prepare", null);
61
65
  __decorate([
62
66
  A_Concept_class_1.A_Concept.Load(),
63
- __param(0, (0, A_Inject_decorator_1.A_Inject)(A_Config_context_1.A_Config))
67
+ __param(0, (0, A_Inject_decorator_1.A_Inject)(A_Config_context_1.A_Config)),
68
+ __param(1, (0, A_Inject_decorator_1.A_Inject)(A_Scope_class_1.A_Scope))
64
69
  ], A_ConfigLoader.prototype, "readVariables", null);
65
70
  const foo = new A_ConfigLoader({});
66
71
  //# sourceMappingURL=A-Config.container.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"A-Config.container.js","sourceRoot":"","sources":["../../../../src/base/A-Config/A-Config.container.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,6FAAoF;AAGpF,gGAAmF;AACnF,4CAA6C;AAC7C,uFAA8E;AAC9E,wFAA2E;AAC3E,sFAAyE;AAEzE,uFAA8E;AAC9E,yDAA8C;AAM9C,MAAa,cAAe,SAAQ,+BAA6B;IAMvD,OAAO,CACW,MAAgB;;YAEpC,MAAM,EAAE,GAAG,MAAM,qBAAW,CAAC,EAAE,EAAE,CAAC;YAElC,QAAQ,IAAI,EAAE,CAAC;gBAEX,KAAK,2BAAS,CAAC,WAAW,KAAK,QAAQ,IAAI,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,YAAY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AQ,CAAC,CAAA;6CAsBtB;AAKK;IADL,2BAAS,CAAC,IAAI,EAAE;IAEZ,WAAA,IAAA,6BAAQ,EAAC,2BAAQ,CAAC,CAAA;IAClB,WAAA,IAAA,6BAAQ,EAAC,uBAAO,CAAC,CAAA;mDAGrB;AAQL,MAAM,GAAG,GAAG,IAAI,cAAc,CAAC,EAAE,CAAC,CAAC"}
@@ -22,8 +22,8 @@ exports.ConfigReader = void 0;
22
22
  const A_Scope_class_1 = require("../../../global/A-Scope/A-Scope.class");
23
23
  const A_Inject_decorator_1 = require("../../../decorators/A-Inject/A-Inject.decorator");
24
24
  const A_Component_class_1 = require("../../../global/A-Component/A-Component.class");
25
- const A_Concept_class_1 = require("../../../global/A-Concept/A_Concept.class");
26
25
  const A_Config_context_1 = require("../A-Config.context");
26
+ const A_Concept_class_1 = require("../../../global/A-Concept/A_Concept.class");
27
27
  /**
28
28
  * Config Reader
29
29
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigReader.component.js","sourceRoot":"","sources":["../../../../../src/base/A-Config/components/ConfigReader.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,iFAAwE;AACxE,gGAAmF;AACnF,6FAAoF;AAEpF,uFAA8E;AAC9E,0DAA+C;AAI/C;;GAEG;AACI,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,+BAAW;IAEzC,YACiC,KAAc;QAE3C,KAAK,EAAE,CAAC;QAFqB,UAAK,GAAL,KAAK,CAAS;IAG/C,CAAC;IAIK,MAAM,CACY,MAAgB;;YAEpC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;YAEjD,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAEjB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;YAE5C,MAAM,CAAC,GAAG,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAC;QAC/C,CAAC;KAAA;IAGD;;;OAGG;IACH,OAAO,CAAoB,QAAgB;QACvC,OAAO,QAAuB,CAAC;IACnC,CAAC;IAED;;;;OAIG;IACG,IAAI;6DACN,YAAsB,EAAE;YAExB,OAAO,EAAoB,CAAC;QAChC,CAAC;KAAA;IAGD;;;;;OAKG;IACa,cAAc;6DAAC,SAAS,GAAG,SAAS;YAChD,+BAA+B;YAE/B,qCAAqC;YAErC,0DAA0D;YAC1D,iFAAiF;YACjF,6DAA6D;YAC7D,6EAA6E;YAC7E,uBAAuB;YACvB,QAAQ;YACR,gCAAgC;YAChC,IAAI;YAEJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC;QACzB,CAAC;KAAA;CACJ,CAAA;AAjEY,oCAAY;AAUf;IADL,2BAAS,CAAC,IAAI,EAAE;IAEZ,WAAA,IAAA,6BAAQ,EAAC,2BAAQ,CAAC,CAAA;0CAStB;uBApBQ,YAAY;IAGhB,WAAA,IAAA,6BAAQ,EAAC,uBAAO,CAAC,CAAA;GAHb,YAAY,CAiExB"}
1
+ {"version":3,"file":"ConfigReader.component.js","sourceRoot":"","sources":["../../../../../src/base/A-Config/components/ConfigReader.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,iFAAwE;AACxE,gGAAmF;AACnF,6FAAoF;AACpF,0DAA+C;AAC/C,uFAA8E;AAE9E;;GAEG;AACI,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,+BAAW;IAEzC,YACiC,KAAc;QAE3C,KAAK,EAAE,CAAC;QAFqB,UAAK,GAAL,KAAK,CAAS;IAG/C,CAAC;IAIK,MAAM,CACY,MAAgB;;YAGpC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;YAEjD,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAEjB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;YAE5C,MAAM,CAAC,GAAG,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAC;QAC/C,CAAC;KAAA;IAGD;;;OAGG;IACH,OAAO,CAAoB,QAAgB;QACvC,OAAO,QAAuB,CAAC;IACnC,CAAC;IAED;;;;OAIG;IACG,IAAI;6DACN,YAAsB,EAAE;YAExB,OAAO,EAAoB,CAAC;QAChC,CAAC;KAAA;IAGD;;;;;OAKG;IACa,cAAc;6DAAC,SAAS,GAAG,SAAS;YAChD,+BAA+B;YAE/B,qCAAqC;YAErC,0DAA0D;YAC1D,iFAAiF;YACjF,6DAA6D;YAC7D,6EAA6E;YAC7E,uBAAuB;YACvB,QAAQ;YACR,gCAAgC;YAChC,IAAI;YAEJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC;QACzB,CAAC;KAAA;CACJ,CAAA;AAlEY,oCAAY;AAUf;IADL,2BAAS,CAAC,IAAI,EAAE;IAEZ,WAAA,IAAA,6BAAQ,EAAC,2BAAQ,CAAC,CAAA;0CAUtB;uBArBQ,YAAY;IAGhB,WAAA,IAAA,6BAAQ,EAAC,uBAAO,CAAC,CAAA;GAHb,YAAY,CAkExB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileConfigReader.component.js","sourceRoot":"","sources":["../../../../../src/base/A-Config/components/FileConfigReader.component.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA6D;AAC7D,qEAAwD;AAIxD,MAAa,gBAAiB,SAAQ,qCAAY;IAAlD;;QAEY,aAAQ,GAAqB,IAAI,GAAG,EAAe,CAAC;IAkChE,CAAC;IAhCG;;;OAGG;IACH,mCAAmC,CAAC,QAAgB;QAChD,OAAO,wBAAc,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IAChD,CAAC;IAGD,OAAO,CAAoB,QAAgB;QACvC,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAmC,CAAC,QAAQ,CAAC,CAAgB,CAAC;IAChG,CAAC;IAGK,IAAI,CACN,SAAoB;;YAEpB,MAAM,EAAE,GAAG,MAAM,qBAAW,CAAC,EAAE,EAAE,CAAC;YAClC,IAAI,CAAC;gBACD,MAAM,IAAI,GAAG,EAAE,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,YAAY,EAAE,MAAM,CAAC,CAAC;gBAErE,MAAM,MAAM,GAAmB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;gBAEhD,IAAI,CAAC,QAAQ,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;gBAEhD,OAAO,MAAM,CAAC;YAElB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACb,oCAAoC;gBACpC,OAAO,EAAoB,CAAC;YAChC,CAAC;QACL,CAAC;KAAA;CACJ;AApCD,4CAoCC"}
1
+ {"version":3,"file":"FileConfigReader.component.js","sourceRoot":"","sources":["../../../../../src/base/A-Config/components/FileConfigReader.component.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA6D;AAC7D,qEAAwD;AAExD,MAAa,gBAAiB,SAAQ,qCAAY;IAAlD;;QAEY,aAAQ,GAAqB,IAAI,GAAG,EAAe,CAAC;IAkChE,CAAC;IAhCG;;;OAGG;IACH,mCAAmC,CAAC,QAAgB;QAChD,OAAO,wBAAc,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IAChD,CAAC;IAGD,OAAO,CAAoB,QAAgB;QACvC,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAmC,CAAC,QAAQ,CAAC,CAAgB,CAAC;IAChG,CAAC;IAGK,IAAI,CACN,SAAoB;;YAEpB,MAAM,EAAE,GAAG,MAAM,qBAAW,CAAC,EAAE,EAAE,CAAC;YAClC,IAAI,CAAC;gBACD,MAAM,IAAI,GAAG,EAAE,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,YAAY,EAAE,MAAM,CAAC,CAAC;gBA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AAO,GAAG,OAAO,IAAI,OAAO,IAAI,YAAY,EAAE,CAAC;IACnD,CAAC;CACJ,CAAA;AAxLY,4BAAQ;mBAAR,QAAQ;IAGZ,WAAA,IAAA,6BAAQ,EAAC,uBAAO,CAAC,CAAA;IACjB,WAAA,IAAA,6BAAQ,EAAC,2BAAQ,CAAC,CAAA;GAJd,QAAQ,CAwLpB"}
@@ -11,4 +11,4 @@ import { A_TYPES__A_ExtendDecoratorConfig } from "../A-Feature/A-Feature.decorat
11
11
  * @param params
12
12
  * @returns
13
13
  */
14
- export declare function A_Abstraction(method: A_TYPES__ConceptStage, config?: Partial<A_TYPES__A_ExtendDecoratorConfig>): (target: A_Container<any> | A_Component, propertyKey: string, descriptor: A_TYPES__A_AbstractionDecoratorDescriptor) => void;
14
+ export declare function A_Abstraction_Extend(method: A_TYPES__ConceptStage, config?: Partial<A_TYPES__A_ExtendDecoratorConfig>): (target: A_Container | A_Component, propertyKey: string, descriptor: A_TYPES__A_AbstractionDecoratorDescriptor) => void;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.A_Abstraction = A_Abstraction;
3
+ exports.A_Abstraction_Extend = A_Abstraction_Extend;
4
4
  const A_Component_class_1 = require("../../global/A-Component/A-Component.class");
5
5
  const A_Component_types_1 = require("../../global/A-Component/A-Component.types");
6
6
  const A_Context_class_1 = require("../../global/A-Context/A-Context.class");
@@ -15,11 +15,11 @@ const A_Meta_class_1 = require("../../global/A-Meta/A-Meta.class");
15
15
  * @param params
16
16
  * @returns
17
17
  */
18
- function A_Abstraction(method, config = {}) {
18
+ function A_Abstraction_Extend(method, config = {}) {
19
19
  return function (target, propertyKey, descriptor) {
20
20
  const meta = A_Context_class_1.A_Context.meta(target);
21
21
  let metaKey;
22
- const StageKey = `CONCEPT_ABSTRACTION::${method}`;
22
+ const abstractionKey = `${method}`;
23
23
  switch (true) {
24
24
  case target instanceof A_Container_class_1.A_Container:
25
25
  metaKey = A_Container_types_1.A_TYPES__ContainerMetaKey.ABSTRACTIONS;
@@ -33,7 +33,7 @@ function A_Abstraction(method, config = {}) {
33
33
  // Get the existed metadata or create a new one
34
34
  const existedMeta = meta.get(metaKey) || new A_Meta_class_1.A_Meta();
35
35
  // Set the metadata of the method to define a custom Stage with name
36
- const existedMetaValue = existedMeta.get(StageKey) || [];
36
+ const existedMetaValue = existedMeta.get(abstractionKey) || [];
37
37
  // Add the new method to the metadata
38
38
  existedMetaValue.push({
39
39
  name: method,
@@ -43,11 +43,11 @@ function A_Abstraction(method, config = {}) {
43
43
  behavior: config.behavior || 'sync'
44
44
  });
45
45
  // Set the metadata of the method to define a custom Feature with name
46
- existedMeta.set(StageKey, existedMetaValue);
46
+ existedMeta.set(abstractionKey, existedMetaValue);
47
47
  // Update the metadata of the container with the new Stage definition
48
48
  A_Context_class_1.A_Context
49
49
  .meta(target)
50
50
  .set(metaKey, existedMeta);
51
51
  };
52
52
  }
53
- //# sourceMappingURL=A-Abstraction.decorator.js.map
53
+ //# sourceMappingURL=A-Abstraction-Extend.decorator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"A-Abstraction-Extend.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Abstraction/A-Abstraction-Extend.decorator.ts"],"names":[],"mappings":";;AAsBA,oDA0DC;AAhFD,6FAAoF;AAIpF,6FAAkG;AAClG,uFAA8E;AAC9E,6FAAoF;AACpF,6FAAkG;AAIlG,8EAAqE;AAGrE;;;;;;;GAOG;AACH,SAAgB,oBAAoB,CAChC,MAA6B,EAC7B,SAAoD,EAAE;IAEtD,OAAO,UACH,MAAiC,EACjC,WAAmB,EACnB,UAAqD;QAGrD,MAAM,IAAI,GAAsC,2BAAS,CAAC,IAAI,CAAC,MAAa,CAAC,CAAC;QAE9E,IAAI,OAAO,CAAC;QAEZ,MAAM,cAAc,GAAG,GAAG,MAAM,EAAE,CAAC;QAEnC,QAAQ,IAAI,EAAE,CAAC;YACX,KAAK,MAAM,YAAY,+BAAW;gBAC9B,OAAO,GAAG,6CAAyB,CAAC,YAAY,CAAA;gBAChD,MAAM;YACV,KAAK,MAAM,YAAY,+BAAW;gBAC9B,OAAO,GAAG,6CAAyB,CAAC,YAAY,CAAA;gBAChD,MAAM;YACV;gBACI,MAAM,IAAI,KAAK,CAAC,0CAA0C,MAAM,QAAQ,CAAC,CAAC;QAClF,CAAC;QAED,+CAA+C;QAC/C,MAAM,WAAW,GAEZ,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,qBAAM,EAAE,CAAC;QAEvC,oEAAoE;QACpE,MAAM,gBAAgB,GAAG,WAAW,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;QAG/D,qCAAqC;QACrC,gBAAgB,CAAC,IAAI,CAAC;YAClB,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,WAAW;YACpB,MAAM,EAAE,MAAM,CAAC,MAAM,IAAI,EAAE;YAC3B,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,EAAE;YACzB,QAAQ,EAAE,MAAM,CAAC,QAAQ,IAAI,MAAM;SACtC,CAAC,CAAC;QAEH,sEAAsE;QACtE,WAAW,CAAC,GAAG,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAGlD,sEAAsE;QACtE,2BAAS;aACJ,IAAI,CAAC,MAAa,CAAC;aACnB,GAAG,CACA,OAAO,EACP,WAAW,CACd,CAAC;IAEV,CAAC,CAAC;AACN,CAAC"}
@@ -1,2 +1,2 @@
1
1
  export type A_TYPES__A_AbstractionDecoratorDescriptor = TypedPropertyDescriptor<() => any> | TypedPropertyDescriptor<(...args: any[]) => any> | TypedPropertyDescriptor<(...args: any[]) => Promise<any>> | TypedPropertyDescriptor<() => Promise<any>>;
2
- export type A_TYPES__A_StageDecoratorConfig = {};
2
+ export type A_TYPES__A_AbstractionDecoratorConfig = {};
@@ -1 +1 @@
1
- {"version":3,"file":"A-Connect.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Connect/A-Connect.decorator.ts"],"names":[],"mappings":";;AA4BA,8BA0CC;AArED,uFAA8E;AA2B9E,SAAgB,SAAS,CACrB,OAAyB,EACzB,MAAqB;IAErB,OAAO,UACH,MAAsC,EACtC,UAAuC,EACvC,cAAsB;QAGtB,MAAM,IAAI,GAAsC,2BAAS,CAAC,IAAI,CAAC,MAAa,CAAC,CAAC;QAE9E,IAAI,OAAO,CAAC;QAGZ,kDAAkD;QAClD,8BAA8B;QAC9B,8DAA8D;QAC9D,0CAA0C;QAE1C,uEAAuE;QACvE,4DAA4D;QAE5D,wCAAwC;QACxC,0BAA0B;QAC1B,oBAAoB;QACpB,4BAA4B;QAC5B,MAAM;QAEN,yEAAyE;QACzE,+CAA+C;QAG/C,yEAAyE;QACzE,YAAY;QACZ,2BAA2B;QAC3B,YAAY;QACZ,mBAAmB;QACnB,sBAAsB;QACtB,SAAS;IAEb,CAAC,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"A-Connect.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Connect/A-Connect.decorator.ts"],"names":[],"mappings":";;AA4BA,8BA0CC;AArED,uFAA8E;AA2B9E,SAAgB,SAAS,CACrB,OAAyB,EACzB,MAAqB;IAErB,OAAO,UACH,MAAiC,EACjC,UAAuC,EACvC,cAAsB;QAGtB,MAAM,IAAI,GAAsC,2BAAS,CAAC,IAAI,CAAC,MAAa,CAAC,CAAC;QAE9E,IAAI,OAAO,CAAC;QAGZ,kDAAkD;QAClD,8BAA8B;QAC9B,8DAA8D;QAC9D,0CAA0C;QAE1C,uEAAuE;QACvE,4DAA4D;QAE5D,wCAAwC;QACxC,0BAA0B;QAC1B,oBAAoB;QACpB,4BAA4B;QAC5B,MAAM;QAEN,yEAAyE;QACzE,+CAA+C;QAG/C,yEAAyE;QACzE,YAAY;QACZ,2BAA2B;QAC3B,YAAY;QACZ,mBAAmB;QACnB,sBAAsB;QACtB,SAAS;IAEb,CAAC,CAAC;AACN,CAAC"}
@@ -4,7 +4,7 @@ export type A_TYPES__EntityListDecoratorQuery = {
4
4
  aseid: string | ASEID;
5
5
  id: string;
6
6
  type: {
7
- new (...args: any[]): A_Entity<any, any, any>;
7
+ new (...args: any[]): A_Entity;
8
8
  };
9
9
  entity: string;
10
10
  };
@@ -1,7 +1,7 @@
1
- import { A_Component } from "../../global/A-Component/A-Component.class";
2
1
  import { A_TYPES__A_FeatureDecoratorConfig, A_TYPES__A_FeatureDecoratorDescriptor } from "./A-Feature.decorator.types";
3
- import { A_Container } from "../../global/A-Container/A-Container.class";
4
2
  import { A_Entity } from "../../global/A-Entity/A-Entity.class";
3
+ import { A_Component } from "../../global/A-Component/A-Component.class";
4
+ import { A_Container } from "../../global/A-Container/A-Container.class";
5
5
  /**
6
6
  * A-Feature decorator
7
7
  *
@@ -15,4 +15,4 @@ import { A_Entity } from "../../global/A-Entity/A-Entity.class";
15
15
  * @param params
16
16
  * @returns
17
17
  */
18
- export declare function A_Feature_Define(config?: Partial<A_TYPES__A_FeatureDecoratorConfig>): (target: A_Container<any> | A_Entity | A_Component, propertyKey: string, descriptor: A_TYPES__A_FeatureDecoratorDescriptor) => void;
18
+ export declare function A_Feature_Define(config?: Partial<A_TYPES__A_FeatureDecoratorConfig>): (target: A_Container | A_Entity | A_Component, propertyKey: string, descriptor: A_TYPES__A_FeatureDecoratorDescriptor) => A_TYPES__A_FeatureDecoratorDescriptor;
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.A_Feature_Define = A_Feature_Define;
4
+ const A_Entity_class_1 = require("../../global/A-Entity/A-Entity.class");
5
+ const A_Context_class_1 = require("../../global/A-Context/A-Context.class");
4
6
  const A_Component_class_1 = require("../../global/A-Component/A-Component.class");
5
7
  const A_Container_class_1 = require("../../global/A-Container/A-Container.class");
6
8
  const A_Container_types_1 = require("../../global/A-Container/A-Container.types");
7
- const A_Context_class_1 = require("../../global/A-Context/A-Context.class");
8
9
  const A_Entity_types_1 = require("../../global/A-Entity/A-Entity.types");
9
10
  const A_Component_types_1 = require("../../global/A-Component/A-Component.types");
10
- const A_Entity_class_1 = require("../../global/A-Entity/A-Entity.class");
11
11
  const A_Meta_class_1 = require("../../global/A-Meta/A-Meta.class");
12
12
  /**
13
13
  * A-Feature decorator
@@ -41,10 +41,12 @@ function A_Feature_Define(config = {}) {
41
41
  }
42
42
  // Get the existed metadata or create a new one
43
43
  const existedMeta = meta.get(metaKey) || new A_Meta_class_1.A_Meta();
44
+ const handlerName = config.name || propertyKey;
45
+ const invoke = config.invoke !== false;
44
46
  // Set the metadata of the method to define a custom Feature with name
45
47
  existedMeta.set(propertyKey, {
46
- name: `${target.constructor.name}.${propertyKey || config.name}`,
47
- handler: propertyKey,
48
+ name: `${target.constructor.name}.${handlerName}`,
49
+ handler: handlerName,
48
50
  template: config.template && config.template.length ? config.template.map(item => (Object.assign(Object.assign({}, item), { before: item.before || [], after: item.after || [], behavior: item.behavior || 'sync' }))) : [],
49
51
  channel: config.channel || []
50
52
  });
@@ -52,6 +54,20 @@ function A_Feature_Define(config = {}) {
52
54
  A_Context_class_1.A_Context
53
55
  .meta(target.constructor)
54
56
  .set(metaKey, existedMeta);
57
+ const originalMethod = descriptor.value;
58
+ // Wrap the original method to add the call to `call`
59
+ // this helps to automatically call the container/entity/component method when it's called
60
+ descriptor.value = function (...args) {
61
+ // Call the original method
62
+ if (!invoke)
63
+ return originalMethod.apply(this, args);
64
+ else
65
+ originalMethod.apply(this, args);
66
+ // Call your `call` with the function name
67
+ if (typeof this.call === "function" && invoke)
68
+ return this.call(propertyKey);
69
+ };
70
+ return descriptor;
55
71
  };
56
72
  }
57
73
  //# sourceMappingURL=A-Feature-Define.decorator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"A-Feature-Define.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Feature/A-Feature-Define.decorator.ts"],"names":[],"mappings":";;AA+BA,4CA+DC;AA9FD,6FAAoF;AAMpF,6FA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AAI,CAAC,KAAK,IAAI,EAAE,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,MAAM,IACnC,CACL,CAAC,CAAC,CAAC,EAAE;YACN,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE;SAChC,CAAC,CAAC;QAEH,wEAAwE;QACxE,2BAAS;aACJ,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC;aACxB,GAAG,CACA,OAAO,EACP,WAAW,CACd,CAAC;IACV,CAAC,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"A-Feature-Define.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Feature/A-Feature-Define.decorator.ts"],"names":[],"mappings":";;AA8BA,4CA2FC;AApHD,oFAA2E;AAC3E,uFAA8E;AAC9E,6FAAoF;AACpF,6FAAoF;AACpF,6FAAkG;AAIlG,oFAAyF;AACzF,6FAAkG;AAClG,8EAAqE;AAErE;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAC5B,SAAqD,EAAE;IAEvD,OAAO,UACH,MAA4C,EAC5C,WAAmB,EACnB,UAAiD;QAGjD,MAAM,IAAI,GAAqD,2BAAS,CAAC,IAAI,CAAC,MAAM,CAAC,WAAkB,CAAC,CAAC;QAEzG,IAAI,OAAO,CAAC;QAGZ,QAAQ,IAAI,EAAE,CAAC;YACX,KAAK,MAAM,YAAY,yBAAQ;gBAC3B,OAAO,GAAG,uCAAsB,CAAC,QAAQ,CAAC;gBAC1C,MAAM;YACV,KAAK,MAAM,YAAY,+BAAW;gBAC9B,OAAO,GAAG,6CAAyB,CAAC,QAAQ,CAAA;gBAC5C,MAAM;YACV,KAAK,MAAM,YAAY,+BAAW;gBAC9B,OAAO,GAAG,6CAAyB,CAAC,QAAQ,CAAA;gBAC5C,MAAM;YACV;gBACI,MAAM,IAAI,KAAK,CAAC,sCAAsC,MAAM,QAAQ,CAAC,CAAC;QAC9E,CAAC;QAGD,+CAA+C;QAC/C,MAAM,WAAW,GAOZ,IAAI,C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I,MAAM;gBAClD,OAAQ,IAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAE/C,CAAC,CAAC;QAEF,OAAO,UAAU,CAAC;IACtB,CAAC,CAAC;AACN,CAAC"}
@@ -9,9 +9,10 @@ export type A_TYPES__A_Feature_Extend = {
9
9
  (config: Partial<A_TYPES__A_ExtendDecoratorConfig>): MethodDecorator;
10
10
  (): MethodDecorator;
11
11
  };
12
- export type A_TYPES__A_FeatureDecoratorDescriptor = TypedPropertyDescriptor<() => any> | TypedPropertyDescriptor<(...args: any[]) => any> | TypedPropertyDescriptor<(...args: any[]) => Promise<any>> | TypedPropertyDescriptor<() => Promise<any>>;
12
+ export type A_TYPES__A_FeatureDecoratorDescriptor = TypedPropertyDescriptor<((...args: any[]) => any) | ((...args: any[]) => Promise<any>) | (() => any) | (() => Promise<any>)>;
13
13
  export type A_TYPES__A_FeatureDecoratorConfig = {
14
14
  name: string;
15
+ invoke: boolean;
15
16
  channel: Array<typeof A_Channel>;
16
17
  template: Array<A_TYPES__A_FeatureTemplateItem>;
17
18
  };
@@ -38,7 +39,7 @@ export type A_TYPES__A_ExtendDecoratorConfig = {
38
39
  * [!!] By default uses OR to join all provided items. If you need more complex Logic, please use Regexp instead
39
40
  */
40
41
  scope: Array<{
41
- new (...args: any[]): A_Container<any>;
42
+ new (...args: any[]): A_Container;
42
43
  } | {
43
44
  new (...args: any[]): A_Entity;
44
45
  } | {
@@ -1,5 +1,5 @@
1
- import { A_Component } from "../../global/A-Component/A-Component.class";
2
1
  import { A_TYPES__A_InjectDecorator_EntityInjectionInstructions, A_TYPES__A_InjectDecoratorReturn } from "./A-Inject.decorator.types";
2
+ import { A_Component } from "../../global/A-Component/A-Component.class";
3
3
  import { A_Fragment } from "../../global/A-Fragment/A-Fragment.class";
4
4
  import { A_Scope } from "../../global/A-Scope/A-Scope.class";
5
5
  import { A_Feature } from "../../global/A-Feature/A-Feature.class";
@@ -1,16 +1,37 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.A_Inject = A_Inject;
4
+ const A_Component_class_1 = require("../../global/A-Component/A-Component.class");
4
5
  const A_Context_class_1 = require("../../global/A-Context/A-Context.class");
5
6
  const A_Component_types_1 = require("../../global/A-Component/A-Component.types");
6
7
  const A_Meta_class_1 = require("../../global/A-Meta/A-Meta.class");
8
+ const A_Container_class_1 = require("../../global/A-Container/A-Container.class");
9
+ const A_Container_types_1 = require("../../global/A-Container/A-Container.types");
10
+ const a_utils_1 = require("@adaas/a-utils");
7
11
  // ====================== BASE FUNCTION ======================
8
12
  function A_Inject(param1, param2) {
9
13
  return function (target, methodName, parameterIndex) {
10
14
  const method = methodName ? String(methodName) : 'constructor';
15
+ let metaKey;
16
+ switch (true) {
17
+ case target instanceof A_Component_class_1.A_Component:
18
+ metaKey = A_Component_types_1.A_TYPES__ComponentMetaKey.INJECTIONS;
19
+ break;
20
+ case a_utils_1.A_CommonHelper.isInheritedFrom(target, A_Component_class_1.A_Component):
21
+ metaKey = A_Component_types_1.A_TYPES__ComponentMetaKey.INJECTIONS;
22
+ break;
23
+ case a_utils_1.A_CommonHelper.isInheritedFrom(target, A_Container_class_1.A_Container):
24
+ metaKey = A_Container_types_1.A_TYPES__ContainerMetaKey.INJECTIONS;
25
+ break;
26
+ case target instanceof A_Container_class_1.A_Container:
27
+ metaKey = A_Container_types_1.A_TYPES__ContainerMetaKey.INJECTIONS;
28
+ break;
29
+ default:
30
+ throw new Error(`A-Inject cannot be defined on the ${target} level`);
31
+ }
11
32
  const existedMeta = A_Context_class_1.A_Context
12
33
  .meta(target)
13
- .get(A_Component_types_1.A_TYPES__ComponentMetaKey.INJECTIONS)
34
+ .get(metaKey)
14
35
  || new A_Meta_class_1.A_Meta();
15
36
  const paramsArray = existedMeta.get(method) || [];
16
37
  paramsArray[parameterIndex] = {
@@ -20,7 +41,7 @@ function A_Inject(param1, param2) {
20
41
  existedMeta.set(method, paramsArray);
21
42
  A_Context_class_1.A_Context
22
43
  .meta(target)
23
- .set(A_Component_types_1.A_TYPES__ComponentMetaKey.INJECTIONS, existedMeta);
44
+ .set(metaKey, existedMeta);
24
45
  };
25
46
  }
26
47
  //# sourceMappingURL=A-Inject.decorator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"A-Inject.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Inject/A-Inject.decorator.ts"],"names":[],"mappings":";;AAmDA,4BAsCC;AAlFD,uFAA8E;AAC9E,6FAAkG;AAClG,8EAAqE;AAyCrE,8DAA8D;AAC9D,SAAgB,QAAQ,CACpB,MAIuC,EACvC,MAAwE;IAExE,OAAO,UACH,MAAmB,EACnB,UAAuC,EACvC,cAAsB;QAGtB,MAAM,MAAM,GAAG,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;QAE/D,MAAM,WAAW,GAAG,2BAAS;aACxB,IAAI,CAAC,MAAM,CAAC;aACZ,GAAG,CAAC,6CAAyB,CAAC,UAAU,CAAC;eACvC,IAAI,qBAAM,EAAE,CAAC;QAGpB,MAAM,WAAW,GAAG,WAAW,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QAElD,WAAW,CAAC,cAAc,CAAC,GAAG;YAC1B,MAAM,EAAE,MAAM;YACd,YAAY,EAAE,MAAM;SACvB,CAAA;QAED,WAAW,CAAC,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;QAErC,2BAAS;aACJ,IAAI,CAAC,MAAM,CAAC;aACZ,GAAG,CACA,6CAAyB,CAAC,UAAU,EACpC,WAAW,CACd,CAAC;IACV,CAAC,CAAA;AACL,CAAC"}
1
+ {"version":3,"file":"A-Inject.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Inject/A-Inject.decorator.ts"],"names":[],"mappings":";;AAqDA,4BA+DC;AAhHD,6FAAoF;AAGpF,uFAA8E;AAC9E,6FAAkG;AAClG,8EAAqE;AAGrE,6FAAoF;A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