lakutata 2.0.30 → 2.0.32

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 (423) hide show
  1. package/README.md +2 -2
  2. package/com/database.cjs +17 -17
  3. package/com/database.mjs +17 -17
  4. package/com/docker.cjs +14 -14
  5. package/com/docker.mjs +14 -14
  6. package/com/entrypoint.cjs +12 -12
  7. package/com/entrypoint.d.ts +2 -2
  8. package/com/entrypoint.mjs +12 -12
  9. package/com/logger.cjs +12 -12
  10. package/com/logger.mjs +12 -12
  11. package/decorator/asst.cjs +4 -4
  12. package/decorator/asst.mjs +4 -4
  13. package/decorator/ctrl.cjs +41 -13
  14. package/decorator/ctrl.d.ts +16 -2
  15. package/decorator/ctrl.mjs +21 -7
  16. package/decorator/di.cjs +6 -6
  17. package/decorator/di.mjs +6 -6
  18. package/decorator/dto.cjs +6 -6
  19. package/decorator/dto.mjs +6 -6
  20. package/decorator/orm.cjs +13 -13
  21. package/decorator/orm.mjs +13 -13
  22. package/helper.cjs +9 -9
  23. package/helper.mjs +9 -9
  24. package/lakutata.cjs +13 -13
  25. package/lakutata.mjs +13 -13
  26. package/orm.cjs +14 -14
  27. package/orm.mjs +15 -15
  28. package/package.json +6 -1
  29. package/provider/database.cjs +17 -17
  30. package/provider/database.mjs +17 -17
  31. package/provider/passwordHash.cjs +157 -0
  32. package/provider/passwordHash.d.ts +33 -0
  33. package/provider/passwordHash.mjs +149 -0
  34. package/src/components/Database.cjs +16 -16
  35. package/src/components/Database.mjs +16 -16
  36. package/src/components/Logger.cjs +12 -12
  37. package/src/components/Logger.mjs +12 -12
  38. package/src/components/docker/ConnectionOptionsBuilder.cjs +14 -14
  39. package/src/components/docker/ConnectionOptionsBuilder.mjs +14 -14
  40. package/src/components/docker/Docker.cjs +11 -11
  41. package/src/components/docker/Docker.mjs +11 -11
  42. package/src/components/docker/exceptions/DockerConnectionException.cjs +3 -3
  43. package/src/components/docker/exceptions/DockerConnectionException.mjs +3 -3
  44. package/src/components/docker/exceptions/DockerImageBuildException.cjs +3 -3
  45. package/src/components/docker/exceptions/DockerImageBuildException.mjs +3 -3
  46. package/src/components/docker/exceptions/DockerImageImportException.cjs +3 -3
  47. package/src/components/docker/exceptions/DockerImageImportException.mjs +3 -3
  48. package/src/components/docker/exceptions/DockerImageNotFoundException.cjs +3 -3
  49. package/src/components/docker/exceptions/DockerImageNotFoundException.mjs +3 -3
  50. package/src/components/docker/exceptions/DockerImagePullException.cjs +3 -3
  51. package/src/components/docker/exceptions/DockerImagePullException.mjs +3 -3
  52. package/src/components/docker/exceptions/DockerImagePushException.cjs +3 -3
  53. package/src/components/docker/exceptions/DockerImagePushException.mjs +3 -3
  54. package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.cjs +3 -3
  55. package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.mjs +3 -3
  56. package/src/components/docker/exceptions/DockerNetworkNotFoundException.cjs +3 -3
  57. package/src/components/docker/exceptions/DockerNetworkNotFoundException.mjs +3 -3
  58. package/src/components/docker/lib/DockerContainer.cjs +14 -14
  59. package/src/components/docker/lib/DockerContainer.mjs +14 -14
  60. package/src/components/docker/lib/DockerContainerTTY.cjs +14 -14
  61. package/src/components/docker/lib/DockerContainerTTY.mjs +14 -14
  62. package/src/components/docker/lib/DockerImage.cjs +11 -11
  63. package/src/components/docker/lib/DockerImage.mjs +11 -11
  64. package/src/components/docker/options/DockerPruneOptions.cjs +6 -6
  65. package/src/components/docker/options/DockerPruneOptions.mjs +6 -6
  66. package/src/components/docker/options/auth/DockerAuthOptions.cjs +6 -6
  67. package/src/components/docker/options/auth/DockerAuthOptions.mjs +6 -6
  68. package/src/components/docker/options/container/ContainerCommitOptions.cjs +6 -6
  69. package/src/components/docker/options/container/ContainerCommitOptions.mjs +6 -6
  70. package/src/components/docker/options/container/ContainerCreateTTYOptions.cjs +6 -6
  71. package/src/components/docker/options/container/ContainerCreateTTYOptions.mjs +6 -6
  72. package/src/components/docker/options/container/ContainerExecOptions.cjs +6 -6
  73. package/src/components/docker/options/container/ContainerExecOptions.mjs +6 -6
  74. package/src/components/docker/options/container/ContainerExportDirectoryOptions.cjs +6 -6
  75. package/src/components/docker/options/container/ContainerExportDirectoryOptions.mjs +6 -6
  76. package/src/components/docker/options/container/ContainerKillOptions.cjs +6 -6
  77. package/src/components/docker/options/container/ContainerKillOptions.mjs +6 -6
  78. package/src/components/docker/options/container/ContainerLogsOptions.cjs +6 -6
  79. package/src/components/docker/options/container/ContainerLogsOptions.mjs +6 -6
  80. package/src/components/docker/options/container/ContainerRemoveOptions.cjs +6 -6
  81. package/src/components/docker/options/container/ContainerRemoveOptions.mjs +6 -6
  82. package/src/components/docker/options/container/ContainerSettingOptions.cjs +6 -6
  83. package/src/components/docker/options/container/ContainerSettingOptions.mjs +6 -6
  84. package/src/components/docker/options/container/ContainerStopOptions.cjs +6 -6
  85. package/src/components/docker/options/container/ContainerStopOptions.mjs +6 -6
  86. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.cjs +6 -6
  87. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.mjs +6 -6
  88. package/src/components/docker/options/image/ImageBuildOptions.cjs +6 -6
  89. package/src/components/docker/options/image/ImageBuildOptions.mjs +6 -6
  90. package/src/components/docker/options/image/ImageExportOptions.cjs +6 -6
  91. package/src/components/docker/options/image/ImageExportOptions.mjs +6 -6
  92. package/src/components/docker/options/image/ImageImportOptions.cjs +6 -6
  93. package/src/components/docker/options/image/ImageImportOptions.mjs +6 -6
  94. package/src/components/docker/options/image/ImagePullOptions.cjs +6 -6
  95. package/src/components/docker/options/image/ImagePullOptions.mjs +6 -6
  96. package/src/components/docker/options/image/ImagePushOptions.cjs +6 -6
  97. package/src/components/docker/options/image/ImagePushOptions.mjs +6 -6
  98. package/src/components/docker/options/image/ImageRemoveOptions.cjs +6 -6
  99. package/src/components/docker/options/image/ImageRemoveOptions.mjs +6 -6
  100. package/src/components/docker/options/image/ImageTagOptions.cjs +6 -6
  101. package/src/components/docker/options/image/ImageTagOptions.mjs +6 -6
  102. package/src/components/docker/options/network/NetworkCreateOptions.cjs +6 -6
  103. package/src/components/docker/options/network/NetworkCreateOptions.mjs +6 -6
  104. package/src/components/entrypoint/Entrypoint.cjs +12 -12
  105. package/src/components/entrypoint/Entrypoint.mjs +12 -12
  106. package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs +3 -3
  107. package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.mjs +3 -3
  108. package/src/components/entrypoint/lib/Controller.cjs +11 -11
  109. package/src/components/entrypoint/lib/Controller.mjs +11 -11
  110. package/src/constants/DIMetadataKey.cjs +2 -2
  111. package/src/constants/DIMetadataKey.mjs +2 -2
  112. package/src/constants/DTOMetadataKey.cjs +2 -2
  113. package/src/constants/DTOMetadataKey.mjs +2 -2
  114. package/src/decorators/asst/After.cjs +3 -3
  115. package/src/decorators/asst/After.mjs +3 -3
  116. package/src/decorators/asst/Before.cjs +3 -3
  117. package/src/decorators/asst/Before.mjs +3 -3
  118. package/src/decorators/ctrl/CLIAction.cjs +7 -7
  119. package/src/decorators/ctrl/CLIAction.mjs +7 -7
  120. package/src/decorators/ctrl/HTTPAction.cjs +7 -7
  121. package/src/decorators/ctrl/HTTPAction.mjs +7 -7
  122. package/src/decorators/ctrl/ServiceAction.cjs +7 -7
  123. package/src/decorators/ctrl/ServiceAction.mjs +7 -7
  124. package/src/decorators/ctrl/http/DELETE.cjs +85 -0
  125. package/src/decorators/ctrl/http/DELETE.mjs +79 -0
  126. package/src/decorators/ctrl/http/GET.cjs +85 -0
  127. package/src/decorators/ctrl/http/GET.mjs +79 -0
  128. package/src/decorators/ctrl/http/HEAD.cjs +85 -0
  129. package/src/decorators/ctrl/http/HEAD.mjs +79 -0
  130. package/src/decorators/ctrl/http/OPTIONS.cjs +85 -0
  131. package/src/decorators/ctrl/http/OPTIONS.mjs +79 -0
  132. package/src/decorators/ctrl/http/PATCH.cjs +85 -0
  133. package/src/decorators/ctrl/http/PATCH.mjs +79 -0
  134. package/src/decorators/ctrl/http/POST.cjs +85 -0
  135. package/src/decorators/ctrl/http/POST.mjs +79 -0
  136. package/src/decorators/ctrl/http/PUT.cjs +85 -0
  137. package/src/decorators/ctrl/http/PUT.mjs +79 -0
  138. package/src/decorators/di/Autoload.cjs +2 -2
  139. package/src/decorators/di/Autoload.mjs +2 -2
  140. package/src/decorators/di/Configurable.cjs +6 -6
  141. package/src/decorators/di/Configurable.mjs +6 -6
  142. package/src/decorators/di/Inject.cjs +6 -6
  143. package/src/decorators/di/Inject.mjs +6 -6
  144. package/src/decorators/di/Lifetime.cjs +4 -4
  145. package/src/decorators/di/Lifetime.mjs +4 -4
  146. package/src/decorators/dto/Accept.cjs +6 -6
  147. package/src/decorators/dto/Accept.mjs +6 -6
  148. package/src/decorators/dto/Expect.cjs +6 -6
  149. package/src/decorators/dto/Expect.mjs +6 -6
  150. package/src/decorators/dto/IndexSignature.cjs +6 -6
  151. package/src/decorators/dto/IndexSignature.mjs +6 -6
  152. package/src/decorators/dto/Return.cjs +6 -6
  153. package/src/decorators/dto/Return.mjs +6 -6
  154. package/src/decorators/orm/AfterInsert.cjs +12 -12
  155. package/src/decorators/orm/AfterInsert.mjs +12 -12
  156. package/src/decorators/orm/AfterLoad.cjs +12 -12
  157. package/src/decorators/orm/AfterLoad.mjs +12 -12
  158. package/src/decorators/orm/AfterRecover.cjs +12 -12
  159. package/src/decorators/orm/AfterRecover.mjs +12 -12
  160. package/src/decorators/orm/AfterRemove.cjs +12 -12
  161. package/src/decorators/orm/AfterRemove.mjs +12 -12
  162. package/src/decorators/orm/AfterSoftRemove.cjs +12 -12
  163. package/src/decorators/orm/AfterSoftRemove.mjs +12 -12
  164. package/src/decorators/orm/AfterUpdate.cjs +12 -12
  165. package/src/decorators/orm/AfterUpdate.mjs +12 -12
  166. package/src/decorators/orm/BeforeInsert.cjs +12 -12
  167. package/src/decorators/orm/BeforeInsert.mjs +12 -12
  168. package/src/decorators/orm/BeforeRecover.cjs +12 -12
  169. package/src/decorators/orm/BeforeRecover.mjs +12 -12
  170. package/src/decorators/orm/BeforeRemove.cjs +12 -12
  171. package/src/decorators/orm/BeforeRemove.mjs +12 -12
  172. package/src/decorators/orm/BeforeSoftRemove.cjs +12 -12
  173. package/src/decorators/orm/BeforeSoftRemove.mjs +12 -12
  174. package/src/decorators/orm/BeforeUpdate.cjs +12 -12
  175. package/src/decorators/orm/BeforeUpdate.mjs +12 -12
  176. package/src/decorators/orm/Check.cjs +12 -12
  177. package/src/decorators/orm/Check.mjs +12 -12
  178. package/src/decorators/orm/ChildEntity.cjs +12 -12
  179. package/src/decorators/orm/ChildEntity.mjs +12 -12
  180. package/src/decorators/orm/Column.cjs +12 -12
  181. package/src/decorators/orm/Column.mjs +12 -12
  182. package/src/decorators/orm/CreateDateColumn.cjs +12 -12
  183. package/src/decorators/orm/CreateDateColumn.mjs +12 -12
  184. package/src/decorators/orm/DeleteDateColumn.cjs +12 -12
  185. package/src/decorators/orm/DeleteDateColumn.mjs +12 -12
  186. package/src/decorators/orm/Entity.cjs +12 -12
  187. package/src/decorators/orm/Entity.mjs +12 -12
  188. package/src/decorators/orm/EventSubscriber.cjs +12 -12
  189. package/src/decorators/orm/EventSubscriber.mjs +12 -12
  190. package/src/decorators/orm/Exclusion.cjs +12 -12
  191. package/src/decorators/orm/Exclusion.mjs +12 -12
  192. package/src/decorators/orm/Generated.cjs +12 -12
  193. package/src/decorators/orm/Generated.mjs +12 -12
  194. package/src/decorators/orm/Index.cjs +12 -12
  195. package/src/decorators/orm/Index.mjs +12 -12
  196. package/src/decorators/orm/JoinColumn.cjs +12 -12
  197. package/src/decorators/orm/JoinColumn.mjs +12 -12
  198. package/src/decorators/orm/JoinTable.cjs +12 -12
  199. package/src/decorators/orm/JoinTable.mjs +12 -12
  200. package/src/decorators/orm/ManyToMany.cjs +12 -12
  201. package/src/decorators/orm/ManyToMany.mjs +12 -12
  202. package/src/decorators/orm/ManyToOne.cjs +12 -12
  203. package/src/decorators/orm/ManyToOne.mjs +12 -12
  204. package/src/decorators/orm/ObjectIdColumn.cjs +12 -12
  205. package/src/decorators/orm/ObjectIdColumn.mjs +12 -12
  206. package/src/decorators/orm/OneToMany.cjs +12 -12
  207. package/src/decorators/orm/OneToMany.mjs +12 -12
  208. package/src/decorators/orm/OneToOne.cjs +12 -12
  209. package/src/decorators/orm/OneToOne.mjs +12 -12
  210. package/src/decorators/orm/PrimaryColumn.cjs +12 -12
  211. package/src/decorators/orm/PrimaryColumn.mjs +12 -12
  212. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +12 -12
  213. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +12 -12
  214. package/src/decorators/orm/RelationId.cjs +12 -12
  215. package/src/decorators/orm/RelationId.mjs +12 -12
  216. package/src/decorators/orm/TableInheritance.cjs +12 -12
  217. package/src/decorators/orm/TableInheritance.mjs +12 -12
  218. package/src/decorators/orm/Tree.cjs +12 -12
  219. package/src/decorators/orm/Tree.mjs +12 -12
  220. package/src/decorators/orm/TreeChildren.cjs +12 -12
  221. package/src/decorators/orm/TreeChildren.mjs +12 -12
  222. package/src/decorators/orm/TreeLevelColumn.cjs +12 -12
  223. package/src/decorators/orm/TreeLevelColumn.mjs +12 -12
  224. package/src/decorators/orm/TreeParent.cjs +12 -12
  225. package/src/decorators/orm/TreeParent.mjs +12 -12
  226. package/src/decorators/orm/Unique.cjs +12 -12
  227. package/src/decorators/orm/Unique.mjs +12 -12
  228. package/src/decorators/orm/UpdateDateColumn.cjs +12 -12
  229. package/src/decorators/orm/UpdateDateColumn.mjs +12 -12
  230. package/src/decorators/orm/VersionColumn.cjs +12 -12
  231. package/src/decorators/orm/VersionColumn.mjs +12 -12
  232. package/src/decorators/orm/ViewColumn.cjs +12 -12
  233. package/src/decorators/orm/ViewColumn.mjs +12 -12
  234. package/src/decorators/orm/ViewEntity.cjs +12 -12
  235. package/src/decorators/orm/ViewEntity.mjs +12 -12
  236. package/src/decorators/orm/VirtualColumn.cjs +12 -12
  237. package/src/decorators/orm/VirtualColumn.mjs +12 -12
  238. package/src/exceptions/DestroyRuntimeContainerException.cjs +3 -3
  239. package/src/exceptions/DestroyRuntimeContainerException.mjs +3 -3
  240. package/src/exceptions/InvalidActionPatternDepthException.cjs +3 -3
  241. package/src/exceptions/InvalidActionPatternDepthException.mjs +3 -3
  242. package/src/exceptions/InvalidAssistantFunctionTypeException.cjs +3 -3
  243. package/src/exceptions/InvalidAssistantFunctionTypeException.mjs +3 -3
  244. package/src/exceptions/InvalidObjectTypeException.cjs +3 -3
  245. package/src/exceptions/InvalidObjectTypeException.mjs +3 -3
  246. package/src/exceptions/MethodNotFoundException.cjs +3 -3
  247. package/src/exceptions/MethodNotFoundException.mjs +3 -3
  248. package/src/exceptions/alias/AliasExistsException.cjs +3 -3
  249. package/src/exceptions/alias/AliasExistsException.mjs +3 -3
  250. package/src/exceptions/alias/AliasNotFoundException.cjs +3 -3
  251. package/src/exceptions/alias/AliasNotFoundException.mjs +3 -3
  252. package/src/exceptions/alias/InvalidAliasNameException.cjs +3 -3
  253. package/src/exceptions/alias/InvalidAliasNameException.mjs +3 -3
  254. package/src/exceptions/di/DependencyInjectionException.cjs +3 -3
  255. package/src/exceptions/di/DependencyInjectionException.mjs +3 -3
  256. package/src/exceptions/di/LifetimeLockedException.cjs +3 -3
  257. package/src/exceptions/di/LifetimeLockedException.mjs +3 -3
  258. package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.cjs +3 -3
  259. package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.mjs +3 -3
  260. package/src/exceptions/dto/InvalidMethodAcceptException.cjs +3 -3
  261. package/src/exceptions/dto/InvalidMethodAcceptException.mjs +3 -3
  262. package/src/exceptions/dto/InvalidMethodReturnException.cjs +3 -3
  263. package/src/exceptions/dto/InvalidMethodReturnException.mjs +3 -3
  264. package/src/exceptions/dto/InvalidValueException.cjs +3 -3
  265. package/src/exceptions/dto/InvalidValueException.mjs +3 -3
  266. package/src/lib/base/BaseObject.cjs +11 -11
  267. package/src/lib/base/BaseObject.mjs +11 -11
  268. package/src/lib/base/Context.cjs +6 -6
  269. package/src/lib/base/Context.mjs +6 -6
  270. package/src/lib/base/EventEmitter.cjs +1 -1
  271. package/src/lib/base/EventEmitter.mjs +1 -1
  272. package/src/lib/base/abstracts/Exception.cjs +3 -3
  273. package/src/lib/base/abstracts/Exception.mjs +3 -3
  274. package/src/lib/base/internal/ApplicationConfigLoader.cjs +11 -11
  275. package/src/lib/base/internal/ApplicationConfigLoader.mjs +11 -11
  276. package/src/lib/base/internal/BasicInfo.cjs +3 -3
  277. package/src/lib/base/internal/BasicInfo.mjs +3 -3
  278. package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +2 -2
  279. package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +2 -2
  280. package/src/lib/base/internal/ConstructorSymbol.cjs +2 -2
  281. package/src/lib/base/internal/ConstructorSymbol.mjs +2 -2
  282. package/src/lib/base/internal/ControllerEntrypoint.cjs +4 -4
  283. package/src/lib/base/internal/ControllerEntrypoint.mjs +4 -4
  284. package/src/lib/base/internal/DataValidator.cjs +5 -5
  285. package/src/lib/base/internal/DataValidator.mjs +5 -5
  286. package/src/lib/base/internal/FlexibleDTO.cjs +6 -6
  287. package/src/lib/base/internal/FlexibleDTO.mjs +6 -6
  288. package/src/lib/base/internal/MethodAssistantFunction.cjs +3 -3
  289. package/src/lib/base/internal/MethodAssistantFunction.mjs +3 -3
  290. package/src/lib/base/internal/MethodValidation.cjs +6 -6
  291. package/src/lib/base/internal/MethodValidation.mjs +6 -6
  292. package/src/lib/base/internal/ModuleConfigLoader.cjs +11 -11
  293. package/src/lib/base/internal/ModuleConfigLoader.mjs +11 -11
  294. package/src/lib/base/internal/ObjectConfiguration.cjs +6 -6
  295. package/src/lib/base/internal/ObjectConfiguration.mjs +6 -6
  296. package/src/lib/base/internal/ObjectContainer.cjs +2 -2
  297. package/src/lib/base/internal/ObjectContainer.mjs +2 -2
  298. package/src/lib/base/internal/ObjectInjection.cjs +30 -21
  299. package/src/lib/base/internal/ObjectInjection.mjs +19 -10
  300. package/src/lib/base/internal/ObjectLifetime.cjs +4 -4
  301. package/src/lib/base/internal/ObjectLifetime.mjs +4 -4
  302. package/src/lib/base/internal/ObjectSchemaValidation.cjs +6 -6
  303. package/src/lib/base/internal/ObjectSchemaValidation.mjs +6 -6
  304. package/src/lib/base/internal/ObjectType.cjs +11 -11
  305. package/src/lib/base/internal/ObjectType.mjs +11 -11
  306. package/src/lib/base/internal/PatternManager.cjs +1 -1
  307. package/src/lib/base/internal/PatternManager.mjs +1 -1
  308. package/src/lib/context/CLIContext.cjs +6 -6
  309. package/src/lib/context/CLIContext.mjs +6 -6
  310. package/src/lib/context/HTTPContext.cjs +6 -6
  311. package/src/lib/context/HTTPContext.mjs +6 -6
  312. package/src/lib/context/ServiceContext.cjs +6 -6
  313. package/src/lib/context/ServiceContext.mjs +6 -6
  314. package/src/lib/core/Alias.cjs +3 -3
  315. package/src/lib/core/Alias.mjs +3 -3
  316. package/src/lib/core/Application.cjs +13 -13
  317. package/src/lib/core/Application.mjs +13 -13
  318. package/src/lib/core/Component.cjs +11 -11
  319. package/src/lib/core/Component.mjs +11 -11
  320. package/src/lib/core/Container.cjs +11 -11
  321. package/src/lib/core/Container.mjs +11 -11
  322. package/src/lib/core/DTO.cjs +6 -6
  323. package/src/lib/core/DTO.mjs +6 -6
  324. package/src/lib/core/Module.cjs +12 -12
  325. package/src/lib/core/Module.mjs +12 -12
  326. package/src/lib/core/Provider.cjs +11 -11
  327. package/src/lib/core/Provider.mjs +11 -11
  328. package/src/lib/core/Time.cjs +7 -4
  329. package/src/lib/core/Time.mjs +7 -4
  330. package/src/lib/helpers/Glob.cjs +2 -2
  331. package/src/lib/helpers/Glob.mjs +2 -2
  332. package/src/lib/helpers/IsGlobString.cjs +1 -1
  333. package/src/lib/helpers/IsGlobString.mjs +1 -1
  334. package/src/lib/helpers/IsHtml.cjs +1 -1
  335. package/src/lib/helpers/IsHtml.mjs +1 -1
  336. package/src/lib/helpers/IsSymbol.cjs +6 -6
  337. package/src/lib/helpers/IsSymbol.mjs +6 -6
  338. package/src/lib/helpers/IsXML.cjs +1 -1
  339. package/src/lib/helpers/IsXML.mjs +1 -1
  340. package/src/lib/helpers/MD5.cjs +3 -3
  341. package/src/lib/helpers/MD5.mjs +3 -3
  342. package/src/lib/helpers/NonceStr.cjs +2 -2
  343. package/src/lib/helpers/NonceStr.mjs +2 -2
  344. package/src/lib/helpers/ObjectHash.cjs +2 -2
  345. package/src/lib/helpers/ObjectHash.mjs +2 -2
  346. package/src/lib/helpers/RandomString.cjs +2 -2
  347. package/src/lib/helpers/RandomString.mjs +2 -2
  348. package/src/lib/helpers/SHA1.cjs +3 -3
  349. package/src/lib/helpers/SHA1.mjs +3 -3
  350. package/src/lib/helpers/SHA256.cjs +3 -3
  351. package/src/lib/helpers/SHA256.mjs +3 -3
  352. package/src/lib/ioc/DependencyInjectionContainer.cjs +10 -10
  353. package/src/lib/ioc/DependencyInjectionContainer.mjs +10 -10
  354. package/src/lib/ioc/Errors.cjs +6 -6
  355. package/src/lib/ioc/Errors.mjs +6 -6
  356. package/src/lib/ioc/ListModules.cjs +7 -7
  357. package/src/lib/ioc/ListModules.mjs +7 -7
  358. package/src/lib/ioc/LoadModules.cjs +6 -6
  359. package/src/lib/ioc/LoadModules.mjs +6 -6
  360. package/src/lib/ioc/Resolvers.cjs +6 -6
  361. package/src/lib/ioc/Resolvers.mjs +6 -6
  362. package/src/lib/ioc/Utils.cjs +6 -6
  363. package/src/lib/ioc/Utils.mjs +6 -6
  364. package/src/lib/validation/VLD.cjs +4 -4
  365. package/src/lib/validation/VLD.mjs +4 -4
  366. package/src/options/ApplicationOptions.cjs +11 -11
  367. package/src/options/ApplicationOptions.mjs +11 -11
  368. package/src/options/LoadAnonymousObjectOptions.cjs +11 -11
  369. package/src/options/LoadAnonymousObjectOptions.mjs +11 -11
  370. package/src/options/LoadNamedObjectOptions.cjs +11 -11
  371. package/src/options/LoadNamedObjectOptions.mjs +11 -11
  372. package/src/options/LoadObjectOptions.cjs +11 -11
  373. package/src/options/LoadObjectOptions.mjs +11 -11
  374. package/src/options/ModuleLoadObjectsOptions.cjs +11 -11
  375. package/src/options/ModuleLoadObjectsOptions.mjs +11 -11
  376. package/src/options/ModuleOptions.cjs +11 -11
  377. package/src/options/ModuleOptions.mjs +11 -11
  378. package/src/options/OverridableNamedObjectOptions.cjs +11 -11
  379. package/src/options/OverridableNamedObjectOptions.mjs +11 -11
  380. package/src/options/OverridableObjectOptions.cjs +11 -11
  381. package/src/options/OverridableObjectOptions.mjs +11 -11
  382. package/src/providers/Database.cjs +16 -16
  383. package/src/providers/Database.mjs +16 -16
  384. package/src/providers/PasswordHash.cjs +689 -0
  385. package/src/providers/PasswordHash.mjs +677 -0
  386. package/vendor/Package.10.cjs +2 -82
  387. package/vendor/Package.10.mjs +2 -76
  388. package/vendor/Package.11.cjs +5 -5
  389. package/vendor/Package.11.mjs +5 -5
  390. package/vendor/{Package.22.cjs → Package.112.cjs} +8 -8
  391. package/vendor/{Package.22.mjs → Package.112.mjs} +8 -8
  392. package/vendor/Package.12.cjs +83 -1
  393. package/vendor/Package.12.mjs +77 -1
  394. package/vendor/Package.13.cjs +1 -478
  395. package/vendor/Package.13.mjs +1 -460
  396. package/vendor/Package.14.cjs +5 -5
  397. package/vendor/Package.14.mjs +5 -5
  398. package/vendor/Package.15.cjs +204 -193
  399. package/vendor/Package.15.mjs +195 -184
  400. package/vendor/Package.2.cjs +7002 -5
  401. package/vendor/Package.2.mjs +6992 -5
  402. package/vendor/Package.3.cjs +455 -925
  403. package/vendor/Package.3.mjs +437 -925
  404. package/vendor/Package.4.cjs +939 -37
  405. package/vendor/Package.4.mjs +941 -35
  406. package/vendor/Package.5.cjs +32 -6992
  407. package/vendor/Package.5.mjs +30 -6984
  408. package/vendor/Package.6.cjs +4309 -2
  409. package/vendor/Package.6.mjs +4309 -2
  410. package/vendor/{Package.72.cjs → Package.62.cjs} +3 -3
  411. package/vendor/{Package.72.mjs → Package.62.mjs} +3 -3
  412. package/vendor/{Package.73.cjs → Package.63.cjs} +1 -1
  413. package/vendor/{Package.73.mjs → Package.63.mjs} +1 -1
  414. package/vendor/{Package.74.cjs → Package.64.cjs} +2 -2
  415. package/vendor/{Package.74.mjs → Package.64.mjs} +2 -2
  416. package/vendor/Package.7.cjs +3 -4308
  417. package/vendor/Package.7.mjs +3 -4308
  418. package/vendor/Package.8.cjs +8 -4
  419. package/vendor/Package.8.mjs +8 -4
  420. package/vendor/Package.9.cjs +1 -1
  421. package/vendor/Package.9.mjs +1 -1
  422. package/vendor/TypeDef.1.d.ts +4 -0
  423. package/vendor/TypeDef.13.d.ts +2 -2
@@ -1,950 +1,480 @@
1
1
  "use strict";
2
2
 
3
- const e = require("./Package.4.cjs");
3
+ const e = require("./Package.1.cjs");
4
4
 
5
- var t = {};
5
+ const t = require("../src/lib/base/async-constructor/AsyncConstructor.cjs");
6
6
 
7
- var r;
7
+ const s = require("../src/decorators/di/Lifetime.cjs");
8
8
 
9
- (function(t) {
10
- (function(r) {
11
- var n = typeof globalThis === "object" ? globalThis : typeof e.commonjsGlobal === "object" ? e.commonjsGlobal : typeof self === "object" ? self : typeof this === "object" ? this : o();
12
- var i = a(t);
13
- if (typeof n.Reflect !== "undefined") {
14
- i = a(n.Reflect, i);
15
- }
16
- r(i, n);
17
- if (typeof n.Reflect === "undefined") {
18
- n.Reflect = t;
19
- }
20
- function a(e, t) {
21
- return function(r, n) {
22
- Object.defineProperty(e, r, {
23
- configurable: true,
24
- writable: true,
25
- value: n
26
- });
27
- if (t) t(r, n);
28
- };
29
- }
30
- function u() {
31
- try {
32
- return Function("return this;")();
33
- } catch (e) {}
34
- }
35
- function f() {
36
- try {
37
- return (void 0, eval)("(function() { return this; })()");
38
- } catch (e) {}
39
- }
40
- function o() {
41
- return u() || f();
42
- }
43
- })((function(e, t) {
44
- var r = Object.prototype.hasOwnProperty;
45
- var n = typeof Symbol === "function";
46
- var i = n && typeof Symbol.toPrimitive !== "undefined" ? Symbol.toPrimitive : "@@toPrimitive";
47
- var a = n && typeof Symbol.iterator !== "undefined" ? Symbol.iterator : "@@iterator";
48
- var u = typeof Object.create === "function";
49
- var f = {
50
- __proto__: []
51
- } instanceof Array;
52
- var o = !u && !f;
53
- var s = {
54
- create: u ? function() {
55
- return le(Object.create(null));
56
- } : f ? function() {
57
- return le({
58
- __proto__: null
59
- });
60
- } : function() {
61
- return le({});
62
- },
63
- has: o ? function(e, t) {
64
- return r.call(e, t);
65
- } : function(e, t) {
66
- return t in e;
67
- },
68
- get: o ? function(e, t) {
69
- return r.call(e, t) ? e[t] : undefined;
70
- } : function(e, t) {
71
- return e[t];
72
- }
73
- };
74
- var c = Object.getPrototypeOf(Function);
75
- var l = typeof Map === "function" && typeof Map.prototype.entries === "function" ? Map : oe();
76
- var d = typeof Set === "function" && typeof Set.prototype.entries === "function" ? Set : se();
77
- var h = typeof WeakMap === "function" ? WeakMap : ce();
78
- var y = n ? Symbol.for("@reflect-metadata:registry") : undefined;
79
- var v = ie();
80
- var p = ae(v);
81
- function w(e, t, r, n) {
82
- if (!D(r)) {
83
- if (!B(e)) throw new TypeError;
84
- if (!W(t)) throw new TypeError;
85
- if (!W(n) && !D(n) && !G(n)) throw new TypeError;
86
- if (G(n)) n = undefined;
87
- r = L(r);
88
- return T(e, t, r, n);
89
- } else {
90
- if (!B(e)) throw new TypeError;
91
- if (!N(t)) throw new TypeError;
92
- return P(e, t);
93
- }
94
- }
95
- e("decorate", w);
96
- function _(e, t) {
97
- function r(r, n) {
98
- if (!W(r)) throw new TypeError;
99
- if (!D(n) && !Q(n)) throw new TypeError;
100
- A(e, t, r, n);
101
- }
102
- return r;
103
- }
104
- e("metadata", _);
105
- function g(e, t, r, n) {
106
- if (!W(r)) throw new TypeError;
107
- if (!D(n)) n = L(n);
108
- return A(e, t, r, n);
109
- }
110
- e("defineMetadata", g);
111
- function b(e, t, r) {
112
- if (!W(t)) throw new TypeError;
113
- if (!D(r)) r = L(r);
114
- return x(e, t, r);
115
- }
116
- e("hasMetadata", b);
117
- function O(e, t, r) {
118
- if (!W(t)) throw new TypeError;
119
- if (!D(r)) r = L(r);
120
- return R(e, t, r);
121
- }
122
- e("hasOwnMetadata", O);
123
- function k(e, t, r) {
124
- if (!W(t)) throw new TypeError;
125
- if (!D(r)) r = L(r);
126
- return S(e, t, r);
127
- }
128
- e("getMetadata", k);
129
- function m(e, t, r) {
130
- if (!W(t)) throw new TypeError;
131
- if (!D(r)) r = L(r);
132
- return K(e, t, r);
133
- }
134
- e("getOwnMetadata", m);
135
- function M(e, t) {
136
- if (!W(e)) throw new TypeError;
137
- if (!D(t)) t = L(t);
138
- return I(e, t);
139
- }
140
- e("getMetadataKeys", M);
141
- function E(e, t) {
142
- if (!W(e)) throw new TypeError;
143
- if (!D(t)) t = L(t);
144
- return F(e, t);
145
- }
146
- e("getOwnMetadataKeys", E);
147
- function j(e, t, r) {
148
- if (!W(t)) throw new TypeError;
149
- if (!D(r)) r = L(r);
150
- if (!W(t)) throw new TypeError;
151
- if (!D(r)) r = L(r);
152
- var n = fe(t, r, false);
153
- if (D(n)) return false;
154
- return n.OrdinaryDeleteMetadata(e, t, r);
155
- }
156
- e("deleteMetadata", j);
157
- function P(e, t) {
158
- for (var r = e.length - 1; r >= 0; --r) {
159
- var n = e[r];
160
- var i = n(t);
161
- if (!D(i) && !G(i)) {
162
- if (!N(i)) throw new TypeError;
163
- t = i;
164
- }
165
- }
166
- return t;
167
- }
168
- function T(e, t, r, n) {
169
- for (var i = e.length - 1; i >= 0; --i) {
170
- var a = e[i];
171
- var u = a(t, r, n);
172
- if (!D(u) && !G(u)) {
173
- if (!W(u)) throw new TypeError;
174
- n = u;
175
- }
176
- }
177
- return n;
178
- }
179
- function x(e, t, r) {
180
- var n = R(e, t, r);
181
- if (n) return true;
182
- var i = re(t);
183
- if (!G(i)) return x(e, i, r);
184
- return false;
185
- }
186
- function R(e, t, r) {
187
- var n = fe(t, r, false);
188
- if (D(n)) return false;
189
- return V(n.OrdinaryHasOwnMetadata(e, t, r));
190
- }
191
- function S(e, t, r) {
192
- var n = R(e, t, r);
193
- if (n) return K(e, t, r);
194
- var i = re(t);
195
- if (!G(i)) return S(e, i, r);
196
- return undefined;
197
- }
198
- function K(e, t, r) {
199
- var n = fe(t, r, false);
200
- if (D(n)) return;
201
- return n.OrdinaryGetOwnMetadata(e, t, r);
202
- }
203
- function A(e, t, r, n) {
204
- var i = fe(r, n, true);
205
- i.OrdinaryDefineOwnMetadata(e, t, r, n);
206
- }
207
- function I(e, t) {
208
- var r = F(e, t);
209
- var n = re(e);
210
- if (n === null) return r;
211
- var i = I(n, t);
212
- if (i.length <= 0) return r;
213
- if (r.length <= 0) return i;
214
- var a = new d;
215
- var u = [];
216
- for (var f = 0, o = r; f < o.length; f++) {
217
- var s = o[f];
218
- var c = a.has(s);
219
- if (!c) {
220
- a.add(s);
221
- u.push(s);
222
- }
223
- }
224
- for (var l = 0, h = i; l < h.length; l++) {
225
- var s = h[l];
226
- var c = a.has(s);
227
- if (!c) {
228
- a.add(s);
229
- u.push(s);
230
- }
231
- }
232
- return u;
233
- }
234
- function F(e, t) {
235
- var r = fe(e, t, false);
236
- if (!r) {
237
- return [];
238
- }
239
- return r.OrdinaryOwnMetadataKeys(e, t);
240
- }
241
- function z(e) {
242
- if (e === null) return 1;
243
- switch (typeof e) {
244
- case "undefined":
245
- return 0;
9
+ const r = require("../src/exceptions/MethodNotFoundException.cjs");
246
10
 
247
- case "boolean":
248
- return 2;
11
+ const i = require("../src/lib/ioc/DependencyInjectionContainer.cjs");
249
12
 
250
- case "string":
251
- return 3;
13
+ const o = require("node:crypto");
252
14
 
253
- case "symbol":
254
- return 4;
15
+ const n = require("../src/lib/base/internal/ConfigurableRecordsInjection.cjs");
255
16
 
256
- case "number":
257
- return 5;
17
+ const a = require("../src/lib/base/internal/ObjectConfiguration.cjs");
258
18
 
259
- case "object":
260
- return e === null ? 1 : 6;
19
+ const c = require("../src/lib/base/internal/ObjectInjection.cjs");
261
20
 
262
- default:
263
- return 6;
264
- }
265
- }
266
- function D(e) {
267
- return e === undefined;
268
- }
269
- function G(e) {
270
- return e === null;
271
- }
272
- function C(e) {
273
- return typeof e === "symbol";
274
- }
275
- function W(e) {
276
- return typeof e === "object" ? e !== null : typeof e === "function";
277
- }
278
- function H(e, t) {
279
- switch (z(e)) {
280
- case 0:
281
- return e;
21
+ const l = require("../src/lib/base/internal/ObjectContainer.cjs");
282
22
 
283
- case 1:
284
- return e;
23
+ const d = require("./Package.2.cjs");
285
24
 
286
- case 2:
287
- return e;
25
+ const h = require("../src/lib/helpers/ObjectConstructor.cjs");
288
26
 
289
- case 3:
290
- return e;
27
+ const u = require("../src/lib/helpers/As.cjs");
291
28
 
292
- case 4:
293
- return e;
29
+ const p = require("../src/lib/helpers/DevNull.cjs");
294
30
 
295
- case 5:
296
- return e;
297
- }
298
- var r = t === 3 ? "string" : t === 5 ? "number" : "default";
299
- var n = Y(e, i);
300
- if (n !== undefined) {
301
- var a = n.call(e, r);
302
- if (W(a)) throw new TypeError;
303
- return a;
304
- }
305
- return U(e, r === "default" ? "number" : r);
306
- }
307
- function U(e, t) {
308
- if (t === "string") {
309
- var r = e.toString;
310
- if (J(r)) {
311
- var n = r.call(e);
312
- if (!W(n)) return n;
313
- }
314
- var i = e.valueOf;
315
- if (J(i)) {
316
- var n = i.call(e);
317
- if (!W(n)) return n;
318
- }
319
- } else {
320
- var i = e.valueOf;
321
- if (J(i)) {
322
- var n = i.call(e);
323
- if (!W(n)) return n;
324
- }
325
- var a = e.toString;
326
- if (J(a)) {
327
- var n = a.call(e);
328
- if (!W(n)) return n;
329
- }
330
- }
331
- throw new TypeError;
332
- }
333
- function V(e) {
334
- return !!e;
335
- }
336
- function q(e) {
337
- return "" + e;
338
- }
339
- function L(e) {
340
- var t = H(e, 3);
341
- if (C(t)) return t;
342
- return q(t);
343
- }
344
- function B(e) {
345
- return Array.isArray ? Array.isArray(e) : e instanceof Object ? e instanceof Array : Object.prototype.toString.call(e) === "[object Array]";
346
- }
347
- function J(e) {
348
- return typeof e === "function";
349
- }
350
- function N(e) {
351
- return typeof e === "function";
352
- }
353
- function Q(e) {
354
- switch (z(e)) {
355
- case 3:
356
- return true;
31
+ const b = require("../src/lib/helpers/ObjectParentConstructors.cjs");
357
32
 
358
- case 4:
359
- return true;
33
+ const y = require("../src/exceptions/di/DependencyInjectionException.cjs");
360
34
 
361
- default:
362
- return false;
363
- }
364
- }
365
- function X(e, t) {
366
- return e === t || e !== e && t !== t;
367
- }
368
- function Y(e, t) {
369
- var r = e[t];
370
- if (r === undefined || r === null) return undefined;
371
- if (!J(r)) throw new TypeError;
372
- return r;
373
- }
374
- function Z(e) {
375
- var t = Y(e, a);
376
- if (!J(t)) throw new TypeError;
377
- var r = t.call(e);
378
- if (!W(r)) throw new TypeError;
379
- return r;
380
- }
381
- function $(e) {
382
- return e.value;
383
- }
384
- function ee(e) {
385
- var t = e.next();
386
- return t.done ? false : t;
387
- }
388
- function te(e) {
389
- var t = e["return"];
390
- if (t) t.call(e);
391
- }
392
- function re(e) {
393
- var t = Object.getPrototypeOf(e);
394
- if (typeof e !== "function" || e === c) return t;
395
- if (t !== c) return t;
396
- var r = e.prototype;
397
- var n = r && Object.getPrototypeOf(r);
398
- if (n == null || n === Object.prototype) return t;
399
- var i = n.constructor;
400
- if (typeof i !== "function") return t;
401
- if (i === e) return t;
402
- return i;
403
- }
404
- function ne() {
405
- var e;
406
- if (!D(y) && typeof t.Reflect !== "undefined" && !(y in t.Reflect) && typeof t.Reflect.defineMetadata === "function") {
407
- e = ue(t.Reflect);
408
- }
409
- var r;
410
- var n;
411
- var i;
412
- var a = new h;
413
- var u = {
414
- registerProvider: f,
415
- getProvider: s,
416
- setProvider: v
417
- };
418
- return u;
419
- function f(t) {
420
- if (!Object.isExtensible(u)) {
421
- throw new Error("Cannot add provider to a frozen registry.");
422
- }
423
- switch (true) {
424
- case e === t:
425
- break;
426
-
427
- case D(r):
428
- r = t;
429
- break;
430
-
431
- case r === t:
432
- break;
433
-
434
- case D(n):
435
- n = t;
436
- break;
437
-
438
- case n === t:
439
- break;
440
-
441
- default:
442
- if (i === undefined) i = new d;
443
- i.add(t);
444
- break;
445
- }
446
- }
447
- function o(t, a) {
448
- if (!D(r)) {
449
- if (r.isProviderFor(t, a)) return r;
450
- if (!D(n)) {
451
- if (n.isProviderFor(t, a)) return r;
452
- if (!D(i)) {
453
- var u = Z(i);
454
- while (true) {
455
- var f = ee(u);
456
- if (!f) {
457
- return undefined;
458
- }
459
- var o = $(f);
460
- if (o.isProviderFor(t, a)) {
461
- te(u);
462
- return o;
463
- }
464
- }
465
- }
466
- }
467
- }
468
- if (!D(e) && e.isProviderFor(t, a)) {
469
- return e;
470
- }
471
- return undefined;
472
- }
473
- function s(e, t) {
474
- var r = a.get(e);
475
- var n;
476
- if (!D(r)) {
477
- n = r.get(t);
478
- }
479
- if (!D(n)) {
480
- return n;
481
- }
482
- n = o(e, t);
483
- if (!D(n)) {
484
- if (D(r)) {
485
- r = new l;
486
- a.set(e, r);
487
- }
488
- r.set(t, n);
489
- }
490
- return n;
491
- }
492
- function c(e) {
493
- if (D(e)) throw new TypeError;
494
- return r === e || n === e || !D(i) && i.has(e);
495
- }
496
- function v(e, t, r) {
497
- if (!c(r)) {
498
- throw new Error("Metadata provider not registered.");
499
- }
500
- var n = s(e, t);
501
- if (n !== r) {
502
- if (!D(n)) {
503
- return false;
504
- }
505
- var i = a.get(e);
506
- if (D(i)) {
507
- i = new l;
508
- a.set(e, i);
509
- }
510
- i.set(t, r);
511
- }
512
- return true;
513
- }
514
- }
515
- function ie() {
516
- var e;
517
- if (!D(y) && W(t.Reflect) && Object.isExtensible(t.Reflect)) {
518
- e = t.Reflect[y];
519
- }
520
- if (D(e)) {
521
- e = ne();
522
- }
523
- if (!D(y) && W(t.Reflect) && Object.isExtensible(t.Reflect)) {
524
- Object.defineProperty(t.Reflect, y, {
525
- enumerable: false,
526
- configurable: false,
527
- writable: false,
528
- value: e
529
- });
530
- }
531
- return e;
532
- }
533
- function ae(e) {
534
- var t = new h;
535
- var r = {
536
- isProviderFor: function(e, r) {
537
- var n = t.get(e);
538
- if (D(n)) return false;
539
- return n.has(r);
540
- },
541
- OrdinaryDefineOwnMetadata: u,
542
- OrdinaryHasOwnMetadata: i,
543
- OrdinaryGetOwnMetadata: a,
544
- OrdinaryOwnMetadataKeys: f,
545
- OrdinaryDeleteMetadata: o
546
- };
547
- v.registerProvider(r);
548
- return r;
549
- function n(n, i, a) {
550
- var u = t.get(n);
551
- var f = false;
552
- if (D(u)) {
553
- if (!a) return undefined;
554
- u = new l;
555
- t.set(n, u);
556
- f = true;
557
- }
558
- var o = u.get(i);
559
- if (D(o)) {
560
- if (!a) return undefined;
561
- o = new l;
562
- u.set(i, o);
563
- if (!e.setProvider(n, i, r)) {
564
- u.delete(i);
565
- if (f) {
566
- t.delete(n);
567
- }
568
- throw new Error("Wrong provider for target.");
569
- }
570
- }
571
- return o;
572
- }
573
- function i(e, t, r) {
574
- var i = n(t, r, false);
575
- if (D(i)) return false;
576
- return V(i.has(e));
577
- }
578
- function a(e, t, r) {
579
- var i = n(t, r, false);
580
- if (D(i)) return undefined;
581
- return i.get(e);
582
- }
583
- function u(e, t, r, i) {
584
- var a = n(r, i, true);
585
- a.set(e, t);
586
- }
587
- function f(e, t) {
588
- var r = [];
589
- var i = n(e, t, false);
590
- if (D(i)) return r;
591
- var a = i.keys();
592
- var u = Z(a);
593
- var f = 0;
594
- while (true) {
595
- var o = ee(u);
596
- if (!o) {
597
- r.length = f;
598
- return r;
599
- }
600
- var s = $(o);
601
- try {
602
- r[f] = s;
603
- } catch (e) {
604
- try {
605
- te(u);
606
- } finally {
607
- throw e;
608
- }
609
- }
610
- f++;
611
- }
612
- }
613
- function o(e, r, i) {
614
- var a = n(r, i, false);
615
- if (D(a)) return false;
616
- if (!a.delete(e)) return false;
617
- if (a.size === 0) {
618
- var u = t.get(r);
619
- if (!D(u)) {
620
- u.delete(i);
621
- if (u.size === 0) {
622
- t.delete(u);
623
- }
624
- }
625
- }
626
- return true;
627
- }
628
- }
629
- function ue(e) {
630
- var t = e.defineMetadata, r = e.hasOwnMetadata, n = e.getOwnMetadata, i = e.getOwnMetadataKeys, a = e.deleteMetadata;
631
- var u = new h;
632
- var f = {
633
- isProviderFor: function(e, t) {
634
- var r = u.get(e);
635
- if (!D(r) && r.has(t)) {
636
- return true;
637
- }
638
- if (i(e, t).length) {
639
- if (D(r)) {
640
- r = new d;
641
- u.set(e, r);
642
- }
643
- r.add(t);
644
- return true;
645
- }
646
- return false;
647
- },
648
- OrdinaryDefineOwnMetadata: t,
649
- OrdinaryHasOwnMetadata: r,
650
- OrdinaryGetOwnMetadata: n,
651
- OrdinaryOwnMetadataKeys: i,
652
- OrdinaryDeleteMetadata: a
653
- };
654
- return f;
655
- }
656
- function fe(e, t, r) {
657
- var n = v.getProvider(e, t);
658
- if (!D(n)) {
659
- return n;
660
- }
661
- if (r) {
662
- if (v.setProvider(e, t, p)) {
663
- return p;
664
- }
665
- throw new Error("Illegal state.");
666
- }
667
- return undefined;
668
- }
669
- function oe() {
670
- var e = {};
671
- var t = [];
672
- var r = function() {
673
- function e(e, t, r) {
674
- this._index = 0;
675
- this._keys = e;
676
- this._values = t;
677
- this._selector = r;
678
- }
679
- e.prototype["@@iterator"] = function() {
680
- return this;
681
- };
682
- e.prototype[a] = function() {
683
- return this;
684
- };
685
- e.prototype.next = function() {
686
- var e = this._index;
687
- if (e >= 0 && e < this._keys.length) {
688
- var r = this._selector(this._keys[e], this._values[e]);
689
- if (e + 1 >= this._keys.length) {
690
- this._index = -1;
691
- this._keys = t;
692
- this._values = t;
35
+ const O = require("../src/lib/base/internal/ConstructorSymbol.cjs");
36
+
37
+ const f = require("../src/decorators/dto/Expect.cjs");
38
+
39
+ const j = require("../src/decorators/dto/IndexSignature.cjs");
40
+
41
+ const m = require("../src/lib/ioc/Resolvers.cjs");
42
+
43
+ const g = require("../src/lib/base/internal/ObjectLifetime.cjs");
44
+
45
+ const w = require("../src/decorators/dto/Accept.cjs");
46
+
47
+ const C = require("../src/lib/ioc/ListModules.cjs");
48
+
49
+ const P = require("url");
50
+
51
+ const S = require("../src/lib/ioc/Utils.cjs");
52
+
53
+ const T = require("../src/lib/helpers/IsEmptyObject.cjs");
54
+
55
+ const R = require("../src/lib/base/internal/ObjectWeakRefs.cjs");
56
+
57
+ var x;
58
+
59
+ const I = Symbol("OBJECT_ID");
60
+
61
+ exports.LoadObjectOptions = class LoadObjectOptions extends d.DTO {
62
+ static {
63
+ x = I;
64
+ }
65
+ };
66
+
67
+ e.__decorate([ f.Expect(d.DTO.Alternatives(d.DTO.String(), d.DTO.Symbol()).optional()), e.__metadata("design:type", Object) ], exports.LoadObjectOptions.prototype, x, void 0);
68
+
69
+ e.__decorate([ f.Expect(d.DTO.Class((() => exports.BaseObject)).required()), e.__metadata("design:type", Object) ], exports.LoadObjectOptions.prototype, "class", void 0);
70
+
71
+ exports.LoadObjectOptions = e.__decorate([ j.IndexSignature(d.DTO.Any()) ], exports.LoadObjectOptions);
72
+
73
+ const A = Symbol("LAKUTATA.DI.CONTAINER.SYMBOL");
74
+
75
+ const N = Symbol("LAKUTATA.DI.OWNER.SYMBOL");
76
+
77
+ class Container {
78
+ #e;
79
+ #t;
80
+ #s;
81
+ constructor(e, t) {
82
+ this.#t = new Set;
83
+ this.#s = false;
84
+ this.injectionNames = new Set;
85
+ this.parent = e;
86
+ this.#e = e ? e.#e.createScope() : i.createContainer({
87
+ injectionMode: "PROXY",
88
+ strict: false
89
+ });
90
+ if (this.parent) this.parent.#t.add(this);
91
+ this.#e.register(A, m.asValue(this));
92
+ if (t) this.#e.register(N, m.asValue(new WeakRef(t)));
93
+ }
94
+ async disposer(e) {
95
+ try {
96
+ await e.getMethod(B, false)();
97
+ } catch (e) {
98
+ p.DevNull(e);
99
+ }
100
+ }
101
+ buildResolverOptions(e) {
102
+ const t = g.GetObjectLifetime(e);
103
+ return {
104
+ lifetime: t,
105
+ dispose: e => this.disposer(e)
106
+ };
107
+ }
108
+ async processResolved(e, t, s = {}) {
109
+ const r = n.GetConfigurableRecords(u.As(e.constructor), t);
110
+ const i = d.DTO.isValid(e.constructor, d.DTO.Class(exports.BaseObject));
111
+ if (i) {
112
+ n.SetIdToInstance(u.As(e), t);
113
+ n.SetConfigurableRecordsToInstance(u.As(e), {
114
+ ...r,
115
+ ...s
116
+ });
117
+ }
118
+ return Promise.resolve(e);
119
+ }
120
+ buildNameAndRegistrationPairFromOptions(e) {
121
+ const t = {};
122
+ const s = e[I] ? e[I] : O.ConstructorSymbol(e.class);
123
+ const r = {
124
+ ...e,
125
+ class: void 0
126
+ };
127
+ delete r.id;
128
+ delete r.class;
129
+ n.SetConfigurableRecords(e.class, s, r);
130
+ t[s] = m.asClass(e.class, this.buildResolverOptions(e.class));
131
+ return t;
132
+ }
133
+ async buildNameAndRegistrationPairFromGlob(e) {
134
+ const t = [];
135
+ C.listModules(e).forEach((e => {
136
+ t.push(new Promise((t => {
137
+ import(P.pathToFileURL(e.path).toString()).then((e => {
138
+ Object.keys(e).forEach((s => {
139
+ const r = e[s];
140
+ if (S.isClass(r) && d.DTO.isValid(r, d.DTO.Class(exports.BaseObject))) {
141
+ const e = r;
142
+ const s = {};
143
+ s[O.ConstructorSymbol(e)] = m.asClass(e, this.buildResolverOptions(e));
144
+ return t(s);
693
145
  } else {
694
- this._index++;
146
+ return t({});
695
147
  }
696
- return {
697
- value: r,
698
- done: false
699
- };
700
- }
701
- return {
702
- value: undefined,
703
- done: true
704
- };
705
- };
706
- e.prototype.throw = function(e) {
707
- if (this._index >= 0) {
708
- this._index = -1;
709
- this._keys = t;
710
- this._values = t;
711
- }
712
- throw e;
713
- };
714
- e.prototype.return = function(e) {
715
- if (this._index >= 0) {
716
- this._index = -1;
717
- this._keys = t;
718
- this._values = t;
719
- }
720
- return {
721
- value: e,
722
- done: true
723
- };
724
- };
725
- return e;
726
- }();
727
- var n = function() {
728
- function t() {
729
- this._keys = [];
730
- this._values = [];
731
- this._cacheKey = e;
732
- this._cacheIndex = -2;
733
- }
734
- Object.defineProperty(t.prototype, "size", {
735
- get: function() {
736
- return this._keys.length;
737
- },
738
- enumerable: true,
739
- configurable: true
740
- });
741
- t.prototype.has = function(e) {
742
- return this._find(e, false) >= 0;
743
- };
744
- t.prototype.get = function(e) {
745
- var t = this._find(e, false);
746
- return t >= 0 ? this._values[t] : undefined;
747
- };
748
- t.prototype.set = function(e, t) {
749
- var r = this._find(e, true);
750
- this._values[r] = t;
751
- return this;
752
- };
753
- t.prototype.delete = function(t) {
754
- var r = this._find(t, false);
755
- if (r >= 0) {
756
- var n = this._keys.length;
757
- for (var i = r + 1; i < n; i++) {
758
- this._keys[i - 1] = this._keys[i];
759
- this._values[i - 1] = this._values[i];
760
- }
761
- this._keys.length--;
762
- this._values.length--;
763
- if (X(t, this._cacheKey)) {
764
- this._cacheKey = e;
765
- this._cacheIndex = -2;
766
- }
767
- return true;
768
- }
769
- return false;
770
- };
771
- t.prototype.clear = function() {
772
- this._keys.length = 0;
773
- this._values.length = 0;
774
- this._cacheKey = e;
775
- this._cacheIndex = -2;
776
- };
777
- t.prototype.keys = function() {
778
- return new r(this._keys, this._values, i);
779
- };
780
- t.prototype.values = function() {
781
- return new r(this._keys, this._values, u);
782
- };
783
- t.prototype.entries = function() {
784
- return new r(this._keys, this._values, f);
785
- };
786
- t.prototype["@@iterator"] = function() {
787
- return this.entries();
148
+ }));
149
+ })).catch((() => t({})));
150
+ })));
151
+ }));
152
+ const s = await Promise.all(t);
153
+ let r = {};
154
+ s.forEach((e => {
155
+ r = {
156
+ ...r,
157
+ ...e
158
+ };
159
+ }));
160
+ return r;
161
+ }
162
+ owner() {
163
+ const e = this.#e.resolve(N, {
164
+ allowUnregistered: true
165
+ });
166
+ return e ? e.deref() : undefined;
167
+ }
168
+ async load(e) {
169
+ let t = {};
170
+ const s = [];
171
+ e.forEach((e => {
172
+ if (typeof e === "string") {
173
+ s.push(new Promise(((t, s) => this.buildNameAndRegistrationPairFromGlob(e).then(t).catch(s))));
174
+ } else if (S.isClass(u.As(e))) {
175
+ const s = {
176
+ class: u.As(e)
788
177
  };
789
- t.prototype[a] = function() {
790
- return this.entries();
178
+ t = {
179
+ ...t,
180
+ ...this.buildNameAndRegistrationPairFromOptions(s)
791
181
  };
792
- t.prototype._find = function(e, t) {
793
- if (!X(this._cacheKey, e)) {
794
- this._cacheIndex = -1;
795
- for (var r = 0; r < this._keys.length; r++) {
796
- if (X(this._keys[r], e)) {
797
- this._cacheIndex = r;
798
- break;
799
- }
800
- }
801
- }
802
- if (this._cacheIndex < 0 && t) {
803
- this._cacheIndex = this._keys.length;
804
- this._keys.push(e);
805
- this._values.push(undefined);
806
- }
807
- return this._cacheIndex;
182
+ } else {
183
+ const s = u.As(e);
184
+ t = {
185
+ ...t,
186
+ ...this.buildNameAndRegistrationPairFromOptions(s)
808
187
  };
809
- return t;
810
- }();
811
- return n;
812
- function i(e, t) {
813
- return e;
814
- }
815
- function u(e, t) {
816
- return t;
817
- }
818
- function f(e, t) {
819
- return [ e, t ];
820
188
  }
821
- }
822
- function se() {
823
- var e = function() {
824
- function e() {
825
- this._map = new l;
826
- }
827
- Object.defineProperty(e.prototype, "size", {
828
- get: function() {
829
- return this._map.size;
830
- },
831
- enumerable: true,
832
- configurable: true
833
- });
834
- e.prototype.has = function(e) {
835
- return this._map.has(e);
836
- };
837
- e.prototype.add = function(e) {
838
- return this._map.set(e, e), this;
189
+ }));
190
+ if (s.length) {
191
+ const e = await Promise.all(s);
192
+ e.forEach((e => {
193
+ t = {
194
+ ...e,
195
+ ...t
839
196
  };
840
- e.prototype.delete = function(e) {
841
- return this._map.delete(e);
842
- };
843
- e.prototype.clear = function() {
844
- this._map.clear();
845
- };
846
- e.prototype.keys = function() {
847
- return this._map.keys();
848
- };
849
- e.prototype.values = function() {
850
- return this._map.keys();
851
- };
852
- e.prototype.entries = function() {
853
- return this._map.entries();
854
- };
855
- e.prototype["@@iterator"] = function() {
856
- return this.keys();
857
- };
858
- e.prototype[a] = function() {
859
- return this.keys();
860
- };
861
- return e;
862
- }();
863
- return e;
864
- }
865
- function ce() {
866
- var e = 16;
867
- var t = s.create();
868
- var n = i();
869
- return function() {
870
- function e() {
871
- this._key = i();
872
- }
873
- e.prototype.has = function(e) {
874
- var t = a(e, false);
875
- return t !== undefined ? s.has(t, this._key) : false;
876
- };
877
- e.prototype.get = function(e) {
878
- var t = a(e, false);
879
- return t !== undefined ? s.get(t, this._key) : undefined;
880
- };
881
- e.prototype.set = function(e, t) {
882
- var r = a(e, true);
883
- r[this._key] = t;
884
- return this;
885
- };
886
- e.prototype.delete = function(e) {
887
- var t = a(e, false);
888
- return t !== undefined ? delete t[this._key] : false;
889
- };
890
- e.prototype.clear = function() {
891
- this._key = i();
892
- };
893
- return e;
894
- }();
895
- function i() {
896
- var e;
897
- do {
898
- e = "@@WeakMap@@" + o();
899
- } while (s.has(t, e));
900
- t[e] = true;
901
- return e;
902
- }
903
- function a(e, t) {
904
- if (!r.call(e, n)) {
905
- if (!t) return undefined;
906
- Object.defineProperty(e, n, {
907
- value: s.create()
908
- });
909
- }
910
- return e[n];
911
- }
912
- function u(e, t) {
913
- for (var r = 0; r < t; ++r) e[r] = Math.random() * 255 | 0;
914
- return e;
915
- }
916
- function f(e) {
917
- if (typeof Uint8Array === "function") {
918
- var t = new Uint8Array(e);
919
- if (typeof crypto !== "undefined") {
920
- crypto.getRandomValues(t);
921
- } else if (typeof msCrypto !== "undefined") {
922
- msCrypto.getRandomValues(t);
923
- } else {
924
- u(t, e);
925
- }
926
- return t;
927
- }
928
- return u(new Array(e), e);
929
- }
930
- function o() {
931
- var t = f(e);
932
- t[6] = t[6] & 79 | 64;
933
- t[8] = t[8] & 191 | 128;
934
- var r = "";
935
- for (var n = 0; n < e; ++n) {
936
- var i = t[n];
937
- if (n === 4 || n === 6 || n === 8) r += "-";
938
- if (i < 16) r += "0";
939
- r += i.toString(16).toLowerCase();
940
- }
941
- return r;
942
- }
943
- }
944
- function le(e) {
945
- e.__ = undefined;
946
- delete e.__;
947
- return e;
948
- }
949
- }));
950
- })(r || (r = {}));
197
+ }));
198
+ }
199
+ if (!T.IsEmptyObject(t)) {
200
+ Object.getOwnPropertyNames(t).forEach((e => this.injectionNames.add(e)));
201
+ Object.getOwnPropertySymbols(t).forEach((e => this.injectionNames.add(e)));
202
+ this.#e.register(t);
203
+ }
204
+ }
205
+ async get(e, t = {}) {
206
+ const s = typeof e === "function" ? O.ConstructorSymbol(e) : e;
207
+ if (!this.#e.hasRegistration(s) && typeof e === "function" && c.GetObjectIsAutoload(u.As(e))) {
208
+ await this.load([ {
209
+ id: s,
210
+ class: u.As(e)
211
+ } ]);
212
+ }
213
+ return (this.#e.getRegistration(s)?.lifetime === "SINGLETON" || this.#e.getRegistration(s)?.lifetime === "MODULE_SINGLETON") && !this.injectionNames.has(s) && this.parent ? await this.parent.get(s, t) : await this.processResolved(this.#e.resolve(s), s, t);
214
+ }
215
+ has(e) {
216
+ if (typeof e === "function") return this.#e.hasRegistration(O.ConstructorSymbol(e));
217
+ return this.#e.hasRegistration(e);
218
+ }
219
+ async set(e, t = {}) {
220
+ await this.load([ {
221
+ ...t,
222
+ class: e
223
+ } ]);
224
+ return await this.get(e);
225
+ }
226
+ async register(e, t = {}) {
227
+ await this.load([ {
228
+ ...t,
229
+ class: e
230
+ } ]);
231
+ }
232
+ async build(e, t = {}) {
233
+ const s = await this.processResolved(this.#e.build(e, this.buildResolverOptions(e)), O.ConstructorSymbol(e), t);
234
+ R.AppendObjectWeakRefs(this.#e, s);
235
+ return s;
236
+ }
237
+ createScope() {
238
+ return new Container(this, this.owner());
239
+ }
240
+ registerContainerToItsParent() {
241
+ if (this.parent) this.parent.#t.add(this);
242
+ }
243
+ async clear() {
244
+ const e = [];
245
+ this.#t.forEach((t => e.push(new Promise(((e, s) => t.destroy().then(e).catch(s))))));
246
+ await Promise.all(e);
247
+ await this.#e.dispose();
248
+ const t = [];
249
+ R.GetObjectWeakRefs(this.#e).forEach((e => {
250
+ let s = e.deref();
251
+ if (!s) return;
252
+ if (s[B]) {
253
+ t.push(new Promise((e => s ? Promise.resolve(s[B]()).then((() => {
254
+ s = undefined;
255
+ return e();
256
+ })).catch(p.DevNull) : e())));
257
+ }
258
+ }));
259
+ await Promise.all(t);
260
+ R.ClearObjectWeakRefs(this.#e);
261
+ }
262
+ async destroy() {
263
+ if (this.#s) return;
264
+ this.#s = true;
265
+ if (this.parent) this.parent.#t.delete(this);
266
+ await this.clear();
267
+ }
268
+ }
269
+
270
+ e.__decorate([ w.Accept(d.DTO.Array(d.DTO.Alternatives(exports.LoadObjectOptions.Schema(), d.DTO.Class((() => exports.BaseObject)), d.DTO.Glob()))), e.__metadata("design:type", Function), e.__metadata("design:paramtypes", [ Array ]), e.__metadata("design:returntype", Promise) ], Container.prototype, "load", null);
271
+
272
+ const _ = Symbol("OBJECT.TYPE");
273
+
274
+ exports.ObjectType = void 0;
275
+
276
+ (function(e) {
277
+ e["Unknown"] = "Unknown";
278
+ e["Object"] = "Object";
279
+ e["Provider"] = "Provider";
280
+ e["Controller"] = "Controller";
281
+ e["Component"] = "Component";
282
+ e["Module"] = "Module";
283
+ })(exports.ObjectType || (exports.ObjectType = {}));
284
+
285
+ function D(e) {
286
+ return t => v(t, e);
287
+ }
288
+
289
+ function v(e, t) {
290
+ Reflect.defineMetadata(_, d.DTO.isValid(e, d.DTO.Class(exports.BaseObject)) ? t : exports.ObjectType.Unknown, e);
291
+ return e;
292
+ }
293
+
294
+ function E(e) {
295
+ if (Reflect.hasOwnMetadata(_, e)) return Reflect.getOwnMetadata(_, e);
296
+ let t = exports.ObjectType.Unknown;
297
+ for (const s of b.ObjectParentConstructors(e)) {
298
+ if (Reflect.hasOwnMetadata(_, s)) {
299
+ t = Reflect.getOwnMetadata(_, s);
300
+ break;
301
+ }
302
+ }
303
+ v(e, t);
304
+ return E(e);
305
+ }
306
+
307
+ var q;
308
+
309
+ var M;
310
+
311
+ const L = Symbol("__init");
312
+
313
+ const B = Symbol("__destroy");
314
+
315
+ const G = Symbol("anonymous");
316
+
317
+ const k = Symbol("OBJECT.SYMBOL.PROPERTY");
318
+
319
+ exports.BaseObject = M = class BaseObject extends t.AsyncConstructor {
320
+ #r;
321
+ #i;
322
+ #o=o.randomUUID();
323
+ #n=false;
324
+ async #a() {
325
+ const e = n.GetConfigurableRecordsFromInstance(this);
326
+ const t = [];
327
+ a.GetObjectConfigurableProperties(this).forEach(((s, r) => {
328
+ if (d.IsSymbol(r)) return;
329
+ t.push(new Promise(((t, i) => {
330
+ d.DTO.validateAsync(e[u.As(r)], s.schema, {
331
+ targetName: r
332
+ }).then((e => Promise.resolve(s.fn.bind(this)(e)).then((e => {
333
+ this[r] = e;
334
+ return t();
335
+ })).catch(i))).catch(i);
336
+ })));
337
+ }));
338
+ await Promise.all(t);
339
+ }
340
+ async #c() {
341
+ const e = c.GetObjectInjectItemsByPrototype(this);
342
+ const t = [];
343
+ e.forEach(((e, s) => {
344
+ const r = e.name;
345
+ t.push(new Promise(((t, i) => {
346
+ this.#r.get(r).then((r => {
347
+ Promise.resolve(e.transform(r)).then((e => {
348
+ Reflect.set(this, s, e);
349
+ return t();
350
+ })).catch(i);
351
+ })).catch((e => i(new y.DependencyInjectionException("Unable to inject value for property {0} of {1} because: {2}", [ s, this.className, e.message ]))));
352
+ })));
353
+ }));
354
+ await Promise.all(t);
355
+ }
356
+ #l() {
357
+ const e = n.GetIdFromInstance(this);
358
+ this.#i = e ? e : G;
359
+ }
360
+ constructor(e) {
361
+ super((async () => {
362
+ this.#l();
363
+ const e = Object.getOwnPropertyDescriptor(this, "then");
364
+ if (e) Object.defineProperty(this, "then", {
365
+ enumerable: false
366
+ });
367
+ await this[L]();
368
+ }));
369
+ this.#r = new Container(e[A], this);
370
+ l.SetObjectContainerGetter(this, this.#r);
371
+ }
372
+ static get className() {
373
+ return this.name;
374
+ }
375
+ get className() {
376
+ return h.ObjectConstructor(this).name;
377
+ }
378
+ async [L](...e) {
379
+ this.#r.registerContainerToItsParent();
380
+ if (!this.#n) {
381
+ await this.#c();
382
+ await this.#a();
383
+ this.#n = true;
384
+ }
385
+ for (const t of e) await t();
386
+ await this.init();
387
+ }
388
+ async [B](...e) {
389
+ await this.#r.destroy();
390
+ for (const t of e) await t();
391
+ await this.destroy();
392
+ }
393
+ async init() {}
394
+ async destroy() {}
395
+ async getObject(e, t = {}) {
396
+ return await this.#r.get(e, t);
397
+ }
398
+ async buildObject(e, t = {}) {
399
+ return this.#r.build(e, t);
400
+ }
401
+ getParent() {
402
+ return this.#r.parent?.owner();
403
+ }
404
+ getModule() {
405
+ let e = this.getParent();
406
+ while (e && E(u.As(h.ObjectConstructor(e))) !== exports.ObjectType.Module) {
407
+ e = this.getParent();
408
+ }
409
+ return u.As(e);
410
+ }
411
+ get $uuid() {
412
+ return this.#o;
413
+ }
414
+ get $id() {
415
+ return this.#i;
416
+ }
417
+ get $symbol() {
418
+ if (Reflect.hasOwnMetadata(k, this)) return Reflect.getOwnMetadata(k, this);
419
+ Reflect.defineMetadata(k, Symbol(this.$uuid), this);
420
+ return this.$symbol;
421
+ }
422
+ setProperty(e, t) {
423
+ this[e] = t;
424
+ }
425
+ getProperty(e, t) {
426
+ if (this.hasProperty(e)) return u.As(this[e]);
427
+ return u.As(t);
428
+ }
429
+ hasProperty(e) {
430
+ return typeof e === "string" ? this.propertyNames().includes(e) : this.propertySymbols().includes(e);
431
+ }
432
+ propertySymbols() {
433
+ return Object.getOwnPropertySymbols(this);
434
+ }
435
+ propertyNames() {
436
+ return Object.getOwnPropertyNames(this);
437
+ }
438
+ hasMethod(e) {
439
+ const t = this.hasProperty(e);
440
+ if (t) return false;
441
+ return typeof this[e] === "function";
442
+ }
443
+ getMethod(e, t = false) {
444
+ if (this.hasMethod(e)) {
445
+ return (...t) => this[e](...t);
446
+ } else if (t) {
447
+ throw new r.MethodNotFoundException('Method "{methodName}" not found in "{className}"', {
448
+ methodName: e,
449
+ className: this.constructor.name
450
+ });
451
+ } else {
452
+ return (...e) => p.DevNull(...e);
453
+ }
454
+ }
455
+ async dispose() {
456
+ await this.destroy();
457
+ }
458
+ };
459
+
460
+ exports.BaseObject = M = e.__decorate([ s.Transient(), D(exports.ObjectType.Object), e.__metadata("design:paramtypes", [ Object ]) ], exports.BaseObject);
461
+
462
+ exports.Container = Container;
463
+
464
+ exports.DefineObjectType = D;
465
+
466
+ exports.GetObjectType = E;
467
+
468
+ exports.OBJECT_ID = I;
469
+
470
+ exports.SetObjectType = v;
471
+
472
+ exports.__destroy = B;
473
+
474
+ exports.__init = L;
475
+
476
+ exports.anonymousId = G;
477
+
478
+ exports.containerSymbol = A;
479
+
480
+ exports.ownerSymbol = N;