@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
@@ -1,16 +0,0 @@
1
- import { A_TYPES__A_FeatureDecoratorConfig, A_TYPES__A_FeatureDecoratorDescriptor } from "./Feature.decorator.types";
2
- import { A_Container } from "../../../global/A-Container/A-Container.class";
3
- /**
4
- * A-Feature decorator
5
- *
6
- * This decorator allows to define a custom Feature stage for the Container.
7
- * These stages are executed in a container-specific order and can be extended by components that are injected into the container.
8
- * This approach allows to create a flexible and extendable architecture for the application.
9
- *
10
- * The main difference between the A-Feature and A-Feature decorators is that A-Feature methods can be inherited and overridden by child classes.
11
- *
12
- *
13
- * @param params
14
- * @returns
15
- */
16
- export declare function A_Feature(config?: Partial<A_TYPES__A_FeatureDecoratorConfig>): (target: A_Container, propertyKey: string, descriptor: A_TYPES__A_FeatureDecoratorDescriptor) => void;
@@ -1,36 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.A_Feature = A_Feature;
4
- const A_Container_storage_1 = require("../../../storage/A_Container.storage");
5
- /**
6
- * A-Feature decorator
7
- *
8
- * This decorator allows to define a custom Feature stage for the Container.
9
- * These stages are executed in a container-specific order and can be extended by components that are injected into the container.
10
- * This approach allows to create a flexible and extendable architecture for the application.
11
- *
12
- * The main difference between the A-Feature and A-Feature decorators is that A-Feature methods can be inherited and overridden by child classes.
13
- *
14
- *
15
- * @param params
16
- * @returns
17
- */
18
- function A_Feature(config = {}) {
19
- return function (target, propertyKey, descriptor) {
20
- const existedMeta = A_Container_storage_1.A_CONTAINER_Storage.get(target.constructor) || new Map();
21
- const inheritMeta = A_Container_storage_1.A_CONTAINER_Storage.get(Object.getPrototypeOf(target.constructor)) || new Map();
22
- const inheritedFeature = inheritMeta.get(A_Container_storage_1.A_CONTAINER_STORAGE__Definition__Feature) || new Map();
23
- const feature = existedMeta.get(A_Container_storage_1.A_CONTAINER_STORAGE__Definition__Feature) || new Map(inheritedFeature);
24
- feature.set(propertyKey, {
25
- handler: propertyKey,
26
- config: Object.assign({ name: propertyKey }, config)
27
- });
28
- // targetInstructions.push({
29
- // handler: propertyKey,
30
- // config: A_CommonHelper.deepCloneAndMerge(config, A_CONSTANTS__DEFAULT_CONCEPT_Feature_METHOD_DECLARATION_CONFIG)
31
- // });
32
- existedMeta.set(A_Container_storage_1.A_CONTAINER_STORAGE__Definition__Feature, feature);
33
- A_Container_storage_1.A_CONTAINER_Storage.set(target.constructor, existedMeta);
34
- };
35
- }
36
- //# sourceMappingURL=Feature.decorator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Feature.decorator.js","sourceRoot":"","sources":["../../../../../src/decorators/A-Define/Feature/Feature.decorator.ts"],"names":[],"mappings":";;AAyBA,8BAiCC;AAnDD,sFAA6H;AAK7H;;;;;;;;;;;;GAYG;AACH,SAAgB,SAAS,CACrB,SAAqD,EAAE;IAEvD,OAAO,UACH,MAAmB,EACnB,WAAmB,EACnB,UAAiD;QAEjD,MAAM,WAAW,GAAG,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAC7E,MAAM,WAAW,GAAG,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAGpG,MAAM,gBAAgB,GAAG,WAAW,CAAC,GAAG,CAAC,8DAAwC,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAChG,MAAM,OAAO,GAA+D,WAAW,CAAC,GAAG,CAAC,8DAAwC,CAAC,IAAI,IAAI,GAAG,CAAC,gBAAgB,CAAC,CAAA;QAGlK,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE;YACrB,OAAO,EAAE,WAAW;YACpB,MAAM,kBACF,IAAI,EAAE,WAAW,IACd,MAAM,CACZ;SACJ,CAAC,CAAC;QAEH,4BAA4B;QAC5B,4BAA4B;QAC5B,uHAAuH;QACvH,MAAM;QAGN,WAAW,CAAC,GAAG,CAAC,8DAAwC,EAAE,OAAO,CAAC,CAAC;QACnE,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IAC7D,CAAC,CAAC;AACN,CAAC"}
@@ -1,8 +0,0 @@
1
- export type A_TYPES__A_FeatureDecoratorDescriptor = TypedPropertyDescriptor<() => any> | TypedPropertyDescriptor<(...args: any[]) => any> | TypedPropertyDescriptor<(...args: any[]) => Promise<any>> | TypedPropertyDescriptor<() => Promise<any>>;
2
- export type A_TYPES__A_FeatureDecoratorConfig = {
3
- name: string;
4
- };
5
- export type A_TYPES__A_FeatureDecoratorStorageInstruction = {
6
- handler: string;
7
- config: A_TYPES__A_FeatureDecoratorConfig;
8
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Feature.decorator.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Feature.decorator.types.js","sourceRoot":"","sources":["../../../../../src/decorators/A-Define/Feature/Feature.decorator.types.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- /**
2
- * A-Lifecycle decorator
3
- *
4
- * This decorator allows to define a custom lifecycle stage for the Container.
5
- * These stages are executed in a container-specific order and can be extended by components that are injected into the container.
6
- * This approach allows to create a flexible and extendable architecture for the application.
7
- *
8
- * The main difference between the A-Lifecycle and A-Feature decorators is that A-Lifecycle methods can be inherited and overridden by child classes.
9
- *
10
- *
11
- * @param params
12
- * @returns
13
- */
14
- export declare function A_Lifecycle(): any;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.A_Lifecycle = A_Lifecycle;
4
- const A_Container_storage_1 = require("../../../storage/A_Container.storage");
5
- function A_Lifecycle(config = {}) {
6
- return function (target, propertyKey, descriptor) {
7
- const existedMeta = A_Container_storage_1.A_CONTAINER_Storage.get(target.constructor) || new Map();
8
- const inheritMeta = A_Container_storage_1.A_CONTAINER_Storage.get(Object.getPrototypeOf(target.constructor)) || new Map();
9
- const inheritedLifecycle = inheritMeta.get(A_Container_storage_1.A_CONTAINER_STORAGE__Definition__Lifecycle) || new Map();
10
- const lifecycle = existedMeta.get(A_Container_storage_1.A_CONTAINER_STORAGE__Definition__Lifecycle) || new Map(inheritedLifecycle);
11
- lifecycle.set(propertyKey, {
12
- handler: propertyKey,
13
- config: Object.assign(Object.assign({}, config), { name: `${target.constructor.name}.${propertyKey || config.name}` })
14
- // config: A_CommonHelper.deepCloneAndMerge(config, A_CONSTANTS__DEFAULT_CONCEPT_LIFECYCLE_METHOD_DECLARATION_CONFIG)
15
- });
16
- // targetInstructions.push({
17
- // handler: propertyKey,
18
- // config: A_CommonHelper.deepCloneAndMerge(config, A_CONSTANTS__DEFAULT_CONCEPT_LIFECYCLE_METHOD_DECLARATION_CONFIG)
19
- // });
20
- existedMeta.set(A_Container_storage_1.A_CONTAINER_STORAGE__Definition__Lifecycle, lifecycle);
21
- A_Container_storage_1.A_CONTAINER_Storage.set(target.constructor, existedMeta);
22
- };
23
- }
24
- //# sourceMappingURL=Lifecycle.decorator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Lifecycle.decorator.js","sourceRoot":"","sources":["../../../../../src/decorators/A-Define/Lifecycle/Lifecycle.decorator.ts"],"names":[],"mappings":";;AA2BA,kCAkCC;AAtDD,sFAA+H;AAoB/H,SAAgB,WAAW,CACvB,SAAuD,EAAE;IAEzD,OAAO,UACH,MAAmB,EACnB,WAAmB,EACnB,UAAmD;QAEnD,MAAM,WAAW,GAAG,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAC7E,MAAM,WAAW,GAAG,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAEpG,MAAM,kBAAkB,GAAG,WAAW,CAAC,GAAG,CAAC,gEAA0C,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QACpG,MAAM,SAAS,GAAiE,WAAW,CAAC,GAAG,CAAC,gEAA0C,CAAC,IAAI,IAAI,GAAG,CAAC,kBAAkB,CAAC,CAAA;QAG1K,SAAS,CAAC,GAAG,CAAC,WAAW,EAAE;YACvB,OAAO,EAAE,WAAW;YACpB,MAAM,kCACC,MAAM,KACT,IAAI,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,IAAI,WAAW,IAAI,MAAM,CAAC,IAAI,EAAE,GACnE;YAED,qHAAqH;SACxH,CAAC,CAAC;QAEH,4BAA4B;QAC5B,4BAA4B;QAC5B,yHAAyH;QACzH,MAAM;QAGN,WAAW,CAAC,GAAG,CAAC,gEAA0C,EAAE,SAAS,CAAC,CAAC;QACvE,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IAC7D,CAAC,CAAC;AACN,CAAC"}
@@ -1,8 +0,0 @@
1
- export type A_TYPES__A_LifecycleDecoratorDescriptor = TypedPropertyDescriptor<() => any> | TypedPropertyDescriptor<(...args: any[]) => any> | TypedPropertyDescriptor<(...args: any[]) => Promise<any>> | TypedPropertyDescriptor<() => Promise<any>>;
2
- export type A_TYPES__A_LifecycleDecoratorConfig = {
3
- name: string;
4
- };
5
- export type A_TYPES__A_LifecycleDecoratorStorageInstruction = {
6
- handler: string;
7
- config: A_TYPES__A_LifecycleDecoratorConfig;
8
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Lifecycle.decorator.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Lifecycle.decorator.types.js","sourceRoot":"","sources":["../../../../../src/decorators/A-Define/Lifecycle/Lifecycle.decorator.types.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { A_Feature } from "./Feature/Feature.decorator";
2
- import { A_Lifecycle } from "./Lifecycle/Lifecycle.decorator";
3
- export interface A_IDefine {
4
- Lifecycle: typeof A_Lifecycle;
5
- Feature: typeof A_Feature;
6
- }
7
- export declare const A_Define: A_IDefine;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.A_Define = void 0;
4
- const Feature_decorator_1 = require("./Feature/Feature.decorator");
5
- const Lifecycle_decorator_1 = require("./Lifecycle/Lifecycle.decorator");
6
- exports.A_Define = {
7
- Lifecycle: Lifecycle_decorator_1.A_Lifecycle,
8
- Feature: Feature_decorator_1.A_Feature
9
- };
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/decorators/A-Define/index.ts"],"names":[],"mappings":";;;AAAA,mEAAwD;AACxD,yEAA8D;AAQjD,QAAA,QAAQ,GAAc;IAC/B,SAAS,EAAE,iCAAW;IACtB,OAAO,EAAE,6BAAS;CACrB,CAAA"}
@@ -1,18 +0,0 @@
1
- import { A_TYPES__A_ExtendDecoratorConfig, A_TYPES__A_ExtendDecoratorDescriptor } from "./A-Extend.decorator.types";
2
- import { A_Component } from "../../global/A-Component/A-Component.class";
3
- /**
4
- * A-Extend decorator
5
- *
6
- * This decorator allows to define a custom Extend stage for the Container.
7
- * These stages are executed in a container-specific order and can be extended by components that are injected into the container.
8
- * This approach allows to create a flexible and extendable architecture for the application.
9
- *
10
- * The main difference between the A-Extend and A-Extend decorators is that A-Extend methods can be inherited and overridden by child classes.
11
- *
12
- *
13
- * @param params
14
- * @returns
15
- */
16
- export declare function A_Extend(config?: Partial<A_TYPES__A_ExtendDecoratorConfig>): (target: A_Component | {
17
- new (...args: any[]): any;
18
- }, propertyKey: string, descriptor: A_TYPES__A_ExtendDecoratorDescriptor) => void;
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.A_Extend = A_Extend;
4
- const A_Component_storage_1 = require("../../storage/A_Component.storage");
5
- /**
6
- * A-Extend decorator
7
- *
8
- * This decorator allows to define a custom Extend stage for the Container.
9
- * These stages are executed in a container-specific order and can be extended by components that are injected into the container.
10
- * This approach allows to create a flexible and extendable architecture for the application.
11
- *
12
- * The main difference between the A-Extend and A-Extend decorators is that A-Extend methods can be inherited and overridden by child classes.
13
- *
14
- *
15
- * @param params
16
- * @returns
17
- */
18
- function A_Extend(config = {}) {
19
- return function (target, propertyKey, descriptor) {
20
- const existedMeta = A_Component_storage_1.A_COMPONENT_Storage.get(target.constructor) || new Map();
21
- const inheritMeta = A_Component_storage_1.A_COMPONENT_Storage.get(Object.getPrototypeOf(target.constructor)) || new Map();
22
- const inheritedExtension = inheritMeta.get(A_Component_storage_1.A_COMPONENT_STORAGE__Definition__Extensions) || new Map();
23
- const extensionDefinition = existedMeta.get(A_Component_storage_1.A_COMPONENT_STORAGE__Definition__Extensions) || new Map(inheritedExtension);
24
- extensionDefinition.set(propertyKey, {
25
- name: config.name || propertyKey,
26
- handler: propertyKey,
27
- container: config.container
28
- ? typeof config.container === 'string'
29
- ? config.container
30
- : config.container.name
31
- : '*',
32
- });
33
- existedMeta.set(A_Component_storage_1.A_COMPONENT_STORAGE__Definition__Extensions, extensionDefinition);
34
- A_Component_storage_1.A_COMPONENT_Storage.set(target.constructor, existedMeta);
35
- };
36
- }
37
- //# sourceMappingURL=A-Extend.decorator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A-Extend.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Extend/A-Extend.decorator.ts"],"names":[],"mappings":";;AA0BA,4BA6BC;AA/CD,sFAAgI;AAKhI;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CACpB,SAAoD,EAAE;IAEtD,OAAO,UACH,MAAkD,EAClD,WAAmB,EACnB,UAAgD;QAGhD,MAAM,WAAW,GAAG,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAC7E,MAAM,WAAW,GAAG,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAEpG,MAAM,kBAAkB,GAAG,WAAW,CAAC,GAAG,CAAC,iEAA2C,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QACrG,MAAM,mBAAmB,GAA8D,WAAW,CAAC,GAAG,CAAC,iEAA2C,CAAC,IAAI,IAAI,GAAG,CAAC,kBAAkB,CAAC,CAAA;QAElL,mBAAmB,CAAC,GAAG,CAAC,WAAW,EAAE;YACjC,IAAI,EAAE,MAAM,CAAC,IAAI,IAAI,WAAW;YAChC,OAAO,EAAE,WAAW;YACpB,SAAS,EAAE,MAAM,CAAC,SAAS;gBACvB,CAAC,CAAC,OAAO,MAAM,CAAC,SAAS,KAAK,QAAQ;oBAClC,CAAC,CAAC,MAAM,CAAC,SAAS;oBAClB,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI;gBAC3B,CAAC,CAAC,GAAG;SACZ,CAAC,CAAC;QAGH,WAAW,CAAC,GAAG,CAAC,iEAA2C,EAAE,mBAAmB,CAAC,CAAC;QAClF,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IAC7D,CAAC,CAAC;AACN,CAAC"}
@@ -1,21 +0,0 @@
1
- import { A_Container } from "../../global/A-Container/A-Container.class";
2
- export type A_TYPES__A_ExtendDecoratorDescriptor = TypedPropertyDescriptor<() => any> | TypedPropertyDescriptor<(...args: any[]) => any> | TypedPropertyDescriptor<(...args: any[]) => Promise<any>> | TypedPropertyDescriptor<() => Promise<any>>;
3
- export type A_TYPES__A_ExtendDecoratorConfig = {
4
- /**
5
- * Name of the container Lifecycle method to be extended.
6
- *
7
- * [!] If not provided will be used the name of the method.
8
- */
9
- name: string;
10
- /**
11
- * Container class or container name uses to identify the proper container in case when the name is not unique.
12
- *
13
- * [!] If not provided will be applied to all containers with the same name.
14
- */
15
- container: string | typeof A_Container;
16
- };
17
- export type A_TYPES__A_ExtendDecoratorStorageInstruction = {
18
- name: string;
19
- container: string;
20
- handler: string;
21
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=A-Extend.decorator.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A-Extend.decorator.types.js","sourceRoot":"","sources":["../../../../src/decorators/A-Extend/A-Extend.decorator.types.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- // export function A_Feature(
3
- // params: any = {
4
- // name: '',
5
- // description: '',
6
- // version: '',
7
- // }
8
- // ) {
9
- // return A_Pipeline('root.run');
10
- // }
11
- //# sourceMappingURL=A-Feature.decorator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A-Feature.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Feature/A-Feature.decorator.ts"],"names":[],"mappings":";AAIA,6BAA6B;AAC7B,sBAAsB;AACtB,oBAAoB;AACpB,2BAA2B;AAC3B,uBAAuB;AACvB,QAAQ;AACR,MAAM;AACN,qCAAqC;AACrC,IAAI"}
@@ -1,13 +0,0 @@
1
- import { A_Component } from "../../global/A-Component/A-Component.class";
2
- import { A_TYPES__A_StageDecoratorConfig, A_TYPES__A_StageDecoratorDescriptor } from "./A-Stage.decorator.types";
3
- import { A_Container } from "../../global/A-Container/A-Container.class";
4
- import { A_TYPES__ConceptStage } from "../../global/A-Concept/A_Concept.types";
5
- /**
6
- * A_Stage Decorator uses to extend basic A-Concept Stage methods inside Containers.
7
- *
8
- * Using this decorator you can define extend a logic and sequence of the Container Stage methods execution.
9
- *
10
- * @param params
11
- * @returns
12
- */
13
- export declare function A_Stage(method: A_TYPES__ConceptStage): (config?: Partial<A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any> | A_Component, propertyKey: string, descriptor: A_TYPES__A_StageDecoratorDescriptor) => void;
@@ -1,52 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.A_Stage = A_Stage;
4
- const A_Component_class_1 = require("../../global/A-Component/A-Component.class");
5
- const A_Component_types_1 = require("../../global/A-Component/A-Component.types");
6
- const A_Context_class_1 = require("../../global/A-Context/A-Context.class");
7
- const A_Container_class_1 = require("../../global/A-Container/A-Container.class");
8
- const A_Container_types_1 = require("../../global/A-Container/A-Container.types");
9
- /**
10
- * A_Stage Decorator uses to extend basic A-Concept Stage methods inside Containers.
11
- *
12
- * Using this decorator you can define extend a logic and sequence of the Container Stage methods execution.
13
- *
14
- * @param params
15
- * @returns
16
- */
17
- function A_Stage(method) {
18
- return function A_Stage(config = {}) {
19
- return function (target, propertyKey, descriptor) {
20
- const meta = A_Context_class_1.A_Context.meta(target);
21
- let metaKey;
22
- const StageKey = `CONCEPT_STAGE::${method}`;
23
- switch (true) {
24
- case target instanceof A_Container_class_1.A_Container:
25
- metaKey = A_Container_types_1.A_TYPES__ContainerMetaKey.STAGES;
26
- break;
27
- case target instanceof A_Component_class_1.A_Component:
28
- metaKey = A_Component_types_1.A_TYPES__ComponentMetaKey.STAGES;
29
- break;
30
- default:
31
- throw new Error(`A-Feature cannot be defined on the ${target} level`);
32
- }
33
- // Get the existed metadata or create a new one
34
- const existedMeta = meta.get(metaKey)
35
- || new Map();
36
- // Set the metadata of the method to define a custom Stage with name
37
- const existedMetaValue = existedMeta.get(StageKey) || [];
38
- // Add the new method to the metadata
39
- existedMetaValue.push({
40
- name: StageKey,
41
- handler: propertyKey,
42
- });
43
- // Set the metadata of the method to define a custom Feature with name
44
- existedMeta.set(StageKey, existedMetaValue);
45
- // Update the metadata of the container with the new Stage definition
46
- A_Context_class_1.A_Context
47
- .meta(target)
48
- .set(metaKey, existedMeta);
49
- };
50
- };
51
- }
52
- //# sourceMappingURL=A-Stage.decorator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A-Stage.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Stage/A-Stage.decorator.ts"],"names":[],"mappings":";;AAwBA,0BA2DC;AAnFD,6FAAoF;AAKpF,6FAAkG;AAClG,uFAA8E;AAC9E,6FAAoF;AACpF,6FAAkG;AAQlG;;;;;;;GAOG;AACH,SAAgB,OAAO,CACnB,MAA6B;IAI7B,OAAO,SAAS,OAAO,CACnB,SAAmD,EAAE;QAErD,OAAO,UACH,MAAsC,EACtC,WAAmB,EACnB,UAA+C;YAG/C,MAAM,IAAI,GAAsC,2BAAS,CAAC,IAAI,CAAC,MAAa,CAAC,CAAC;YAE9E,IAAI,OAAO,CAAC;YAEZ,MAAM,QAAQ,GAAG,kBAAkB,MAAM,EAAE,CAAA;YAE3C,QAAQ,IAAI,EAAE,CAAC;gBACX,KAAK,MAAM,YAAY,+BAAW;oBAC9B,OAAO,GAAG,6CAAyB,CAAC,MAAM,CAAA;oBAC1C,MAAM;gBACV,KAAK,MAAM,YAAY,+BAAW;oBAC9B,OAAO,GAAG,6CAAyB,CAAC,MAAM,CAAA;oBAC1C,MAAM;gBACV;oBACI,MAAM,IAAI,KAAK,CAAC,sCAAsC,MAAM,QAAQ,CAAC,CAAC;YAC9E,CAAC;YAED,+CAA+C;YAC/C,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC;mBAC9B,IAAI,GAAG,EAAE,CAAC;YAEjB,oEAAoE;YAEpE,MAAM,gBAAgB,GAAG,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;YAEzD,qCAAqC;YACrC,gBAAgB,CAAC,IAAI,CAAC;gBAClB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,WAAW;aACvB,CAAC,CAAC;YAEH,sEAAsE;YACtE,WAAW,CAAC,GAAG,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC;YAG5C,sEAAsE;YACtE,2BAAS;iBACJ,IAAI,CAAC,MAAa,CAAC;iBACnB,GAAG,CACA,OAAO,EACP,WAAW,CACd,CAAC;QAEV,CAAC,CAAC;IACN,CAAC,CAAA;AACL,CAAC"}
@@ -1,2 +0,0 @@
1
- export type A_TYPES__A_StageDecoratorDescriptor = TypedPropertyDescriptor<() => any> | TypedPropertyDescriptor<(...args: any[]) => any> | TypedPropertyDescriptor<(...args: any[]) => Promise<any>> | TypedPropertyDescriptor<() => Promise<any>>;
2
- export type A_TYPES__A_StageDecoratorConfig = {};
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=A-Stage.decorator.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A-Stage.decorator.types.js","sourceRoot":"","sources":["../../../../src/decorators/A-Stage/A-Stage.decorator.types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=A_ConceptMethods.decorator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A_ConceptMethods.decorator.js","sourceRoot":"","sources":["../../../src/decorators/A_ConceptMethods.decorator.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- declare function RegisterLazyMethod(target: any, propertyKey: string, descriptor: PropertyDescriptor): PropertyDescriptor;
2
- export declare function A_Lazy(params: {
3
- source: string;
4
- }): typeof RegisterLazyMethod;
5
- export {};
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.A_Lazy = A_Lazy;
4
- function RegisterLazyMethod(target, propertyKey, descriptor) {
5
- const originalMethod = descriptor.value;
6
- descriptor.value = function (...args) {
7
- console.log(`Intercepted call to method: ${propertyKey}`);
8
- console.log(`Arguments: `, args);
9
- // You can modify args or do something else here
10
- const result = originalMethod.apply(this, args);
11
- // You can also modify the return value
12
- console.log(`Result: `, result);
13
- return result;
14
- };
15
- return descriptor;
16
- }
17
- function A_Lazy(params) {
18
- return RegisterLazyMethod;
19
- }
20
- //# sourceMappingURL=A_Lazy.decorator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A_Lazy.decorator.js","sourceRoot":"","sources":["../../../src/decorators/A_Lazy.decorator.ts"],"names":[],"mappings":";;AAwBA,wBAMC;AA9BD,SAAS,kBAAkB,CACvB,MAAW,EACX,WAAmB,EACnB,UAA8B;IAE9B,MAAM,cAAc,GAAG,UAAU,CAAC,KAAK,CAAC;IAExC,UAAU,CAAC,KAAK,GAAG,UAAU,GAAG,IAAW;QACvC,OAAO,CAAC,GAAG,CAAC,+BAA+B,WAAW,EAAE,CAAC,CAAC;QAC1D,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;QAEjC,gDAAgD;QAChD,MAAM,MAAM,GAAG,cAAc,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAEhD,uCAAuC;QACvC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;QAChC,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC;IAEF,OAAO,UAAU,CAAC;AACtB,CAAC;AAID,SAAgB,MAAM,CAClB,MAEC;IAED,OAAO,kBAAkB,CAAC;AAC9B,CAAC"}
@@ -1,12 +0,0 @@
1
- /**
2
- * Context Fragments is a set of arguments that can be used to define a Context for the pipeline.
3
- * In other words it is a dynamic context that will be created on pipeline start and destroyed on pipeline end.
4
- * During the execution of the pipeline, the Context Fragments can be used to pass the data between the pipeline steps.
5
- *
6
- * Or to store the data that is required for the pipeline execution
7
- *
8
- */
9
- export declare class A_ContextFragment {
10
- protected args: any[];
11
- constructor(...args: any[]);
12
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.A_ContextFragment = void 0;
4
- /**
5
- * Context Fragments is a set of arguments that can be used to define a Context for the pipeline.
6
- * In other words it is a dynamic context that will be created on pipeline start and destroyed on pipeline end.
7
- * During the execution of the pipeline, the Context Fragments can be used to pass the data between the pipeline steps.
8
- *
9
- * Or to store the data that is required for the pipeline execution
10
- *
11
- */
12
- class A_ContextFragment {
13
- constructor(...args) {
14
- this.args = [];
15
- this.args = args;
16
- }
17
- }
18
- exports.A_ContextFragment = A_ContextFragment;
19
- //# sourceMappingURL=A-ContextFragment.class.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A-ContextFragment.class.js","sourceRoot":"","sources":["../../../../src/global/A-Context/A-ContextFragment.class.ts"],"names":[],"mappings":";;;AAEA;;;;;;;GAOG;AACH,MAAa,iBAAiB;IAI1B,YAAY,GAAG,IAAW;QAFhB,SAAI,GAAU,EAAE,CAAC;QAGvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;CAEJ;AARD,8CAQC"}
@@ -1,47 +0,0 @@
1
- import { A_TYPES__NamespaceConstructor, A_TYPES__INamespace } from './A_Namespace.types';
2
- /**
3
- * A_Namespace is a base class for all Namespaces in the A
4
- *
5
- * Namespace is a shared object within some environment, service or Application.
6
- * It is used to share some data, configuration, dependencies, etc. between different parts of the application.
7
- *
8
- * Namespace allow to :
9
- * - share some data between different parts of the application,
10
- * - share some configuration between different parts of the application,
11
- * - share some dependencies between different parts of the application,
12
- * - extend the capabilities of the application by adding new features or modifying existing ones into base classes
13
- *
14
- */
15
- export declare class A_Namespace<_ConstructorConfigType extends A_TYPES__NamespaceConstructor = any> implements A_TYPES__INamespace {
16
- protected config?: _ConstructorConfigType | undefined;
17
- /**
18
- * Namespace namespace
19
- */
20
- name: string;
21
- /**
22
- * Ready Promise to ensure the SDK is ready to use
23
- */
24
- ready: Promise<void>;
25
- constructor(config?: _ConstructorConfigType | undefined);
26
- private hasInherited;
27
- /**
28
- * Initializes the Namespace or can be used to reinitialize the Namespace
29
- */
30
- protected init(): Promise<void>;
31
- /**
32
- * Before init hook to be used in inherited classes
33
- *
34
- * @returns
35
- */
36
- protected onBeforeInit(): Promise<void>;
37
- /**
38
- * Main initialization method for the SDK
39
- */
40
- protected onInit(): Promise<void>;
41
- /**
42
- * After init hook to be used in inherited classes
43
- *
44
- * @returns
45
- */
46
- protected onAfterInit(): Promise<void>;
47
- }
@@ -1,112 +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.A_Namespace = void 0;
13
- const A_Context_class_1 = require("../A-Context/A-Context.class");
14
- /**
15
- * A_Namespace is a base class for all Namespaces in the A
16
- *
17
- * Namespace is a shared object within some environment, service or Application.
18
- * It is used to share some data, configuration, dependencies, etc. between different parts of the application.
19
- *
20
- * Namespace allow to :
21
- * - share some data between different parts of the application,
22
- * - share some configuration between different parts of the application,
23
- * - share some dependencies between different parts of the application,
24
- * - extend the capabilities of the application by adding new features or modifying existing ones into base classes
25
- *
26
- */
27
- class A_Namespace {
28
- constructor(config) {
29
- this.config = config;
30
- /**
31
- * Register the Namespace in the global Namespace provider
32
- */
33
- this.name = A_Context_class_1.A_Context
34
- .register(this, config === null || config === void 0 ? void 0 : config.name);
35
- /**
36
- * Run Async Initialization
37
- */
38
- this.init();
39
- }
40
- hasInherited(cl) {
41
- return this.constructor === cl
42
- ? false
43
- : true;
44
- }
45
- /**
46
- * Initializes the Namespace or can be used to reinitialize the Namespace
47
- */
48
- init() {
49
- return __awaiter(this, void 0, void 0, function* () {
50
- if (!this.ready)
51
- this.ready = new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
52
- try {
53
- yield this.onBeforeInit();
54
- yield this.onInit();
55
- yield this.onAfterInit();
56
- return resolve();
57
- }
58
- catch (error) {
59
- return reject(error);
60
- }
61
- }));
62
- else
63
- yield this.ready;
64
- });
65
- }
66
- // ==============================================================
67
- // ======================= HOOKS ================================
68
- // ==============================================================
69
- /**
70
- * Before init hook to be used in inherited classes
71
- *
72
- * @returns
73
- */
74
- onBeforeInit() {
75
- return __awaiter(this, void 0, void 0, function* () {
76
- return;
77
- });
78
- }
79
- /**
80
- * Main initialization method for the SDK
81
- */
82
- onInit() {
83
- return __awaiter(this, void 0, void 0, function* () {
84
- // global logger configuration
85
- if (A_Context_class_1.A_Context.environment === 'server' && !this.hasInherited(A_Namespace)) {
86
- // eslint-disable-next-line no-use-before-define
87
- // process.on('uncaughtException', (error) => {
88
- // // log only in case of A_AUTH_Error
89
- // if (error instanceof A_Error)
90
- // this.Logger.error(error);
91
- // });
92
- // // eslint-disable-next-line no-use-before-define
93
- // process.on('unhandledRejection', (error) => {
94
- // if (error instanceof A_Error)
95
- // this.Logger.error(error);
96
- // });
97
- }
98
- });
99
- }
100
- /**
101
- * After init hook to be used in inherited classes
102
- *
103
- * @returns
104
- */
105
- onAfterInit() {
106
- return __awaiter(this, void 0, void 0, function* () {
107
- return;
108
- });
109
- }
110
- }
111
- exports.A_Namespace = A_Namespace;
112
- //# sourceMappingURL=A_Namespace.class.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A_Namespace.class.js","sourceRoot":"","sources":["../../../../src/global/A-Namespace/A_Namespace.class.ts"],"names":[],"mappings":";;;;;;;;;;;;AAKA,kEAAyD;AAGzD;;;;;;;;;;;;GAYG;AACH,MAAa,WAAW;IAcpB,YACc,MAA+B;QAA/B,WAAM,GAAN,MAAM,CAAyB;QAEzC;;WAEG;QACH,IAAI,CAAC,IAAI,GAAG,2BAAS;aAChB,QAAQ,CACL,IAAI,EACJ,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CACf,CAAC;QAEN;;WAEG;QACH,IAAI,CAAC,IAAI,EAAE,CAAC;IAChB,CAAC;IAIO,YAAY,CAAC,EAA2B;QAC5C,OAAO,IAAI,CAAC,WAAW,KAAK,EAAE;YAC1B,CAAC,CAAC,KAAK;YACP,CAAC,CAAC,IAAI,CAAA;IACd,CAAC;IAED;;OAEG;IACa,IAAI;;YAChB,IAAI,CAAC,IAAI,CAAC,KAAK;gBACX,IAAI,CAAC,KAAK,GAAG,IAAI,OAAO,CAAC,CAAO,OAAO,EAAE,MAAM,EAAE,EAAE;oBAC/C,IAAI,CAAC;wBACD,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;wBAE1B,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC;wBAEpB,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;wBAEzB,OAAO,OAAO,EAAE,CAAC;oBACrB,CAAC;oBAAC,OAAO,KAAK,EAAE,CAAC;wBACb,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;oBACzB,CAAC;gBACL,CAAC,CAAA,CAAC,CAAC;;gBAEH,MAAM,IAAI,CAAC,KAAK,CAAC;QACzB,CAAC;KAAA;IAID,iEAAiE;IACjE,iEAAiE;IACjE,iEAAiE;IAEjE;;;;OAIG;IACa,YAAY;;YACxB,OAAO;QACX,CAAC;KAAA;IAED;;OAEG;IACa,MAAM;;YAElB,8BAA8B;YAC9B,IAAI,2BAAS,CAAC,WAAW,KAAK,QAAQ,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,CAAC;gBACxE,gDAAgD;gBAChD,+CAA+C;gBAC/C,0CAA0C;gBAC1C,oCAAoC;gBACpC,oCAAoC;gBACpC,MAAM;gBACN,mDAAmD;gBACnD,gDAAgD;gBAChD,oCAAoC;gBACpC,oCAAoC;gBACpC,MAAM;YACV,CAAC;QACL,CAAC;KAAA;IAED;;;;OAIG;IACa,WAAW;;YACvB,OAAO;QACX,CAAC;KAAA;CACJ;AA1GD,kCA0GC"}
@@ -1,19 +0,0 @@
1
- /**
2
- * Namespace Constructor Interface
3
- */
4
- export type A_TYPES__NamespaceConstructor = {
5
- name?: string;
6
- };
7
- /**
8
- * Namespace Interface
9
- */
10
- export interface A_TYPES__INamespace {
11
- name: string;
12
- ready: Promise<void>;
13
- }
14
- /**
15
- * Global Namespace Interface uses for extending the Namespace from other modules or SDKs
16
- *
17
- */
18
- export interface A_TYPES__IGlobalNamespace extends A_TYPES__INamespace {
19
- }