@adaas/a-concept 0.0.32 → 0.0.34

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.component.js +3 -3
  12. package/dist/src/base/A-Errors/A-Errors.component.js.map +1 -1
  13. package/dist/src/base/A-Errors/A-Errors.context.js.map +1 -1
  14. package/dist/src/base/A-Logger/A-Logger.component.js.map +1 -1
  15. package/dist/src/decorators/A-Abstraction/{A-Abstraction.decorator.d.ts → A-Abstraction-Extend.decorator.d.ts} +1 -1
  16. package/dist/src/decorators/A-Abstraction/{A-Abstraction.decorator.js → A-Abstraction-Extend.decorator.js} +6 -6
  17. package/dist/src/decorators/A-Abstraction/A-Abstraction-Extend.decorator.js.map +1 -0
  18. package/dist/src/decorators/A-Abstraction/A-Abstraction.decorator.types.d.ts +1 -1
  19. package/dist/src/decorators/A-Connect/A-Connect.decorator.js.map +1 -1
  20. package/dist/src/decorators/A-Entity/A-Entity.decorator.types.d.ts +1 -1
  21. package/dist/src/decorators/A-Feature/A-Feature-Define.decorator.d.ts +3 -3
  22. package/dist/src/decorators/A-Feature/A-Feature-Define.decorator.js +20 -4
  23. package/dist/src/decorators/A-Feature/A-Feature-Define.decorator.js.map +1 -1
  24. package/dist/src/decorators/A-Feature/A-Feature.decorator.types.d.ts +3 -2
  25. package/dist/src/decorators/A-Inject/A-Inject.decorator.d.ts +1 -1
  26. package/dist/src/decorators/A-Inject/A-Inject.decorator.js +23 -2
  27. package/dist/src/decorators/A-Inject/A-Inject.decorator.js.map +1 -1
  28. package/dist/src/decorators/A-Inject/A-Inject.decorator.types.d.ts +3 -3
  29. package/dist/src/global/A-Abstraction/A-Abstraction.class.d.ts +40 -0
  30. package/dist/src/global/A-Abstraction/A-Abstraction.class.js +113 -0
  31. package/dist/src/global/A-Abstraction/A-Abstraction.class.js.map +1 -0
  32. package/dist/src/global/A-Abstraction/A-Abstraction.types.d.ts +13 -0
  33. package/dist/src/global/A-Abstraction/A-Abstraction.types.js +11 -0
  34. package/dist/src/global/A-Abstraction/A-Abstraction.types.js.map +1 -0
  35. package/dist/src/global/A-Channel/A-Channel.class.js +0 -1
  36. package/dist/src/global/A-Channel/A-Channel.class.js.map +1 -1
  37. package/dist/src/global/A-Channel/A-Channel.types.d.ts +2 -1
  38. package/dist/src/global/A-Component/A-Component.class.d.ts +5 -30
  39. package/dist/src/global/A-Component/A-Component.class.js +6 -10
  40. package/dist/src/global/A-Component/A-Component.class.js.map +1 -1
  41. package/dist/src/global/A-Component/A-Component.meta.d.ts +9 -2
  42. package/dist/src/global/A-Component/A-Component.meta.js +10 -1
  43. package/dist/src/global/A-Component/A-Component.meta.js.map +1 -1
  44. package/dist/src/global/A-Concept/A_Concept.class.d.ts +43 -20
  45. package/dist/src/global/A-Concept/A_Concept.class.js +77 -65
  46. package/dist/src/global/A-Concept/A_Concept.class.js.map +1 -1
  47. package/dist/src/global/A-Concept/A_Concept.meta.d.ts +10 -0
  48. package/dist/src/global/A-Concept/A_Concept.meta.js +20 -0
  49. package/dist/src/global/A-Concept/A_Concept.meta.js.map +1 -1
  50. package/dist/src/global/A-Concept/A_Concept.types.d.ts +9 -6
  51. package/dist/src/global/A-Container/A-Container.class.d.ts +7 -50
  52. package/dist/src/global/A-Container/A-Container.class.js +9 -19
  53. package/dist/src/global/A-Container/A-Container.class.js.map +1 -1
  54. package/dist/src/global/A-Container/A-Container.meta.d.ts +15 -0
  55. package/dist/src/global/A-Container/A-Container.meta.js +20 -0
  56. package/dist/src/global/A-Container/A-Container.meta.js.map +1 -1
  57. package/dist/src/global/A-Context/A-Context.class.d.ts +21 -21
  58. package/dist/src/global/A-Context/A-Context.class.js +60 -15
  59. package/dist/src/global/A-Context/A-Context.class.js.map +1 -1
  60. package/dist/src/global/A-Entity/A-Entity.class.d.ts +10 -18
  61. package/dist/src/global/A-Entity/A-Entity.class.js +21 -31
  62. package/dist/src/global/A-Entity/A-Entity.class.js.map +1 -1
  63. package/dist/src/global/A-Entity/A-Entity.meta.js.map +1 -1
  64. package/dist/src/global/A-Entity/A-Entity.types.d.ts +3 -2
  65. package/dist/src/global/A-Entity/A-Entity.types.js +1 -0
  66. package/dist/src/global/A-Entity/A-Entity.types.js.map +1 -1
  67. package/dist/src/global/A-Feature/A-Feature.class.d.ts +2 -1
  68. package/dist/src/global/A-Feature/A-Feature.class.js +14 -4
  69. package/dist/src/global/A-Feature/A-Feature.class.js.map +1 -1
  70. package/dist/src/global/A-Feature/A-Feature.types.d.ts +9 -0
  71. package/dist/src/global/A-Feature/A-Feature.types.js.map +1 -1
  72. package/dist/src/global/A-Meta/A-Meta.class.d.ts +1 -0
  73. package/dist/src/global/A-Meta/A-Meta.class.js +3 -6
  74. package/dist/src/global/A-Meta/A-Meta.class.js.map +1 -1
  75. package/dist/src/global/A-Scope/A-Scope.class.d.ts +4 -2
  76. package/dist/src/global/A-Scope/A-Scope.class.js +25 -16
  77. package/dist/src/global/A-Scope/A-Scope.class.js.map +1 -1
  78. package/dist/src/global/A-Scope/A-Scope.types.d.ts +4 -6
  79. package/dist/src/global/A-Stage/A-Stage.class.d.ts +3 -3
  80. package/dist/src/global/A-Stage/A-Stage.class.js +11 -10
  81. package/dist/src/global/A-Stage/A-Stage.class.js.map +1 -1
  82. package/dist/src/global/A-Stage/A-Stage.types.d.ts +1 -1
  83. package/dist/src/global/A-Stage/A-Stage.types.js.map +1 -1
  84. package/dist/src/helpers/StepsManager.class.d.ts +1 -0
  85. package/dist/src/helpers/StepsManager.class.js +10 -7
  86. package/dist/src/helpers/StepsManager.class.js.map +1 -1
  87. package/docs/a-concept-logo.png +0 -0
  88. package/docs/a-logo-docs.png +0 -0
  89. package/examples/fe-be/channels/Test.channel.ts +6 -3
  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 +25 -12
  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.component.ts +3 -3
  105. package/src/base/A-Errors/A-Errors.context.ts +2 -1
  106. package/src/base/A-Logger/A-Logger.component.ts +0 -1
  107. package/src/decorators/A-Abstraction/{A-Abstraction.decorator.ts → A-Abstraction-Extend.decorator.ts} +5 -6
  108. package/src/decorators/A-Abstraction/A-Abstraction.decorator.types.ts +1 -1
  109. package/src/decorators/A-Connect/A-Connect.decorator.ts +1 -1
  110. package/src/decorators/A-Entity/A-Entity.decorator.types.ts +1 -1
  111. package/src/decorators/A-Feature/A-Feature-Define.decorator.ts +37 -10
  112. package/src/decorators/A-Feature/A-Feature.decorator.types.ts +12 -12
  113. package/src/decorators/A-Inject/A-Inject.decorator.ts +31 -4
  114. package/src/decorators/A-Inject/A-Inject.decorator.types.ts +4 -3
  115. package/src/global/A-Abstraction/A-Abstraction.class.ts +130 -0
  116. package/src/global/A-Abstraction/A-Abstraction.types.ts +22 -0
  117. package/src/global/A-Channel/A-Channel.class.ts +0 -2
  118. package/src/global/A-Channel/A-Channel.types.ts +2 -1
  119. package/src/global/A-Component/A-Component.class.ts +12 -52
  120. package/src/global/A-Component/A-Component.meta.ts +19 -2
  121. package/src/global/A-Concept/A_Concept.class.ts +109 -111
  122. package/src/global/A-Concept/A_Concept.meta.ts +68 -0
  123. package/src/global/A-Concept/A_Concept.types.ts +11 -4
  124. package/src/global/A-Container/A-Container.class.ts +11 -90
  125. package/src/global/A-Container/A-Container.meta.ts +33 -0
  126. package/src/global/A-Context/A-Context.class.ts +139 -56
  127. package/src/global/A-Entity/A-Entity.class.ts +22 -69
  128. package/src/global/A-Entity/A-Entity.meta.ts +3 -2
  129. package/src/global/A-Entity/A-Entity.types.ts +2 -1
  130. package/src/global/A-Feature/A-Feature.class.ts +18 -7
  131. package/src/global/A-Feature/A-Feature.types.ts +10 -2
  132. package/src/global/A-Meta/A-Meta.class.ts +5 -8
  133. package/src/global/A-Scope/A-Scope.class.ts +40 -21
  134. package/src/global/A-Scope/A-Scope.types.ts +8 -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
@@ -1,32 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.DirectChannel = void 0;
13
- const A_Channel_class_1 = require("../../../src/global/A-Channel/A-Channel.class");
14
- class DirectChannel extends A_Channel_class_1.A_Channel {
15
- constructor(container) {
16
- super({
17
- id: `direct-channel--${container.name}`
18
- });
19
- this.container = container;
20
- this.instance = container;
21
- }
22
- call(prop, params) {
23
- return __awaiter(this, void 0, void 0, function* () {
24
- if (!this.instance[prop]) {
25
- throw new Error(`Method ${prop} not found in ${this.instance.name}`);
26
- }
27
- return yield this.instance[prop](params);
28
- });
29
- }
30
- }
31
- exports.DirectChannel = DirectChannel;
32
- //# sourceMappingURL=Direct.channel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Direct.channel.js","sourceRoot":"","sources":["../../../../examples/multi-container/channels/Direct.channel.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uFAA8E;AAM9E,MAAa,aAEX,SAAQ,2BAAc;IAIpB,YACW,SAAY;QAEnB,KAAK,CAAC;YACF,EAAE,EAAE,mBAAmB,SAAS,CAAC,IAAI,EAAE;SAC1C,CAAC,CAAC;QAJI,cAAS,GAAT,SAAS,CAAG;QAMnB,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;IAC9B,CAAC;IAGK,IAAI,CACN,IAA6C,EAC7C,MAA8C;;YAG9C,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;gBACvB,MAAM,IAAI,KAAK,CAAC,UAAU,IAAI,iBAAiB,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;YACzE,CAAC;YAED,OAAO,MAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAS,CAAC,MAAM,CAAmB,CAAC;QACxE,CAAC;KAAA;CAEJ;AA7BD,sCA6BC"}
File without changes
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=concept.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"concept.js","sourceRoot":"","sources":["../../../examples/multi-container/concept.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- import { A_Channel } from "../../../src/global/A-Channel/A-Channel.class";
2
- import { A_TYPES__A_ChannelCallParams } from "../../../src/global/A-Channel/A-Channel.types";
3
- import { A_Container } from "../../../src/global/A-Container/A-Container.class";
4
- import { ScheduleContainer } from "./Schedule.container";
5
- export declare class CommandContainer extends A_Container<[
6
- 'execute'
7
- ]> {
8
- constructor();
9
- execute(arg: Partial<A_TYPES__A_ChannelCallParams>): Promise<void>;
10
- doSomething(schedule: A_Channel<[ScheduleContainer]>): Promise<void>;
11
- }
@@ -1,51 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __param = (this && this.__param) || function (paramIndex, decorator) {
9
- return function (target, key) { decorator(target, key, paramIndex); }
10
- };
11
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
13
- return new (P || (P = Promise))(function (resolve, reject) {
14
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
15
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
16
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
17
- step((generator = generator.apply(thisArg, _arguments || [])).next());
18
- });
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.CommandContainer = void 0;
22
- const A_Connect_decorator_1 = require("../../../src/decorators/A-Connect/A-Connect.decorator");
23
- const A_Channel_class_1 = require("../../../src/global/A-Channel/A-Channel.class");
24
- const A_Container_class_1 = require("../../../src/global/A-Container/A-Container.class");
25
- const A_Feature_class_1 = require("../../../src/global/A-Feature/A-Feature.class");
26
- class CommandContainer extends A_Container_class_1.A_Container {
27
- constructor() {
28
- super({});
29
- }
30
- execute(arg) {
31
- return __awaiter(this, void 0, void 0, function* () {
32
- console.log('CommandContainer -> command()');
33
- });
34
- }
35
- doSomething(schedule) {
36
- return __awaiter(this, void 0, void 0, function* () {
37
- schedule.call('schedule', {});
38
- });
39
- }
40
- }
41
- exports.CommandContainer = CommandContainer;
42
- __decorate([
43
- A_Feature_class_1.A_Feature.Define({
44
- name: 'execute',
45
- // channels: []
46
- })
47
- ], CommandContainer.prototype, "execute", null);
48
- __decorate([
49
- __param(0, (0, A_Connect_decorator_1.A_Connect)(A_Channel_class_1.A_Channel, ''))
50
- ], CommandContainer.prototype, "doSomething", null);
51
- //# sourceMappingURL=Command.container.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Command.container.js","sourceRoot":"","sources":["../../../../examples/multi-container/containers/Command.container.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,mGAAsF;AACtF,uFAA8E;AAE9E,6FAAoF;AACpF,uFAA8E;AAK9E,MAAa,gBAAiB,SAAQ,+BAEpC;IAEE;QACI,KAAK,CAAC,EAAE,CAAC,CAAC;IACd,CAAC;IAQK,OAAO,CACT,GAA0C;;YAE1C,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;QACjD,CAAC;KAAA;IAKK,WAAW,CACa,QAAwC;;YAGlE,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QAElC,CAAC;KAAA;CAEJ;AA/BD,4CA+BC;AAjBS;IAJL,2BAAS,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,SAAS;QACf,eAAe;KAClB,CAAC;+CAKD;AAKK;IACD,WAAA,IAAA,+BAAS,EAAC,2BAAS,EAAE,EAAE,CAAC,CAAA;mDAK5B"}
@@ -1,15 +0,0 @@
1
- import { A_Channel } from "../../../src/global/A-Channel/A-Channel.class";
2
- import { A_Container } from "../../../src/global/A-Container/A-Container.class";
3
- import { CommandContainer } from "./Command.container";
4
- export declare class ScheduleContainer extends A_Container<[
5
- 'schedule',
6
- 'start',
7
- 'stop',
8
- 'pause'
9
- ]> {
10
- private tasks;
11
- constructor();
12
- schedule(): Promise<void>;
13
- start(): Promise<void>;
14
- onExecution(commands: A_Channel<[CommandContainer]>): Promise<void>;
15
- }
@@ -1,67 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __param = (this && this.__param) || function (paramIndex, decorator) {
9
- return function (target, key) { decorator(target, key, paramIndex); }
10
- };
11
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
13
- return new (P || (P = Promise))(function (resolve, reject) {
14
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
15
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
16
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
17
- step((generator = generator.apply(thisArg, _arguments || [])).next());
18
- });
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.ScheduleContainer = void 0;
22
- const A_Connect_decorator_1 = require("../../../src/decorators/A-Connect/A-Connect.decorator");
23
- const A_Feature_Define_decorator_1 = require("../../../src/decorators/A-Feature/A-Feature-Define.decorator");
24
- const A_Channel_class_1 = require("../../../src/global/A-Channel/A-Channel.class");
25
- const A_Container_class_1 = require("../../../src/global/A-Container/A-Container.class");
26
- class ScheduleContainer extends A_Container_class_1.A_Container {
27
- constructor() {
28
- super({});
29
- this.tasks = [];
30
- }
31
- schedule(
32
- // @A_Inject('task') task: any
33
- ) {
34
- return __awaiter(this, void 0, void 0, function* () {
35
- console.log('ScheduleContainer -> schedule()');
36
- });
37
- }
38
- start() {
39
- return __awaiter(this, void 0, void 0, function* () {
40
- console.log('ScheduleContainer -> start()');
41
- });
42
- }
43
- onExecution(commands) {
44
- return __awaiter(this, void 0, void 0, function* () {
45
- const result = yield commands.call('execute', {
46
- fragments: []
47
- });
48
- });
49
- }
50
- }
51
- exports.ScheduleContainer = ScheduleContainer;
52
- __decorate([
53
- (0, A_Feature_Define_decorator_1.A_Feature_Define)({
54
- name: 'schedule',
55
- // channels: []
56
- })
57
- ], ScheduleContainer.prototype, "schedule", null);
58
- __decorate([
59
- (0, A_Feature_Define_decorator_1.A_Feature_Define)({
60
- name: 'start',
61
- // channels: []
62
- })
63
- ], ScheduleContainer.prototype, "start", null);
64
- __decorate([
65
- __param(0, (0, A_Connect_decorator_1.A_Connect)(A_Channel_class_1.A_Channel, ''))
66
- ], ScheduleContainer.prototype, "onExecution", null);
67
- //# sourceMappingURL=Schedule.container.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schedule.container.js","sourceRoot":"","sources":["../../../../examples/multi-container/containers/Schedule.container.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,mGAAsF;AACtF,iHAAoG;AAEpG,uFAA8E;AAC9E,6FAAoF;AAKpF,MAAa,iBAAkB,SAAQ,+BAKrC;IAKE;QACI,KAAK,CAAC,EAAE,CAAC,CAAC;QAJN,UAAK,GAAG,EAAE,CAAC;IAKnB,CAAC;IAQK,QAAQ;IACV,8BAA8B;;;YAE9B,OAAO,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;QACnD,CAAC;KAAA;IAQK,KAAK;;YACP,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC,CAAC;QAChD,CAAC;KAAA;IAIK,WAAW,CACa,QAAuC;;YAEjE,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE;gBAC1C,SAAS,EAAE,EAAE;aAChB,CAAC,CAAC;QAEP,CAAC;KAAA;CAEJ;AA/CD,8CA+CC;AA3BS;IAJL,IAAA,6CAAgB,EAAC;QACd,IAAI,EAAE,UAAU;QAChB,eAAe;KAClB,CAAC;iDAKD;AAQK;IAJL,IAAA,6CAAgB,EAAC;QACd,IAAI,EAAE,OAAO;QACb,eAAe;KAClB,CAAC;8CAGD;AAIK;IACD,WAAA,IAAA,+BAAS,EAAC,2BAAS,EAAE,EAAE,CAAC,CAAA;oDAM5B"}
File without changes
@@ -1,21 +0,0 @@
1
- "use strict";
2
- // import { A_Concept } from "../../src/global/A-Concept/A_Concept.class";
3
- // import { UsersAPIModule } from "./users.api";
4
- // import { OrdersAPIModule } from "./orders.api";
5
- // (async () => {
6
- // const simpleConcept = new A_Concept({
7
- // name: 'simple-api-concept',
8
- // modules: [
9
- // new UsersAPIModule({
10
- // behavior: 'sync'
11
- // }),
12
- // new OrdersAPIModule({
13
- // behavior: 'sync'
14
- // })
15
- // ],
16
- // context: [
17
- // ]
18
- // });
19
- // await simpleConcept.run();
20
- // })();
21
- //# sourceMappingURL=concept.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"concept.js","sourceRoot":"","sources":["../../../examples/sdk/concept.ts"],"names":[],"mappings":";AAAA,iFAAiF;AACjF,gDAAgD;AAChD,kDAAkD;AAGlD,iBAAiB;AACjB,4CAA4C;AAC5C,sCAAsC;AACtC,qBAAqB;AACrB,mCAAmC;AACnC,mCAAmC;AACnC,kBAAkB;AAClB,oCAAoC;AACpC,mCAAmC;AACnC,iBAAiB;AACjB,aAAa;AACb,qBAAqB;AAErB,YAAY;AACZ,UAAU;AAEV,iCAAiC;AAEjC,QAAQ"}
File without changes
@@ -1,16 +0,0 @@
1
- "use strict";
2
- // import { A_Module } from "@adaas/a-concept/global/A_Module.class"
3
- // declare module "@adaas/a-concept/global/A_Concept.class" {
4
- // interface A_Concept {
5
- // Orders: OrdersAPIModule;
6
- // }
7
- // }
8
- // export class OrdersAPIModule extends A_Module {
9
- // async makeSome1() {
10
- // console.log('Making some request')
11
- // }
12
- // async makeSome2() {
13
- // console.log('Making some request')
14
- // }
15
- // }
16
- //# sourceMappingURL=orders.api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"orders.api.js","sourceRoot":"","sources":["../../../examples/sdk/orders.api.ts"],"names":[],"mappings":";AAAA,oEAAoE;AAGpE,6DAA6D;AAC7D,4BAA4B;AAC5B,mCAAmC;AACnC,QAAQ;AACR,IAAI;AAGJ,kDAAkD;AAElD,0BAA0B;AAC1B,6CAA6C;AAC7C,QAAQ;AAER,0BAA0B;AAC1B,6CAA6C;AAC7C,QAAQ;AAER,IAAI"}
File without changes
@@ -1,16 +0,0 @@
1
- "use strict";
2
- // import { A_Module } from "@adaas/a-concept/global/A_Module.class"
3
- // declare module "@adaas/a-concept/global/A_Concept.class" {
4
- // interface A_Concept {
5
- // Users: UsersAPIModule;
6
- // }
7
- // }
8
- // export class UsersAPIModule extends A_Module {
9
- // async makeSome1() {
10
- // console.log('Making some request')
11
- // }
12
- // async makeSome2() {
13
- // console.log('Making some request')
14
- // }
15
- // }
16
- //# sourceMappingURL=users.api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"users.api.js","sourceRoot":"","sources":["../../../examples/sdk/users.api.ts"],"names":[],"mappings":";AAAA,oEAAoE;AAGpE,6DAA6D;AAC7D,4BAA4B;AAC5B,iCAAiC;AACjC,QAAQ;AACR,IAAI;AAGJ,iDAAiD;AAEjD,0BAA0B;AAC1B,6CAA6C;AAC7C,QAAQ;AAER,0BAA0B;AAC1B,6CAA6C;AAC7C,QAAQ;AAER,IAAI"}
@@ -1,9 +0,0 @@
1
- import { ContextFragmentA } from "../context/Fragment_A.context";
2
- import { ContextFragmentB } from "../context/Fragment_B.context";
3
- import { A_Component } from "../../../src/global/A-Component/A-Component.class";
4
- import { A_Logger } from "../../../src/base/A-Logger/A-Logger.component";
5
- export declare class ComponentA extends A_Component {
6
- load(): Promise<void>;
7
- method_A(fragmentA: ContextFragmentA, logger: A_Logger): Promise<void>;
8
- someMethod(fragmentB: ContextFragmentB): Promise<void>;
9
- }
@@ -1,60 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __param = (this && this.__param) || function (paramIndex, decorator) {
9
- return function (target, key) { decorator(target, key, paramIndex); }
10
- };
11
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
13
- return new (P || (P = Promise))(function (resolve, reject) {
14
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
15
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
16
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
17
- step((generator = generator.apply(thisArg, _arguments || [])).next());
18
- });
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.ComponentA = void 0;
22
- const A_Feature_class_1 = require("../../../src/global/A-Feature/A-Feature.class");
23
- const Fragment_A_context_1 = require("../context/Fragment_A.context");
24
- const Fragment_B_context_1 = require("../context/Fragment_B.context");
25
- const A_Inject_decorator_1 = require("../../../src/decorators/A-Inject/A-Inject.decorator");
26
- const A_Component_class_1 = require("../../../src/global/A-Component/A-Component.class");
27
- const A_Logger_component_1 = require("../../../src/base/A-Logger/A-Logger.component");
28
- class ComponentA extends A_Component_class_1.A_Component {
29
- load() {
30
- return __awaiter(this, void 0, void 0, function* () { });
31
- }
32
- method_A(fragmentA, logger) {
33
- return __awaiter(this, void 0, void 0, function* () {
34
- logger.log('red', 'Component A -> method_A()');
35
- fragmentA.decrement();
36
- });
37
- }
38
- someMethod(fragmentB) {
39
- return __awaiter(this, void 0, void 0, function* () {
40
- console.log('Component A -> method_A() -> someMethod()');
41
- fragmentB.increment();
42
- });
43
- }
44
- }
45
- exports.ComponentA = ComponentA;
46
- __decorate([
47
- A_Feature_class_1.A_Feature.Extend()
48
- ], ComponentA.prototype, "load", null);
49
- __decorate([
50
- A_Feature_class_1.A_Feature.Extend(),
51
- __param(0, (0, A_Inject_decorator_1.A_Inject)(Fragment_A_context_1.ContextFragmentA)),
52
- __param(1, (0, A_Inject_decorator_1.A_Inject)(A_Logger_component_1.A_Logger))
53
- ], ComponentA.prototype, "method_A", null);
54
- __decorate([
55
- A_Feature_class_1.A_Feature.Extend({
56
- name: 'method_A'
57
- }),
58
- __param(0, (0, A_Inject_decorator_1.A_Inject)(Fragment_B_context_1.ContextFragmentB))
59
- ], ComponentA.prototype, "someMethod", null);
60
- //# sourceMappingURL=A.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A.component.js","sourceRoot":"","sources":["../../../../examples/simple/components/A.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,uFAA8E;AAC9E,sEAAiE;AACjE,sEAAiE;AACjE,gGAAmF;AACnF,6FAAoF;AACpF,0FAA6E;AAE7E,MAAa,UAAW,SAAQ,+BAAW;IAIjC,IAAI;8DAAK,CAAC;KAAA;IAKV,QAAQ,CACkB,SAA2B,EACnC,MAAgB;;YAGpC,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,4BAA4B,CAAC,CAAC;YAChD,SAAS,CAAC,SAAS,EAAE,CAAC;QAC1B,CAAC;KAAA;IAOK,UAAU,CACgB,SAA2B;;YAEvD,OAAO,CAAC,GAAG,CAAC,4CAA4C,CAAC,CAAC;YAE1D,SAAS,CAAC,SAAS,EAAE,CAAC;QAC1B,CAAC;KAAA;CAEJ;AA/BD,gCA+BC;AA3BS;IADL,2BAAS,CAAC,MAAM,EAAE;sCACH;AAKV;IADL,2BAAS,CAAC,MAAM,EAAE;IAEd,WAAA,IAAA,6BAAQ,EAAC,qCAAgB,CAAC,CAAA;IAC1B,WAAA,IAAA,6BAAQ,EAAC,6BAAQ,CAAC,CAAA;0CAKtB;AAOK;IAHL,2BAAS,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,UAAU;KACnB,CAAC;IAEG,WAAA,IAAA,6BAAQ,EAAC,qCAAgB,CAAC,CAAA;4CAK9B"}
@@ -1,13 +0,0 @@
1
- import { ContextFragmentB } from "../context/Fragment_B.context";
2
- import { ContextFragmentA } from "../context/Fragment_A.context";
3
- import { A_Component } from "../../../src/global/A-Component/A-Component.class";
4
- import { A_Logger } from "../../../src/base/A-Logger/A-Logger.component";
5
- export declare class ComponentB extends A_Component {
6
- private logger;
7
- constructor(logger: A_Logger);
8
- load(): Promise<void>;
9
- method_B(logger: A_Logger): Promise<void>;
10
- someMethod(): Promise<void>;
11
- someMethod2(): Promise<void>;
12
- someMethod3(context: ContextFragmentB, context2: ContextFragmentA): Promise<void>;
13
- }
@@ -1,88 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __param = (this && this.__param) || function (paramIndex, decorator) {
9
- return function (target, key) { decorator(target, key, paramIndex); }
10
- };
11
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
13
- return new (P || (P = Promise))(function (resolve, reject) {
14
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
15
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
16
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
17
- step((generator = generator.apply(thisArg, _arguments || [])).next());
18
- });
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.ComponentB = void 0;
22
- const A_Inject_decorator_1 = require("../../../src/decorators/A-Inject/A-Inject.decorator");
23
- const Fragment_B_context_1 = require("../context/Fragment_B.context");
24
- const Fragment_A_context_1 = require("../context/Fragment_A.context");
25
- const A_Feature_class_1 = require("../../../src/global/A-Feature/A-Feature.class");
26
- const A_Component_class_1 = require("../../../src/global/A-Component/A-Component.class");
27
- const A_Logger_component_1 = require("../../../src/base/A-Logger/A-Logger.component");
28
- let ComponentB = class ComponentB extends A_Component_class_1.A_Component {
29
- constructor(logger) {
30
- super();
31
- this.logger = logger;
32
- }
33
- load() {
34
- return __awaiter(this, void 0, void 0, function* () {
35
- console.log('Component B -> load()');
36
- });
37
- }
38
- method_B(logger) {
39
- return __awaiter(this, void 0, void 0, function* () {
40
- logger.log('cyan', 'Component B -> method_B()');
41
- });
42
- }
43
- someMethod() {
44
- return __awaiter(this, void 0, void 0, function* () {
45
- this.logger.log('pink', 'Component B -> method_B() -> someMethod()');
46
- this.logger.log('Component B -> method_B() -> someMethod()');
47
- });
48
- }
49
- someMethod2() {
50
- return __awaiter(this, void 0, void 0, function* () {
51
- this.logger.log('yellow', 'Component B -> method_B() -> someMethod2()');
52
- });
53
- }
54
- someMethod3(context, context2) {
55
- return __awaiter(this, void 0, void 0, function* () {
56
- console.log('Component B -> method_A() -> someMethod3()');
57
- });
58
- }
59
- };
60
- exports.ComponentB = ComponentB;
61
- __decorate([
62
- A_Feature_class_1.A_Feature.Extend()
63
- ], ComponentB.prototype, "load", null);
64
- __decorate([
65
- A_Feature_class_1.A_Feature.Extend(),
66
- __param(0, (0, A_Inject_decorator_1.A_Inject)(A_Logger_component_1.A_Logger))
67
- ], ComponentB.prototype, "method_B", null);
68
- __decorate([
69
- A_Feature_class_1.A_Feature.Extend({
70
- name: 'method_B'
71
- })
72
- ], ComponentB.prototype, "someMethod", null);
73
- __decorate([
74
- A_Feature_class_1.A_Feature.Extend({
75
- name: 'method_B'
76
- })
77
- ], ComponentB.prototype, "someMethod2", null);
78
- __decorate([
79
- A_Feature_class_1.A_Feature.Extend({
80
- name: 'method_A'
81
- }),
82
- __param(0, (0, A_Inject_decorator_1.A_Inject)(Fragment_B_context_1.ContextFragmentB)),
83
- __param(1, (0, A_Inject_decorator_1.A_Inject)(Fragment_A_context_1.ContextFragmentA))
84
- ], ComponentB.prototype, "someMethod3", null);
85
- exports.ComponentB = ComponentB = __decorate([
86
- __param(0, (0, A_Inject_decorator_1.A_Inject)(A_Logger_component_1.A_Logger))
87
- ], ComponentB);
88
- //# sourceMappingURL=B.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"B.component.js","sourceRoot":"","sources":["../../../../examples/simple/components/B.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,gGAAmF;AACnF,sEAAiE;AACjE,sEAAiE;AACjE,uFAA8E;AAC9E,6FAAoF;AACpF,0FAA6E;AAGtE,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,+BAAW;IAEvC,YACgC,MAAgB;QAE5C,KAAK,EAAE,CAAC;QAFoB,WAAM,GAAN,MAAM,CAAU;IAGhD,CAAC;IAIK,IAAI;;YACN,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;QAC1C,CAAC;KAAA;IAIK,QAAQ,CACU,MAAgB;;YAEpC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAC;QACrD,CAAC;KAAA;IAKK,UAAU;;YAGZ,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,4CAA4C,CAAC,CAAC;YACtE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,4CAA4C,CAAC,CAAC;QAClE,CAAC;KAAA;IAMK,WAAW;;YACb,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,6CAA6C,CAAC,CAAC;QAC7E,CAAC;KAAA;IAKK,WAAW,CACe,OAAyB,EACzB,QAA0B;;YAEtD,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC,CAAC;QAC/D,CAAC;KAAA;CAEJ,CAAA;AAlDY,gCAAU;AAUb;IADL,2BAAS,CAAC,MAAM,EAAE;sCAGlB;AAIK;IADL,2BAAS,CAAC,MAAM,EAAE;IAEd,WAAA,IAAA,6BAAQ,EAAC,6BAAQ,CAAC,CAAA;0CAGtB;AAKK;IAHL,2BAAS,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,UAAU;KACnB,CAAC;4CAMD;AAMK;IAHL,2BAAS,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,UAAU;KACnB,CAAC;6CAGD;AAKK;IAHL,2BAAS,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,UAAU;KACnB,CAAC;IAEG,WAAA,IAAA,6BAAQ,EAAC,qCAAgB,CAAC,CAAA;IAC1B,WAAA,IAAA,6BAAQ,EAAC,qCAAgB,CAAC,CAAA;6CAG9B;qBAhDQ,UAAU;IAGd,WAAA,IAAA,6BAAQ,EAAC,6BAAQ,CAAC,CAAA;GAHd,UAAU,CAkDtB"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,82 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- const Main_container_1 = require("./containers/Main.container");
13
- const A_component_1 = require("./components/A.component");
14
- const B_component_1 = require("./components/B.component");
15
- const A_Logger_component_1 = require("../../src/base/A-Logger/A-Logger.component");
16
- const Fragment_A_context_1 = require("./context/Fragment_A.context");
17
- const Fragment_B_context_1 = require("./context/Fragment_B.context");
18
- const A_Config_context_1 = require("../../src/base/A-Config/A-Config.context");
19
- const A_Config_container_1 = require("../../src/base/A-Config/A-Config.container");
20
- const ENVConfigReader_component_1 = require("../../src/base/A-Config/components/ENVConfigReader.component");
21
- (() => __awaiter(void 0, void 0, void 0, function* () {
22
- console.log('Start');
23
- // class foo extends A_Container<['f', 'f2']> {
24
- // }
25
- // const simpleConcept = new A_Concept({
26
- // name: 'simple-concept',
27
- // fragments: [
28
- // new A_Config({
29
- // variables: ['A', 'B', 'C'],
30
- // defaults: {
31
- // A: 1,
32
- // }
33
- // }),
34
- // new A_Errors({
35
- // errors: [
36
- // {
37
- // code: 'some_error',
38
- // description: 'Error 1',
39
- // message: 'Error 1'
40
- // }
41
- // ]
42
- // })
43
- // ],
44
- // containers: [
45
- // new foo({})
46
- // ]
47
- // });
48
- // console.log('Here')
49
- // simpleConcept.call('method_B');
50
- const configContext = new A_Config_context_1.A_Config({
51
- variables: ['CONFIG_VERBOSE'],
52
- defaults: {
53
- 'CONFIG_VERBOSE': true
54
- }
55
- });
56
- const configLoader = new A_Config_container_1.A_ConfigLoader({
57
- fragments: [
58
- configContext
59
- ],
60
- components: [
61
- ENVConfigReader_component_1.ENVConfigReader
62
- ]
63
- });
64
- yield configLoader.prepare(configContext);
65
- yield configLoader.readVariables(configContext);
66
- const container = new Main_container_1.MainContainer({
67
- name: 'MainContainer',
68
- components: [
69
- A_Logger_component_1.A_Logger,
70
- A_component_1.ComponentA,
71
- B_component_1.ComponentB
72
- ],
73
- fragments: [
74
- configContext,
75
- new Fragment_A_context_1.ContextFragmentA(),
76
- new Fragment_B_context_1.ContextFragmentB()
77
- ]
78
- });
79
- // await container.call('method_B');
80
- yield container.method_B();
81
- }))();
82
- //# sourceMappingURL=concept.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"concept.js","sourceRoot":"","sources":["../../../examples/simple/concept.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,gEAA4D;AAC5D,0DAAsD;AACtD,0DAAsD;AACtD,0FAA6E;AAC7E,qEAAgE;AAChE,qEAAgE;AAChE,sFAA2E;AAC3E,0FAAmF;AACnF,mHAAsG;AAEtG,CAAC,GAAS,EAAE;IAER,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAErB,+CAA+C;IAE/C,IAAI;IAGJ,wCAAwC;IACxC,8BAA8B;IAC9B,mBAAmB;IACnB,yBAAyB;IACzB,0CAA0C;IAC1C,0BAA0B;IAC1B,wBAAwB;IACxB,gBAAgB;IAChB,cAAc;IACd,yBAAyB;IACzB,wBAAwB;IACxB,oBAAoB;IACpB,0CAA0C;IAC1C,8CAA8C;IAC9C,yCAAyC;IACzC,oBAAoB;IACpB,gBAAgB;IAChB,aAAa;IACb,SAAS;IACT,oBAAoB;IAEpB,sBAAsB;IACtB,QAAQ;IACR,MAAM;IAEN,sBAAsB;IACtB,kCAAkC;IAElC,MAAM,aAAa,GAAG,IAAI,2BAAQ,CAAC;QAC/B,SAAS,EAAE,CAAC,gBAAgB,CAAC;QAC7B,QAAQ,EAAE;YACN,gBAAgB,EAAE,IAAI;SACzB;KACJ,CAAC,CAAC;IAGH,MAAM,YAAY,GAAG,IAAI,mCAAc,CAAC;QACpC,SAAS,EAAE;YACP,aAAa;SAChB;QACD,UAAU,EAAE;YACR,2CAAe;SAClB;KACJ,CAAC,CAAC;IAEH,MAAM,YAAY,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAC1C,MAAM,YAAY,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAGhD,MAAM,SAAS,GAAG,IAAI,8BAAa,CAAC;QAChC,IAAI,EAAE,eAAe;QACrB,UAAU,EAAE;YACR,6BAAQ;YACR,wBAAU;YACV,wBAAU;SACb;QACD,SAAS,EAAE;YACP,aAAa;YACb,IAAI,qCAAgB,EAAE;YACtB,IAAI,qCAAgB,EAAE;SACzB;KACJ,CAAC,CAAC;IAEH,oCAAoC;IACpC,MAAM,SAAS,CAAC,QAAQ,EAAE,CAAC;AAC/B,CAAC,CAAA,CAAC,EAAE,CAAC"}
@@ -1,11 +0,0 @@
1
- import { A_Container } from "../../../src/global/A-Container/A-Container.class";
2
- import { A_Scope } from "../../../src/global/A-Scope/A-Scope.class";
3
- export declare class MainContainer extends A_Container<[
4
- 'method_A',
5
- 'method_B'
6
- ]> {
7
- load(): Promise<void>;
8
- start(scope: A_Scope): Promise<void>;
9
- method_A(): Promise<void>;
10
- method_B(): Promise<void>;
11
- }