@adaas/a-concept 0.0.4 → 0.0.6

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 (133) hide show
  1. package/dist/examples/simple/components/A.component.d.ts +4 -2
  2. package/dist/examples/simple/components/A.component.js +7 -4
  3. package/dist/examples/simple/components/A.component.js.map +1 -1
  4. package/dist/examples/simple/components/B.component.d.ts +6 -2
  5. package/dist/examples/simple/components/B.component.js +18 -7
  6. package/dist/examples/simple/components/B.component.js.map +1 -1
  7. package/dist/examples/simple/concept.js +59 -32
  8. package/dist/examples/simple/concept.js.map +1 -1
  9. package/dist/examples/simple/containers/Main.container.d.ts +2 -3
  10. package/dist/examples/simple/containers/Main.container.js +28 -8
  11. package/dist/examples/simple/containers/Main.container.js.map +1 -1
  12. package/dist/examples/simple-http-server/components/http-error-handler.component.d.ts +2 -1
  13. package/dist/examples/simple-http-server/components/http-error-handler.component.js +3 -1
  14. package/dist/examples/simple-http-server/components/http-error-handler.component.js.map +1 -1
  15. package/dist/examples/simple-http-server/components/http-request-handler.component.d.ts +2 -1
  16. package/dist/examples/simple-http-server/components/http-request-handler.component.js +2 -1
  17. package/dist/examples/simple-http-server/components/http-request-handler.component.js.map +1 -1
  18. package/dist/examples/simple-http-server/containers/http-server.container.d.ts +1 -2
  19. package/dist/index.d.ts +7 -1
  20. package/dist/index.js +13 -2
  21. package/dist/index.js.map +1 -1
  22. package/dist/src/base/A-Config/A-Config.container.d.ts +1 -3
  23. package/dist/src/base/A-Config/A-Config.container.js +6 -22
  24. package/dist/src/base/A-Config/A-Config.container.js.map +1 -1
  25. package/dist/src/base/A-Config/A-Config.context.d.ts +1 -0
  26. package/dist/src/base/A-Config/A-Config.context.js +20 -2
  27. package/dist/src/base/A-Config/A-Config.context.js.map +1 -1
  28. package/dist/src/base/A-Config/A-Config.types.d.ts +4 -2
  29. package/dist/src/base/A-Config/A-Config.types.js +4 -0
  30. package/dist/src/base/A-Config/A-Config.types.js.map +1 -1
  31. package/dist/src/base/A-Config/components/ConfigReader.component.d.ts +2 -1
  32. package/dist/src/base/A-Config/components/ConfigReader.component.js +3 -1
  33. package/dist/src/base/A-Config/components/ConfigReader.component.js.map +1 -1
  34. package/dist/src/base/A-Errors/A-Errors.component.d.ts +2 -1
  35. package/dist/src/base/A-Errors/A-Errors.component.js +3 -1
  36. package/dist/src/base/A-Errors/A-Errors.component.js.map +1 -1
  37. package/dist/src/base/A-Logger/A-Logger.component.d.ts +4 -2
  38. package/dist/src/base/A-Logger/A-Logger.component.js +11 -3
  39. package/dist/src/base/A-Logger/A-Logger.component.js.map +1 -1
  40. package/dist/src/decorators/A-Feature/A-Feature-Define.decorator.js.map +1 -1
  41. package/dist/src/decorators/A-Feature/A-Feature-Extend.decorator.js +9 -9
  42. package/dist/src/decorators/A-Feature/A-Feature-Extend.decorator.js.map +1 -1
  43. package/dist/src/decorators/A-Inject/A-Inject.decorator.d.ts +0 -2
  44. package/dist/src/decorators/A-Inject/A-Inject.decorator.js +4 -2
  45. package/dist/src/decorators/A-Inject/A-Inject.decorator.js.map +1 -1
  46. package/dist/src/global/A-Component/A-Component.class.d.ts +28 -1
  47. package/dist/src/global/A-Component/A-Component.class.js +22 -0
  48. package/dist/src/global/A-Component/A-Component.class.js.map +1 -1
  49. package/dist/src/global/A-Component/A-Component.meta.d.ts +8 -1
  50. package/dist/src/global/A-Component/A-Component.meta.js +26 -0
  51. package/dist/src/global/A-Component/A-Component.meta.js.map +1 -1
  52. package/dist/src/global/A-Component/A-Component.types.d.ts +43 -6
  53. package/dist/src/global/A-Component/A-Component.types.js +5 -0
  54. package/dist/src/global/A-Component/A-Component.types.js.map +1 -1
  55. package/dist/src/global/A-Concept/A_Concept.class.d.ts +7 -7
  56. package/dist/src/global/A-Concept/A_Concept.class.js +1 -2
  57. package/dist/src/global/A-Concept/A_Concept.class.js.map +1 -1
  58. package/dist/src/global/A-Container/A-Container.class.d.ts +5 -4
  59. package/dist/src/global/A-Container/A-Container.class.js +13 -24
  60. package/dist/src/global/A-Container/A-Container.class.js.map +1 -1
  61. package/dist/src/global/A-Container/A-Container.meta.d.ts +0 -3
  62. package/dist/src/global/A-Container/A-Container.meta.js +0 -46
  63. package/dist/src/global/A-Container/A-Container.meta.js.map +1 -1
  64. package/dist/src/global/A-Context/A-Context.class.d.ts +35 -5
  65. package/dist/src/global/A-Context/A-Context.class.js +138 -54
  66. package/dist/src/global/A-Context/A-Context.class.js.map +1 -1
  67. package/dist/src/global/A-Context/A-Context.types.d.ts +0 -12
  68. package/dist/src/global/A-Context/A-Context.types.js +0 -1
  69. package/dist/src/global/A-Dependency/A-DependencyReference.class.d.ts +0 -17
  70. package/dist/src/global/A-Dependency/A-DependencyReference.class.js +47 -65
  71. package/dist/src/global/A-Dependency/A-DependencyReference.class.js.map +1 -1
  72. package/dist/src/global/A-Entity/A-Entity.class.d.ts +73 -2
  73. package/dist/src/global/A-Entity/A-Entity.class.js +107 -1
  74. package/dist/src/global/A-Entity/A-Entity.class.js.map +1 -1
  75. package/dist/src/global/A-Entity/A-Entity.meta.d.ts +4 -0
  76. package/dist/src/global/A-Entity/A-Entity.meta.js +8 -0
  77. package/dist/src/global/A-Entity/A-Entity.meta.js.map +1 -0
  78. package/dist/src/global/A-Entity/A-Entity.types.d.ts +56 -0
  79. package/dist/src/global/A-Entity/A-Entity.types.js +15 -0
  80. package/dist/src/global/A-Entity/A-Entity.types.js.map +1 -1
  81. package/dist/src/global/A-Feature/A-Feature.class.d.ts +11 -1
  82. package/dist/src/global/A-Feature/A-Feature.class.js +48 -12
  83. package/dist/src/global/A-Feature/A-Feature.class.js.map +1 -1
  84. package/dist/src/global/A-Feature/A-Feature.types.d.ts +5 -4
  85. package/dist/src/global/A-Feature/A-Feature.types.js.map +1 -1
  86. package/dist/src/global/A-Fragment/A-Fragment.class.js +1 -2
  87. package/dist/src/global/A-Fragment/A-Fragment.class.js.map +1 -1
  88. package/dist/src/global/A-Meta/A-Meta.class.d.ts +80 -1
  89. package/dist/src/global/A-Meta/A-Meta.class.js +121 -5
  90. package/dist/src/global/A-Meta/A-Meta.class.js.map +1 -1
  91. package/dist/src/global/A-Scope/A-Scope.class.d.ts +15 -6
  92. package/dist/src/global/A-Scope/A-Scope.class.js +61 -17
  93. package/dist/src/global/A-Scope/A-Scope.class.js.map +1 -1
  94. package/examples/simple/components/A.component.ts +6 -3
  95. package/examples/simple/components/B.component.ts +19 -6
  96. package/examples/simple/concept.ts +65 -33
  97. package/examples/simple/containers/Main.container.ts +36 -9
  98. package/examples/simple-http-server/components/http-error-handler.component.ts +5 -2
  99. package/examples/simple-http-server/components/http-request-handler.component.ts +3 -1
  100. package/index.ts +9 -1
  101. package/jest.config.ts +0 -4
  102. package/package.json +1 -1
  103. package/src/base/A-Config/A-Config.container.ts +5 -8
  104. package/src/base/A-Config/A-Config.context.ts +10 -2
  105. package/src/base/A-Config/A-Config.types.ts +8 -3
  106. package/src/base/A-Config/components/ConfigReader.component.ts +5 -2
  107. package/src/base/A-Errors/A-Errors.component.ts +3 -2
  108. package/src/base/A-Logger/A-Logger.component.ts +21 -3
  109. package/src/decorators/A-Feature/A-Feature-Define.decorator.ts +0 -1
  110. package/src/decorators/A-Feature/A-Feature-Extend.decorator.ts +15 -10
  111. package/src/decorators/A-Inject/A-Inject.decorator.ts +13 -12
  112. package/src/global/A-Component/A-Component.class.ts +56 -1
  113. package/src/global/A-Component/A-Component.meta.ts +40 -1
  114. package/src/global/A-Component/A-Component.types.ts +51 -19
  115. package/src/global/A-Concept/A_Concept.class.ts +2 -2
  116. package/src/global/A-Container/A-Container.class.ts +22 -39
  117. package/src/global/A-Container/A-Container.meta.ts +0 -64
  118. package/src/global/A-Context/A-Context.class.ts +240 -80
  119. package/src/global/A-Context/A-Context.types.ts +0 -15
  120. package/src/global/A-Dependency/A-DependencyReference.class.ts +61 -61
  121. package/src/global/A-Entity/A-Entity.class.ts +184 -2
  122. package/src/global/A-Entity/A-Entity.meta.ts +9 -0
  123. package/src/global/A-Entity/A-Entity.types.ts +75 -0
  124. package/src/global/A-Feature/A-Feature.class.ts +62 -20
  125. package/src/global/A-Feature/A-Feature.types.ts +8 -2
  126. package/src/global/A-Fragment/A-Fragment.class.ts +1 -5
  127. package/src/global/A-Meta/A-Meta.class.ts +140 -12
  128. package/src/global/A-Scope/A-Scope.class.ts +101 -31
  129. package/tsconfig.json +0 -4
  130. package/src/storage/A_Component.storage.ts +0 -28
  131. package/src/storage/A_Concept.storage.ts +0 -49
  132. package/src/storage/A_Container.storage.ts +0 -21
  133. package/src/storage/A_Inject.storage.ts +0 -30
@@ -1,4 +1,13 @@
1
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
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.A_Config = void 0;
4
13
  const a_utils_1 = require("@adaas/a-utils");
@@ -16,10 +25,18 @@ class A_Config extends A_Fragment_class_1.A_Fragment {
16
25
  ];
17
26
  this.config = a_utils_1.A_CommonHelper.deepCloneAndMerge(config, {
18
27
  name: this.name,
19
- defaults: {}
28
+ defaults: {},
29
+ variables: []
20
30
  });
21
31
  this.CONFIG_PROPERTIES = this.config.variables ? this.config.variables : [];
22
32
  }
33
+ onInit() {
34
+ return __awaiter(this, void 0, void 0, function* () {
35
+ this.config.variables.forEach((variable) => {
36
+ this.VARIABLES.set(variable, this.config.defaults[variable]);
37
+ });
38
+ });
39
+ }
23
40
  /**
24
41
  * This method is used to get the configuration property by name
25
42
  *
@@ -27,7 +44,8 @@ class A_Config extends A_Fragment_class_1.A_Fragment {
27
44
  * @returns
28
45
  */
29
46
  get(property) {
30
- if (this.CONFIG_PROPERTIES.includes(property))
47
+ if (this.CONFIG_PROPERTIES.includes(property)
48
+ || this.DEFAULT_ALLOWED_TO_READ_PROPERTIES.includes(property))
31
49
  return this.VARIABLES.get(property);
32
50
  throw new Error('Property not exists or not allowed to read');
33
51
  // return this.concept.Errors.throw(A_SDK_CONSTANTS__ERROR_CODES.CONFIGURATION_PROPERTY_NOT_EXISTS_OR_NOT_ALLOWED_TO_READ) as never;
@@ -1 +1 @@
1
- {"version":3,"file":"A-Config.context.js","sourceRoot":"","sources":["../../../../src/base/A-Config/A-Config.context.ts"],"names":[],"mappings":";;;AAAA,4CAAmE;AAEnE,0FAAiF;AAGjF,MAAa,QAEX,SAAQ,6BAAU;IAgBhB,YACI,MAAyF;QAEzF,KAAK,CAAC,MAAM,CAAC,CAAC;QAflB,oBAAoB;QACZ,cAAS,GAAqB,IAAI,GAAG,EAAe,CAAC;QAE7D,sBAAiB,GAAQ,EAAE,CAAC;QAElB,uCAAkC,GAAG;YAC3C,uBAAuB;YACvB,gBAAgB;YAChB,sBAAsB;SAChB,CAAC;QAQP,IAAI,CAAC,MAAM,GAAG,wBAAc,CAAC,iBAAiB,CAAyC,MAAa,EAAE;YAClG,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,QAAQ,EAAE,EAAoB;SACjC,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IAChF,CAAC;IAGD;;;;;OAKG;IACH,GAAG,CACC,QAAoE;QAEpE,IAAI,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,QAAe,CAAC;YAChD,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,QAAkB,CAAa,CAAC;QAE9D,MAAM,IAAI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AC,QAAQ,CAAC;qBACd,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;oBACX,QAAQ,EAAE,GAAG;oBACb,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;iBACvB,CAAC,CAAC,CAAC;QAEhB,KAAK,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,KAAK,EAAE,CAAC;YAEtC,IAAI,WAAW,GAAG,KAAK;gBACnB,CAAC,CAAC,KAAK;gBACP,CAAC,CAAC,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,QAAQ;oBACnB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAa,CAAC;oBACrC,CAAC,CAAC,SAAS,CAAC;YAEpB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,QAAkB,EAAE,WAAW,CAAC,CAAC;QACxD,CAAC;IACL,CAAC;CACJ;AA3GD,4BA2GC"}
@@ -1,13 +1,15 @@
1
1
  import { A_TYPES__FragmentConstructor } from "../../global/A-Fragment/A-Fragment.types";
2
+ export declare enum A_TYPES__ConfigFeature {
3
+ }
2
4
  export type A_TYPES__ConfigContainerConstructor<T extends string> = {
3
5
  /**
4
6
  * Allows to define the names of variable to be loaded
5
7
  */
6
- variables?: Array<T>;
8
+ variables: Array<T>;
7
9
  /**
8
10
  * Allows to set the default values for the variables
9
11
  */
10
- defaults?: {
12
+ defaults: {
11
13
  [key in T]?: any;
12
14
  };
13
15
  } & A_TYPES__FragmentConstructor;
@@ -1,3 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.A_TYPES__ConfigFeature = void 0;
4
+ var A_TYPES__ConfigFeature;
5
+ (function (A_TYPES__ConfigFeature) {
6
+ })(A_TYPES__ConfigFeature || (exports.A_TYPES__ConfigFeature = A_TYPES__ConfigFeature = {}));
3
7
  //# sourceMappingURL=A-Config.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"A-Config.types.js","sourceRoot":"","sources":["../../../../src/base/A-Config/A-Config.types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"A-Config.types.js","sourceRoot":"","sources":["../../../../src/base/A-Config/A-Config.types.ts"],"names":[],"mappings":";;;AAGA,IAAY,sBAEX;AAFD,WAAY,sBAAsB;AAElC,CAAC,EAFW,sBAAsB,sCAAtB,sBAAsB,QAEjC"}
@@ -1,8 +1,9 @@
1
1
  import { A_Scope } from "../../../global/A-Scope/A-Scope.class";
2
+ import { A_Component } from "../../../global/A-Component/A-Component.class";
2
3
  /**
3
4
  * Config Reader
4
5
  */
5
- export declare class ConfigReader {
6
+ export declare class ConfigReader extends A_Component {
6
7
  protected scope: A_Scope;
7
8
  constructor(scope: A_Scope);
8
9
  /**
@@ -21,11 +21,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
21
21
  exports.ConfigReader = void 0;
22
22
  const A_Scope_class_1 = require("../../../global/A-Scope/A-Scope.class");
23
23
  const A_Inject_decorator_1 = require("../../../decorators/A-Inject/A-Inject.decorator");
24
+ const A_Component_class_1 = require("../../../global/A-Component/A-Component.class");
24
25
  /**
25
26
  * Config Reader
26
27
  */
27
- let ConfigReader = class ConfigReader {
28
+ let ConfigReader = class ConfigReader extends A_Component_class_1.A_Component {
28
29
  constructor(scope) {
30
+ super();
29
31
  this.scope = scope;
30
32
  }
31
33
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigReader.component.js","sourceRoot":"","sources":["../../../../../src/base/A-Config/components/ConfigReader.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,iFAAwE;AACxE,gGAAmF;AAInF;;GAEG;AACI,IAAM,YAAY,GAAlB,MAAM,YAAY;IAErB,YACiC,KAAc;QAAd,UAAK,GAAL,KAAK,CAAS;IAC3C,CAAC;IAGL;;;OAGG;IACH,OAAO,CAAoB,QAAgB;QACvC,OAAO,QAAuB,CAAC;IACnC,CAAC;IAED;;;;OAIG;IACG,IAAI;6DACN,YAAsB,EAAE;YAExB,OAAO,EAAoB,CAAC;QAChC,CAAC;KAAA;CACJ,CAAA;AAzBY,oCAAY;uBAAZ,YAAY;IAGhB,WAAA,IAAA,6BAAQ,EAAC,uBAAO,CAAC,CAAA;GAHb,YAAY,CAyBxB"}
1
+ {"version":3,"file":"ConfigReader.component.js","sourceRoot":"","sources":["../../../../../src/base/A-Config/components/ConfigReader.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,iFAAwE;AACxE,gGAAmF;AACnF,6FAAoF;AAIpF;;GAEG;AACI,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,+BAAW;IAEzC,YACiC,KAAc;QAE3C,KAAK,EAAE,CAAC;QAFqB,UAAK,GAAL,KAAK,CAAS;IAG/C,CAAC;IAGD;;;OAGG;IACH,OAAO,CAAoB,QAAgB;QACvC,OAAO,QAAuB,CAAC;IACnC,CAAC;IAED;;;;OAIG;IACG,IAAI;6DACN,YAAsB,EAAE;YAExB,OAAO,EAAoB,CAAC;QAChC,CAAC;KAAA;CACJ,CAAA;AA3BY,oCAAY;uBAAZ,YAAY;IAGhB,WAAA,IAAA,6BAAQ,EAAC,uBAAO,CAAC,CAAA;GAHb,YAAY,CA2BxB"}
@@ -1,7 +1,8 @@
1
1
  import { A_Scope } from "../../global/A-Scope/A-Scope.class";
2
2
  import { A_Errors } from "./A-Errors.context";
3
3
  import { A_CONSTANTS__ERROR_CODES, A_Error, A_ServerError } from "@adaas/a-utils";
4
- export declare class A_ErrorsManager {
4
+ import { A_Component } from "../../global/A-Component/A-Component.class";
5
+ export declare class A_ErrorsManager extends A_Component {
5
6
  protected scope: A_Scope;
6
7
  protected errors: A_Errors;
7
8
  constructor(scope: A_Scope, errors: A_Errors);
@@ -15,8 +15,10 @@ const A_Inject_decorator_1 = require("../../decorators/A-Inject/A-Inject.decorat
15
15
  const A_Errors_context_1 = require("./A-Errors.context");
16
16
  const a_utils_1 = require("@adaas/a-utils");
17
17
  const A_Context_class_1 = require("../../global/A-Context/A-Context.class");
18
- let A_ErrorsManager = class A_ErrorsManager {
18
+ const A_Component_class_1 = require("../../global/A-Component/A-Component.class");
19
+ let A_ErrorsManager = class A_ErrorsManager extends A_Component_class_1.A_Component {
19
20
  constructor(scope, errors) {
21
+ super();
20
22
  this.scope = scope;
21
23
  this.errors = errors;
22
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"A-Errors.component.js","sourceRoot":"","sources":["../../../../src/base/A-Errors/A-Errors.component.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iFAAwE;AACxE,gGAAmF;AACnF,yDAA8C;AAC9C,4CAAyF;AACzF,uFAA8E;AAEvE,IAAM,eAAe,GAArB,MAAM,eAAe;IAExB,YACiC,KAAc,EACb,MAAgB;QADjB,UAAK,GAAL,KAAK,CAAS;QACb,WAAM,GAAN,MAAM,CAAU;IAGlD,CAAC;IAcD,KAAK,CACD,KAAkE;QAElE,QAAQ,IAAI,EAAE,CAAC;YACX,wBAAwB;YACxB,KAAK,OAAO,KAAK,KAAK,QAAQ;gBAC1B,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;gBACxC,MAAM,SAAS,GAAG,GAAG,2BAAS,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,UAAU,QAAQ,CAAC,IAAI,EAAE,CAAA;gBAE/E,IAAI,YAAY,IAAI,QAAQ;oBACxB,MAAM,IAAI,uBAAa,iCAChB,QAAQ,KACX,IAAI,EAAE,SAAS,IACjB,CAAC;;oBAEH,MAAM,IAAI,iBAAO,iCACV,QAAQ,KACX,IAAI,EAAE,SAAS,IACjB,CAAA;YAEV,0BAA0B;YAC1B,KAAK,KAAK,YAAY,iBAAO;gBACzB,MAAM,KAAK,CAAC;YAEhB,2BAA2B;YAC3B;gBACI,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;IACL,CAAC;IAGD;;;;;OAKG;IACH,IA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BAAQ,EAAC,uBAAO,CAAC,CAAA;IACjB,WAAA,IAAA,6BAAQ,EAAC,2BAAQ,CAAC,CAAA;GAJd,eAAe,CA+F3B"}
@@ -1,7 +1,8 @@
1
1
  import { A_Error } from "@adaas/a-utils";
2
2
  import { A_Config } from "../A-Config/A-Config.context";
3
3
  import { A_Scope } from "../../global/A-Scope/A-Scope.class";
4
- export declare class A_Logger {
4
+ import { A_Component } from "../../global/A-Component/A-Component.class";
5
+ export declare class A_Logger extends A_Component {
5
6
  protected scope: A_Scope;
6
7
  protected config: A_Config;
7
8
  constructor(scope: A_Scope, config: A_Config);
@@ -18,7 +19,8 @@ export declare class A_Logger {
18
19
  };
19
20
  get scopeLength(): number;
20
21
  compile(color: keyof typeof this.colors, ...args: any[]): Array<string>;
21
- log(...args: any[]): void;
22
+ log(color: keyof typeof this.colors, ...args: any[]): any;
23
+ log(...args: any[]): any;
22
24
  warning(...args: any[]): void;
23
25
  error(...args: any[]): void;
24
26
  protected log_A_Error(error: A_Error): void;
@@ -14,8 +14,10 @@ const A_Inject_decorator_1 = require("../../decorators/A-Inject/A-Inject.decorat
14
14
  const a_utils_1 = require("@adaas/a-utils");
15
15
  const A_Config_context_1 = require("../A-Config/A-Config.context");
16
16
  const A_Scope_class_1 = require("../../global/A-Scope/A-Scope.class");
17
- let A_Logger = class A_Logger {
17
+ const A_Component_class_1 = require("../../global/A-Component/A-Component.class");
18
+ let A_Logger = class A_Logger extends A_Component_class_1.A_Component {
18
19
  constructor(scope, config) {
20
+ super();
19
21
  this.scope = scope;
20
22
  this.config = config;
21
23
  this.colors = {
@@ -60,10 +62,16 @@ let A_Logger = class A_Logger {
60
62
  : '\x1b[0m')
61
63
  ];
62
64
  }
63
- log(...args) {
65
+ log(param1, ...args) {
64
66
  if (!this.config.get('CONFIG_VERBOSE'))
65
67
  return;
66
- console.log(...this.compile('blue', ...args));
68
+ if (typeof param1 === 'string' && this.colors[param1]) {
69
+ console.log(...this.compile(param1, ...args));
70
+ return;
71
+ }
72
+ else {
73
+ console.log(...this.compile('blue', param1, ...args));
74
+ }
67
75
  }
68
76
  warning(...args) {
69
77
  if (!this.config.get('CONFIG_VERBOSE'))
@@ -1 +1 @@
1
- {"version":3,"file":"A-Logger.component.js","sourceRoot":"","sources":["../../../../src/base/A-Logger/A-Logger.component.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gGAAmF;AACnF,4CAAyC;AACzC,mEAAwD;AACxD,iFAAwE;AAIjE,IAAM,QAAQ,GAAd,MAAM,QAAQ;IAEjB,YACuB,KAAwB,EACvB,MAA0B;QADjB,UAAK,GAAL,KAAK,CAAS;QACb,WAAM,GAAN,MAAM,CAAU;QAIzC,WAAM,GAAG;YACd,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,IAAI;YACV,GAAG,EAAE,IAAI;YACT,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,IAAI;SACJ,CAAA;IAZV,CAAC;IAeD,IAAI,WAAW;QACX,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC;IAClC,CAAC;IAGD,OAAO,CACH,KAA+B,EAC/B,GAAG,IAAW;QAGd,OAAO;YACH,QAAQ,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,IAAI,MAAM,IAAI,CAAC,OAAO,EAAE,GAAG;YACrE,CACI,IAAI,CAAC,MAAM,GAAG,CAAC;gBACX,CAAC,CAAC,IAAI,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,kCAAkC;gBAC9E,CAAC,CAAC,EAAE,CAEX;YACD,GAAG,CAAC,IAAI;iBACH,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;gBAGZ,QAAQ,IAAI,EAAE,CAAC;oBACX,KAAK,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C,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;QAC1D,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;QACpE,OAAO,GAAG,OAAO,IAAI,OAAO,IAAI,YAAY,EAAE,CAAC;IACnD,CAAC;CACJ,CAAA;AAlLY,4BAAQ;mBAAR,QAAQ;IAGZ,WAAA,IAAA,6BAAQ,EAAC,uBAAO,CAAC,CAAA;IACjB,WAAA,IAAA,6BAAQ,EAAC,2BAAQ,CAAC,CAAA;GAJd,QAAQ,CAkLpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"A-Feature-Define.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Feature/A-Feature-Define.decorator.ts"],"names":[],"mappings":";;AAsBA,4CAkCC;AAnDD,6FAAkG;AAClG,uFAA8E;AAG9E;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAC5B,SAAqD,EAAE;IAEvD,OAAO,UACH,MAAwB,EACxB,WAAmB,EACnB,UAAiD;QAGjD,+CAA+C;QAC/C,MAAM,WAAW,GAAG,2BAAS;aACxB,IAAI,CAAC,MAAM,CAAC;aACZ,GAAG,CAAC,6CAAyB,CAAC,QAAQ,CAAC;eACrC,IAAI,GAAG,EAAE,CAAC;QAIjB,uEAAuE;QACvE,WAAW,CAAC,GAAG,CAAC,WAAW,EAAE;YACzB,OAAO,EAAE,WAAW;YACpB,MAAM,kCACC,MAAM,KACT,IAAI,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,IAAI,WAAW,IAAI,MAAM,CAAC,IAAI,EAAE,GACnE;SACJ,CAAC,CAAC;QAEH,wEAAwE;QACxE,2BAAS;aACJ,IAAI,CAAC,MAAM,CAAC;aACZ,GAAG,CACA,6CAAyB,CAAC,QAAQ,EAClC,WAAW,CACd,CAAC;IACV,CAAC,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"A-Feature-Define.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Feature/A-Feature-Define.decorator.ts"],"names":[],"mappings":";;AAsBA,4CAiCC;AAlDD,6FAAkG;AAClG,uFAA8E;AAG9E;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAC5B,SAAqD,EAAE;IAEvD,OAAO,UACH,MAAwB,EACxB,WAAmB,EACnB,UAAiD;QAGjD,+CAA+C;QAC/C,MAAM,WAAW,GAAG,2BAAS;aACxB,IAAI,CAAC,MAAM,CAAC;aACZ,GAAG,CAAC,6CAAyB,CAAC,QAAQ,CAAC;eACrC,IAAI,GAAG,EAAE,CAAC;QAGjB,uEAAuE;QACvE,WAAW,CAAC,GAAG,CAAC,WAAW,EAAE;YACzB,OAAO,EAAE,WAAW;YACpB,MAAM,kCACC,MAAM,KACT,IAAI,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,IAAI,WAAW,IAAI,MAAM,CAAC,IAAI,EAAE,GACnE;SACJ,CAAC,CAAC;QAEH,wEAAwE;QACxE,2BAAS;aACJ,IAAI,CAAC,MAAM,CAAC;aACZ,GAAG,CACA,6CAAyB,CAAC,QAAQ,EAClC,WAAW,CACd,CAAC;IACV,CAAC,CAAC;AACN,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.A_Feature_Extend = A_Feature_Extend;
4
4
  const A_Component_types_1 = require("../../global/A-Component/A-Component.types");
5
5
  const A_Context_class_1 = require("../../global/A-Context/A-Context.class");
6
+ const A_Meta_class_1 = require("../../global/A-Meta/A-Meta.class");
6
7
  /**
7
8
  * A-Extend decorator
8
9
  *
@@ -18,21 +19,20 @@ const A_Context_class_1 = require("../../global/A-Context/A-Context.class");
18
19
  */
19
20
  function A_Feature_Extend(config = {}) {
20
21
  return function (target, propertyKey, descriptor) {
22
+ const extensionName = config.name || propertyKey;
21
23
  // Get the existed metadata or create a new one
22
24
  const existedMeta = A_Context_class_1.A_Context
23
25
  .meta(target)
24
26
  .get(A_Component_types_1.A_TYPES__ComponentMetaKey.EXTENSIONS)
25
- || new Map();
26
- // Set the metadata of the method to define a custom Feature with name
27
- existedMeta.set(propertyKey, {
28
- name: config.name || propertyKey,
27
+ || new A_Meta_class_1.A_Meta();
28
+ const existedMetaValue = existedMeta.get(extensionName) || [];
29
+ // Add the new method to the metadata
30
+ existedMetaValue.push({
31
+ name: extensionName,
29
32
  handler: propertyKey,
30
- container: config.container
31
- ? typeof config.container === 'string'
32
- ? config.container
33
- : config.container.name
34
- : '*',
35
33
  });
34
+ // Set the metadata of the method to define a custom Feature with name
35
+ existedMeta.set(extensionName, existedMetaValue);
36
36
  // Update the metadata of the container with the new Feature definition
37
37
  A_Context_class_1.A_Context
38
38
  .meta(target)
@@ -1 +1 @@
1
- {"version":3,"file":"A-Feature-Extend.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Feature/A-Feature-Extend.decorator.ts"],"names":[],"mappings":";;AAwBA,4CAgCC;AAnDD,6FAAkG;AAClG,uFAA8E;AAK9E;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAC5B,SAAoD,EAAE;IAEtD,OAAO,UACH,MAAmB,EACnB,WAAmB,EACnB,UAAgD;QAGhD,+CAA+C;QAC/C,MAAM,WAAW,GAAG,2BAAS;aACxB,IAAI,CAAC,MAAM,CAAC;aACZ,GAAG,CAAC,6CAAyB,CAAC,UAAU,CAAC;eACvC,IAAI,GAAG,EAAE,CAAC;QAEjB,sEAAsE;QACtE,WAAW,CAAC,GAAG,CAAC,WAAW,EAAE;YACzB,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;QAEH,wEAAwE;QACxE,2BAAS;aACJ,IAAI,CAAC,MAAM,CAAC;aACZ,GAAG,CAAC,6CAAyB,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;IAEhE,CAAC,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"A-Feature-Extend.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Feature/A-Feature-Extend.decorator.ts"],"names":[],"mappings":";;AA2BA,4CAkCC;AAxDD,6FAAkG;AAClG,uFAA8E;AAG9E,8EAAqE;AAKrE;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAC5B,SAAoD,EAAE;IAEtD,OAAO,UACH,MAAmB,EACnB,WAAmB,EACnB,UAAgD;QAGhD,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,IAAI,WAAW,CAAA;QAEhD,+CAA+C;QAC/C,MAAM,WAAW,GAAG,2BAAS;aACxB,IAAI,CAAC,MAAM,CAAC;aACZ,GAAG,CAAC,6CAAyB,CAAC,UAAU,CAAC;eACvC,IAAI,qBAAM,EAAE,CAAC;QAGpB,MAAM,gBAAgB,GAAG,WAAW,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;QAE9D,qCAAqC;QACrC,gBAAgB,CAAC,IAAI,CAAC;YAClB,IAAI,EAAE,aAAa;YACnB,OAAO,EAAE,WAAW;SACvB,CAAC,CAAC;QAEH,sEAAsE;QACtE,WAAW,CAAC,GAAG,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC;QAEjD,wEAAwE;QACxE,2BAAS;aACJ,IAAI,CAAC,MAAM,CAAC;aACZ,GAAG,CAAC,6CAAyB,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;IAChE,CAAC,CAAC;AACN,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { A_Component } from "../../global/A-Component/A-Component.class";
2
- import { A_Container } from "../../global/A-Container/A-Container.class";
3
2
  import { A_TYPES__A_InjectDecoratorReturn } from "./A-Inject.decorator.types";
4
3
  import { A_Fragment } from "../../global/A-Fragment/A-Fragment.class";
5
4
  import { A_Scope } from "../../global/A-Scope/A-Scope.class";
@@ -19,6 +18,5 @@ export declare function A_Inject(component: typeof A_Component): A_TYPES__A_Inje
19
18
  export declare function A_Inject(component: {
20
19
  new (...args: any[]): any;
21
20
  }): A_TYPES__A_InjectDecoratorReturn;
22
- export declare function A_Inject(container: typeof A_Container): A_TYPES__A_InjectDecoratorReturn;
23
21
  export declare function A_Inject(fragment: typeof A_Fragment): A_TYPES__A_InjectDecoratorReturn;
24
22
  export declare function A_Inject<T extends Array<typeof A_Fragment>>(fragments: T): A_TYPES__A_InjectDecoratorReturn;
@@ -3,14 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.A_Inject = A_Inject;
4
4
  const A_Context_class_1 = require("../../global/A-Context/A-Context.class");
5
5
  const A_Component_types_1 = require("../../global/A-Component/A-Component.types");
6
+ const A_Meta_class_1 = require("../../global/A-Meta/A-Meta.class");
6
7
  // ====================== BASE FUNCTION ======================
7
8
  function A_Inject(param1) {
8
9
  return function (target, methodName, parameterIndex) {
9
- const method = methodName ? methodName : 'constructor';
10
+ const method = methodName ? String(methodName) : 'constructor';
11
+ console.log('target: ', target);
10
12
  const existedMeta = A_Context_class_1.A_Context
11
13
  .meta(target)
12
14
  .get(A_Component_types_1.A_TYPES__ComponentMetaKey.INJECTIONS)
13
- || new Map();
15
+ || new A_Meta_class_1.A_Meta();
14
16
  const paramsArray = existedMeta.get(method) || [];
15
17
  paramsArray[parameterIndex] = param1;
16
18
  existedMeta.set(method, paramsArray);
@@ -1 +1 @@
1
- {"version":3,"file":"A-Inject.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Inject/A-Inject.decorator.ts"],"names":[],"mappings":";;AAqDA,4BAiCC;AAhFD,uFAA8E;AAC9E,6FAAkG;AA6ClG,8DAA8D;AAC9D,SAAg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AC,MAAM,CAAC,IAAI,EAAE,CAAC;QAElD,WAAW,CAAC,cAAc,CAAC,GAAG,MAAM,CAAC;QAErC,WAAW,CAAC,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;QAGrC,2BAAS;aACJ,IAAI,CAAC,MAAM,CAAC;aACZ,GAAG,CACA,6CAAyB,CAAC,UAAU,EACpC,WAAW,CACd,CAAA;IACT,CAAC,CAAA;AACL,CAAC"}
@@ -1,6 +1,33 @@
1
+ import { A_TYPES__Required } from "@adaas/a-utils";
2
+ import { A_TYPES__ComponentCallParams } from "./A-Component.types";
1
3
  /**
2
4
  * This element only contains the specific code
3
5
  *
4
6
  */
5
- export declare class A_Component {
7
+ export declare class A_Component<_FeatureNames extends Array<string> = any> {
8
+ /**
9
+ * Call a feature of the component
10
+ *
11
+ * @param lifecycleMethod
12
+ * @param args
13
+ */
14
+ call(
15
+ /**
16
+ * A-Feature method name to be called
17
+ */
18
+ feature: _FeatureNames[number]): Promise<any>;
19
+ call(
20
+ /**
21
+ * A-Feature name to be called
22
+ */
23
+ params: A_TYPES__Required<Partial<A_TYPES__ComponentCallParams<_FeatureNames[number]>>, ['name']>): Promise<any>;
24
+ call(
25
+ /**
26
+ * A-Feature method name to be called
27
+ */
28
+ feature: string,
29
+ /**
30
+ * Parameters to provide additional data to the feature
31
+ */
32
+ params: Partial<A_TYPES__ComponentCallParams<_FeatureNames[number]>>): Promise<any>;
6
33
  }
@@ -1,11 +1,33 @@
1
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
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.A_Component = void 0;
13
+ const A_Context_class_1 = require("../A-Context/A-Context.class");
4
14
  /**
5
15
  * This element only contains the specific code
6
16
  *
7
17
  */
8
18
  class A_Component {
19
+ call(param1, param2) {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const feature = typeof param1 === 'string'
22
+ ? param1
23
+ : param1.name;
24
+ const params = typeof param1 === 'string'
25
+ ? param2 || {}
26
+ : param1;
27
+ const newFeature = A_Context_class_1.A_Context.feature(this, feature, params);
28
+ return yield newFeature.process();
29
+ });
30
+ }
9
31
  }
10
32
  exports.A_Component = A_Component;
11
33
  //# sourceMappingURL=A-Component.class.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"A-Component.class.js","sourceRoot":"","sources":["../../../../src/global/A-Component/A-Component.class.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,MAAa,WAAW;CAAI;AAA5B,kCAA4B"}
1
+ {"version":3,"file":"A-Component.class.js","sourceRoot":"","sources":["../../../../src/global/A-Component/A-Component.class.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,kEAAyD;AAGzD;;;GAGG;AACH,MAAa,WAAW;IAmCd,IAAI,CACN,MAAyH,EACzH,MAAqE;;YAGrE,MAAM,OAAO,GAAW,OAAO,MAAM,KAAK,QAAQ;gBAC9C,CAAC,CAAC,MAAM;gBACR,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC;YAClB,MAAM,MAAM,GAAiE,OAAO,MAAM,KAAK,QAAQ;gBACnG,CAAC,CAAC,MAAM,IAAI,EAAE;gBACd,CAAC,CAAC,MAAM,CAAC;YAEb,MAAM,UAAU,GAAG,2BAAS,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;YAE5D,OAAO,MAAM,UAAU,CAAC,OAAO,EAAE,CAAC;QACtC,CAAC;KAAA;CACJ;AAnDD,kCAmDC"}
@@ -1,4 +1,11 @@
1
1
  import { A_Meta } from "../A-Meta/A-Meta.class";
2
- import { A_TYPES__ComponentMeta } from "./A-Component.types";
2
+ import { A_TYPES__ComponentMeta, A_TYPES__ComponentMetaExtension } from "./A-Component.types";
3
3
  export declare class A_ComponentMeta extends A_Meta<A_TYPES__ComponentMeta> {
4
+ /**
5
+ * Allows to get all the extensions for a given feature
6
+ *
7
+ * @param feature
8
+ * @returns
9
+ */
10
+ extensions(feature: string): A_TYPES__ComponentMetaExtension[];
4
11
  }
@@ -2,7 +2,33 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.A_ComponentMeta = void 0;
4
4
  const A_Meta_class_1 = require("../A-Meta/A-Meta.class");
5
+ const A_Component_types_1 = require("./A-Component.types");
5
6
  class A_ComponentMeta extends A_Meta_class_1.A_Meta {
7
+ /**
8
+ * Allows to get all the extensions for a given feature
9
+ *
10
+ * @param feature
11
+ * @returns
12
+ */
13
+ extensions(feature) {
14
+ const steps = [];
15
+ const extensions = this.get(A_Component_types_1.A_TYPES__ComponentMetaKey.EXTENSIONS);
16
+ const injections = this.get(A_Component_types_1.A_TYPES__ComponentMetaKey.INJECTIONS);
17
+ // const constructor = A_Context.component(this);
18
+ extensions === null || extensions === void 0 ? void 0 : extensions
19
+ // returns all extensions that match the feature
20
+ .find(feature).forEach(([handler, extensions]) => {
21
+ extensions.forEach(extension => {
22
+ const args = (injections === null || injections === void 0 ? void 0 : injections.get(extension.handler)) || [];
23
+ steps.push({
24
+ // component: constructor,
25
+ handler: extension.handler,
26
+ args
27
+ });
28
+ });
29
+ });
30
+ return steps;
31
+ }
6
32
  }
7
33
  exports.A_ComponentMeta = A_ComponentMeta;
8
34
  //# sourceMappingURL=A-Component.meta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"A-Component.meta.js","sourceRoot":"","sources":["../../../../src/global/A-Component/A-Component.meta.ts"],"names":[],"mappings":";;;AAAA,yDAAgD;AAIhD,MAAa,eAAgB,SAAQ,qBAA8B;CAIlE;AAJD,0CAIC"}
1
+ {"version":3,"file":"A-Component.meta.js","sourceRoot":"","sources":["../../../../src/global/A-Component/A-Component.meta.ts"],"names":[],"mappings":";;;AAAA,yDAAgD;AAChD,2DAAyH;AAGzH,MAAa,eAAgB,SAAQ,qBAA8B;IAK/D;;;;;OAKG;IACH,UAAU,CACN,OAAe;QAEf,MAAM,KAAK,GAAsC,EAAE,CAAC;QAEpD,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,6CAAyB,CAAC,UAAU,CAAC,CAAC;QAClE,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,6CAAyB,CAAC,UAAU,CAAC,CAAC;QAElE,iDAAiD;QAGjD,UAAU,aAAV,UAAU,uBAAV,UAAU;QACN,gDAAgD;SAC9C,IAAI,CAAC,OAAO,EACb,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,UAAU,CAAC,EAAE,EAAE;YAC/B,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;gBAE3B,MAAM,IAAI,GAAG,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,KAAI,EAAE,CAAC;gBAEtD,KAAK,CAAC,IAAI,CAAC;oBACP,0BAA0B;oBAC1B,OAAO,EAAE,SAAS,CAAC,OAAO;oBAC1B,IAAI;iBACP,CAAC,CAAC;YAEP,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;QAGP,OAAO,KAAK,CAAC;IACjB,CAAC;CAEJ;AA3CD,0CA2CC"}
@@ -1,18 +1,55 @@
1
+ import { A_Feature } from "../A-Feature/A-Feature.class";
2
+ import { A_Fragment } from "../A-Fragment/A-Fragment.class";
3
+ import { A_Meta } from "../A-Meta/A-Meta.class";
4
+ import { A_Scope } from "../A-Scope/A-Scope.class";
5
+ import { A_Component } from "./A-Component.class";
6
+ export type A_TYPES__ComponentCallParams<T extends string> = {
7
+ name: T;
8
+ fragments: Array<A_Fragment>;
9
+ components: Array<{
10
+ new (...args: any[]): any;
11
+ }>;
12
+ };
1
13
  export type A_TYPES__ComponentMeta = {
2
- [A_TYPES__ComponentMetaKey.EXTENSIONS]: Map<string, A_TYPES__ComponentMeta_ExtensionItem>;
14
+ [A_TYPES__ComponentMetaKey.EXTENSIONS]: A_Meta<{
15
+ /**
16
+ * Where Key the regexp for what to apply the extension
17
+ * A set of container names or a wildcard, or a regexp
18
+ *
19
+ *
20
+ * Where value is the extension instructions
21
+ */
22
+ [Key: string]: A_TYPES__ComponentMeta_ExtensionItem[];
23
+ }>;
3
24
  [A_TYPES__ComponentMetaKey.FEATURES]: any[];
4
- [A_TYPES__ComponentMetaKey.INJECTIONS]: Map<Symbol | string, A_TYPES__ComponentMeta_InjectionParams>;
25
+ [A_TYPES__ComponentMetaKey.INJECTIONS]: A_Meta<{
26
+ /**
27
+ * Where Key is the name of the injection
28
+ *
29
+ * Where value is the list of injections
30
+ */
31
+ [Key: string]: Array<A_TYPES__ComponentMeta_InjectionParam>;
32
+ }>;
5
33
  };
6
34
  export declare enum A_TYPES__ComponentMetaKey {
7
35
  EXTENSIONS = "a-component-extensions",
8
36
  FEATURES = "a-component-features",
9
37
  INJECTIONS = "a-component-injections"
10
38
  }
39
+ export type A_TYPES__ComponentMetaExtension = {
40
+ handler: string;
41
+ args: A_TYPES__ComponentMeta_InjectionParam[];
42
+ };
11
43
  export type A_TYPES__ComponentMeta_ExtensionItem = {
12
44
  name: string;
13
- container: string;
14
45
  handler: string;
15
46
  };
16
- export type A_TYPES__ComponentMeta_InjectionParams = Array<{
17
- new (...args: any[]): any;
18
- }>;
47
+ export type A_TYPES__ComponentMeta_InjectionParam = {
48
+ new (...args: any[]): A_Fragment;
49
+ } | {
50
+ new (...args: any[]): A_Component;
51
+ } | {
52
+ new (...args: any[]): A_Scope;
53
+ } | {
54
+ new (...args: any[]): A_Feature;
55
+ };
@@ -7,4 +7,9 @@ var A_TYPES__ComponentMetaKey;
7
7
  A_TYPES__ComponentMetaKey["FEATURES"] = "a-component-features";
8
8
  A_TYPES__ComponentMetaKey["INJECTIONS"] = "a-component-injections";
9
9
  })(A_TYPES__ComponentMetaKey || (exports.A_TYPES__ComponentMetaKey = A_TYPES__ComponentMetaKey = {}));
10
+ // typeof A_Fragment
11
+ // | typeof A_Component
12
+ // // | { new(...args: any[]): any }
13
+ // | typeof A_Scope
14
+ // | typeof A_Feature;
10
15
  //# sourceMappingURL=A-Component.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"A-Component.types.js","sourceRoot":"","sources":["../../../../src/global/A-Component/A-Component.types.ts"],"names":[],"mappings":";;;AAcA,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACjC,kEAAqC,CAAA;IACrC,8DAAiC,CAAA;IACjC,kEAAqC,CAAA;AACzC,CAAC,EAJW,yBAAyB,yCAAzB,yBAAyB,QAIpC"}
1
+ {"version":3,"file":"A-Component.types.js","sourceRoot":"","sources":["../../../../src/global/A-Component/A-Component.types.ts"],"names":[],"mappings":";;;AAyCA,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACjC,kEAAqC,CAAA;IACrC,8DAAiC,CAAA;IACjC,kEAAqC,CAAA;AACzC,CAAC,EAJW,yBAAyB,yCAAzB,yBAAyB,QAIpC;AAqBD,oBAAoB;AACpB,uBAAuB;AACvB,oCAAoC;AACpC,mBAAmB;AACnB,sBAAsB"}
@@ -18,36 +18,36 @@ export declare class A_Concept<_Features extends A_Container<any>[] = any> {
18
18
  /**
19
19
  * Load the concept. This step runs before any other steps to ensure that all components are loaded.
20
20
  */
21
- static get Load(): (config?: Partial<import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorDescriptor) => void;
21
+ static get Load(): (config?: Partial<import("../../..").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../..").A_TYPES__A_StageDecoratorDescriptor) => void;
22
22
  /**
23
23
  * Publish the concept to ADAAS platform. (Or any other place defined in the concept)
24
24
  *
25
25
  * [!] To extend the logic just create a custom containers and override the default behavior.
26
26
  */
27
- static get Publish(): (config?: Partial<import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorDescriptor) => void;
27
+ static get Publish(): (config?: Partial<import("../../..").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../..").A_TYPES__A_StageDecoratorDescriptor) => void;
28
28
  /**
29
29
  * Deploy the concept to the environment.
30
30
  */
31
- static get Deploy(): (config?: Partial<import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorDescriptor) => void;
31
+ static get Deploy(): (config?: Partial<import("../../..").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../..").A_TYPES__A_StageDecoratorDescriptor) => void;
32
32
  /**
33
33
  * Compiles the Concept in case there are some containers that require that.
34
34
  *
35
35
  * Can be used for static websites or any other concept that requires a build step.
36
36
  *
37
37
  */
38
- static get Build(): (config?: Partial<import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorDescriptor) => void;
38
+ static get Build(): (config?: Partial<import("../../..").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../..").A_TYPES__A_StageDecoratorDescriptor) => void;
39
39
  /**
40
40
  * Main execution of the concept.
41
41
  */
42
- static get Run(): (config?: Partial<import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorDescriptor) => void;
42
+ static get Run(): (config?: Partial<import("../../..").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../..").A_TYPES__A_StageDecoratorDescriptor) => void;
43
43
  /**
44
44
  * Start the concept. Uses for servers or any other background services.
45
45
  */
46
- static get Start(): (config?: Partial<import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorDescriptor) => void;
46
+ static get Start(): (config?: Partial<import("../../..").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../..").A_TYPES__A_StageDecoratorDescriptor) => void;
47
47
  /**
48
48
  * Stop the concept. Uses for servers or any other background services.
49
49
  */
50
- static get Stop(): (config?: Partial<import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../decorators/A-Stage/A-Stage.decorator.types").A_TYPES__A_StageDecoratorDescriptor) => void;
50
+ static get Stop(): (config?: Partial<import("../../..").A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any>, propertyKey: string, descriptor: import("../../..").A_TYPES__A_StageDecoratorDescriptor) => void;
51
51
  protected containers: A_Container<any>[];
52
52
  constructor(props: A_TYPES__IConceptConstructor<_Features>);
53
53
  get namespace(): string;
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.A_Concept = void 0;
13
13
  const A_Concept_types_1 = require("./A_Concept.types");
14
14
  const A_Context_class_1 = require("../A-Context/A-Context.class");
15
- const A_Logger_component_1 = require("../../base/A-Logger/A-Logger.component");
16
15
  const A_Container_types_1 = require("../A-Container/A-Container.types");
17
16
  const A_Stage_decorator_1 = require("../../decorators/A-Stage/A-Stage.decorator");
18
17
  // export type RunParams<T> = T extends A_Container<any, infer Params> ? Params : never;
@@ -90,7 +89,7 @@ class A_Concept {
90
89
  fragments: props.fragments || [],
91
90
  // containers: props.containers
92
91
  components: [
93
- A_Logger_component_1.A_Logger,
92
+ // A_Logger,
94
93
  ]
95
94
  });
96
95
  this.containers = props.containers || [];