@adaas/a-utils 0.2.8 → 0.3.1

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 (795) hide show
  1. package/.conf/tsconfig.base.json +91 -0
  2. package/.conf/tsconfig.browser.json +26 -0
  3. package/.conf/tsconfig.node.json +30 -0
  4. package/dist/browser/A-Logger.component-Be-LMV3I.d.mts +467 -0
  5. package/dist/browser/A-StateMachineTransition.context-BINjcsgq.d.mts +221 -0
  6. package/dist/browser/a-channel.d.mts +456 -0
  7. package/dist/browser/a-channel.mjs +367 -0
  8. package/dist/browser/a-channel.mjs.map +1 -0
  9. package/dist/browser/a-command.d.mts +555 -0
  10. package/dist/browser/a-command.mjs +567 -0
  11. package/dist/browser/a-command.mjs.map +1 -0
  12. package/dist/browser/a-config.d.mts +60 -0
  13. package/dist/browser/a-config.mjs +6 -0
  14. package/dist/browser/a-config.mjs.map +1 -0
  15. package/dist/browser/a-execution.d.mts +17 -0
  16. package/dist/browser/a-execution.mjs +4 -0
  17. package/dist/browser/a-execution.mjs.map +1 -0
  18. package/dist/browser/a-logger.d.mts +107 -0
  19. package/dist/browser/a-logger.mjs +7 -0
  20. package/dist/browser/a-logger.mjs.map +1 -0
  21. package/dist/browser/a-manifest.d.mts +111 -0
  22. package/dist/browser/a-manifest.mjs +176 -0
  23. package/dist/browser/a-manifest.mjs.map +1 -0
  24. package/dist/browser/a-memory.d.mts +163 -0
  25. package/dist/browser/a-memory.mjs +375 -0
  26. package/dist/browser/a-memory.mjs.map +1 -0
  27. package/dist/browser/a-operation.d.mts +52 -0
  28. package/dist/browser/a-operation.mjs +5 -0
  29. package/dist/browser/a-operation.mjs.map +1 -0
  30. package/dist/browser/a-polyfill.d.mts +275 -0
  31. package/dist/browser/a-polyfill.mjs +4 -0
  32. package/dist/browser/a-polyfill.mjs.map +1 -0
  33. package/dist/browser/a-route.d.mts +25 -0
  34. package/dist/browser/a-route.mjs +98 -0
  35. package/dist/browser/a-route.mjs.map +1 -0
  36. package/dist/browser/a-schedule.d.mts +111 -0
  37. package/dist/browser/a-schedule.mjs +97 -0
  38. package/dist/browser/a-schedule.mjs.map +1 -0
  39. package/dist/browser/a-service.d.mts +40 -0
  40. package/dist/browser/a-service.mjs +197 -0
  41. package/dist/browser/a-service.mjs.map +1 -0
  42. package/dist/browser/a-signal.d.mts +402 -0
  43. package/dist/browser/a-signal.mjs +588 -0
  44. package/dist/browser/a-signal.mjs.map +1 -0
  45. package/dist/browser/a-state-machine.d.mts +11 -0
  46. package/dist/browser/a-state-machine.mjs +6 -0
  47. package/dist/browser/a-state-machine.mjs.map +1 -0
  48. package/dist/browser/chunk-72ANHWNG.mjs +48 -0
  49. package/dist/browser/chunk-72ANHWNG.mjs.map +1 -0
  50. package/dist/browser/chunk-ECSGFDRQ.mjs +264 -0
  51. package/dist/browser/chunk-ECSGFDRQ.mjs.map +1 -0
  52. package/dist/browser/chunk-EQQGB2QZ.mjs +15 -0
  53. package/dist/browser/chunk-EQQGB2QZ.mjs.map +1 -0
  54. package/dist/browser/chunk-J6CLHXFQ.mjs +679 -0
  55. package/dist/browser/chunk-J6CLHXFQ.mjs.map +1 -0
  56. package/dist/browser/chunk-NLPSQYIQ.mjs +149 -0
  57. package/dist/browser/chunk-NLPSQYIQ.mjs.map +1 -0
  58. package/dist/browser/chunk-TK5UEYMZ.mjs +776 -0
  59. package/dist/browser/chunk-TK5UEYMZ.mjs.map +1 -0
  60. package/dist/browser/chunk-TQ5UON22.mjs +56 -0
  61. package/dist/browser/chunk-TQ5UON22.mjs.map +1 -0
  62. package/dist/node/A-Command.entity-24rvXQLC.d.mts +409 -0
  63. package/dist/node/A-Command.entity-ISgSk8wB.d.ts +409 -0
  64. package/dist/node/A-Manifest.context-D2uynD9t.d.mts +66 -0
  65. package/dist/node/A-Manifest.context-rZnvR17w.d.ts +66 -0
  66. package/dist/node/A-Signal.types-P5VKMKMs.d.mts +114 -0
  67. package/dist/node/A-Signal.types-P5VKMKMs.d.ts +114 -0
  68. package/dist/node/chunk-EQQGB2QZ.mjs +15 -0
  69. package/dist/node/chunk-EQQGB2QZ.mjs.map +1 -0
  70. package/dist/node/constants/errors.constants.d.mts +2 -0
  71. package/dist/node/constants/errors.constants.d.ts +2 -0
  72. package/dist/node/constants/errors.constants.js +4 -0
  73. package/dist/node/constants/errors.constants.js.map +1 -0
  74. package/dist/node/constants/errors.constants.mjs +3 -0
  75. package/dist/node/constants/errors.constants.mjs.map +1 -0
  76. package/dist/node/lib/A-Channel/A-Channel.component.d.mts +365 -0
  77. package/dist/node/lib/A-Channel/A-Channel.component.d.ts +365 -0
  78. package/dist/node/lib/A-Channel/A-Channel.component.js +303 -0
  79. package/dist/node/lib/A-Channel/A-Channel.component.js.map +1 -0
  80. package/dist/node/lib/A-Channel/A-Channel.component.mjs +294 -0
  81. package/dist/node/lib/A-Channel/A-Channel.component.mjs.map +1 -0
  82. package/dist/node/lib/A-Channel/A-Channel.constants.d.mts +68 -0
  83. package/dist/node/lib/A-Channel/A-Channel.constants.d.ts +68 -0
  84. package/dist/node/lib/A-Channel/A-Channel.constants.js +28 -0
  85. package/dist/node/lib/A-Channel/A-Channel.constants.js.map +1 -0
  86. package/dist/node/lib/A-Channel/A-Channel.constants.mjs +27 -0
  87. package/dist/node/lib/A-Channel/A-Channel.constants.mjs.map +1 -0
  88. package/dist/node/lib/A-Channel/A-Channel.error.d.mts +23 -0
  89. package/dist/node/lib/A-Channel/A-Channel.error.d.ts +23 -0
  90. package/dist/node/lib/A-Channel/A-Channel.error.js +36 -0
  91. package/dist/node/lib/A-Channel/A-Channel.error.js.map +1 -0
  92. package/dist/node/lib/A-Channel/A-Channel.error.mjs +35 -0
  93. package/dist/node/lib/A-Channel/A-Channel.error.mjs.map +1 -0
  94. package/dist/node/lib/A-Channel/A-Channel.types.d.mts +2 -0
  95. package/dist/node/lib/A-Channel/A-Channel.types.d.ts +2 -0
  96. package/dist/node/lib/A-Channel/A-Channel.types.js +4 -0
  97. package/dist/node/lib/A-Channel/A-Channel.types.js.map +1 -0
  98. package/dist/node/lib/A-Channel/A-Channel.types.mjs +3 -0
  99. package/dist/node/lib/A-Channel/A-Channel.types.mjs.map +1 -0
  100. package/dist/node/lib/A-Channel/A-ChannelRequest.context.d.mts +17 -0
  101. package/dist/node/lib/A-Channel/A-ChannelRequest.context.d.ts +17 -0
  102. package/dist/node/lib/A-Channel/A-ChannelRequest.context.js +41 -0
  103. package/dist/node/lib/A-Channel/A-ChannelRequest.context.js.map +1 -0
  104. package/dist/node/lib/A-Channel/A-ChannelRequest.context.mjs +34 -0
  105. package/dist/node/lib/A-Channel/A-ChannelRequest.context.mjs.map +1 -0
  106. package/dist/node/lib/A-Channel/index.d.mts +8 -0
  107. package/dist/node/lib/A-Channel/index.d.ts +8 -0
  108. package/dist/node/lib/A-Channel/index.js +36 -0
  109. package/dist/node/lib/A-Channel/index.js.map +1 -0
  110. package/dist/node/lib/A-Channel/index.mjs +8 -0
  111. package/dist/node/lib/A-Channel/index.mjs.map +1 -0
  112. package/dist/node/lib/A-Command/A-Command.constants.d.mts +139 -0
  113. package/dist/node/lib/A-Command/A-Command.constants.d.ts +139 -0
  114. package/dist/node/lib/A-Command/A-Command.constants.js +45 -0
  115. package/dist/node/lib/A-Command/A-Command.constants.js.map +1 -0
  116. package/dist/node/lib/A-Command/A-Command.constants.mjs +42 -0
  117. package/dist/node/lib/A-Command/A-Command.constants.mjs.map +1 -0
  118. package/dist/node/lib/A-Command/A-Command.entity.d.mts +16 -0
  119. package/dist/node/lib/A-Command/A-Command.entity.d.ts +16 -0
  120. package/dist/node/lib/A-Command/A-Command.entity.js +530 -0
  121. package/dist/node/lib/A-Command/A-Command.entity.js.map +1 -0
  122. package/dist/node/lib/A-Command/A-Command.entity.mjs +520 -0
  123. package/dist/node/lib/A-Command/A-Command.entity.mjs.map +1 -0
  124. package/dist/node/lib/A-Command/A-Command.error.d.mts +13 -0
  125. package/dist/node/lib/A-Command/A-Command.error.d.ts +13 -0
  126. package/dist/node/lib/A-Command/A-Command.error.js +17 -0
  127. package/dist/node/lib/A-Command/A-Command.error.js.map +1 -0
  128. package/dist/node/lib/A-Command/A-Command.error.mjs +16 -0
  129. package/dist/node/lib/A-Command/A-Command.error.mjs.map +1 -0
  130. package/dist/node/lib/A-Command/A-Command.types.d.mts +16 -0
  131. package/dist/node/lib/A-Command/A-Command.types.d.ts +16 -0
  132. package/dist/node/lib/A-Command/A-Command.types.js +4 -0
  133. package/dist/node/lib/A-Command/A-Command.types.js.map +1 -0
  134. package/dist/node/lib/A-Command/A-Command.types.mjs +3 -0
  135. package/dist/node/lib/A-Command/A-Command.types.mjs.map +1 -0
  136. package/dist/node/lib/A-Command/index.d.mts +17 -0
  137. package/dist/node/lib/A-Command/index.d.ts +17 -0
  138. package/dist/node/lib/A-Command/index.js +31 -0
  139. package/dist/node/lib/A-Command/index.js.map +1 -0
  140. package/dist/node/lib/A-Command/index.mjs +7 -0
  141. package/dist/node/lib/A-Command/index.mjs.map +1 -0
  142. package/dist/node/lib/A-Config/A-Config.constants.d.mts +5 -0
  143. package/dist/node/lib/A-Config/A-Config.constants.d.ts +5 -0
  144. package/dist/node/lib/A-Config/A-Config.constants.js +9 -0
  145. package/dist/node/lib/A-Config/A-Config.constants.js.map +1 -0
  146. package/dist/node/lib/A-Config/A-Config.constants.mjs +8 -0
  147. package/dist/node/lib/A-Config/A-Config.constants.mjs.map +1 -0
  148. package/dist/node/lib/A-Config/A-Config.container.d.mts +33 -0
  149. package/dist/node/lib/A-Config/A-Config.container.d.ts +33 -0
  150. package/dist/node/lib/A-Config/A-Config.container.js +78 -0
  151. package/dist/node/lib/A-Config/A-Config.container.js.map +1 -0
  152. package/dist/node/lib/A-Config/A-Config.container.mjs +68 -0
  153. package/dist/node/lib/A-Config/A-Config.container.mjs.map +1 -0
  154. package/dist/node/lib/A-Config/A-Config.context.d.mts +42 -0
  155. package/dist/node/lib/A-Config/A-Config.context.d.ts +42 -0
  156. package/dist/node/lib/A-Config/A-Config.context.js +65 -0
  157. package/dist/node/lib/A-Config/A-Config.context.js.map +1 -0
  158. package/dist/node/lib/A-Config/A-Config.context.mjs +58 -0
  159. package/dist/node/lib/A-Config/A-Config.context.mjs.map +1 -0
  160. package/dist/node/lib/A-Config/A-Config.error.d.mts +7 -0
  161. package/dist/node/lib/A-Config/A-Config.error.d.ts +7 -0
  162. package/dist/node/lib/A-Config/A-Config.error.js +11 -0
  163. package/dist/node/lib/A-Config/A-Config.error.js.map +1 -0
  164. package/dist/node/lib/A-Config/A-Config.error.mjs +10 -0
  165. package/dist/node/lib/A-Config/A-Config.error.mjs.map +1 -0
  166. package/dist/node/lib/A-Config/A-Config.types.d.mts +22 -0
  167. package/dist/node/lib/A-Config/A-Config.types.d.ts +22 -0
  168. package/dist/node/lib/A-Config/A-Config.types.js +9 -0
  169. package/dist/node/lib/A-Config/A-Config.types.js.map +1 -0
  170. package/dist/node/lib/A-Config/A-Config.types.mjs +9 -0
  171. package/dist/node/lib/A-Config/A-Config.types.mjs.map +1 -0
  172. package/dist/node/lib/A-Config/components/ConfigReader.component.d.mts +50 -0
  173. package/dist/node/lib/A-Config/components/ConfigReader.component.d.ts +50 -0
  174. package/dist/node/lib/A-Config/components/ConfigReader.component.js +81 -0
  175. package/dist/node/lib/A-Config/components/ConfigReader.component.js.map +1 -0
  176. package/dist/node/lib/A-Config/components/ConfigReader.component.mjs +71 -0
  177. package/dist/node/lib/A-Config/components/ConfigReader.component.mjs.map +1 -0
  178. package/dist/node/lib/A-Config/components/ENVConfigReader.component.d.mts +40 -0
  179. package/dist/node/lib/A-Config/components/ENVConfigReader.component.d.ts +40 -0
  180. package/dist/node/lib/A-Config/components/ENVConfigReader.component.js +69 -0
  181. package/dist/node/lib/A-Config/components/ENVConfigReader.component.js.map +1 -0
  182. package/dist/node/lib/A-Config/components/ENVConfigReader.component.mjs +59 -0
  183. package/dist/node/lib/A-Config/components/ENVConfigReader.component.mjs.map +1 -0
  184. package/dist/node/lib/A-Config/components/FileConfigReader.component.d.mts +40 -0
  185. package/dist/node/lib/A-Config/components/FileConfigReader.component.d.ts +40 -0
  186. package/dist/node/lib/A-Config/components/FileConfigReader.component.js +50 -0
  187. package/dist/node/lib/A-Config/components/FileConfigReader.component.js.map +1 -0
  188. package/dist/node/lib/A-Config/components/FileConfigReader.component.mjs +43 -0
  189. package/dist/node/lib/A-Config/components/FileConfigReader.component.mjs.map +1 -0
  190. package/dist/node/lib/A-Config/index.d.mts +31 -0
  191. package/dist/node/lib/A-Config/index.d.ts +31 -0
  192. package/dist/node/lib/A-Config/index.js +51 -0
  193. package/dist/node/lib/A-Config/index.js.map +1 -0
  194. package/dist/node/lib/A-Config/index.mjs +11 -0
  195. package/dist/node/lib/A-Config/index.mjs.map +1 -0
  196. package/dist/node/lib/A-Execution/A-Execution.context.d.mts +17 -0
  197. package/dist/node/lib/A-Execution/A-Execution.context.d.ts +17 -0
  198. package/dist/node/lib/A-Execution/A-Execution.context.js +63 -0
  199. package/dist/node/lib/A-Execution/A-Execution.context.js.map +1 -0
  200. package/dist/node/lib/A-Execution/A-Execution.context.mjs +56 -0
  201. package/dist/node/lib/A-Execution/A-Execution.context.mjs.map +1 -0
  202. package/dist/node/lib/A-Execution/A-Execution.types.d.mts +2 -0
  203. package/dist/node/lib/A-Execution/A-Execution.types.d.ts +2 -0
  204. package/dist/node/lib/A-Execution/A-Execution.types.js +4 -0
  205. package/dist/node/lib/A-Execution/A-Execution.types.js.map +1 -0
  206. package/dist/node/lib/A-Execution/A-Execution.types.mjs +3 -0
  207. package/dist/node/lib/A-Execution/A-Execution.types.mjs.map +1 -0
  208. package/dist/node/lib/A-Execution/index.d.mts +2 -0
  209. package/dist/node/lib/A-Execution/index.d.ts +2 -0
  210. package/dist/node/lib/A-Execution/index.js +12 -0
  211. package/dist/node/lib/A-Execution/index.js.map +1 -0
  212. package/dist/node/lib/A-Execution/index.mjs +4 -0
  213. package/dist/node/lib/A-Execution/index.mjs.map +1 -0
  214. package/dist/node/lib/A-Logger/A-Logger.component.d.mts +377 -0
  215. package/dist/node/lib/A-Logger/A-Logger.component.d.ts +377 -0
  216. package/dist/node/lib/A-Logger/A-Logger.component.js +623 -0
  217. package/dist/node/lib/A-Logger/A-Logger.component.js.map +1 -0
  218. package/dist/node/lib/A-Logger/A-Logger.component.mjs +615 -0
  219. package/dist/node/lib/A-Logger/A-Logger.component.mjs.map +1 -0
  220. package/dist/node/lib/A-Logger/A-Logger.constants.d.mts +103 -0
  221. package/dist/node/lib/A-Logger/A-Logger.constants.d.ts +103 -0
  222. package/dist/node/lib/A-Logger/A-Logger.constants.js +141 -0
  223. package/dist/node/lib/A-Logger/A-Logger.constants.js.map +1 -0
  224. package/dist/node/lib/A-Logger/A-Logger.constants.mjs +133 -0
  225. package/dist/node/lib/A-Logger/A-Logger.constants.mjs.map +1 -0
  226. package/dist/node/lib/A-Logger/A-Logger.env.d.mts +30 -0
  227. package/dist/node/lib/A-Logger/A-Logger.env.d.ts +30 -0
  228. package/dist/node/lib/A-Logger/A-Logger.env.js +39 -0
  229. package/dist/node/lib/A-Logger/A-Logger.env.js.map +1 -0
  230. package/dist/node/lib/A-Logger/A-Logger.env.mjs +38 -0
  231. package/dist/node/lib/A-Logger/A-Logger.env.mjs.map +1 -0
  232. package/dist/node/lib/A-Logger/A-Logger.types.d.mts +8 -0
  233. package/dist/node/lib/A-Logger/A-Logger.types.d.ts +8 -0
  234. package/dist/node/lib/A-Logger/A-Logger.types.js +4 -0
  235. package/dist/node/lib/A-Logger/A-Logger.types.js.map +1 -0
  236. package/dist/node/lib/A-Logger/A-Logger.types.mjs +3 -0
  237. package/dist/node/lib/A-Logger/A-Logger.types.mjs.map +1 -0
  238. package/dist/node/lib/A-Logger/index.d.mts +9 -0
  239. package/dist/node/lib/A-Logger/index.d.ts +9 -0
  240. package/dist/node/lib/A-Logger/index.js +35 -0
  241. package/dist/node/lib/A-Logger/index.js.map +1 -0
  242. package/dist/node/lib/A-Logger/index.mjs +6 -0
  243. package/dist/node/lib/A-Logger/index.mjs.map +1 -0
  244. package/dist/node/lib/A-Manifest/A-Manifest.context.d.mts +3 -0
  245. package/dist/node/lib/A-Manifest/A-Manifest.context.d.ts +3 -0
  246. package/dist/node/lib/A-Manifest/A-Manifest.context.js +164 -0
  247. package/dist/node/lib/A-Manifest/A-Manifest.context.js.map +1 -0
  248. package/dist/node/lib/A-Manifest/A-Manifest.context.mjs +157 -0
  249. package/dist/node/lib/A-Manifest/A-Manifest.context.mjs.map +1 -0
  250. package/dist/node/lib/A-Manifest/A-Manifest.error.d.mts +7 -0
  251. package/dist/node/lib/A-Manifest/A-Manifest.error.d.ts +7 -0
  252. package/dist/node/lib/A-Manifest/A-Manifest.error.js +11 -0
  253. package/dist/node/lib/A-Manifest/A-Manifest.error.js.map +1 -0
  254. package/dist/node/lib/A-Manifest/A-Manifest.error.mjs +10 -0
  255. package/dist/node/lib/A-Manifest/A-Manifest.error.mjs.map +1 -0
  256. package/dist/node/lib/A-Manifest/A-Manifest.types.d.mts +45 -0
  257. package/dist/node/lib/A-Manifest/A-Manifest.types.d.ts +45 -0
  258. package/dist/node/lib/A-Manifest/A-Manifest.types.js +4 -0
  259. package/dist/node/lib/A-Manifest/A-Manifest.types.js.map +1 -0
  260. package/dist/node/lib/A-Manifest/A-Manifest.types.mjs +3 -0
  261. package/dist/node/lib/A-Manifest/A-Manifest.types.mjs.map +1 -0
  262. package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.d.mts +3 -0
  263. package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.d.ts +3 -0
  264. package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.js +22 -0
  265. package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.js.map +1 -0
  266. package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.mjs +22 -0
  267. package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.mjs.map +1 -0
  268. package/dist/node/lib/A-Manifest/index.d.mts +4 -0
  269. package/dist/node/lib/A-Manifest/index.d.ts +4 -0
  270. package/dist/node/lib/A-Manifest/index.js +29 -0
  271. package/dist/node/lib/A-Manifest/index.js.map +1 -0
  272. package/dist/node/lib/A-Manifest/index.mjs +7 -0
  273. package/dist/node/lib/A-Manifest/index.mjs.map +1 -0
  274. package/dist/node/lib/A-Memory/A-Memory.component.d.mts +86 -0
  275. package/dist/node/lib/A-Memory/A-Memory.component.d.ts +86 -0
  276. package/dist/node/lib/A-Memory/A-Memory.component.js +335 -0
  277. package/dist/node/lib/A-Memory/A-Memory.component.js.map +1 -0
  278. package/dist/node/lib/A-Memory/A-Memory.component.mjs +325 -0
  279. package/dist/node/lib/A-Memory/A-Memory.component.mjs.map +1 -0
  280. package/dist/node/lib/A-Memory/A-Memory.constants.d.mts +44 -0
  281. package/dist/node/lib/A-Memory/A-Memory.constants.d.ts +44 -0
  282. package/dist/node/lib/A-Memory/A-Memory.constants.js +19 -0
  283. package/dist/node/lib/A-Memory/A-Memory.constants.js.map +1 -0
  284. package/dist/node/lib/A-Memory/A-Memory.constants.mjs +19 -0
  285. package/dist/node/lib/A-Memory/A-Memory.constants.mjs.map +1 -0
  286. package/dist/node/lib/A-Memory/A-Memory.context.d.mts +12 -0
  287. package/dist/node/lib/A-Memory/A-Memory.context.d.ts +12 -0
  288. package/dist/node/lib/A-Memory/A-Memory.context.js +43 -0
  289. package/dist/node/lib/A-Memory/A-Memory.context.js.map +1 -0
  290. package/dist/node/lib/A-Memory/A-Memory.context.mjs +36 -0
  291. package/dist/node/lib/A-Memory/A-Memory.context.mjs.map +1 -0
  292. package/dist/node/lib/A-Memory/A-Memory.error.d.mts +14 -0
  293. package/dist/node/lib/A-Memory/A-Memory.error.d.ts +14 -0
  294. package/dist/node/lib/A-Memory/A-Memory.error.js +18 -0
  295. package/dist/node/lib/A-Memory/A-Memory.error.js.map +1 -0
  296. package/dist/node/lib/A-Memory/A-Memory.error.mjs +17 -0
  297. package/dist/node/lib/A-Memory/A-Memory.error.mjs.map +1 -0
  298. package/dist/node/lib/A-Memory/A-Memory.types.d.mts +24 -0
  299. package/dist/node/lib/A-Memory/A-Memory.types.d.ts +24 -0
  300. package/dist/node/lib/A-Memory/A-Memory.types.js +4 -0
  301. package/dist/node/lib/A-Memory/A-Memory.types.js.map +1 -0
  302. package/dist/node/lib/A-Memory/A-Memory.types.mjs +3 -0
  303. package/dist/node/lib/A-Memory/A-Memory.types.mjs.map +1 -0
  304. package/dist/node/lib/A-Memory/index.d.mts +9 -0
  305. package/dist/node/lib/A-Memory/index.d.ts +9 -0
  306. package/dist/node/lib/A-Memory/index.js +36 -0
  307. package/dist/node/lib/A-Memory/index.js.map +1 -0
  308. package/dist/node/lib/A-Memory/index.mjs +8 -0
  309. package/dist/node/lib/A-Memory/index.mjs.map +1 -0
  310. package/dist/node/lib/A-Operation/A-Operation.context.d.mts +16 -0
  311. package/dist/node/lib/A-Operation/A-Operation.context.d.ts +16 -0
  312. package/dist/node/lib/A-Operation/A-Operation.context.js +55 -0
  313. package/dist/node/lib/A-Operation/A-Operation.context.js.map +1 -0
  314. package/dist/node/lib/A-Operation/A-Operation.context.mjs +48 -0
  315. package/dist/node/lib/A-Operation/A-Operation.context.mjs.map +1 -0
  316. package/dist/node/lib/A-Operation/A-Operation.types.d.mts +40 -0
  317. package/dist/node/lib/A-Operation/A-Operation.types.d.ts +40 -0
  318. package/dist/node/lib/A-Operation/A-Operation.types.js +4 -0
  319. package/dist/node/lib/A-Operation/A-Operation.types.js.map +1 -0
  320. package/dist/node/lib/A-Operation/A-Operation.types.mjs +3 -0
  321. package/dist/node/lib/A-Operation/A-Operation.types.mjs.map +1 -0
  322. package/dist/node/lib/A-Operation/index.d.mts +4 -0
  323. package/dist/node/lib/A-Operation/index.d.ts +4 -0
  324. package/dist/node/lib/A-Operation/index.js +19 -0
  325. package/dist/node/lib/A-Operation/index.js.map +1 -0
  326. package/dist/node/lib/A-Operation/index.mjs +5 -0
  327. package/dist/node/lib/A-Operation/index.mjs.map +1 -0
  328. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.d.mts +108 -0
  329. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.d.ts +108 -0
  330. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.js +163 -0
  331. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.js.map +1 -0
  332. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.mjs +153 -0
  333. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.mjs.map +1 -0
  334. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.d.mts +108 -0
  335. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.d.ts +108 -0
  336. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.js +160 -0
  337. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.js.map +1 -0
  338. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.mjs +150 -0
  339. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.mjs.map +1 -0
  340. package/dist/node/lib/A-Polyfill/A-Polyfill.types.d.mts +59 -0
  341. package/dist/node/lib/A-Polyfill/A-Polyfill.types.d.ts +59 -0
  342. package/dist/node/lib/A-Polyfill/A-Polyfill.types.js +4 -0
  343. package/dist/node/lib/A-Polyfill/A-Polyfill.types.js.map +1 -0
  344. package/dist/node/lib/A-Polyfill/A-Polyfill.types.mjs +3 -0
  345. package/dist/node/lib/A-Polyfill/A-Polyfill.types.mjs.map +1 -0
  346. package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.d.mts +22 -0
  347. package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.d.ts +22 -0
  348. package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.js +30 -0
  349. package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.js.map +1 -0
  350. package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.mjs +30 -0
  351. package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.mjs.map +1 -0
  352. package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.d.mts +23 -0
  353. package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.d.ts +23 -0
  354. package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.js +31 -0
  355. package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.js.map +1 -0
  356. package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.mjs +31 -0
  357. package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.mjs.map +1 -0
  358. package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.d.mts +22 -0
  359. package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.d.ts +22 -0
  360. package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.js +30 -0
  361. package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.js.map +1 -0
  362. package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.mjs +30 -0
  363. package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.mjs.map +1 -0
  364. package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.d.mts +22 -0
  365. package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.d.ts +22 -0
  366. package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.js +30 -0
  367. package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.js.map +1 -0
  368. package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.mjs +30 -0
  369. package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.mjs.map +1 -0
  370. package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.d.mts +22 -0
  371. package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.d.ts +22 -0
  372. package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.js +30 -0
  373. package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.js.map +1 -0
  374. package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.mjs +30 -0
  375. package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.mjs.map +1 -0
  376. package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.d.mts +22 -0
  377. package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.d.ts +22 -0
  378. package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.js +30 -0
  379. package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.js.map +1 -0
  380. package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.mjs +30 -0
  381. package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.mjs.map +1 -0
  382. package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.d.mts +22 -0
  383. package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.d.ts +22 -0
  384. package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.js +30 -0
  385. package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.js.map +1 -0
  386. package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.mjs +30 -0
  387. package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.mjs.map +1 -0
  388. package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.d.mts +22 -0
  389. package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.d.ts +22 -0
  390. package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.js +30 -0
  391. package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.js.map +1 -0
  392. package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.mjs +30 -0
  393. package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.mjs.map +1 -0
  394. package/dist/node/lib/A-Polyfill/base/index.d.mts +17 -0
  395. package/dist/node/lib/A-Polyfill/base/index.d.ts +17 -0
  396. package/dist/node/lib/A-Polyfill/base/index.js +47 -0
  397. package/dist/node/lib/A-Polyfill/base/index.js.map +1 -0
  398. package/dist/node/lib/A-Polyfill/base/index.mjs +11 -0
  399. package/dist/node/lib/A-Polyfill/base/index.mjs.map +1 -0
  400. package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.d.mts +17 -0
  401. package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.d.ts +17 -0
  402. package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.js +46 -0
  403. package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.js.map +1 -0
  404. package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.mjs +45 -0
  405. package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.mjs.map +1 -0
  406. package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.d.mts +17 -0
  407. package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.d.ts +17 -0
  408. package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.js +36 -0
  409. package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.js.map +1 -0
  410. package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.mjs +35 -0
  411. package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.mjs.map +1 -0
  412. package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.d.mts +17 -0
  413. package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.d.ts +17 -0
  414. package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.js +29 -0
  415. package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.js.map +1 -0
  416. package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.mjs +28 -0
  417. package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.mjs.map +1 -0
  418. package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.d.mts +18 -0
  419. package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.d.ts +18 -0
  420. package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.js +58 -0
  421. package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.js.map +1 -0
  422. package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.mjs +57 -0
  423. package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.mjs.map +1 -0
  424. package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.d.mts +18 -0
  425. package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.d.ts +18 -0
  426. package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.js +58 -0
  427. package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.js.map +1 -0
  428. package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.mjs +57 -0
  429. package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.mjs.map +1 -0
  430. package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.d.mts +17 -0
  431. package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.d.ts +17 -0
  432. package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.js +64 -0
  433. package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.js.map +1 -0
  434. package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.mjs +63 -0
  435. package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.mjs.map +1 -0
  436. package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.d.mts +17 -0
  437. package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.d.ts +17 -0
  438. package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.js +33 -0
  439. package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.js.map +1 -0
  440. package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.mjs +32 -0
  441. package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.mjs.map +1 -0
  442. package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.d.mts +17 -0
  443. package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.d.ts +17 -0
  444. package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.js +50 -0
  445. package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.js.map +1 -0
  446. package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.mjs +49 -0
  447. package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.mjs.map +1 -0
  448. package/dist/node/lib/A-Polyfill/browser/index.d.mts +23 -0
  449. package/dist/node/lib/A-Polyfill/browser/index.d.ts +23 -0
  450. package/dist/node/lib/A-Polyfill/browser/index.js +56 -0
  451. package/dist/node/lib/A-Polyfill/browser/index.js.map +1 -0
  452. package/dist/node/lib/A-Polyfill/browser/index.mjs +9 -0
  453. package/dist/node/lib/A-Polyfill/browser/index.mjs.map +1 -0
  454. package/dist/node/lib/A-Polyfill/index.browser.d.mts +26 -0
  455. package/dist/node/lib/A-Polyfill/index.browser.d.ts +26 -0
  456. package/dist/node/lib/A-Polyfill/index.browser.js +33 -0
  457. package/dist/node/lib/A-Polyfill/index.browser.js.map +1 -0
  458. package/dist/node/lib/A-Polyfill/index.browser.mjs +7 -0
  459. package/dist/node/lib/A-Polyfill/index.browser.mjs.map +1 -0
  460. package/dist/node/lib/A-Polyfill/index.node.d.mts +26 -0
  461. package/dist/node/lib/A-Polyfill/index.node.d.ts +26 -0
  462. package/dist/node/lib/A-Polyfill/index.node.js +33 -0
  463. package/dist/node/lib/A-Polyfill/index.node.js.map +1 -0
  464. package/dist/node/lib/A-Polyfill/index.node.mjs +7 -0
  465. package/dist/node/lib/A-Polyfill/index.node.mjs.map +1 -0
  466. package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.d.mts +17 -0
  467. package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.d.ts +17 -0
  468. package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.js +27 -0
  469. package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.js.map +1 -0
  470. package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.mjs +22 -0
  471. package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.mjs.map +1 -0
  472. package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.d.mts +17 -0
  473. package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.d.ts +17 -0
  474. package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.js +39 -0
  475. package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.js.map +1 -0
  476. package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.mjs +34 -0
  477. package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.mjs.map +1 -0
  478. package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.d.mts +17 -0
  479. package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.d.ts +17 -0
  480. package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.js +21 -0
  481. package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.js.map +1 -0
  482. package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.mjs +16 -0
  483. package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.mjs.map +1 -0
  484. package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.d.mts +17 -0
  485. package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.d.ts +17 -0
  486. package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.js +25 -0
  487. package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.js.map +1 -0
  488. package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.mjs +20 -0
  489. package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.mjs.map +1 -0
  490. package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.d.mts +17 -0
  491. package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.d.ts +17 -0
  492. package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.js +25 -0
  493. package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.js.map +1 -0
  494. package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.mjs +20 -0
  495. package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.mjs.map +1 -0
  496. package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.d.mts +17 -0
  497. package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.d.ts +17 -0
  498. package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.js +34 -0
  499. package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.js.map +1 -0
  500. package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.mjs +29 -0
  501. package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.mjs.map +1 -0
  502. package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.d.mts +17 -0
  503. package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.d.ts +17 -0
  504. package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.js +25 -0
  505. package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.js.map +1 -0
  506. package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.mjs +24 -0
  507. package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.mjs.map +1 -0
  508. package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.d.mts +17 -0
  509. package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.d.ts +17 -0
  510. package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.js +27 -0
  511. package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.js.map +1 -0
  512. package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.mjs +22 -0
  513. package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.mjs.map +1 -0
  514. package/dist/node/lib/A-Polyfill/node/index.d.mts +23 -0
  515. package/dist/node/lib/A-Polyfill/node/index.d.ts +23 -0
  516. package/dist/node/lib/A-Polyfill/node/index.js +56 -0
  517. package/dist/node/lib/A-Polyfill/node/index.js.map +1 -0
  518. package/dist/node/lib/A-Polyfill/node/index.mjs +9 -0
  519. package/dist/node/lib/A-Polyfill/node/index.mjs.map +1 -0
  520. package/dist/node/lib/A-Route/A-Route.entity.d.mts +25 -0
  521. package/dist/node/lib/A-Route/A-Route.entity.d.ts +25 -0
  522. package/dist/node/lib/A-Route/A-Route.entity.js +105 -0
  523. package/dist/node/lib/A-Route/A-Route.entity.js.map +1 -0
  524. package/dist/node/lib/A-Route/A-Route.entity.mjs +98 -0
  525. package/dist/node/lib/A-Route/A-Route.entity.mjs.map +1 -0
  526. package/dist/node/lib/A-Route/A-Route.types.d.mts +2 -0
  527. package/dist/node/lib/A-Route/A-Route.types.d.ts +2 -0
  528. package/dist/node/lib/A-Route/A-Route.types.js +4 -0
  529. package/dist/node/lib/A-Route/A-Route.types.js.map +1 -0
  530. package/dist/node/lib/A-Route/A-Route.types.mjs +3 -0
  531. package/dist/node/lib/A-Route/A-Route.types.mjs.map +1 -0
  532. package/dist/node/lib/A-Route/index.d.mts +2 -0
  533. package/dist/node/lib/A-Route/index.d.ts +2 -0
  534. package/dist/node/lib/A-Route/index.js +12 -0
  535. package/dist/node/lib/A-Route/index.js.map +1 -0
  536. package/dist/node/lib/A-Route/index.mjs +4 -0
  537. package/dist/node/lib/A-Route/index.mjs.map +1 -0
  538. package/dist/node/lib/A-Schedule/A-Deferred.class.d.mts +14 -0
  539. package/dist/node/lib/A-Schedule/A-Deferred.class.d.ts +14 -0
  540. package/dist/node/lib/A-Schedule/A-Deferred.class.js +24 -0
  541. package/dist/node/lib/A-Schedule/A-Deferred.class.js.map +1 -0
  542. package/dist/node/lib/A-Schedule/A-Deferred.class.mjs +24 -0
  543. package/dist/node/lib/A-Schedule/A-Deferred.class.mjs.map +1 -0
  544. package/dist/node/lib/A-Schedule/A-Schedule.component.d.mts +60 -0
  545. package/dist/node/lib/A-Schedule/A-Schedule.component.d.ts +60 -0
  546. package/dist/node/lib/A-Schedule/A-Schedule.component.js +46 -0
  547. package/dist/node/lib/A-Schedule/A-Schedule.component.js.map +1 -0
  548. package/dist/node/lib/A-Schedule/A-Schedule.component.mjs +39 -0
  549. package/dist/node/lib/A-Schedule/A-Schedule.component.mjs.map +1 -0
  550. package/dist/node/lib/A-Schedule/A-Schedule.types.d.mts +12 -0
  551. package/dist/node/lib/A-Schedule/A-Schedule.types.d.ts +12 -0
  552. package/dist/node/lib/A-Schedule/A-Schedule.types.js +4 -0
  553. package/dist/node/lib/A-Schedule/A-Schedule.types.js.map +1 -0
  554. package/dist/node/lib/A-Schedule/A-Schedule.types.mjs +3 -0
  555. package/dist/node/lib/A-Schedule/A-Schedule.types.mjs.map +1 -0
  556. package/dist/node/lib/A-Schedule/A-ScheduleObject.class.d.mts +32 -0
  557. package/dist/node/lib/A-Schedule/A-ScheduleObject.class.d.ts +32 -0
  558. package/dist/node/lib/A-Schedule/A-ScheduleObject.class.js +49 -0
  559. package/dist/node/lib/A-Schedule/A-ScheduleObject.class.js.map +1 -0
  560. package/dist/node/lib/A-Schedule/A-ScheduleObject.class.mjs +48 -0
  561. package/dist/node/lib/A-Schedule/A-ScheduleObject.class.mjs.map +1 -0
  562. package/dist/node/lib/A-Schedule/index.d.mts +5 -0
  563. package/dist/node/lib/A-Schedule/index.d.ts +5 -0
  564. package/dist/node/lib/A-Schedule/index.js +29 -0
  565. package/dist/node/lib/A-Schedule/index.js.map +1 -0
  566. package/dist/node/lib/A-Schedule/index.mjs +7 -0
  567. package/dist/node/lib/A-Schedule/index.mjs.map +1 -0
  568. package/dist/node/lib/A-Service/A-Service.constants.d.mts +14 -0
  569. package/dist/node/lib/A-Service/A-Service.constants.d.ts +14 -0
  570. package/dist/node/lib/A-Service/A-Service.constants.js +19 -0
  571. package/dist/node/lib/A-Service/A-Service.constants.js.map +1 -0
  572. package/dist/node/lib/A-Service/A-Service.constants.mjs +19 -0
  573. package/dist/node/lib/A-Service/A-Service.constants.mjs.map +1 -0
  574. package/dist/node/lib/A-Service/A-Service.container.d.mts +50 -0
  575. package/dist/node/lib/A-Service/A-Service.container.d.ts +50 -0
  576. package/dist/node/lib/A-Service/A-Service.container.js +188 -0
  577. package/dist/node/lib/A-Service/A-Service.container.js.map +1 -0
  578. package/dist/node/lib/A-Service/A-Service.container.mjs +178 -0
  579. package/dist/node/lib/A-Service/A-Service.container.mjs.map +1 -0
  580. package/dist/node/lib/A-Service/A-Service.error.d.mts +9 -0
  581. package/dist/node/lib/A-Service/A-Service.error.d.ts +9 -0
  582. package/dist/node/lib/A-Service/A-Service.error.js +13 -0
  583. package/dist/node/lib/A-Service/A-Service.error.js.map +1 -0
  584. package/dist/node/lib/A-Service/A-Service.error.mjs +12 -0
  585. package/dist/node/lib/A-Service/A-Service.error.mjs.map +1 -0
  586. package/dist/node/lib/A-Service/A-Service.types.d.mts +27 -0
  587. package/dist/node/lib/A-Service/A-Service.types.d.ts +27 -0
  588. package/dist/node/lib/A-Service/A-Service.types.js +16 -0
  589. package/dist/node/lib/A-Service/A-Service.types.js.map +1 -0
  590. package/dist/node/lib/A-Service/A-Service.types.mjs +16 -0
  591. package/dist/node/lib/A-Service/A-Service.types.mjs.map +1 -0
  592. package/dist/node/lib/A-Service/index.d.mts +28 -0
  593. package/dist/node/lib/A-Service/index.d.ts +28 -0
  594. package/dist/node/lib/A-Service/index.js +19 -0
  595. package/dist/node/lib/A-Service/index.js.map +1 -0
  596. package/dist/node/lib/A-Service/index.mjs +5 -0
  597. package/dist/node/lib/A-Service/index.mjs.map +1 -0
  598. package/dist/node/lib/A-Signal/A-Signal.constants.d.mts +2 -0
  599. package/dist/node/lib/A-Signal/A-Signal.constants.d.ts +2 -0
  600. package/dist/node/lib/A-Signal/A-Signal.constants.js +4 -0
  601. package/dist/node/lib/A-Signal/A-Signal.constants.js.map +1 -0
  602. package/dist/node/lib/A-Signal/A-Signal.constants.mjs +3 -0
  603. package/dist/node/lib/A-Signal/A-Signal.constants.mjs.map +1 -0
  604. package/dist/node/lib/A-Signal/A-Signal.error.d.mts +2 -0
  605. package/dist/node/lib/A-Signal/A-Signal.error.d.ts +2 -0
  606. package/dist/node/lib/A-Signal/A-Signal.error.js +4 -0
  607. package/dist/node/lib/A-Signal/A-Signal.error.js.map +1 -0
  608. package/dist/node/lib/A-Signal/A-Signal.error.mjs +3 -0
  609. package/dist/node/lib/A-Signal/A-Signal.error.mjs.map +1 -0
  610. package/dist/node/lib/A-Signal/A-Signal.types.d.mts +2 -0
  611. package/dist/node/lib/A-Signal/A-Signal.types.d.ts +2 -0
  612. package/dist/node/lib/A-Signal/A-Signal.types.js +4 -0
  613. package/dist/node/lib/A-Signal/A-Signal.types.js.map +1 -0
  614. package/dist/node/lib/A-Signal/A-Signal.types.mjs +3 -0
  615. package/dist/node/lib/A-Signal/A-Signal.types.mjs.map +1 -0
  616. package/dist/node/lib/A-Signal/components/A-SignalBus.component.d.mts +44 -0
  617. package/dist/node/lib/A-Signal/components/A-SignalBus.component.d.ts +44 -0
  618. package/dist/node/lib/A-Signal/components/A-SignalBus.component.js +132 -0
  619. package/dist/node/lib/A-Signal/components/A-SignalBus.component.js.map +1 -0
  620. package/dist/node/lib/A-Signal/components/A-SignalBus.component.mjs +122 -0
  621. package/dist/node/lib/A-Signal/components/A-SignalBus.component.mjs.map +1 -0
  622. package/dist/node/lib/A-Signal/components/A-SignalBus.constants.d.mts +7 -0
  623. package/dist/node/lib/A-Signal/components/A-SignalBus.constants.d.ts +7 -0
  624. package/dist/node/lib/A-Signal/components/A-SignalBus.constants.js +12 -0
  625. package/dist/node/lib/A-Signal/components/A-SignalBus.constants.js.map +1 -0
  626. package/dist/node/lib/A-Signal/components/A-SignalBus.constants.mjs +12 -0
  627. package/dist/node/lib/A-Signal/components/A-SignalBus.constants.mjs.map +1 -0
  628. package/dist/node/lib/A-Signal/components/A-SignalBus.error.d.mts +7 -0
  629. package/dist/node/lib/A-Signal/components/A-SignalBus.error.d.ts +7 -0
  630. package/dist/node/lib/A-Signal/components/A-SignalBus.error.js +11 -0
  631. package/dist/node/lib/A-Signal/components/A-SignalBus.error.js.map +1 -0
  632. package/dist/node/lib/A-Signal/components/A-SignalBus.error.mjs +10 -0
  633. package/dist/node/lib/A-Signal/components/A-SignalBus.error.mjs.map +1 -0
  634. package/dist/node/lib/A-Signal/components/A-SignalBus.types.d.mts +2 -0
  635. package/dist/node/lib/A-Signal/components/A-SignalBus.types.d.ts +2 -0
  636. package/dist/node/lib/A-Signal/components/A-SignalBus.types.js +4 -0
  637. package/dist/node/lib/A-Signal/components/A-SignalBus.types.js.map +1 -0
  638. package/dist/node/lib/A-Signal/components/A-SignalBus.types.mjs +3 -0
  639. package/dist/node/lib/A-Signal/components/A-SignalBus.types.mjs.map +1 -0
  640. package/dist/node/lib/A-Signal/context/A-SignalConfig.context.d.mts +36 -0
  641. package/dist/node/lib/A-Signal/context/A-SignalConfig.context.d.ts +36 -0
  642. package/dist/node/lib/A-Signal/context/A-SignalConfig.context.js +68 -0
  643. package/dist/node/lib/A-Signal/context/A-SignalConfig.context.js.map +1 -0
  644. package/dist/node/lib/A-Signal/context/A-SignalConfig.context.mjs +61 -0
  645. package/dist/node/lib/A-Signal/context/A-SignalConfig.context.mjs.map +1 -0
  646. package/dist/node/lib/A-Signal/context/A-SignalState.context.d.mts +111 -0
  647. package/dist/node/lib/A-Signal/context/A-SignalState.context.d.ts +111 -0
  648. package/dist/node/lib/A-Signal/context/A-SignalState.context.js +114 -0
  649. package/dist/node/lib/A-Signal/context/A-SignalState.context.js.map +1 -0
  650. package/dist/node/lib/A-Signal/context/A-SignalState.context.mjs +107 -0
  651. package/dist/node/lib/A-Signal/context/A-SignalState.context.mjs.map +1 -0
  652. package/dist/node/lib/A-Signal/entities/A-Signal.entity.d.mts +2 -0
  653. package/dist/node/lib/A-Signal/entities/A-Signal.entity.d.ts +2 -0
  654. package/dist/node/lib/A-Signal/entities/A-Signal.entity.js +120 -0
  655. package/dist/node/lib/A-Signal/entities/A-Signal.entity.js.map +1 -0
  656. package/dist/node/lib/A-Signal/entities/A-Signal.entity.mjs +113 -0
  657. package/dist/node/lib/A-Signal/entities/A-Signal.entity.mjs.map +1 -0
  658. package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.d.mts +113 -0
  659. package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.d.ts +113 -0
  660. package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.js +217 -0
  661. package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.js.map +1 -0
  662. package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.mjs +210 -0
  663. package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.mjs.map +1 -0
  664. package/dist/node/lib/A-Signal/index.d.mts +15 -0
  665. package/dist/node/lib/A-Signal/index.d.ts +15 -0
  666. package/dist/node/lib/A-Signal/index.js +51 -0
  667. package/dist/node/lib/A-Signal/index.js.map +1 -0
  668. package/dist/node/lib/A-Signal/index.mjs +11 -0
  669. package/dist/node/lib/A-Signal/index.mjs.map +1 -0
  670. package/dist/node/lib/A-StateMachine/A-StateMachine.component.d.mts +180 -0
  671. package/dist/node/lib/A-StateMachine/A-StateMachine.component.d.ts +180 -0
  672. package/dist/node/lib/A-StateMachine/A-StateMachine.component.js +119 -0
  673. package/dist/node/lib/A-StateMachine/A-StateMachine.component.js.map +1 -0
  674. package/dist/node/lib/A-StateMachine/A-StateMachine.component.mjs +110 -0
  675. package/dist/node/lib/A-StateMachine/A-StateMachine.component.mjs.map +1 -0
  676. package/dist/node/lib/A-StateMachine/A-StateMachine.constants.d.mts +20 -0
  677. package/dist/node/lib/A-StateMachine/A-StateMachine.constants.d.ts +20 -0
  678. package/dist/node/lib/A-StateMachine/A-StateMachine.constants.js +13 -0
  679. package/dist/node/lib/A-StateMachine/A-StateMachine.constants.js.map +1 -0
  680. package/dist/node/lib/A-StateMachine/A-StateMachine.constants.mjs +13 -0
  681. package/dist/node/lib/A-StateMachine/A-StateMachine.constants.mjs.map +1 -0
  682. package/dist/node/lib/A-StateMachine/A-StateMachine.error.d.mts +8 -0
  683. package/dist/node/lib/A-StateMachine/A-StateMachine.error.d.ts +8 -0
  684. package/dist/node/lib/A-StateMachine/A-StateMachine.error.js +12 -0
  685. package/dist/node/lib/A-StateMachine/A-StateMachine.error.js.map +1 -0
  686. package/dist/node/lib/A-StateMachine/A-StateMachine.error.mjs +11 -0
  687. package/dist/node/lib/A-StateMachine/A-StateMachine.error.mjs.map +1 -0
  688. package/dist/node/lib/A-StateMachine/A-StateMachine.types.d.mts +14 -0
  689. package/dist/node/lib/A-StateMachine/A-StateMachine.types.d.ts +14 -0
  690. package/dist/node/lib/A-StateMachine/A-StateMachine.types.js +4 -0
  691. package/dist/node/lib/A-StateMachine/A-StateMachine.types.js.map +1 -0
  692. package/dist/node/lib/A-StateMachine/A-StateMachine.types.mjs +3 -0
  693. package/dist/node/lib/A-StateMachine/A-StateMachine.types.mjs.map +1 -0
  694. package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.d.mts +19 -0
  695. package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.d.ts +19 -0
  696. package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.js +43 -0
  697. package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.js.map +1 -0
  698. package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.mjs +36 -0
  699. package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.mjs.map +1 -0
  700. package/dist/node/lib/A-StateMachine/index.d.mts +9 -0
  701. package/dist/node/lib/A-StateMachine/index.d.ts +9 -0
  702. package/dist/node/lib/A-StateMachine/index.js +36 -0
  703. package/dist/node/lib/A-StateMachine/index.js.map +1 -0
  704. package/dist/node/lib/A-StateMachine/index.mjs +8 -0
  705. package/dist/node/lib/A-StateMachine/index.mjs.map +1 -0
  706. package/examples/A-Logger-examples.ts +1 -2
  707. package/jest.config.ts +20 -7
  708. package/package.json +232 -15
  709. package/src/lib/A-Channel/A-Channel.component.ts +1 -1
  710. package/src/lib/A-Channel/A-Channel.error.ts +1 -1
  711. package/src/lib/A-Channel/A-Channel.types.ts +0 -3
  712. package/src/lib/A-Channel/A-ChannelRequest.context.ts +1 -1
  713. package/src/lib/A-Channel/index.ts +6 -0
  714. package/src/lib/A-Command/A-Command.entity.ts +3 -5
  715. package/src/lib/A-Command/index.ts +5 -0
  716. package/src/lib/A-Config/A-Config.container.ts +3 -4
  717. package/src/lib/A-Config/A-Config.context.ts +1 -1
  718. package/src/lib/A-Config/components/ConfigReader.component.ts +10 -21
  719. package/src/lib/A-Config/components/ENVConfigReader.component.ts +13 -12
  720. package/src/lib/A-Config/index.ts +9 -0
  721. package/src/lib/A-Execution/index.ts +3 -0
  722. package/src/lib/A-Logger/A-Logger.component.ts +3 -1
  723. package/src/lib/A-Logger/index.ts +5 -0
  724. package/src/lib/A-Manifest/index.ts +5 -0
  725. package/src/lib/A-Memory/A-Memory.component.ts +1 -1
  726. package/src/lib/A-Memory/A-Memory.types.ts +1 -1
  727. package/src/lib/A-Memory/index.ts +6 -0
  728. package/src/lib/A-Operation/A-Operation.context.ts +1 -1
  729. package/src/lib/A-Operation/index.ts +3 -0
  730. package/src/lib/A-Polyfill/{A-Polyfill.component.ts → A-Polyfill.component.env-browser.ts} +26 -27
  731. package/src/lib/A-Polyfill/A-Polyfill.component.env-node.ts +184 -0
  732. package/src/lib/A-Polyfill/base/A-Buffer-Polyfill.base.ts +34 -0
  733. package/src/lib/A-Polyfill/base/A-Crypto-Polyfill.base.ts +36 -0
  734. package/src/lib/A-Polyfill/base/A-FS-Polyfill.base.ts +34 -0
  735. package/src/lib/A-Polyfill/base/A-Http-Polyfill.base.ts +34 -0
  736. package/src/lib/A-Polyfill/base/A-Https-Polyfill.base.ts +34 -0
  737. package/src/lib/A-Polyfill/base/A-Path-Polyfill.base.ts +34 -0
  738. package/src/lib/A-Polyfill/base/A-Process-Polyfill.base.ts +34 -0
  739. package/src/lib/A-Polyfill/base/A-Url-Polyfill.base.ts +34 -0
  740. package/src/lib/A-Polyfill/base/index.ts +9 -0
  741. package/src/lib/A-Polyfill/browser/A-Buffer-Polyfill.ts +42 -0
  742. package/src/lib/A-Polyfill/browser/A-Crypto-Polyfill.ts +32 -0
  743. package/src/lib/A-Polyfill/browser/A-FS-Polyfill.ts +25 -0
  744. package/src/lib/A-Polyfill/{classes/A-Http-Polyfill.class.ts → browser/A-Http-Polyfill.ts} +6 -46
  745. package/src/lib/A-Polyfill/{classes/A-Https-Polyfill.class.ts → browser/A-Https-Polyfill.ts} +6 -46
  746. package/src/lib/A-Polyfill/{classes/A-Path-Polyfill.class.ts → browser/A-Path-Polyfill.ts} +6 -42
  747. package/src/lib/A-Polyfill/browser/A-Process-Polyfill.ts +29 -0
  748. package/src/lib/A-Polyfill/browser/A-Url-Polyfill.ts +46 -0
  749. package/src/lib/A-Polyfill/browser/index.ts +8 -0
  750. package/src/lib/A-Polyfill/index.browser.ts +5 -0
  751. package/src/lib/A-Polyfill/index.node.ts +5 -0
  752. package/src/lib/A-Polyfill/node/A-Buffer-Polyfill.ts +19 -0
  753. package/src/lib/A-Polyfill/node/A-Crypto-Polyfill.ts +31 -0
  754. package/src/lib/A-Polyfill/node/A-FS-Polyfill.ts +14 -0
  755. package/src/lib/A-Polyfill/node/A-Http-Polyfill.ts +17 -0
  756. package/src/lib/A-Polyfill/node/A-Https-Polyfill.ts +18 -0
  757. package/src/lib/A-Polyfill/node/A-Path-Polyfill.ts +27 -0
  758. package/src/lib/A-Polyfill/node/A-Process-Polyfill.ts +21 -0
  759. package/src/lib/A-Polyfill/node/A-Url-Polyfill.ts +19 -0
  760. package/src/lib/A-Polyfill/node/index.ts +8 -0
  761. package/src/lib/A-Route/index.ts +3 -0
  762. package/src/lib/A-Schedule/index.ts +5 -0
  763. package/src/lib/A-Service/A-Service.container.ts +2 -4
  764. package/src/lib/A-Service/index.ts +4 -0
  765. package/src/lib/A-Signal/components/A-SignalBus.component.ts +2 -2
  766. package/src/lib/A-Signal/index.ts +11 -0
  767. package/src/lib/A-StateMachine/A-StateMachine.types.ts +1 -1
  768. package/src/lib/A-StateMachine/A-StateMachineTransition.context.ts +1 -1
  769. package/src/lib/A-StateMachine/index.ts +6 -0
  770. package/tests/A-Channel.test.ts +3 -5
  771. package/tests/A-Command.test.ts +4 -9
  772. package/tests/A-Config.test.ts +8 -7
  773. package/tests/A-Logger.test.ts +1 -3
  774. package/tests/A-Manifest.test.ts +1 -1
  775. package/tests/A-Memory.test.ts +1 -3
  776. package/tests/A-Polyfill.test.ts +2 -2
  777. package/tests/A-Route.test.ts +1 -3
  778. package/tests/A-Schedule.test.ts +1 -1
  779. package/tests/A-Signal.test.ts +1 -5
  780. package/tests/A-StateMachine.test.ts +2 -5
  781. package/tests/main.test.ts +30 -0
  782. package/tsconfig.json +39 -57
  783. package/tsup.config.ts +94 -28
  784. package/dist/index.cjs +0 -35
  785. package/dist/index.cjs.map +0 -1
  786. package/dist/index.d.mts +0 -2976
  787. package/dist/index.d.ts +0 -2976
  788. package/dist/index.mjs +0 -35
  789. package/dist/index.mjs.map +0 -1
  790. package/src/index.ts +0 -124
  791. package/src/lib/A-Polyfill/classes/A-Buffer-Polyfill.class.ts +0 -85
  792. package/src/lib/A-Polyfill/classes/A-Crypto-Polyfill.class.ts +0 -87
  793. package/src/lib/A-Polyfill/classes/A-FS-Polyfill.class.ts +0 -61
  794. package/src/lib/A-Polyfill/classes/A-Process-Polyfill.class.ts +0 -73
  795. package/src/lib/A-Polyfill/classes/A-Url-Polyfill.class.ts +0 -88
@@ -0,0 +1,108 @@
1
+ import { Ifspolyfill, IcryptoInterface, IhttpInterface, IhttpsInterface, IpathInterface, IurlInterface, IbufferInterface, IprocessInterface } from './A-Polyfill.types.js';
2
+ import { A_Component } from '@adaas/a-concept';
3
+ import { A_Logger } from '../A-Logger/A-Logger.component.js';
4
+ import { A_FSPolyfill } from './browser/A-FS-Polyfill.js';
5
+ import { A_CryptoPolyfill } from './browser/A-Crypto-Polyfill.js';
6
+ import { A_HttpPolyfill } from './browser/A-Http-Polyfill.js';
7
+ import { A_HttpsPolyfill } from './browser/A-Https-Polyfill.js';
8
+ import { A_PathPolyfill } from './browser/A-Path-Polyfill.js';
9
+ import { A_UrlPolyfill } from './browser/A-Url-Polyfill.js';
10
+ import { A_BufferPolyfill } from './browser/A-Buffer-Polyfill.js';
11
+ import { A_ProcessPolyfill } from './browser/A-Process-Polyfill.js';
12
+ import './base/A-Buffer-Polyfill.base.js';
13
+ import './base/A-Crypto-Polyfill.base.js';
14
+ import './base/A-FS-Polyfill.base.js';
15
+ import './base/A-Http-Polyfill.base.js';
16
+ import './base/A-Https-Polyfill.base.js';
17
+ import './base/A-Path-Polyfill.base.js';
18
+ import './base/A-Process-Polyfill.base.js';
19
+ import './base/A-Url-Polyfill.base.js';
20
+ import '../A-Logger/A-Logger.types.js';
21
+ import '../A-Logger/A-Logger.env.js';
22
+ import '../A-Config/A-Config.context.js';
23
+ import '../A-Config/A-Config.types.js';
24
+ import '../A-Execution/A-Execution.context.js';
25
+ import '../A-Config/A-Config.constants.js';
26
+
27
+ declare class A_Polyfill extends A_Component {
28
+ protected logger: A_Logger;
29
+ protected _fsPolyfill: A_FSPolyfill;
30
+ protected _cryptoPolyfill: A_CryptoPolyfill;
31
+ protected _httpPolyfill: A_HttpPolyfill;
32
+ protected _httpsPolyfill: A_HttpsPolyfill;
33
+ protected _pathPolyfill: A_PathPolyfill;
34
+ protected _urlPolyfill: A_UrlPolyfill;
35
+ protected _bufferPolyfill: A_BufferPolyfill;
36
+ protected _processPolyfill: A_ProcessPolyfill;
37
+ protected _initializing: Promise<void> | null;
38
+ /**
39
+ * Indicates whether the channel is connected
40
+ */
41
+ protected _initialized?: Promise<void>;
42
+ constructor(logger: A_Logger);
43
+ /**
44
+ * Indicates whether the channel is connected
45
+ */
46
+ get ready(): Promise<void>;
47
+ load(): Promise<void>;
48
+ attachToWindow(): Promise<void>;
49
+ protected _loadInternal(): Promise<void>;
50
+ /**
51
+ * Allows to use the 'fs' polyfill methods regardless of the environment
52
+ * This method loads the 'fs' polyfill and returns its instance
53
+ *
54
+ * @returns
55
+ */
56
+ fs(): Promise<Ifspolyfill>;
57
+ /**
58
+ * Allows to use the 'crypto' polyfill methods regardless of the environment
59
+ * This method loads the 'crypto' polyfill and returns its instance
60
+ *
61
+ * @returns
62
+ */
63
+ crypto(): Promise<IcryptoInterface>;
64
+ /**
65
+ * Allows to use the 'http' polyfill methods regardless of the environment
66
+ * This method loads the 'http' polyfill and returns its instance
67
+ *
68
+ * @returns
69
+ */
70
+ http(): Promise<IhttpInterface>;
71
+ /**
72
+ * Allows to use the 'https' polyfill methods regardless of the environment
73
+ * This method loads the 'https' polyfill and returns its instance
74
+ *
75
+ * @returns
76
+ */
77
+ https(): Promise<IhttpsInterface>;
78
+ /**
79
+ * Allows to use the 'path' polyfill methods regardless of the environment
80
+ * This method loads the 'path' polyfill and returns its instance
81
+ *
82
+ * @returns
83
+ */
84
+ path(): Promise<IpathInterface>;
85
+ /**
86
+ * Allows to use the 'url' polyfill methods regardless of the environment
87
+ * This method loads the 'url' polyfill and returns its instance
88
+ *
89
+ * @returns
90
+ */
91
+ url(): Promise<IurlInterface>;
92
+ /**
93
+ * Allows to use the 'buffer' polyfill methods regardless of the environment
94
+ * This method loads the 'buffer' polyfill and returns its instance
95
+ *
96
+ * @returns
97
+ */
98
+ buffer(): Promise<IbufferInterface>;
99
+ /**
100
+ * Allows to use the 'process' polyfill methods regardless of the environment
101
+ * This method loads the 'process' polyfill and returns its instance
102
+ *
103
+ * @returns
104
+ */
105
+ process(): Promise<IprocessInterface>;
106
+ }
107
+
108
+ export { A_Polyfill };
@@ -0,0 +1,163 @@
1
+ 'use strict';
2
+
3
+ var aConcept = require('@adaas/a-concept');
4
+ var AFSPolyfill = require('./browser/A-FS-Polyfill');
5
+ var ACryptoPolyfill = require('./browser/A-Crypto-Polyfill');
6
+ var AHttpPolyfill = require('./browser/A-Http-Polyfill');
7
+ var AHttpsPolyfill = require('./browser/A-Https-Polyfill');
8
+ var APathPolyfill = require('./browser/A-Path-Polyfill');
9
+ var AUrlPolyfill = require('./browser/A-Url-Polyfill');
10
+ var ABufferPolyfill = require('./browser/A-Buffer-Polyfill');
11
+ var AProcessPolyfill = require('./browser/A-Process-Polyfill');
12
+ var aFrame = require('@adaas/a-frame');
13
+
14
+ var __defProp = Object.defineProperty;
15
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
16
+ var __decorateClass = (decorators, target, key, kind) => {
17
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
18
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
19
+ if (decorator = decorators[i])
20
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
21
+ if (kind && result) __defProp(target, key, result);
22
+ return result;
23
+ };
24
+ var __decorateParam = (index, decorator) => (target, key) => decorator(target, key, index);
25
+ exports.A_Polyfill = class A_Polyfill extends aConcept.A_Component {
26
+ constructor(logger) {
27
+ super();
28
+ this.logger = logger;
29
+ this._initializing = null;
30
+ }
31
+ /**
32
+ * Indicates whether the channel is connected
33
+ */
34
+ get ready() {
35
+ if (!this._initialized) {
36
+ this._initialized = this._loadInternal();
37
+ }
38
+ return this._initialized;
39
+ }
40
+ async load() {
41
+ await this.ready;
42
+ }
43
+ async attachToWindow() {
44
+ if (aConcept.A_Context.environment !== "browser") return;
45
+ globalThis.A_Polyfill = this;
46
+ globalThis.process = { env: { NODE_ENV: "production" }, cwd: () => "/" };
47
+ globalThis.__dirname = "/";
48
+ }
49
+ async _loadInternal() {
50
+ this._fsPolyfill = new AFSPolyfill.A_FSPolyfill(this.logger);
51
+ this._cryptoPolyfill = new ACryptoPolyfill.A_CryptoPolyfill(this.logger);
52
+ this._httpPolyfill = new AHttpPolyfill.A_HttpPolyfill(this.logger);
53
+ this._httpsPolyfill = new AHttpsPolyfill.A_HttpsPolyfill(this.logger);
54
+ this._pathPolyfill = new APathPolyfill.A_PathPolyfill(this.logger);
55
+ this._urlPolyfill = new AUrlPolyfill.A_UrlPolyfill(this.logger);
56
+ this._bufferPolyfill = new ABufferPolyfill.A_BufferPolyfill(this.logger);
57
+ this._processPolyfill = new AProcessPolyfill.A_ProcessPolyfill(this.logger);
58
+ await this._fsPolyfill.get();
59
+ await this._cryptoPolyfill.get(await this._fsPolyfill.get());
60
+ await this._httpPolyfill.get();
61
+ await this._httpsPolyfill.get();
62
+ await this._pathPolyfill.get();
63
+ await this._urlPolyfill.get();
64
+ await this._bufferPolyfill.get();
65
+ await this._processPolyfill.get();
66
+ }
67
+ /**
68
+ * Allows to use the 'fs' polyfill methods regardless of the environment
69
+ * This method loads the 'fs' polyfill and returns its instance
70
+ *
71
+ * @returns
72
+ */
73
+ async fs() {
74
+ await this.ready;
75
+ return await this._fsPolyfill.get();
76
+ }
77
+ /**
78
+ * Allows to use the 'crypto' polyfill methods regardless of the environment
79
+ * This method loads the 'crypto' polyfill and returns its instance
80
+ *
81
+ * @returns
82
+ */
83
+ async crypto() {
84
+ await this.ready;
85
+ return await this._cryptoPolyfill.get();
86
+ }
87
+ /**
88
+ * Allows to use the 'http' polyfill methods regardless of the environment
89
+ * This method loads the 'http' polyfill and returns its instance
90
+ *
91
+ * @returns
92
+ */
93
+ async http() {
94
+ await this.ready;
95
+ return await this._httpPolyfill.get();
96
+ }
97
+ /**
98
+ * Allows to use the 'https' polyfill methods regardless of the environment
99
+ * This method loads the 'https' polyfill and returns its instance
100
+ *
101
+ * @returns
102
+ */
103
+ async https() {
104
+ await this.ready;
105
+ return await this._httpsPolyfill.get();
106
+ }
107
+ /**
108
+ * Allows to use the 'path' polyfill methods regardless of the environment
109
+ * This method loads the 'path' polyfill and returns its instance
110
+ *
111
+ * @returns
112
+ */
113
+ async path() {
114
+ await this.ready;
115
+ return await this._pathPolyfill.get();
116
+ }
117
+ /**
118
+ * Allows to use the 'url' polyfill methods regardless of the environment
119
+ * This method loads the 'url' polyfill and returns its instance
120
+ *
121
+ * @returns
122
+ */
123
+ async url() {
124
+ await this.ready;
125
+ return await this._urlPolyfill.get();
126
+ }
127
+ /**
128
+ * Allows to use the 'buffer' polyfill methods regardless of the environment
129
+ * This method loads the 'buffer' polyfill and returns its instance
130
+ *
131
+ * @returns
132
+ */
133
+ async buffer() {
134
+ await this.ready;
135
+ return await this._bufferPolyfill.get();
136
+ }
137
+ /**
138
+ * Allows to use the 'process' polyfill methods regardless of the environment
139
+ * This method loads the 'process' polyfill and returns its instance
140
+ *
141
+ * @returns
142
+ */
143
+ async process() {
144
+ await this.ready;
145
+ return await this._processPolyfill.get();
146
+ }
147
+ };
148
+ __decorateClass([
149
+ aConcept.A_Concept.Load()
150
+ ], exports.A_Polyfill.prototype, "load", 1);
151
+ __decorateClass([
152
+ aConcept.A_Concept.Load()
153
+ ], exports.A_Polyfill.prototype, "attachToWindow", 1);
154
+ exports.A_Polyfill = __decorateClass([
155
+ aFrame.A_Frame.Component({
156
+ namespace: "A-Utils",
157
+ name: "A-Polyfill",
158
+ description: "Polyfill component that provides cross-environment compatibility for Node.js core modules such as fs, crypto, http, https, path, url, buffer, and process. It dynamically loads appropriate polyfills based on the execution environment (Node.js or browser), enabling seamless usage of these modules in different contexts."
159
+ }),
160
+ __decorateParam(0, aConcept.A_Inject("A_Logger"))
161
+ ], exports.A_Polyfill);
162
+ //# sourceMappingURL=A-Polyfill.component.env-browser.js.map
163
+ //# sourceMappingURL=A-Polyfill.component.env-browser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/A-Polyfill/A-Polyfill.component.env-browser.ts"],"names":["A_Polyfill","A_Component","A_Context","A_FSPolyfill","A_CryptoPolyfill","A_HttpPolyfill","A_HttpsPolyfill","A_PathPolyfill","A_UrlPolyfill","A_BufferPolyfill","A_ProcessPolyfill","A_Concept","A_Frame"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAoBaA,kBAAA,GAAN,yBAAyBC,oBAAA,CAAY;AAAA,EAkBxC,YACoC,MAAA,EAClC;AACE,IAAA,KAAA,EAAM;AAF0B,IAAA,IAAA,CAAA,MAAA,GAAA,MAAA;AARpC,IAAA,IAAA,CAAU,aAAA,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_Logger } from \"@adaas/a-utils/a-logger\";\nimport { A_FSPolyfill } from \"./browser/A-FS-Polyfill\";\nimport { A_CryptoPolyfill } from \"./browser/A-Crypto-Polyfill\";\nimport { A_HttpPolyfill } from \"./browser/A-Http-Polyfill\";\nimport { A_HttpsPolyfill } from \"./browser/A-Https-Polyfill\";\nimport { A_PathPolyfill } from \"./browser/A-Path-Polyfill\";\nimport { A_UrlPolyfill } from \"./browser/A-Url-Polyfill\";\nimport { A_BufferPolyfill } from \"./browser/A-Buffer-Polyfill\";\nimport { A_ProcessPolyfill } from \"./browser/A-Process-Polyfill\";\nimport { A_Frame } from \"@adaas/a-frame\";\n\n\n\n\n@A_Frame.Component({\n namespace: 'A-Utils',\n name: 'A-Polyfill',\n description: 'Polyfill component that provides cross-environment compatibility for Node.js core modules such as fs, crypto, http, https, path, url, buffer, and process. It dynamically loads appropriate polyfills based on the execution environment (Node.js or browser), enabling seamless usage of these modules in different contexts.'\n})\nexport class A_Polyfill extends A_Component {\n\n protected _fsPolyfill!: A_FSPolyfill;\n protected _cryptoPolyfill!: A_CryptoPolyfill;\n protected _httpPolyfill!: A_HttpPolyfill;\n protected _httpsPolyfill!: A_HttpsPolyfill;\n protected _pathPolyfill!: A_PathPolyfill;\n protected _urlPolyfill!: A_UrlPolyfill;\n protected _bufferPolyfill!: A_BufferPolyfill;\n protected _processPolyfill!: A_ProcessPolyfill;\n\n protected _initializing: Promise<void> | null = null;\n /**\n * Indicates whether the channel is connected\n */\n protected _initialized?: Promise<void>;\n\n\n constructor(\n @A_Inject('A_Logger') protected logger: A_Logger\n ) {\n super();\n }\n\n /**\n * Indicates whether the channel is connected\n */\n get ready(): Promise<void> {\n if (!this._initialized) {\n this._initialized = this._loadInternal();\n }\n return this._initialized;\n }\n\n\n\n @A_Concept.Load()\n async load() {\n await this.ready;\n }\n\n @A_Concept.Load()\n async attachToWindow() {\n if (A_Context.environment !== 'browser') return;\n\n\n (globalThis as any).A_Polyfill = this;\n // attach env variables\n (globalThis as any).process = { env: { NODE_ENV: 'production' }, cwd: () => \"/\" };\n (globalThis as any).__dirname = \"/\";\n }\n\n\n protected async _loadInternal() {\n\n this._fsPolyfill = new A_FSPolyfill(this.logger);\n this._cryptoPolyfill = new A_CryptoPolyfill(this.logger);\n this._httpPolyfill = new A_HttpPolyfill(this.logger);\n this._httpsPolyfill = new A_HttpsPolyfill(this.logger);\n this._pathPolyfill = new A_PathPolyfill(this.logger);\n this._urlPolyfill = new A_UrlPolyfill(this.logger);\n this._bufferPolyfill = new A_BufferPolyfill(this.logger);\n this._processPolyfill = new A_ProcessPolyfill(this.logger);\n\n // Initialize all polyfills to ensure they're ready\n await this._fsPolyfill.get();\n await this._cryptoPolyfill.get(await this._fsPolyfill.get());\n await this._httpPolyfill.get();\n await this._httpsPolyfill.get();\n await this._pathPolyfill.get();\n await this._urlPolyfill.get();\n await this._bufferPolyfill.get();\n await this._processPolyfill.get();\n }\n\n /**\n * Allows to use the 'fs' polyfill methods regardless of the environment\n * This method loads the 'fs' polyfill and returns its instance\n * \n * @returns \n */\n async fs() {\n await this.ready;\n\n return await this._fsPolyfill.get();\n }\n\n /**\n * Allows to use the 'crypto' polyfill methods regardless of the environment\n * This method loads the 'crypto' polyfill and returns its instance\n * \n * @returns \n */\n async crypto() {\n await this.ready;\n\n return await this._cryptoPolyfill.get();\n }\n\n /**\n * Allows to use the 'http' polyfill methods regardless of the environment\n * This method loads the 'http' polyfill and returns its instance\n * \n * @returns \n */\n async http() {\n await this.ready;\n\n return await this._httpPolyfill.get();\n }\n\n /**\n * Allows to use the 'https' polyfill methods regardless of the environment\n * This method loads the 'https' polyfill and returns its instance\n * \n * @returns \n */\n async https() {\n await this.ready;\n\n return await this._httpsPolyfill.get();\n }\n\n /**\n * Allows to use the 'path' polyfill methods regardless of the environment\n * This method loads the 'path' polyfill and returns its instance\n * \n * @returns \n */\n async path() {\n await this.ready;\n\n return await this._pathPolyfill.get();\n }\n\n /**\n * Allows to use the 'url' polyfill methods regardless of the environment\n * This method loads the 'url' polyfill and returns its instance\n * \n * @returns \n */\n async url() {\n await this.ready;\n\n return await this._urlPolyfill.get();\n }\n\n /**\n * Allows to use the 'buffer' polyfill methods regardless of the environment\n * This method loads the 'buffer' polyfill and returns its instance\n * \n * @returns \n */\n async buffer() {\n await this.ready;\n\n return await this._bufferPolyfill.get();\n }\n\n /**\n * Allows to use the 'process' polyfill methods regardless of the environment\n * This method loads the 'process' polyfill and returns its instance\n * \n * @returns \n */\n async process() {\n await this.ready;\n\n return await this._processPolyfill.get();\n }\n}"]}
@@ -0,0 +1,153 @@
1
+ import { __decorateClass, __decorateParam } from '../../chunk-EQQGB2QZ.mjs';
2
+ import { A_Concept, A_Inject, A_Component, A_Context } from '@adaas/a-concept';
3
+ import { A_FSPolyfill } from './browser/A-FS-Polyfill';
4
+ import { A_CryptoPolyfill } from './browser/A-Crypto-Polyfill';
5
+ import { A_HttpPolyfill } from './browser/A-Http-Polyfill';
6
+ import { A_HttpsPolyfill } from './browser/A-Https-Polyfill';
7
+ import { A_PathPolyfill } from './browser/A-Path-Polyfill';
8
+ import { A_UrlPolyfill } from './browser/A-Url-Polyfill';
9
+ import { A_BufferPolyfill } from './browser/A-Buffer-Polyfill';
10
+ import { A_ProcessPolyfill } from './browser/A-Process-Polyfill';
11
+ import { A_Frame } from '@adaas/a-frame';
12
+
13
+ let A_Polyfill = class extends A_Component {
14
+ constructor(logger) {
15
+ super();
16
+ this.logger = logger;
17
+ this._initializing = null;
18
+ }
19
+ /**
20
+ * Indicates whether the channel is connected
21
+ */
22
+ get ready() {
23
+ if (!this._initialized) {
24
+ this._initialized = this._loadInternal();
25
+ }
26
+ return this._initialized;
27
+ }
28
+ async load() {
29
+ await this.ready;
30
+ }
31
+ async attachToWindow() {
32
+ if (A_Context.environment !== "browser") return;
33
+ globalThis.A_Polyfill = this;
34
+ globalThis.process = { env: { NODE_ENV: "production" }, cwd: () => "/" };
35
+ globalThis.__dirname = "/";
36
+ }
37
+ async _loadInternal() {
38
+ this._fsPolyfill = new A_FSPolyfill(this.logger);
39
+ this._cryptoPolyfill = new A_CryptoPolyfill(this.logger);
40
+ this._httpPolyfill = new A_HttpPolyfill(this.logger);
41
+ this._httpsPolyfill = new A_HttpsPolyfill(this.logger);
42
+ this._pathPolyfill = new A_PathPolyfill(this.logger);
43
+ this._urlPolyfill = new A_UrlPolyfill(this.logger);
44
+ this._bufferPolyfill = new A_BufferPolyfill(this.logger);
45
+ this._processPolyfill = new A_ProcessPolyfill(this.logger);
46
+ await this._fsPolyfill.get();
47
+ await this._cryptoPolyfill.get(await this._fsPolyfill.get());
48
+ await this._httpPolyfill.get();
49
+ await this._httpsPolyfill.get();
50
+ await this._pathPolyfill.get();
51
+ await this._urlPolyfill.get();
52
+ await this._bufferPolyfill.get();
53
+ await this._processPolyfill.get();
54
+ }
55
+ /**
56
+ * Allows to use the 'fs' polyfill methods regardless of the environment
57
+ * This method loads the 'fs' polyfill and returns its instance
58
+ *
59
+ * @returns
60
+ */
61
+ async fs() {
62
+ await this.ready;
63
+ return await this._fsPolyfill.get();
64
+ }
65
+ /**
66
+ * Allows to use the 'crypto' polyfill methods regardless of the environment
67
+ * This method loads the 'crypto' polyfill and returns its instance
68
+ *
69
+ * @returns
70
+ */
71
+ async crypto() {
72
+ await this.ready;
73
+ return await this._cryptoPolyfill.get();
74
+ }
75
+ /**
76
+ * Allows to use the 'http' polyfill methods regardless of the environment
77
+ * This method loads the 'http' polyfill and returns its instance
78
+ *
79
+ * @returns
80
+ */
81
+ async http() {
82
+ await this.ready;
83
+ return await this._httpPolyfill.get();
84
+ }
85
+ /**
86
+ * Allows to use the 'https' polyfill methods regardless of the environment
87
+ * This method loads the 'https' polyfill and returns its instance
88
+ *
89
+ * @returns
90
+ */
91
+ async https() {
92
+ await this.ready;
93
+ return await this._httpsPolyfill.get();
94
+ }
95
+ /**
96
+ * Allows to use the 'path' polyfill methods regardless of the environment
97
+ * This method loads the 'path' polyfill and returns its instance
98
+ *
99
+ * @returns
100
+ */
101
+ async path() {
102
+ await this.ready;
103
+ return await this._pathPolyfill.get();
104
+ }
105
+ /**
106
+ * Allows to use the 'url' polyfill methods regardless of the environment
107
+ * This method loads the 'url' polyfill and returns its instance
108
+ *
109
+ * @returns
110
+ */
111
+ async url() {
112
+ await this.ready;
113
+ return await this._urlPolyfill.get();
114
+ }
115
+ /**
116
+ * Allows to use the 'buffer' polyfill methods regardless of the environment
117
+ * This method loads the 'buffer' polyfill and returns its instance
118
+ *
119
+ * @returns
120
+ */
121
+ async buffer() {
122
+ await this.ready;
123
+ return await this._bufferPolyfill.get();
124
+ }
125
+ /**
126
+ * Allows to use the 'process' polyfill methods regardless of the environment
127
+ * This method loads the 'process' polyfill and returns its instance
128
+ *
129
+ * @returns
130
+ */
131
+ async process() {
132
+ await this.ready;
133
+ return await this._processPolyfill.get();
134
+ }
135
+ };
136
+ __decorateClass([
137
+ A_Concept.Load()
138
+ ], A_Polyfill.prototype, "load", 1);
139
+ __decorateClass([
140
+ A_Concept.Load()
141
+ ], A_Polyfill.prototype, "attachToWindow", 1);
142
+ A_Polyfill = __decorateClass([
143
+ A_Frame.Component({
144
+ namespace: "A-Utils",
145
+ name: "A-Polyfill",
146
+ description: "Polyfill component that provides cross-environment compatibility for Node.js core modules such as fs, crypto, http, https, path, url, buffer, and process. It dynamically loads appropriate polyfills based on the execution environment (Node.js or browser), enabling seamless usage of these modules in different contexts."
147
+ }),
148
+ __decorateParam(0, A_Inject("A_Logger"))
149
+ ], A_Polyfill);
150
+
151
+ export { A_Polyfill };
152
+ //# sourceMappingURL=A-Polyfill.component.env-browser.mjs.map
153
+ //# sourceMappingURL=A-Polyfill.component.env-browser.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/A-Polyfill/A-Polyfill.component.env-browser.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBO,IAAM,UAAA,GAAN,cAAyB,WAAA,CAAY;AAAA,EAkBxC,YACoC,MAAA,EAClC;AACE,IAAA,KAAA,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, A_Concept, A_Context, A_Inject } from \"@adaas/a-concept\";\nimport type { A_Logger } from \"@adaas/a-utils/a-logger\";\nimport { A_FSPolyfill } from \"./browser/A-FS-Polyfill\";\nimport { A_CryptoPolyfill } from \"./browser/A-Crypto-Polyfill\";\nimport { A_HttpPolyfill } from \"./browser/A-Http-Polyfill\";\nimport { A_HttpsPolyfill } from \"./browser/A-Https-Polyfill\";\nimport { A_PathPolyfill } from \"./browser/A-Path-Polyfill\";\nimport { A_UrlPolyfill } from \"./browser/A-Url-Polyfill\";\nimport { A_BufferPolyfill } from \"./browser/A-Buffer-Polyfill\";\nimport { A_ProcessPolyfill } from \"./browser/A-Process-Polyfill\";\nimport { A_Frame } from \"@adaas/a-frame\";\n\n\n\n\n@A_Frame.Component({\n namespace: 'A-Utils',\n name: 'A-Polyfill',\n description: 'Polyfill component that provides cross-environment compatibility for Node.js core modules such as fs, crypto, http, https, path, url, buffer, and process. It dynamically loads appropriate polyfills based on the execution environment (Node.js or browser), enabling seamless usage of these modules in different contexts.'\n})\nexport class A_Polyfill extends A_Component {\n\n protected _fsPolyfill!: A_FSPolyfill;\n protected _cryptoPolyfill!: A_CryptoPolyfill;\n protected _httpPolyfill!: A_HttpPolyfill;\n protected _httpsPolyfill!: A_HttpsPolyfill;\n protected _pathPolyfill!: A_PathPolyfill;\n protected _urlPolyfill!: A_UrlPolyfill;\n protected _bufferPolyfill!: A_BufferPolyfill;\n protected _processPolyfill!: A_ProcessPolyfill;\n\n protected _initializing: Promise<void> | null = null;\n /**\n * Indicates whether the channel is connected\n */\n protected _initialized?: Promise<void>;\n\n\n constructor(\n @A_Inject('A_Logger') protected logger: A_Logger\n ) {\n super();\n }\n\n /**\n * Indicates whether the channel is connected\n */\n get ready(): Promise<void> {\n if (!this._initialized) {\n this._initialized = this._loadInternal();\n }\n return this._initialized;\n }\n\n\n\n @A_Concept.Load()\n async load() {\n await this.ready;\n }\n\n @A_Concept.Load()\n async attachToWindow() {\n if (A_Context.environment !== 'browser') return;\n\n\n (globalThis as any).A_Polyfill = this;\n // attach env variables\n (globalThis as any).process = { env: { NODE_ENV: 'production' }, cwd: () => \"/\" };\n (globalThis as any).__dirname = \"/\";\n }\n\n\n protected async _loadInternal() {\n\n this._fsPolyfill = new A_FSPolyfill(this.logger);\n this._cryptoPolyfill = new A_CryptoPolyfill(this.logger);\n this._httpPolyfill = new A_HttpPolyfill(this.logger);\n this._httpsPolyfill = new A_HttpsPolyfill(this.logger);\n this._pathPolyfill = new A_PathPolyfill(this.logger);\n this._urlPolyfill = new A_UrlPolyfill(this.logger);\n this._bufferPolyfill = new A_BufferPolyfill(this.logger);\n this._processPolyfill = new A_ProcessPolyfill(this.logger);\n\n // Initialize all polyfills to ensure they're ready\n await this._fsPolyfill.get();\n await this._cryptoPolyfill.get(await this._fsPolyfill.get());\n await this._httpPolyfill.get();\n await this._httpsPolyfill.get();\n await this._pathPolyfill.get();\n await this._urlPolyfill.get();\n await this._bufferPolyfill.get();\n await this._processPolyfill.get();\n }\n\n /**\n * Allows to use the 'fs' polyfill methods regardless of the environment\n * This method loads the 'fs' polyfill and returns its instance\n * \n * @returns \n */\n async fs() {\n await this.ready;\n\n return await this._fsPolyfill.get();\n }\n\n /**\n * Allows to use the 'crypto' polyfill methods regardless of the environment\n * This method loads the 'crypto' polyfill and returns its instance\n * \n * @returns \n */\n async crypto() {\n await this.ready;\n\n return await this._cryptoPolyfill.get();\n }\n\n /**\n * Allows to use the 'http' polyfill methods regardless of the environment\n * This method loads the 'http' polyfill and returns its instance\n * \n * @returns \n */\n async http() {\n await this.ready;\n\n return await this._httpPolyfill.get();\n }\n\n /**\n * Allows to use the 'https' polyfill methods regardless of the environment\n * This method loads the 'https' polyfill and returns its instance\n * \n * @returns \n */\n async https() {\n await this.ready;\n\n return await this._httpsPolyfill.get();\n }\n\n /**\n * Allows to use the 'path' polyfill methods regardless of the environment\n * This method loads the 'path' polyfill and returns its instance\n * \n * @returns \n */\n async path() {\n await this.ready;\n\n return await this._pathPolyfill.get();\n }\n\n /**\n * Allows to use the 'url' polyfill methods regardless of the environment\n * This method loads the 'url' polyfill and returns its instance\n * \n * @returns \n */\n async url() {\n await this.ready;\n\n return await this._urlPolyfill.get();\n }\n\n /**\n * Allows to use the 'buffer' polyfill methods regardless of the environment\n * This method loads the 'buffer' polyfill and returns its instance\n * \n * @returns \n */\n async buffer() {\n await this.ready;\n\n return await this._bufferPolyfill.get();\n }\n\n /**\n * Allows to use the 'process' polyfill methods regardless of the environment\n * This method loads the 'process' polyfill and returns its instance\n * \n * @returns \n */\n async process() {\n await this.ready;\n\n return await this._processPolyfill.get();\n }\n}"]}
@@ -0,0 +1,108 @@
1
+ import { Ifspolyfill, IcryptoInterface, IhttpInterface, IhttpsInterface, IpathInterface, IurlInterface, IbufferInterface, IprocessInterface } from './A-Polyfill.types.mjs';
2
+ import { A_Component } from '@adaas/a-concept';
3
+ import { A_Logger } from '../A-Logger/A-Logger.component.mjs';
4
+ import { A_CryptoPolyfill } from './node/A-Crypto-Polyfill.mjs';
5
+ import { A_HttpPolyfill } from './node/A-Http-Polyfill.mjs';
6
+ import { A_HttpsPolyfill } from './node/A-Https-Polyfill.mjs';
7
+ import { A_PathPolyfill } from './node/A-Path-Polyfill.mjs';
8
+ import { A_UrlPolyfill } from './node/A-Url-Polyfill.mjs';
9
+ import { A_BufferPolyfill } from './node/A-Buffer-Polyfill.mjs';
10
+ import { A_ProcessPolyfill } from './node/A-Process-Polyfill.mjs';
11
+ import { A_FSPolyfill } from './node/A-FS-Polyfill.mjs';
12
+ import './base/A-Buffer-Polyfill.base.mjs';
13
+ import './base/A-Crypto-Polyfill.base.mjs';
14
+ import './base/A-FS-Polyfill.base.mjs';
15
+ import './base/A-Http-Polyfill.base.mjs';
16
+ import './base/A-Https-Polyfill.base.mjs';
17
+ import './base/A-Path-Polyfill.base.mjs';
18
+ import './base/A-Process-Polyfill.base.mjs';
19
+ import './base/A-Url-Polyfill.base.mjs';
20
+ import '../A-Logger/A-Logger.types.mjs';
21
+ import '../A-Logger/A-Logger.env.mjs';
22
+ import '../A-Config/A-Config.context.mjs';
23
+ import '../A-Config/A-Config.types.mjs';
24
+ import '../A-Execution/A-Execution.context.mjs';
25
+ import '../A-Config/A-Config.constants.mjs';
26
+
27
+ declare class A_Polyfill extends A_Component {
28
+ protected logger: A_Logger;
29
+ protected _fsPolyfill: A_FSPolyfill;
30
+ protected _cryptoPolyfill: A_CryptoPolyfill;
31
+ protected _httpPolyfill: A_HttpPolyfill;
32
+ protected _httpsPolyfill: A_HttpsPolyfill;
33
+ protected _pathPolyfill: A_PathPolyfill;
34
+ protected _urlPolyfill: A_UrlPolyfill;
35
+ protected _bufferPolyfill: A_BufferPolyfill;
36
+ protected _processPolyfill: A_ProcessPolyfill;
37
+ protected _initializing: Promise<void> | null;
38
+ /**
39
+ * Indicates whether the channel is connected
40
+ */
41
+ protected _initialized?: Promise<void>;
42
+ constructor(logger: A_Logger);
43
+ /**
44
+ * Indicates whether the channel is connected
45
+ */
46
+ get ready(): Promise<void>;
47
+ load(): Promise<void>;
48
+ attachToWindow(): Promise<void>;
49
+ protected _loadInternal(): Promise<void>;
50
+ /**
51
+ * Allows to use the 'fs' polyfill methods regardless of the environment
52
+ * This method loads the 'fs' polyfill and returns its instance
53
+ *
54
+ * @returns
55
+ */
56
+ fs(): Promise<Ifspolyfill>;
57
+ /**
58
+ * Allows to use the 'crypto' polyfill methods regardless of the environment
59
+ * This method loads the 'crypto' polyfill and returns its instance
60
+ *
61
+ * @returns
62
+ */
63
+ crypto(): Promise<IcryptoInterface>;
64
+ /**
65
+ * Allows to use the 'http' polyfill methods regardless of the environment
66
+ * This method loads the 'http' polyfill and returns its instance
67
+ *
68
+ * @returns
69
+ */
70
+ http(): Promise<IhttpInterface>;
71
+ /**
72
+ * Allows to use the 'https' polyfill methods regardless of the environment
73
+ * This method loads the 'https' polyfill and returns its instance
74
+ *
75
+ * @returns
76
+ */
77
+ https(): Promise<IhttpsInterface>;
78
+ /**
79
+ * Allows to use the 'path' polyfill methods regardless of the environment
80
+ * This method loads the 'path' polyfill and returns its instance
81
+ *
82
+ * @returns
83
+ */
84
+ path(): Promise<IpathInterface>;
85
+ /**
86
+ * Allows to use the 'url' polyfill methods regardless of the environment
87
+ * This method loads the 'url' polyfill and returns its instance
88
+ *
89
+ * @returns
90
+ */
91
+ url(): Promise<IurlInterface>;
92
+ /**
93
+ * Allows to use the 'buffer' polyfill methods regardless of the environment
94
+ * This method loads the 'buffer' polyfill and returns its instance
95
+ *
96
+ * @returns
97
+ */
98
+ buffer(): Promise<IbufferInterface>;
99
+ /**
100
+ * Allows to use the 'process' polyfill methods regardless of the environment
101
+ * This method loads the 'process' polyfill and returns its instance
102
+ *
103
+ * @returns
104
+ */
105
+ process(): Promise<IprocessInterface>;
106
+ }
107
+
108
+ export { A_Polyfill };