lakutata 2.0.95 → 2.0.97

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 (1181) hide show
  1. package/com/cacher.cjs +30 -122
  2. package/com/cacher.mjs +22 -114
  3. package/com/database.cjs +24 -166
  4. package/com/database.mjs +24 -166
  5. package/com/docker.cjs +94 -276
  6. package/com/docker.mjs +39 -221
  7. package/com/entrypoint.cjs +33 -119
  8. package/com/entrypoint.mjs +20 -106
  9. package/com/logger.cjs +19 -123
  10. package/com/logger.mjs +19 -123
  11. package/com/monitor.cjs +24 -88
  12. package/com/monitor.mjs +20 -84
  13. package/decorator/asst.cjs +5 -7
  14. package/decorator/asst.mjs +5 -7
  15. package/decorator/ctrl.cjs +22 -58
  16. package/decorator/ctrl.mjs +10 -46
  17. package/decorator/di.cjs +12 -42
  18. package/decorator/di.mjs +8 -38
  19. package/decorator/dto.cjs +13 -43
  20. package/decorator/dto.mjs +9 -39
  21. package/decorator/orm.cjs +116 -112
  22. package/decorator/orm.mjs +70 -66
  23. package/dtos.cjs +8 -38
  24. package/dtos.mjs +8 -38
  25. package/helper.cjs +73 -127
  26. package/helper.mjs +12 -66
  27. package/lakutata.cjs +116 -328
  28. package/lakutata.mjs +60 -272
  29. package/orm.cjs +854 -173
  30. package/orm.mjs +866 -65
  31. package/package.json +1 -1
  32. package/provider/database.cjs +26 -166
  33. package/provider/database.mjs +26 -166
  34. package/provider/passwordHash.cjs +18 -82
  35. package/provider/passwordHash.mjs +18 -82
  36. package/src/components/Database.cjs +36 -178
  37. package/src/components/Database.mjs +68 -210
  38. package/src/components/Logger.cjs +50 -191
  39. package/src/components/Logger.mjs +46 -194
  40. package/src/components/cacher/Cacher.cjs +513 -164
  41. package/src/components/cacher/Cacher.mjs +503 -160
  42. package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +554 -28
  43. package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +538 -28
  44. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +17 -47
  45. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +17 -47
  46. package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +21 -51
  47. package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +22 -52
  48. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +6 -30
  49. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +18 -42
  50. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +20 -50
  51. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +23 -53
  52. package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +6 -30
  53. package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +27 -51
  54. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +11 -41
  55. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +18 -48
  56. package/src/components/cacher/exceptions/CacheDriverNotFoundException.cjs +4 -6
  57. package/src/components/cacher/exceptions/CacheDriverNotFoundException.mjs +4 -6
  58. package/src/components/cacher/interfaces/CacherOptions.cjs +1 -1
  59. package/src/components/cacher/interfaces/CacherOptions.mjs +1 -1
  60. package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +4 -6
  61. package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +4 -6
  62. package/src/components/cacher/options/FileCacheOptions.cjs +15 -45
  63. package/src/components/cacher/options/FileCacheOptions.mjs +15 -45
  64. package/src/components/cacher/options/MemcacheCacheOptions.cjs +16 -46
  65. package/src/components/cacher/options/MemcacheCacheOptions.mjs +17 -47
  66. package/src/components/cacher/options/MongoCacheOptions.cjs +9 -39
  67. package/src/components/cacher/options/MongoCacheOptions.mjs +18 -48
  68. package/src/components/cacher/options/MysqlCacheOptions.cjs +9 -39
  69. package/src/components/cacher/options/MysqlCacheOptions.mjs +19 -49
  70. package/src/components/cacher/options/PostgresCacheOptions.cjs +21 -51
  71. package/src/components/cacher/options/PostgresCacheOptions.mjs +20 -50
  72. package/src/components/cacher/options/RedisCacheOptions.cjs +26 -56
  73. package/src/components/cacher/options/RedisCacheOptions.mjs +9 -39
  74. package/src/components/cacher/options/SqliteCacheOptions.cjs +15 -45
  75. package/src/components/cacher/options/SqliteCacheOptions.mjs +14 -44
  76. package/src/components/cacher/types/CacheStoreOptions.cjs +1 -1
  77. package/src/components/cacher/types/CacheStoreOptions.mjs +1 -1
  78. package/src/components/docker/ConnectionOptionsBuilder.cjs +32 -214
  79. package/src/components/docker/ConnectionOptionsBuilder.mjs +37 -219
  80. package/src/components/docker/Docker.cjs +8727 -408
  81. package/src/components/docker/Docker.mjs +8903 -578
  82. package/src/components/docker/exceptions/DockerConnectionException.cjs +4 -6
  83. package/src/components/docker/exceptions/DockerConnectionException.mjs +4 -6
  84. package/src/components/docker/exceptions/DockerImageBuildException.cjs +4 -6
  85. package/src/components/docker/exceptions/DockerImageBuildException.mjs +4 -6
  86. package/src/components/docker/exceptions/DockerImageImportException.cjs +4 -6
  87. package/src/components/docker/exceptions/DockerImageImportException.mjs +4 -6
  88. package/src/components/docker/exceptions/DockerImageNotFoundException.cjs +4 -6
  89. package/src/components/docker/exceptions/DockerImageNotFoundException.mjs +4 -6
  90. package/src/components/docker/exceptions/DockerImagePullException.cjs +4 -6
  91. package/src/components/docker/exceptions/DockerImagePullException.mjs +4 -6
  92. package/src/components/docker/exceptions/DockerImagePushException.cjs +4 -6
  93. package/src/components/docker/exceptions/DockerImagePushException.mjs +4 -6
  94. package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.cjs +4 -6
  95. package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.mjs +4 -6
  96. package/src/components/docker/exceptions/DockerNetworkNotFoundException.cjs +4 -6
  97. package/src/components/docker/exceptions/DockerNetworkNotFoundException.mjs +4 -6
  98. package/src/components/docker/interfaces/IDockerConnectionOptions.cjs +1 -1
  99. package/src/components/docker/interfaces/IDockerConnectionOptions.mjs +1 -1
  100. package/src/components/docker/interfaces/IDockerHttpConnectionOptions.cjs +1 -1
  101. package/src/components/docker/interfaces/IDockerHttpConnectionOptions.mjs +1 -1
  102. package/src/components/docker/interfaces/IDockerHttpsConnectionOptions.cjs +1 -1
  103. package/src/components/docker/interfaces/IDockerHttpsConnectionOptions.mjs +1 -1
  104. package/src/components/docker/interfaces/IDockerKeyObject.cjs +1 -1
  105. package/src/components/docker/interfaces/IDockerKeyObject.mjs +1 -1
  106. package/src/components/docker/interfaces/IDockerSSHConnectionOptions.cjs +1 -1
  107. package/src/components/docker/interfaces/IDockerSSHConnectionOptions.mjs +1 -1
  108. package/src/components/docker/interfaces/IDockerSocketConnectionOptions.cjs +1 -1
  109. package/src/components/docker/interfaces/IDockerSocketConnectionOptions.mjs +1 -1
  110. package/src/components/docker/lib/DockerContainer.cjs +174 -330
  111. package/src/components/docker/lib/DockerContainer.mjs +184 -340
  112. package/src/components/docker/lib/DockerContainerTTY.cjs +52 -260
  113. package/src/components/docker/lib/DockerContainerTTY.mjs +48 -263
  114. package/src/components/docker/lib/DockerImage.cjs +69 -131
  115. package/src/components/docker/lib/DockerImage.mjs +54 -116
  116. package/src/components/docker/lib/ParseEnvToRecord.cjs +1 -1
  117. package/src/components/docker/lib/ParseEnvToRecord.mjs +1 -1
  118. package/src/components/docker/lib/ParseRepositoryTag.cjs +1 -1
  119. package/src/components/docker/lib/ParseRepositoryTag.mjs +1 -1
  120. package/src/components/docker/options/DockerPruneOptions.cjs +14 -44
  121. package/src/components/docker/options/DockerPruneOptions.mjs +15 -45
  122. package/src/components/docker/options/auth/DockerAuthOptions.cjs +9 -39
  123. package/src/components/docker/options/auth/DockerAuthOptions.mjs +15 -45
  124. package/src/components/docker/options/container/ContainerCommitOptions.cjs +12 -42
  125. package/src/components/docker/options/container/ContainerCommitOptions.mjs +12 -42
  126. package/src/components/docker/options/container/ContainerCreateTTYOptions.cjs +13 -43
  127. package/src/components/docker/options/container/ContainerCreateTTYOptions.mjs +12 -42
  128. package/src/components/docker/options/container/ContainerExecOptions.cjs +9 -39
  129. package/src/components/docker/options/container/ContainerExecOptions.mjs +11 -41
  130. package/src/components/docker/options/container/ContainerExportDirectoryOptions.cjs +13 -43
  131. package/src/components/docker/options/container/ContainerExportDirectoryOptions.mjs +12 -42
  132. package/src/components/docker/options/container/ContainerKillOptions.cjs +9 -39
  133. package/src/components/docker/options/container/ContainerKillOptions.mjs +12 -42
  134. package/src/components/docker/options/container/ContainerLogsOptions.cjs +15 -45
  135. package/src/components/docker/options/container/ContainerLogsOptions.mjs +15 -45
  136. package/src/components/docker/options/container/ContainerRemoveOptions.cjs +9 -39
  137. package/src/components/docker/options/container/ContainerRemoveOptions.mjs +12 -42
  138. package/src/components/docker/options/container/ContainerSettingOptions.cjs +9 -39
  139. package/src/components/docker/options/container/ContainerSettingOptions.mjs +43 -73
  140. package/src/components/docker/options/container/ContainerStopOptions.cjs +12 -42
  141. package/src/components/docker/options/container/ContainerStopOptions.mjs +9 -39
  142. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.cjs +9 -39
  143. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.mjs +12 -42
  144. package/src/components/docker/options/image/ImageBuildOptions.cjs +26 -56
  145. package/src/components/docker/options/image/ImageBuildOptions.mjs +25 -55
  146. package/src/components/docker/options/image/ImageExportOptions.cjs +14 -44
  147. package/src/components/docker/options/image/ImageExportOptions.mjs +14 -44
  148. package/src/components/docker/options/image/ImageImportOptions.cjs +13 -43
  149. package/src/components/docker/options/image/ImageImportOptions.mjs +12 -42
  150. package/src/components/docker/options/image/ImagePullOptions.cjs +9 -39
  151. package/src/components/docker/options/image/ImagePullOptions.mjs +16 -46
  152. package/src/components/docker/options/image/ImagePushOptions.cjs +15 -45
  153. package/src/components/docker/options/image/ImagePushOptions.mjs +15 -45
  154. package/src/components/docker/options/image/ImageRemoveOptions.cjs +12 -42
  155. package/src/components/docker/options/image/ImageRemoveOptions.mjs +13 -43
  156. package/src/components/docker/options/image/ImageTagOptions.cjs +9 -39
  157. package/src/components/docker/options/image/ImageTagOptions.mjs +12 -42
  158. package/src/components/docker/options/network/NetworkCreateOptions.cjs +9 -39
  159. package/src/components/docker/options/network/NetworkCreateOptions.mjs +20 -50
  160. package/src/components/docker/types/ContainerBind.cjs +1 -1
  161. package/src/components/docker/types/ContainerBind.mjs +1 -1
  162. package/src/components/docker/types/ContainerCapability.cjs +1 -1
  163. package/src/components/docker/types/ContainerCapability.mjs +1 -1
  164. package/src/components/docker/types/ContainerConfig.cjs +1 -1
  165. package/src/components/docker/types/ContainerConfig.mjs +1 -1
  166. package/src/components/docker/types/ContainerDevice.cjs +1 -1
  167. package/src/components/docker/types/ContainerDevice.mjs +1 -1
  168. package/src/components/docker/types/ContainerNetwork.cjs +1 -1
  169. package/src/components/docker/types/ContainerNetwork.mjs +1 -1
  170. package/src/components/docker/types/ContainerPort.cjs +1 -1
  171. package/src/components/docker/types/ContainerPort.mjs +1 -1
  172. package/src/components/docker/types/ContainerRestartPolicy.cjs +1 -1
  173. package/src/components/docker/types/ContainerRestartPolicy.mjs +1 -1
  174. package/src/components/docker/types/ContainerState.cjs +1 -1
  175. package/src/components/docker/types/ContainerState.mjs +1 -1
  176. package/src/components/docker/types/ContainerStats.cjs +1 -1
  177. package/src/components/docker/types/ContainerStats.mjs +1 -1
  178. package/src/components/docker/types/DockerOutputCallback.cjs +1 -1
  179. package/src/components/docker/types/DockerOutputCallback.mjs +1 -1
  180. package/src/components/docker/types/ImageConfig.cjs +1 -1
  181. package/src/components/docker/types/ImageConfig.mjs +1 -1
  182. package/src/components/docker/types/ImageExposePort.cjs +1 -1
  183. package/src/components/docker/types/ImageExposePort.mjs +1 -1
  184. package/src/components/docker/types/NetworkInfo.cjs +1 -1
  185. package/src/components/docker/types/NetworkInfo.mjs +1 -1
  186. package/src/components/entrypoint/Entrypoint.cjs +1961 -322
  187. package/src/components/entrypoint/Entrypoint.mjs +1928 -281
  188. package/src/components/entrypoint/exceptions/AccessDenyException.cjs +4 -6
  189. package/src/components/entrypoint/exceptions/AccessDenyException.mjs +4 -6
  190. package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs +4 -6
  191. package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.mjs +4 -6
  192. package/src/components/entrypoint/exceptions/DuplicateActionNameException.cjs +4 -6
  193. package/src/components/entrypoint/exceptions/DuplicateActionNameException.mjs +4 -6
  194. package/src/components/entrypoint/exceptions/InvalidActionGroupException.cjs +4 -6
  195. package/src/components/entrypoint/exceptions/InvalidActionGroupException.mjs +4 -6
  196. package/src/components/entrypoint/lib/AccessControl.cjs +71 -133
  197. package/src/components/entrypoint/lib/AccessControl.mjs +75 -137
  198. package/src/components/entrypoint/lib/AccessControlRule.cjs +19 -81
  199. package/src/components/entrypoint/lib/AccessControlRule.mjs +23 -85
  200. package/src/components/entrypoint/lib/Controller.cjs +42 -104
  201. package/src/components/entrypoint/lib/Controller.mjs +43 -105
  202. package/src/components/monitor/AliveMonitor.cjs +40 -104
  203. package/src/components/monitor/AliveMonitor.mjs +50 -114
  204. package/src/components/monitor/CpuMonitor.cjs +40 -104
  205. package/src/components/monitor/CpuMonitor.mjs +48 -112
  206. package/src/components/monitor/EventLoopMonitor.cjs +19 -83
  207. package/src/components/monitor/EventLoopMonitor.mjs +24 -88
  208. package/src/components/monitor/HttpRequestMonitor.cjs +41 -105
  209. package/src/components/monitor/HttpRequestMonitor.mjs +45 -109
  210. package/src/components/monitor/MemoryMonitor.cjs +87 -151
  211. package/src/components/monitor/MemoryMonitor.mjs +71 -135
  212. package/src/components/monitor/interfaces/ICpuMonitorStatistics.cjs +1 -1
  213. package/src/components/monitor/interfaces/ICpuMonitorStatistics.mjs +1 -1
  214. package/src/components/monitor/interfaces/IEventLoopMonitorStatistics.cjs +1 -1
  215. package/src/components/monitor/interfaces/IEventLoopMonitorStatistics.mjs +1 -1
  216. package/src/components/monitor/interfaces/IHttpRequestMonitorStatistics.cjs +1 -1
  217. package/src/components/monitor/interfaces/IHttpRequestMonitorStatistics.mjs +1 -1
  218. package/src/components/monitor/interfaces/IMemoryMonitorStatistics.cjs +1 -1
  219. package/src/components/monitor/interfaces/IMemoryMonitorStatistics.mjs +1 -1
  220. package/src/components/monitor/interfaces/IMonitor.cjs +1 -1
  221. package/src/components/monitor/interfaces/IMonitor.mjs +1 -1
  222. package/src/constants/DIMetadataKey.cjs +3 -3
  223. package/src/constants/DIMetadataKey.mjs +3 -3
  224. package/src/constants/DTOMetadataKey.cjs +3 -3
  225. package/src/constants/DTOMetadataKey.mjs +3 -3
  226. package/src/decorators/asst/After.cjs +4 -6
  227. package/src/decorators/asst/After.mjs +5 -7
  228. package/src/decorators/asst/Before.cjs +4 -6
  229. package/src/decorators/asst/Before.mjs +5 -7
  230. package/src/decorators/ctrl/CLIAction.cjs +15 -51
  231. package/src/decorators/ctrl/CLIAction.mjs +19 -55
  232. package/src/decorators/ctrl/HTTPAction.cjs +15 -51
  233. package/src/decorators/ctrl/HTTPAction.mjs +19 -55
  234. package/src/decorators/ctrl/ServiceAction.cjs +15 -51
  235. package/src/decorators/ctrl/ServiceAction.mjs +18 -54
  236. package/src/decorators/ctrl/http/DELETE.cjs +12 -48
  237. package/src/decorators/ctrl/http/DELETE.mjs +14 -50
  238. package/src/decorators/ctrl/http/GET.cjs +12 -48
  239. package/src/decorators/ctrl/http/GET.mjs +14 -50
  240. package/src/decorators/ctrl/http/HEAD.cjs +12 -48
  241. package/src/decorators/ctrl/http/HEAD.mjs +14 -50
  242. package/src/decorators/ctrl/http/OPTIONS.cjs +12 -48
  243. package/src/decorators/ctrl/http/OPTIONS.mjs +14 -50
  244. package/src/decorators/ctrl/http/PATCH.cjs +12 -48
  245. package/src/decorators/ctrl/http/PATCH.mjs +14 -50
  246. package/src/decorators/ctrl/http/POST.cjs +12 -48
  247. package/src/decorators/ctrl/http/POST.mjs +14 -50
  248. package/src/decorators/ctrl/http/PUT.cjs +12 -48
  249. package/src/decorators/ctrl/http/PUT.mjs +14 -50
  250. package/src/decorators/di/Autoload.cjs +3 -3
  251. package/src/decorators/di/Autoload.mjs +3 -3
  252. package/src/decorators/di/Configurable.cjs +10 -40
  253. package/src/decorators/di/Configurable.mjs +12 -42
  254. package/src/decorators/di/Inject.cjs +20 -50
  255. package/src/decorators/di/Inject.mjs +25 -55
  256. package/src/decorators/di/Lifetime.cjs +5 -7
  257. package/src/decorators/di/Lifetime.mjs +15 -17
  258. package/src/decorators/dto/Accept.cjs +10 -40
  259. package/src/decorators/dto/Accept.mjs +13 -43
  260. package/src/decorators/dto/Expect.cjs +11 -41
  261. package/src/decorators/dto/Expect.mjs +13 -43
  262. package/src/decorators/dto/IndexSignature.cjs +10 -40
  263. package/src/decorators/dto/IndexSignature.mjs +13 -43
  264. package/src/decorators/dto/Return.cjs +10 -40
  265. package/src/decorators/dto/Return.mjs +13 -43
  266. package/src/decorators/orm/AfterInsert.cjs +17 -95
  267. package/src/decorators/orm/AfterInsert.mjs +17 -95
  268. package/src/decorators/orm/AfterLoad.cjs +17 -95
  269. package/src/decorators/orm/AfterLoad.mjs +17 -95
  270. package/src/decorators/orm/AfterRecover.cjs +17 -95
  271. package/src/decorators/orm/AfterRecover.mjs +17 -95
  272. package/src/decorators/orm/AfterRemove.cjs +17 -95
  273. package/src/decorators/orm/AfterRemove.mjs +17 -95
  274. package/src/decorators/orm/AfterSoftRemove.cjs +17 -95
  275. package/src/decorators/orm/AfterSoftRemove.mjs +17 -95
  276. package/src/decorators/orm/AfterUpdate.cjs +17 -95
  277. package/src/decorators/orm/AfterUpdate.mjs +17 -95
  278. package/src/decorators/orm/BeforeInsert.cjs +17 -95
  279. package/src/decorators/orm/BeforeInsert.mjs +17 -95
  280. package/src/decorators/orm/BeforeRecover.cjs +17 -95
  281. package/src/decorators/orm/BeforeRecover.mjs +17 -95
  282. package/src/decorators/orm/BeforeRemove.cjs +17 -95
  283. package/src/decorators/orm/BeforeRemove.mjs +17 -95
  284. package/src/decorators/orm/BeforeSoftRemove.cjs +17 -95
  285. package/src/decorators/orm/BeforeSoftRemove.mjs +17 -95
  286. package/src/decorators/orm/BeforeUpdate.cjs +17 -95
  287. package/src/decorators/orm/BeforeUpdate.mjs +17 -95
  288. package/src/decorators/orm/Check.cjs +17 -95
  289. package/src/decorators/orm/Check.mjs +17 -95
  290. package/src/decorators/orm/ChildEntity.cjs +17 -95
  291. package/src/decorators/orm/ChildEntity.mjs +17 -95
  292. package/src/decorators/orm/Column.cjs +17 -95
  293. package/src/decorators/orm/Column.mjs +17 -95
  294. package/src/decorators/orm/CreateDateColumn.cjs +17 -95
  295. package/src/decorators/orm/CreateDateColumn.mjs +17 -95
  296. package/src/decorators/orm/DeleteDateColumn.cjs +17 -95
  297. package/src/decorators/orm/DeleteDateColumn.mjs +17 -95
  298. package/src/decorators/orm/Entity.cjs +17 -95
  299. package/src/decorators/orm/Entity.mjs +17 -95
  300. package/src/decorators/orm/EventSubscriber.cjs +17 -95
  301. package/src/decorators/orm/EventSubscriber.mjs +17 -95
  302. package/src/decorators/orm/Exclusion.cjs +17 -95
  303. package/src/decorators/orm/Exclusion.mjs +17 -95
  304. package/src/decorators/orm/Generated.cjs +17 -95
  305. package/src/decorators/orm/Generated.mjs +17 -95
  306. package/src/decorators/orm/Index.cjs +17 -95
  307. package/src/decorators/orm/Index.mjs +17 -95
  308. package/src/decorators/orm/JoinColumn.cjs +17 -95
  309. package/src/decorators/orm/JoinColumn.mjs +17 -95
  310. package/src/decorators/orm/JoinTable.cjs +17 -95
  311. package/src/decorators/orm/JoinTable.mjs +17 -95
  312. package/src/decorators/orm/ManyToMany.cjs +17 -95
  313. package/src/decorators/orm/ManyToMany.mjs +17 -95
  314. package/src/decorators/orm/ManyToOne.cjs +17 -95
  315. package/src/decorators/orm/ManyToOne.mjs +17 -95
  316. package/src/decorators/orm/ObjectIdColumn.cjs +17 -95
  317. package/src/decorators/orm/ObjectIdColumn.mjs +17 -95
  318. package/src/decorators/orm/OneToMany.cjs +17 -95
  319. package/src/decorators/orm/OneToMany.mjs +17 -95
  320. package/src/decorators/orm/OneToOne.cjs +17 -95
  321. package/src/decorators/orm/OneToOne.mjs +17 -95
  322. package/src/decorators/orm/PrimaryColumn.cjs +17 -95
  323. package/src/decorators/orm/PrimaryColumn.mjs +17 -95
  324. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +17 -95
  325. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +17 -95
  326. package/src/decorators/orm/RelationId.cjs +17 -95
  327. package/src/decorators/orm/RelationId.mjs +17 -95
  328. package/src/decorators/orm/TableInheritance.cjs +17 -95
  329. package/src/decorators/orm/TableInheritance.mjs +17 -95
  330. package/src/decorators/orm/Tree.cjs +17 -95
  331. package/src/decorators/orm/Tree.mjs +17 -95
  332. package/src/decorators/orm/TreeChildren.cjs +17 -95
  333. package/src/decorators/orm/TreeChildren.mjs +17 -95
  334. package/src/decorators/orm/TreeLevelColumn.cjs +17 -95
  335. package/src/decorators/orm/TreeLevelColumn.mjs +17 -95
  336. package/src/decorators/orm/TreeParent.cjs +17 -95
  337. package/src/decorators/orm/TreeParent.mjs +17 -95
  338. package/src/decorators/orm/Unique.cjs +17 -95
  339. package/src/decorators/orm/Unique.mjs +17 -95
  340. package/src/decorators/orm/UpdateDateColumn.cjs +17 -95
  341. package/src/decorators/orm/UpdateDateColumn.mjs +17 -95
  342. package/src/decorators/orm/VersionColumn.cjs +17 -95
  343. package/src/decorators/orm/VersionColumn.mjs +17 -95
  344. package/src/decorators/orm/ViewColumn.cjs +17 -95
  345. package/src/decorators/orm/ViewColumn.mjs +17 -95
  346. package/src/decorators/orm/ViewEntity.cjs +17 -95
  347. package/src/decorators/orm/ViewEntity.mjs +17 -95
  348. package/src/decorators/orm/VirtualColumn.cjs +17 -95
  349. package/src/decorators/orm/VirtualColumn.mjs +17 -95
  350. package/src/dto/PaginationResultDTO.cjs +9 -39
  351. package/src/dto/PaginationResultDTO.mjs +18 -48
  352. package/src/dto/PaginationSearchDTO.cjs +9 -39
  353. package/src/dto/PaginationSearchDTO.mjs +13 -43
  354. package/src/exceptions/DestroyRuntimeContainerException.cjs +4 -6
  355. package/src/exceptions/DestroyRuntimeContainerException.mjs +4 -6
  356. package/src/exceptions/InvalidActionPatternDepthException.cjs +4 -6
  357. package/src/exceptions/InvalidActionPatternDepthException.mjs +4 -6
  358. package/src/exceptions/InvalidAssistantFunctionTypeException.cjs +4 -6
  359. package/src/exceptions/InvalidAssistantFunctionTypeException.mjs +4 -6
  360. package/src/exceptions/InvalidObjectTypeException.cjs +4 -6
  361. package/src/exceptions/InvalidObjectTypeException.mjs +4 -6
  362. package/src/exceptions/MethodNotFoundException.cjs +4 -6
  363. package/src/exceptions/MethodNotFoundException.mjs +4 -6
  364. package/src/exceptions/alias/AliasExistsException.cjs +4 -6
  365. package/src/exceptions/alias/AliasExistsException.mjs +6 -8
  366. package/src/exceptions/alias/AliasNotFoundException.cjs +4 -6
  367. package/src/exceptions/alias/AliasNotFoundException.mjs +4 -6
  368. package/src/exceptions/alias/InvalidAliasNameException.cjs +4 -6
  369. package/src/exceptions/alias/InvalidAliasNameException.mjs +4 -6
  370. package/src/exceptions/di/DependencyInjectionException.cjs +4 -6
  371. package/src/exceptions/di/DependencyInjectionException.mjs +4 -6
  372. package/src/exceptions/di/LifetimeLockedException.cjs +4 -6
  373. package/src/exceptions/di/LifetimeLockedException.mjs +4 -6
  374. package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.cjs +4 -6
  375. package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.mjs +4 -6
  376. package/src/exceptions/dto/InvalidMethodAcceptException.cjs +4 -6
  377. package/src/exceptions/dto/InvalidMethodAcceptException.mjs +4 -6
  378. package/src/exceptions/dto/InvalidMethodReturnException.cjs +4 -6
  379. package/src/exceptions/dto/InvalidMethodReturnException.mjs +4 -6
  380. package/src/exceptions/dto/InvalidValueException.cjs +4 -6
  381. package/src/exceptions/dto/InvalidValueException.mjs +4 -6
  382. package/src/interfaces/IBaseObjectConstructor.cjs +1 -1
  383. package/src/interfaces/IBaseObjectConstructor.mjs +1 -1
  384. package/src/interfaces/IConstructor.cjs +1 -1
  385. package/src/interfaces/IConstructor.mjs +1 -1
  386. package/src/interfaces/IPatRun.cjs +1 -1
  387. package/src/interfaces/IPatRun.mjs +1 -1
  388. package/src/lib/base/BaseObject.cjs +51 -259
  389. package/src/lib/base/BaseObject.mjs +41 -256
  390. package/src/lib/base/Context.cjs +11 -41
  391. package/src/lib/base/Context.mjs +23 -53
  392. package/src/lib/base/EventEmitter.cjs +1398 -47
  393. package/src/lib/base/EventEmitter.mjs +1397 -46
  394. package/src/lib/base/abstracts/Exception.cjs +12 -14
  395. package/src/lib/base/abstracts/Exception.mjs +4 -6
  396. package/src/lib/base/async-constructor/Append.cjs +1 -1
  397. package/src/lib/base/async-constructor/Append.mjs +1 -1
  398. package/src/lib/base/async-constructor/AsyncConstructor.cjs +1 -1
  399. package/src/lib/base/async-constructor/AsyncConstructor.mjs +1 -1
  400. package/src/lib/base/internal/ActionOptions.cjs +9 -39
  401. package/src/lib/base/internal/ActionOptions.mjs +9 -39
  402. package/src/lib/base/internal/ApplicationConfigLoader.cjs +54 -116
  403. package/src/lib/base/internal/ApplicationConfigLoader.mjs +54 -116
  404. package/src/lib/base/internal/BasicInfo.cjs +13 -15
  405. package/src/lib/base/internal/BasicInfo.mjs +15 -17
  406. package/src/lib/base/internal/CamelCase.cjs +1 -1
  407. package/src/lib/base/internal/CamelCase.mjs +1 -1
  408. package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +3 -3
  409. package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +3 -3
  410. package/src/lib/base/internal/ConstructorSymbol.cjs +3 -3
  411. package/src/lib/base/internal/ConstructorSymbol.mjs +3 -3
  412. package/src/lib/base/internal/ControllerEntrypoint.cjs +16 -24
  413. package/src/lib/base/internal/ControllerEntrypoint.mjs +39 -47
  414. package/src/lib/base/internal/DataValidator.cjs +203 -27
  415. package/src/lib/base/internal/DataValidator.mjs +203 -27
  416. package/src/lib/base/internal/DatabaseSymbol.cjs +1 -1
  417. package/src/lib/base/internal/DatabaseSymbol.mjs +1 -1
  418. package/src/lib/base/internal/FlexibleDTO.cjs +11 -41
  419. package/src/lib/base/internal/FlexibleDTO.mjs +13 -43
  420. package/src/lib/base/internal/GetActionDTOAndOptions.cjs +21 -51
  421. package/src/lib/base/internal/GetActionDTOAndOptions.mjs +23 -53
  422. package/src/lib/base/internal/IEEE754.cjs +1 -1
  423. package/src/lib/base/internal/IEEE754.mjs +1 -1
  424. package/src/lib/base/internal/MethodAssistantFunction.cjs +15 -17
  425. package/src/lib/base/internal/MethodAssistantFunction.mjs +8 -10
  426. package/src/lib/base/internal/MethodValidation.cjs +55 -85
  427. package/src/lib/base/internal/MethodValidation.mjs +42 -72
  428. package/src/lib/base/internal/ModuleConfigLoader.cjs +81 -143
  429. package/src/lib/base/internal/ModuleConfigLoader.mjs +76 -138
  430. package/src/lib/base/internal/ObjectConfiguration.cjs +26 -56
  431. package/src/lib/base/internal/ObjectConfiguration.mjs +25 -55
  432. package/src/lib/base/internal/ObjectContainer.cjs +3 -3
  433. package/src/lib/base/internal/ObjectContainer.mjs +3 -3
  434. package/src/lib/base/internal/ObjectInjection.cjs +3 -3
  435. package/src/lib/base/internal/ObjectInjection.mjs +3 -3
  436. package/src/lib/base/internal/ObjectLifetime.cjs +5 -7
  437. package/src/lib/base/internal/ObjectLifetime.mjs +12 -14
  438. package/src/lib/base/internal/ObjectSchemaValidation.cjs +23 -121
  439. package/src/lib/base/internal/ObjectSchemaValidation.mjs +14 -114
  440. package/src/lib/base/internal/ObjectType.cjs +27 -119
  441. package/src/lib/base/internal/ObjectType.mjs +20 -119
  442. package/src/lib/base/internal/ObjectWeakRefs.cjs +1 -1
  443. package/src/lib/base/internal/ObjectWeakRefs.mjs +1 -1
  444. package/src/lib/base/internal/PatternManager.cjs +831 -7
  445. package/src/lib/base/internal/PatternManager.mjs +835 -11
  446. package/src/lib/base/internal/StringifyPattern.cjs +5 -9
  447. package/src/lib/base/internal/StringifyPattern.mjs +5 -9
  448. package/src/lib/base/internal/ThrowWarning.cjs +1 -1
  449. package/src/lib/base/internal/ThrowWarning.mjs +1 -1
  450. package/src/lib/context/CLIContext.cjs +12 -42
  451. package/src/lib/context/CLIContext.mjs +15 -45
  452. package/src/lib/context/HTTPContext.cjs +15 -45
  453. package/src/lib/context/HTTPContext.mjs +14 -44
  454. package/src/lib/context/ServiceContext.cjs +12 -42
  455. package/src/lib/context/ServiceContext.mjs +18 -48
  456. package/src/lib/core/Alias.cjs +46 -48
  457. package/src/lib/core/Alias.mjs +24 -26
  458. package/src/lib/core/Application.cjs +486 -351
  459. package/src/lib/core/Application.mjs +531 -400
  460. package/src/lib/core/Component.cjs +24 -88
  461. package/src/lib/core/Component.mjs +28 -92
  462. package/src/lib/core/Container.cjs +50 -326
  463. package/src/lib/core/Container.mjs +45 -323
  464. package/src/lib/core/DTO.cjs +16 -194
  465. package/src/lib/core/DTO.mjs +12 -197
  466. package/src/lib/core/Module.cjs +39 -107
  467. package/src/lib/core/Module.mjs +53 -121
  468. package/src/lib/core/Provider.cjs +19 -81
  469. package/src/lib/core/Provider.mjs +25 -87
  470. package/src/lib/core/Time.cjs +5 -7
  471. package/src/lib/core/Time.mjs +5 -7
  472. package/src/lib/helpers/ArrayToSet.cjs +1 -1
  473. package/src/lib/helpers/ArrayToSet.mjs +1 -1
  474. package/src/lib/helpers/As.cjs +1 -1
  475. package/src/lib/helpers/As.mjs +1 -1
  476. package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +1 -1
  477. package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +1 -1
  478. package/src/lib/helpers/ConvertArrayLikeToStream.cjs +1 -1
  479. package/src/lib/helpers/ConvertArrayLikeToStream.mjs +1 -1
  480. package/src/lib/helpers/Delay.cjs +1 -1
  481. package/src/lib/helpers/Delay.mjs +1 -1
  482. package/src/lib/helpers/DevNull.cjs +1 -1
  483. package/src/lib/helpers/DevNull.mjs +1 -1
  484. package/src/lib/helpers/GetObjectNestingDepth.cjs +1 -1
  485. package/src/lib/helpers/GetObjectNestingDepth.mjs +1 -1
  486. package/src/lib/helpers/GetObjectPropertyPaths.cjs +1 -1
  487. package/src/lib/helpers/GetObjectPropertyPaths.mjs +1 -1
  488. package/src/lib/helpers/Glob.cjs +5502 -17
  489. package/src/lib/helpers/Glob.mjs +5472 -17
  490. package/src/lib/helpers/GraceExit.cjs +1 -1
  491. package/src/lib/helpers/GraceExit.mjs +1 -1
  492. package/src/lib/helpers/HexToIEEE754.cjs +1 -1
  493. package/src/lib/helpers/HexToIEEE754.mjs +1 -1
  494. package/src/lib/helpers/HexToSigned.cjs +1 -1
  495. package/src/lib/helpers/HexToSigned.mjs +1 -1
  496. package/src/lib/helpers/HexToUnsigned.cjs +1 -1
  497. package/src/lib/helpers/HexToUnsigned.mjs +1 -1
  498. package/src/lib/helpers/IEEE754ToHex.cjs +1 -1
  499. package/src/lib/helpers/IEEE754ToHex.mjs +1 -1
  500. package/src/lib/helpers/IPToolkit.cjs +1 -1
  501. package/src/lib/helpers/IPToolkit.mjs +1 -1
  502. package/src/lib/helpers/IsAbortError.cjs +1 -1
  503. package/src/lib/helpers/IsAbortError.mjs +1 -1
  504. package/src/lib/helpers/IsEmptyObject.cjs +1 -1
  505. package/src/lib/helpers/IsEmptyObject.mjs +1 -1
  506. package/src/lib/helpers/IsExists.cjs +1 -1
  507. package/src/lib/helpers/IsExists.mjs +1 -1
  508. package/src/lib/helpers/IsGlobString.cjs +4 -10
  509. package/src/lib/helpers/IsGlobString.mjs +3 -11
  510. package/src/lib/helpers/IsHtml.cjs +5 -5
  511. package/src/lib/helpers/IsHtml.mjs +6 -6
  512. package/src/lib/helpers/IsNativeFunction.cjs +1 -1
  513. package/src/lib/helpers/IsNativeFunction.mjs +1 -1
  514. package/src/lib/helpers/IsPath.cjs +1 -1
  515. package/src/lib/helpers/IsPath.mjs +1 -1
  516. package/src/lib/helpers/IsPromise.cjs +1 -1
  517. package/src/lib/helpers/IsPromise.mjs +1 -1
  518. package/src/lib/helpers/IsPromiseLike.cjs +1 -1
  519. package/src/lib/helpers/IsPromiseLike.mjs +1 -1
  520. package/src/lib/helpers/IsSymbol.cjs +10 -44
  521. package/src/lib/helpers/IsSymbol.mjs +9 -45
  522. package/src/lib/helpers/IsXML.cjs +1711 -6
  523. package/src/lib/helpers/IsXML.mjs +1712 -7
  524. package/src/lib/helpers/MD5.cjs +4 -4
  525. package/src/lib/helpers/MD5.mjs +4 -4
  526. package/src/lib/helpers/MergeArray.cjs +1 -1
  527. package/src/lib/helpers/MergeArray.mjs +1 -1
  528. package/src/lib/helpers/MergeMap.cjs +1 -1
  529. package/src/lib/helpers/MergeMap.mjs +1 -1
  530. package/src/lib/helpers/MergeSet.cjs +1 -1
  531. package/src/lib/helpers/MergeSet.mjs +1 -1
  532. package/src/lib/helpers/NoCase.cjs +1 -1
  533. package/src/lib/helpers/NoCase.mjs +1 -1
  534. package/src/lib/helpers/NonceStr.cjs +2 -6
  535. package/src/lib/helpers/NonceStr.mjs +4 -8
  536. package/src/lib/helpers/ObjectConstructor.cjs +1 -1
  537. package/src/lib/helpers/ObjectConstructor.mjs +1 -1
  538. package/src/lib/helpers/ObjectHash.cjs +405 -7
  539. package/src/lib/helpers/ObjectHash.mjs +399 -7
  540. package/src/lib/helpers/ObjectParentConstructor.cjs +1 -1
  541. package/src/lib/helpers/ObjectParentConstructor.mjs +1 -1
  542. package/src/lib/helpers/ObjectParentConstructors.cjs +1 -1
  543. package/src/lib/helpers/ObjectParentConstructors.mjs +1 -1
  544. package/src/lib/helpers/ObjectPath.cjs +1 -1
  545. package/src/lib/helpers/ObjectPath.mjs +1 -1
  546. package/src/lib/helpers/ObjectPrototype.cjs +1 -1
  547. package/src/lib/helpers/ObjectPrototype.mjs +1 -1
  548. package/src/lib/helpers/ObjectToMap.cjs +1 -1
  549. package/src/lib/helpers/ObjectToMap.mjs +1 -1
  550. package/src/lib/helpers/Paginator.cjs +1 -1
  551. package/src/lib/helpers/Paginator.mjs +1 -1
  552. package/src/lib/helpers/RandomString.cjs +172 -11
  553. package/src/lib/helpers/RandomString.mjs +166 -11
  554. package/src/lib/helpers/SHA1.cjs +4 -4
  555. package/src/lib/helpers/SHA1.mjs +4 -4
  556. package/src/lib/helpers/SHA256.cjs +4 -4
  557. package/src/lib/helpers/SHA256.mjs +4 -4
  558. package/src/lib/helpers/SetToArray.cjs +1 -1
  559. package/src/lib/helpers/SetToArray.mjs +1 -1
  560. package/src/lib/helpers/SignedToHex.cjs +1 -1
  561. package/src/lib/helpers/SignedToHex.mjs +1 -1
  562. package/src/lib/helpers/SortArray.cjs +2 -6
  563. package/src/lib/helpers/SortArray.mjs +7 -11
  564. package/src/lib/helpers/SortKeys.cjs +1 -1
  565. package/src/lib/helpers/SortKeys.mjs +1 -1
  566. package/src/lib/helpers/SortObject.cjs +1 -1
  567. package/src/lib/helpers/SortObject.mjs +1 -1
  568. package/src/lib/helpers/Statistics.cjs +2 -2
  569. package/src/lib/helpers/Statistics.mjs +2 -2
  570. package/src/lib/helpers/Templating.cjs +1 -1
  571. package/src/lib/helpers/Templating.mjs +1 -1
  572. package/src/lib/helpers/URLBuilder.cjs +417 -38
  573. package/src/lib/helpers/URLBuilder.mjs +417 -38
  574. package/src/lib/helpers/UUID.cjs +340 -22
  575. package/src/lib/helpers/UUID.mjs +340 -22
  576. package/src/lib/helpers/UniqueArray.cjs +1 -1
  577. package/src/lib/helpers/UniqueArray.mjs +1 -1
  578. package/src/lib/helpers/UnsignedToHex.cjs +1 -1
  579. package/src/lib/helpers/UnsignedToHex.mjs +1 -1
  580. package/src/lib/ioc/DependencyInjectionContainer.cjs +145 -197
  581. package/src/lib/ioc/DependencyInjectionContainer.mjs +102 -154
  582. package/src/lib/ioc/Errors.cjs +27 -57
  583. package/src/lib/ioc/Errors.mjs +25 -55
  584. package/src/lib/ioc/FunctionTokenizer.cjs +1 -1
  585. package/src/lib/ioc/FunctionTokenizer.mjs +1 -1
  586. package/src/lib/ioc/InjectionMode.cjs +1 -1
  587. package/src/lib/ioc/InjectionMode.mjs +1 -1
  588. package/src/lib/ioc/Lifetime.cjs +1 -1
  589. package/src/lib/ioc/Lifetime.mjs +1 -1
  590. package/src/lib/ioc/ListModules.cjs +5811 -99
  591. package/src/lib/ioc/ListModules.mjs +5779 -79
  592. package/src/lib/ioc/LoadModules.cjs +63 -93
  593. package/src/lib/ioc/LoadModules.mjs +65 -95
  594. package/src/lib/ioc/ParamParser.cjs +1 -1
  595. package/src/lib/ioc/ParamParser.mjs +1 -1
  596. package/src/lib/ioc/Resolvers.cjs +42 -72
  597. package/src/lib/ioc/Resolvers.mjs +44 -74
  598. package/src/lib/ioc/Utils.cjs +28 -58
  599. package/src/lib/ioc/Utils.mjs +34 -64
  600. package/src/lib/validation/VLD.cjs +11342 -98
  601. package/src/lib/validation/VLD.mjs +11298 -80
  602. package/src/lib/validation/interfaces/AlternativesSchema.cjs +1 -1
  603. package/src/lib/validation/interfaces/AlternativesSchema.mjs +1 -1
  604. package/src/lib/validation/interfaces/AnySchema.cjs +1 -1
  605. package/src/lib/validation/interfaces/AnySchema.mjs +1 -1
  606. package/src/lib/validation/interfaces/ArraySchema.cjs +1 -1
  607. package/src/lib/validation/interfaces/ArraySchema.mjs +1 -1
  608. package/src/lib/validation/interfaces/Base64Options.cjs +1 -1
  609. package/src/lib/validation/interfaces/Base64Options.mjs +1 -1
  610. package/src/lib/validation/interfaces/BaseValidationOptions.cjs +1 -1
  611. package/src/lib/validation/interfaces/BaseValidationOptions.mjs +1 -1
  612. package/src/lib/validation/interfaces/BigIntSchema.cjs +1 -1
  613. package/src/lib/validation/interfaces/BigIntSchema.mjs +1 -1
  614. package/src/lib/validation/interfaces/BinarySchema.cjs +1 -1
  615. package/src/lib/validation/interfaces/BinarySchema.mjs +1 -1
  616. package/src/lib/validation/interfaces/BooleanSchema.cjs +1 -1
  617. package/src/lib/validation/interfaces/BooleanSchema.mjs +1 -1
  618. package/src/lib/validation/interfaces/CustomHelpers.cjs +1 -1
  619. package/src/lib/validation/interfaces/CustomHelpers.mjs +1 -1
  620. package/src/lib/validation/interfaces/DataUriOptions.cjs +1 -1
  621. package/src/lib/validation/interfaces/DataUriOptions.mjs +1 -1
  622. package/src/lib/validation/interfaces/DateSchema.cjs +1 -1
  623. package/src/lib/validation/interfaces/DateSchema.mjs +1 -1
  624. package/src/lib/validation/interfaces/DependencyOptions.cjs +1 -1
  625. package/src/lib/validation/interfaces/DependencyOptions.mjs +1 -1
  626. package/src/lib/validation/interfaces/DomainOptions.cjs +1 -1
  627. package/src/lib/validation/interfaces/DomainOptions.mjs +1 -1
  628. package/src/lib/validation/interfaces/EmailOptions.cjs +1 -1
  629. package/src/lib/validation/interfaces/EmailOptions.mjs +1 -1
  630. package/src/lib/validation/interfaces/ErrorFormattingOptions.cjs +1 -1
  631. package/src/lib/validation/interfaces/ErrorFormattingOptions.mjs +1 -1
  632. package/src/lib/validation/interfaces/ErrorReport.cjs +1 -1
  633. package/src/lib/validation/interfaces/ErrorReport.mjs +1 -1
  634. package/src/lib/validation/interfaces/ErrorValidationOptions.cjs +1 -1
  635. package/src/lib/validation/interfaces/ErrorValidationOptions.mjs +1 -1
  636. package/src/lib/validation/interfaces/ExtensionFlag.cjs +1 -1
  637. package/src/lib/validation/interfaces/ExtensionFlag.mjs +1 -1
  638. package/src/lib/validation/interfaces/ExternalHelpers.cjs +1 -1
  639. package/src/lib/validation/interfaces/ExternalHelpers.mjs +1 -1
  640. package/src/lib/validation/interfaces/FunctionSchema.cjs +1 -1
  641. package/src/lib/validation/interfaces/FunctionSchema.mjs +1 -1
  642. package/src/lib/validation/interfaces/GuidOptions.cjs +1 -1
  643. package/src/lib/validation/interfaces/GuidOptions.mjs +1 -1
  644. package/src/lib/validation/interfaces/HexOptions.cjs +1 -1
  645. package/src/lib/validation/interfaces/HexOptions.mjs +1 -1
  646. package/src/lib/validation/interfaces/HierarchySeparatorOptions.cjs +1 -1
  647. package/src/lib/validation/interfaces/HierarchySeparatorOptions.mjs +1 -1
  648. package/src/lib/validation/interfaces/IpOptions.cjs +1 -1
  649. package/src/lib/validation/interfaces/IpOptions.mjs +1 -1
  650. package/src/lib/validation/interfaces/LanguageMessageTemplate.cjs +1 -1
  651. package/src/lib/validation/interfaces/LanguageMessageTemplate.mjs +1 -1
  652. package/src/lib/validation/interfaces/LinkSchema.cjs +1 -1
  653. package/src/lib/validation/interfaces/LinkSchema.mjs +1 -1
  654. package/src/lib/validation/interfaces/NumberSchema.cjs +1 -1
  655. package/src/lib/validation/interfaces/NumberSchema.mjs +1 -1
  656. package/src/lib/validation/interfaces/ObjectPatternOptions.cjs +1 -1
  657. package/src/lib/validation/interfaces/ObjectPatternOptions.mjs +1 -1
  658. package/src/lib/validation/interfaces/ObjectSchema.cjs +1 -1
  659. package/src/lib/validation/interfaces/ObjectSchema.mjs +1 -1
  660. package/src/lib/validation/interfaces/Reference.cjs +1 -1
  661. package/src/lib/validation/interfaces/Reference.mjs +1 -1
  662. package/src/lib/validation/interfaces/ReferenceOptions.cjs +1 -1
  663. package/src/lib/validation/interfaces/ReferenceOptions.mjs +1 -1
  664. package/src/lib/validation/interfaces/RenameOptions.cjs +1 -1
  665. package/src/lib/validation/interfaces/RenameOptions.mjs +1 -1
  666. package/src/lib/validation/interfaces/State.cjs +1 -1
  667. package/src/lib/validation/interfaces/State.mjs +1 -1
  668. package/src/lib/validation/interfaces/StringRegexOptions.cjs +1 -1
  669. package/src/lib/validation/interfaces/StringRegexOptions.mjs +1 -1
  670. package/src/lib/validation/interfaces/StringSchema.cjs +1 -1
  671. package/src/lib/validation/interfaces/StringSchema.mjs +1 -1
  672. package/src/lib/validation/interfaces/SwitchCases.cjs +1 -1
  673. package/src/lib/validation/interfaces/SwitchCases.mjs +1 -1
  674. package/src/lib/validation/interfaces/SwitchDefault.cjs +1 -1
  675. package/src/lib/validation/interfaces/SwitchDefault.mjs +1 -1
  676. package/src/lib/validation/interfaces/SymbolSchema.cjs +1 -1
  677. package/src/lib/validation/interfaces/SymbolSchema.mjs +1 -1
  678. package/src/lib/validation/interfaces/TopLevelDomainOptions.cjs +1 -1
  679. package/src/lib/validation/interfaces/TopLevelDomainOptions.mjs +1 -1
  680. package/src/lib/validation/interfaces/UriOptions.cjs +1 -1
  681. package/src/lib/validation/interfaces/UriOptions.mjs +1 -1
  682. package/src/lib/validation/interfaces/ValidationOptions.cjs +1 -1
  683. package/src/lib/validation/interfaces/ValidationOptions.mjs +1 -1
  684. package/src/lib/validation/interfaces/WhenOptions.cjs +1 -1
  685. package/src/lib/validation/interfaces/WhenOptions.mjs +1 -1
  686. package/src/lib/validation/interfaces/WhenSchemaOptions.cjs +1 -1
  687. package/src/lib/validation/interfaces/WhenSchemaOptions.mjs +1 -1
  688. package/src/lib/validation/types/CustomValidator.cjs +1 -1
  689. package/src/lib/validation/types/CustomValidator.mjs +1 -1
  690. package/src/lib/validation/types/ExtensionBoundSchema.cjs +1 -1
  691. package/src/lib/validation/types/ExtensionBoundSchema.mjs +1 -1
  692. package/src/lib/validation/types/ExternalValidationFunction.cjs +1 -1
  693. package/src/lib/validation/types/ExternalValidationFunction.mjs +1 -1
  694. package/src/lib/validation/types/IsNonPrimitiveSubsetUnion.cjs +1 -1
  695. package/src/lib/validation/types/IsNonPrimitiveSubsetUnion.mjs +1 -1
  696. package/src/lib/validation/types/IsPrimitiveSubset.cjs +1 -1
  697. package/src/lib/validation/types/IsPrimitiveSubset.mjs +1 -1
  698. package/src/lib/validation/types/IsUnion.cjs +1 -1
  699. package/src/lib/validation/types/IsUnion.mjs +1 -1
  700. package/src/lib/validation/types/LanguageMessages.cjs +1 -1
  701. package/src/lib/validation/types/LanguageMessages.mjs +1 -1
  702. package/src/lib/validation/types/NoNestedArrays.cjs +1 -1
  703. package/src/lib/validation/types/NoNestedArrays.mjs +1 -1
  704. package/src/lib/validation/types/NullableType.cjs +1 -1
  705. package/src/lib/validation/types/NullableType.mjs +1 -1
  706. package/src/lib/validation/types/ObjectPropertiesSchema.cjs +1 -1
  707. package/src/lib/validation/types/ObjectPropertiesSchema.mjs +1 -1
  708. package/src/lib/validation/types/PartialSchemaMap.cjs +1 -1
  709. package/src/lib/validation/types/PartialSchemaMap.mjs +1 -1
  710. package/src/lib/validation/types/PresenceMode.cjs +1 -1
  711. package/src/lib/validation/types/PresenceMode.mjs +1 -1
  712. package/src/lib/validation/types/Primitives.cjs +1 -1
  713. package/src/lib/validation/types/Primitives.mjs +1 -1
  714. package/src/lib/validation/types/Schema.cjs +1 -1
  715. package/src/lib/validation/types/Schema.mjs +1 -1
  716. package/src/lib/validation/types/SchemaFunction.cjs +1 -1
  717. package/src/lib/validation/types/SchemaFunction.mjs +1 -1
  718. package/src/lib/validation/types/SchemaLike.cjs +1 -1
  719. package/src/lib/validation/types/SchemaLike.mjs +1 -1
  720. package/src/lib/validation/types/SchemaLikeWithoutArray.cjs +1 -1
  721. package/src/lib/validation/types/SchemaLikeWithoutArray.mjs +1 -1
  722. package/src/lib/validation/types/SchemaMap.cjs +1 -1
  723. package/src/lib/validation/types/SchemaMap.mjs +1 -1
  724. package/src/lib/validation/types/StrictSchemaMap.cjs +1 -1
  725. package/src/lib/validation/types/StrictSchemaMap.mjs +1 -1
  726. package/src/lib/validation/types/Types.cjs +1 -1
  727. package/src/lib/validation/types/Types.mjs +1 -1
  728. package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.cjs +1 -1
  729. package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.mjs +1 -1
  730. package/src/options/ApplicationOptions.cjs +22 -84
  731. package/src/options/ApplicationOptions.mjs +25 -87
  732. package/src/options/LoadAnonymousObjectOptions.cjs +20 -82
  733. package/src/options/LoadAnonymousObjectOptions.mjs +22 -84
  734. package/src/options/LoadNamedObjectOptions.cjs +20 -82
  735. package/src/options/LoadNamedObjectOptions.mjs +22 -84
  736. package/src/options/LoadObjectOptions.cjs +23 -96
  737. package/src/options/LoadObjectOptions.mjs +18 -98
  738. package/src/options/ModuleLoadObjectsOptions.cjs +20 -82
  739. package/src/options/ModuleLoadObjectsOptions.mjs +20 -82
  740. package/src/options/ModuleOptions.cjs +26 -88
  741. package/src/options/ModuleOptions.mjs +25 -87
  742. package/src/options/OverridableNamedObjectOptions.cjs +20 -82
  743. package/src/options/OverridableNamedObjectOptions.mjs +23 -85
  744. package/src/options/OverridableObjectOptions.cjs +20 -82
  745. package/src/options/OverridableObjectOptions.mjs +22 -84
  746. package/src/providers/Database.cjs +41 -181
  747. package/src/providers/Database.mjs +74 -214
  748. package/src/providers/PasswordHash.cjs +541 -89
  749. package/src/providers/PasswordHash.mjs +535 -89
  750. package/src/providers/migration/GenerateMigration.cjs +37 -389
  751. package/src/providers/migration/GenerateMigration.mjs +33 -386
  752. package/src/types/ActionPattern.cjs +1 -1
  753. package/src/types/ActionPattern.mjs +1 -1
  754. package/src/types/ClassDecorator.cjs +1 -1
  755. package/src/types/ClassDecorator.mjs +1 -1
  756. package/src/types/ComponentOptions.cjs +1 -1
  757. package/src/types/ComponentOptions.mjs +1 -1
  758. package/src/types/JSONSchema.cjs +1 -1
  759. package/src/types/JSONSchema.mjs +1 -1
  760. package/src/types/MethodDecorator.cjs +1 -1
  761. package/src/types/MethodDecorator.mjs +1 -1
  762. package/src/types/ModuleOptions.cjs +1 -1
  763. package/src/types/ModuleOptions.mjs +1 -1
  764. package/src/types/ObjectOptions.cjs +1 -1
  765. package/src/types/ObjectOptions.mjs +1 -1
  766. package/src/types/ParameterDecorator.cjs +1 -1
  767. package/src/types/ParameterDecorator.mjs +1 -1
  768. package/src/types/PropertyDecorator.cjs +1 -1
  769. package/src/types/PropertyDecorator.mjs +1 -1
  770. package/src/types/ProviderOptions.cjs +1 -1
  771. package/src/types/ProviderOptions.mjs +1 -1
  772. package/vendor/Package.internal.1.cjs +938 -206
  773. package/vendor/Package.internal.1.mjs +938 -202
  774. package/vendor/Package.internal.10.cjs +17 -227
  775. package/vendor/Package.internal.10.mjs +18 -226
  776. package/vendor/Package.internal.11.cjs +15 -1610
  777. package/vendor/Package.internal.11.mjs +16 -1579
  778. package/vendor/Package.internal.12.cjs +22 -357
  779. package/vendor/Package.internal.12.mjs +23 -358
  780. package/vendor/Package.internal.13.cjs +17 -786
  781. package/vendor/Package.internal.13.mjs +18 -787
  782. package/vendor/Package.internal.14.cjs +13 -977
  783. package/vendor/Package.internal.14.mjs +14 -966
  784. package/vendor/Package.internal.15.cjs +19 -43
  785. package/vendor/Package.internal.15.mjs +20 -44
  786. package/vendor/Package.internal.16.cjs +16 -262
  787. package/vendor/Package.internal.16.mjs +17 -263
  788. package/vendor/Package.internal.17.cjs +16 -428
  789. package/vendor/Package.internal.17.mjs +17 -429
  790. package/vendor/Package.internal.18.cjs +15 -556
  791. package/vendor/Package.internal.18.mjs +16 -551
  792. package/vendor/Package.internal.19.cjs +16 -218
  793. package/vendor/Package.internal.19.mjs +19 -221
  794. package/vendor/Package.internal.2.cjs +29 -86
  795. package/vendor/Package.internal.2.mjs +30 -83
  796. package/vendor/Package.internal.20.cjs +19 -989
  797. package/vendor/Package.internal.20.mjs +20 -990
  798. package/vendor/Package.internal.21.cjs +26 -9
  799. package/vendor/Package.internal.21.mjs +27 -8
  800. package/vendor/Package.internal.22.cjs +53 -120
  801. package/vendor/Package.internal.22.mjs +54 -119
  802. package/vendor/Package.internal.23.cjs +15 -140
  803. package/vendor/Package.internal.23.mjs +16 -139
  804. package/vendor/Package.internal.24.cjs +22 -5
  805. package/vendor/Package.internal.24.mjs +23 -4
  806. package/vendor/Package.internal.25.cjs +30 -19
  807. package/vendor/Package.internal.25.mjs +31 -18
  808. package/vendor/Package.internal.26.cjs +13 -472
  809. package/vendor/Package.internal.26.mjs +14 -467
  810. package/vendor/Package.internal.27.cjs +19 -73
  811. package/vendor/Package.internal.27.mjs +19 -67
  812. package/vendor/Package.internal.28.cjs +22 -2
  813. package/vendor/Package.internal.28.mjs +24 -2
  814. package/vendor/Package.internal.29.cjs +35 -37
  815. package/vendor/Package.internal.29.mjs +36 -36
  816. package/vendor/Package.internal.3.cjs +532 -14232
  817. package/vendor/Package.internal.3.mjs +529 -14211
  818. package/vendor/Package.internal.30.cjs +21 -21
  819. package/vendor/Package.internal.30.mjs +22 -20
  820. package/vendor/Package.internal.31.cjs +25 -10
  821. package/vendor/Package.internal.31.mjs +26 -9
  822. package/vendor/Package.internal.310.cjs +10 -0
  823. package/vendor/Package.internal.310.mjs +8 -0
  824. package/vendor/Package.internal.32.cjs +39 -188
  825. package/vendor/Package.internal.32.mjs +42 -191
  826. package/vendor/Package.internal.33.cjs +35 -58
  827. package/vendor/Package.internal.33.mjs +36 -57
  828. package/vendor/Package.internal.34.cjs +20 -161
  829. package/vendor/Package.internal.34.mjs +26 -167
  830. package/vendor/Package.internal.35.cjs +32 -2075
  831. package/vendor/Package.internal.35.mjs +28 -2065
  832. package/vendor/Package.internal.36.cjs +30 -510
  833. package/vendor/Package.internal.36.mjs +31 -503
  834. package/vendor/Package.internal.37.cjs +36 -408
  835. package/vendor/Package.internal.37.mjs +37 -403
  836. package/vendor/Package.internal.38.cjs +37 -2349
  837. package/vendor/Package.internal.38.mjs +38 -2338
  838. package/vendor/Package.internal.39.cjs +18 -56
  839. package/vendor/Package.internal.39.mjs +19 -63
  840. package/vendor/Package.internal.4.cjs +463 -961
  841. package/vendor/Package.internal.4.mjs +444 -960
  842. package/vendor/Package.internal.40.cjs +20 -146
  843. package/vendor/Package.internal.40.mjs +21 -145
  844. package/vendor/Package.internal.41.cjs +15 -630
  845. package/vendor/Package.internal.41.mjs +16 -631
  846. package/vendor/Package.internal.42.cjs +22 -238
  847. package/vendor/Package.internal.42.mjs +28 -244
  848. package/vendor/Package.internal.43.cjs +16 -220
  849. package/vendor/Package.internal.43.mjs +17 -215
  850. package/vendor/Package.internal.44.cjs +29 -2
  851. package/vendor/Package.internal.44.mjs +31 -2
  852. package/vendor/Package.internal.45.cjs +32 -353
  853. package/vendor/Package.internal.45.mjs +35 -350
  854. package/vendor/Package.internal.46.cjs +17 -34
  855. package/vendor/Package.internal.46.mjs +18 -33
  856. package/vendor/Package.internal.47.cjs +16 -49
  857. package/vendor/Package.internal.47.mjs +17 -48
  858. package/vendor/Package.internal.48.cjs +20 -20
  859. package/vendor/Package.internal.48.mjs +21 -19
  860. package/vendor/Package.internal.49.cjs +24 -88
  861. package/vendor/Package.internal.49.mjs +31 -87
  862. package/vendor/Package.internal.5.cjs +4275 -340
  863. package/vendor/Package.internal.5.mjs +4274 -341
  864. package/vendor/Package.internal.50.cjs +34 -80
  865. package/vendor/Package.internal.50.mjs +35 -79
  866. package/vendor/Package.internal.51.cjs +48306 -57
  867. package/vendor/Package.internal.51.mjs +48272 -51
  868. package/vendor/Package.internal.510.cjs +154 -0
  869. package/vendor/Package.internal.510.mjs +142 -0
  870. package/vendor/Package.internal.511.cjs +168 -0
  871. package/vendor/Package.internal.511.mjs +156 -0
  872. package/vendor/Package.internal.512.cjs +6 -0
  873. package/vendor/Package.internal.512.mjs +6 -0
  874. package/vendor/Package.internal.513.cjs +192 -0
  875. package/vendor/Package.internal.513.mjs +180 -0
  876. package/vendor/Package.internal.52.cjs +675 -18
  877. package/vendor/Package.internal.52.mjs +670 -17
  878. package/vendor/{Package.internal.176.cjs → Package.internal.522.cjs} +1 -1
  879. package/vendor/{Package.internal.176.mjs → Package.internal.522.mjs} +2 -2
  880. package/vendor/Package.internal.53.cjs +7095 -321
  881. package/vendor/Package.internal.53.mjs +7063 -319
  882. package/vendor/Package.internal.54.cjs +192 -2
  883. package/vendor/Package.internal.54.mjs +192 -2
  884. package/vendor/Package.internal.542.cjs +171 -0
  885. package/vendor/Package.internal.542.mjs +153 -0
  886. package/vendor/Package.internal.55.cjs +3945 -127
  887. package/vendor/Package.internal.55.mjs +3958 -126
  888. package/vendor/Package.internal.552.cjs +49615 -0
  889. package/vendor/Package.internal.552.mjs +49572 -0
  890. package/vendor/Package.internal.56.cjs +837 -18
  891. package/vendor/Package.internal.56.mjs +838 -19
  892. package/vendor/Package.internal.57.cjs +14793 -2
  893. package/vendor/Package.internal.57.mjs +14768 -2
  894. package/vendor/Package.internal.58.cjs +113 -175
  895. package/vendor/Package.internal.58.mjs +110 -184
  896. package/vendor/Package.internal.59.cjs +307 -3990
  897. package/vendor/Package.internal.59.mjs +307 -4008
  898. package/vendor/Package.internal.6.cjs +4 -6109
  899. package/vendor/Package.internal.6.mjs +4 -6103
  900. package/vendor/Package.internal.7.cjs +6543 -494
  901. package/vendor/Package.internal.7.mjs +6531 -494
  902. package/vendor/Package.internal.8.cjs +152 -33
  903. package/vendor/Package.internal.8.mjs +152 -31
  904. package/vendor/Package.internal.9.cjs +16 -2160
  905. package/vendor/Package.internal.9.mjs +17 -2133
  906. package/vendor/Package.internal.100.cjs +0 -4
  907. package/vendor/Package.internal.100.mjs +0 -2
  908. package/vendor/Package.internal.101.cjs +0 -112
  909. package/vendor/Package.internal.101.mjs +0 -98
  910. package/vendor/Package.internal.102.cjs +0 -88
  911. package/vendor/Package.internal.102.mjs +0 -84
  912. package/vendor/Package.internal.103.cjs +0 -58
  913. package/vendor/Package.internal.103.mjs +0 -52
  914. package/vendor/Package.internal.104.cjs +0 -20
  915. package/vendor/Package.internal.104.mjs +0 -18
  916. package/vendor/Package.internal.105.cjs +0 -96
  917. package/vendor/Package.internal.105.mjs +0 -96
  918. package/vendor/Package.internal.106.cjs +0 -113
  919. package/vendor/Package.internal.106.mjs +0 -113
  920. package/vendor/Package.internal.107.cjs +0 -2176
  921. package/vendor/Package.internal.107.mjs +0 -2174
  922. package/vendor/Package.internal.108.cjs +0 -2466
  923. package/vendor/Package.internal.108.mjs +0 -2434
  924. package/vendor/Package.internal.109.cjs +0 -1306
  925. package/vendor/Package.internal.109.mjs +0 -1292
  926. package/vendor/Package.internal.110.cjs +0 -33
  927. package/vendor/Package.internal.110.mjs +0 -31
  928. package/vendor/Package.internal.111.cjs +0 -20
  929. package/vendor/Package.internal.111.mjs +0 -18
  930. package/vendor/Package.internal.112.cjs +0 -21
  931. package/vendor/Package.internal.112.mjs +0 -21
  932. package/vendor/Package.internal.113.cjs +0 -52
  933. package/vendor/Package.internal.113.mjs +0 -52
  934. package/vendor/Package.internal.114.cjs +0 -141
  935. package/vendor/Package.internal.114.mjs +0 -141
  936. package/vendor/Package.internal.115.cjs +0 -2
  937. package/vendor/Package.internal.115.mjs +0 -1
  938. package/vendor/Package.internal.116.cjs +0 -6
  939. package/vendor/Package.internal.116.mjs +0 -4
  940. package/vendor/Package.internal.117.cjs +0 -4
  941. package/vendor/Package.internal.117.mjs +0 -2
  942. package/vendor/Package.internal.118.cjs +0 -4
  943. package/vendor/Package.internal.118.mjs +0 -2
  944. package/vendor/Package.internal.119.cjs +0 -4
  945. package/vendor/Package.internal.119.mjs +0 -2
  946. package/vendor/Package.internal.120.cjs +0 -49
  947. package/vendor/Package.internal.120.mjs +0 -47
  948. package/vendor/Package.internal.121.cjs +0 -14
  949. package/vendor/Package.internal.121.mjs +0 -14
  950. package/vendor/Package.internal.122.cjs +0 -12
  951. package/vendor/Package.internal.122.mjs +0 -12
  952. package/vendor/Package.internal.123.cjs +0 -20
  953. package/vendor/Package.internal.123.mjs +0 -18
  954. package/vendor/Package.internal.124.cjs +0 -118
  955. package/vendor/Package.internal.124.mjs +0 -116
  956. package/vendor/Package.internal.125.cjs +0 -18
  957. package/vendor/Package.internal.125.mjs +0 -16
  958. package/vendor/Package.internal.126.cjs +0 -19
  959. package/vendor/Package.internal.126.mjs +0 -17
  960. package/vendor/Package.internal.127.cjs +0 -8876
  961. package/vendor/Package.internal.127.mjs +0 -8874
  962. package/vendor/Package.internal.128.cjs +0 -899
  963. package/vendor/Package.internal.128.mjs +0 -897
  964. package/vendor/Package.internal.129.cjs +0 -6769
  965. package/vendor/Package.internal.129.mjs +0 -6775
  966. package/vendor/Package.internal.130.cjs +0 -473
  967. package/vendor/Package.internal.130.mjs +0 -459
  968. package/vendor/Package.internal.131.cjs +0 -617
  969. package/vendor/Package.internal.131.mjs +0 -611
  970. package/vendor/Package.internal.132.cjs +0 -97
  971. package/vendor/Package.internal.132.mjs +0 -89
  972. package/vendor/Package.internal.133.cjs +0 -4
  973. package/vendor/Package.internal.133.mjs +0 -2
  974. package/vendor/Package.internal.134.cjs +0 -3753
  975. package/vendor/Package.internal.134.mjs +0 -3751
  976. package/vendor/Package.internal.135.cjs +0 -561
  977. package/vendor/Package.internal.135.mjs +0 -559
  978. package/vendor/Package.internal.136.cjs +0 -4
  979. package/vendor/Package.internal.136.mjs +0 -2
  980. package/vendor/Package.internal.137.cjs +0 -4
  981. package/vendor/Package.internal.137.mjs +0 -2
  982. package/vendor/Package.internal.138.cjs +0 -4
  983. package/vendor/Package.internal.138.mjs +0 -2
  984. package/vendor/Package.internal.139.cjs +0 -4
  985. package/vendor/Package.internal.139.mjs +0 -2
  986. package/vendor/Package.internal.140.cjs +0 -4
  987. package/vendor/Package.internal.140.mjs +0 -2
  988. package/vendor/Package.internal.141.cjs +0 -4
  989. package/vendor/Package.internal.141.mjs +0 -2
  990. package/vendor/Package.internal.142.cjs +0 -4
  991. package/vendor/Package.internal.142.mjs +0 -2
  992. package/vendor/Package.internal.143.cjs +0 -4
  993. package/vendor/Package.internal.143.mjs +0 -2
  994. package/vendor/Package.internal.144.cjs +0 -4
  995. package/vendor/Package.internal.144.mjs +0 -2
  996. package/vendor/Package.internal.145.cjs +0 -4
  997. package/vendor/Package.internal.145.mjs +0 -2
  998. package/vendor/Package.internal.146.cjs +0 -4
  999. package/vendor/Package.internal.146.mjs +0 -2
  1000. package/vendor/Package.internal.147.cjs +0 -408
  1001. package/vendor/Package.internal.147.mjs +0 -400
  1002. package/vendor/Package.internal.148.cjs +0 -104
  1003. package/vendor/Package.internal.148.mjs +0 -104
  1004. package/vendor/Package.internal.149.cjs +0 -27
  1005. package/vendor/Package.internal.149.mjs +0 -27
  1006. package/vendor/Package.internal.150.cjs +0 -4
  1007. package/vendor/Package.internal.150.mjs +0 -2
  1008. package/vendor/Package.internal.151.cjs +0 -4
  1009. package/vendor/Package.internal.151.mjs +0 -2
  1010. package/vendor/Package.internal.152.cjs +0 -723
  1011. package/vendor/Package.internal.152.mjs +0 -723
  1012. package/vendor/Package.internal.153.cjs +0 -1548
  1013. package/vendor/Package.internal.153.mjs +0 -1540
  1014. package/vendor/Package.internal.154.cjs +0 -364
  1015. package/vendor/Package.internal.154.mjs +0 -364
  1016. package/vendor/Package.internal.155.cjs +0 -107
  1017. package/vendor/Package.internal.155.mjs +0 -107
  1018. package/vendor/Package.internal.156.cjs +0 -636
  1019. package/vendor/Package.internal.156.mjs +0 -622
  1020. package/vendor/Package.internal.157.cjs +0 -543
  1021. package/vendor/Package.internal.157.mjs +0 -533
  1022. package/vendor/Package.internal.158.cjs +0 -605
  1023. package/vendor/Package.internal.158.mjs +0 -605
  1024. package/vendor/Package.internal.159.cjs +0 -139
  1025. package/vendor/Package.internal.159.mjs +0 -131
  1026. package/vendor/Package.internal.160.cjs +0 -119
  1027. package/vendor/Package.internal.160.mjs +0 -111
  1028. package/vendor/Package.internal.161.cjs +0 -1224
  1029. package/vendor/Package.internal.161.mjs +0 -1214
  1030. package/vendor/Package.internal.162.cjs +0 -90
  1031. package/vendor/Package.internal.162.mjs +0 -98
  1032. package/vendor/Package.internal.163.cjs +0 -4
  1033. package/vendor/Package.internal.163.mjs +0 -2
  1034. package/vendor/Package.internal.164.cjs +0 -4
  1035. package/vendor/Package.internal.164.mjs +0 -2
  1036. package/vendor/Package.internal.165.cjs +0 -55
  1037. package/vendor/Package.internal.165.mjs +0 -55
  1038. package/vendor/Package.internal.166.cjs +0 -10
  1039. package/vendor/Package.internal.166.mjs +0 -10
  1040. package/vendor/Package.internal.167.cjs +0 -12
  1041. package/vendor/Package.internal.167.mjs +0 -6
  1042. package/vendor/Package.internal.168.cjs +0 -165
  1043. package/vendor/Package.internal.168.mjs +0 -163
  1044. package/vendor/Package.internal.169.cjs +0 -23
  1045. package/vendor/Package.internal.169.mjs +0 -15
  1046. package/vendor/Package.internal.170.cjs +0 -251
  1047. package/vendor/Package.internal.170.mjs +0 -249
  1048. package/vendor/Package.internal.171.cjs +0 -949
  1049. package/vendor/Package.internal.171.mjs +0 -947
  1050. package/vendor/Package.internal.172.cjs +0 -27
  1051. package/vendor/Package.internal.172.mjs +0 -27
  1052. package/vendor/Package.internal.173.cjs +0 -80
  1053. package/vendor/Package.internal.173.mjs +0 -72
  1054. package/vendor/Package.internal.174.cjs +0 -655
  1055. package/vendor/Package.internal.174.mjs +0 -653
  1056. package/vendor/Package.internal.175.cjs +0 -77
  1057. package/vendor/Package.internal.175.mjs +0 -75
  1058. package/vendor/Package.internal.177.cjs +0 -70
  1059. package/vendor/Package.internal.177.mjs +0 -68
  1060. package/vendor/Package.internal.178.cjs +0 -112
  1061. package/vendor/Package.internal.178.mjs +0 -110
  1062. package/vendor/Package.internal.179.cjs +0 -102
  1063. package/vendor/Package.internal.179.mjs +0 -100
  1064. package/vendor/Package.internal.180.cjs +0 -45450
  1065. package/vendor/Package.internal.180.mjs +0 -45432
  1066. package/vendor/Package.internal.181.cjs +0 -8
  1067. package/vendor/Package.internal.181.mjs +0 -6
  1068. package/vendor/Package.internal.182.cjs +0 -30
  1069. package/vendor/Package.internal.182.mjs +0 -28
  1070. package/vendor/Package.internal.183.cjs +0 -317
  1071. package/vendor/Package.internal.183.mjs +0 -315
  1072. package/vendor/Package.internal.184.cjs +0 -943
  1073. package/vendor/Package.internal.184.mjs +0 -951
  1074. package/vendor/Package.internal.185.cjs +0 -1090
  1075. package/vendor/Package.internal.185.mjs +0 -1090
  1076. package/vendor/Package.internal.186.cjs +0 -165
  1077. package/vendor/Package.internal.186.mjs +0 -165
  1078. package/vendor/Package.internal.187.cjs +0 -15
  1079. package/vendor/Package.internal.187.mjs +0 -13
  1080. package/vendor/Package.internal.188.cjs +0 -14
  1081. package/vendor/Package.internal.188.mjs +0 -12
  1082. package/vendor/Package.internal.189.cjs +0 -49
  1083. package/vendor/Package.internal.189.mjs +0 -47
  1084. package/vendor/Package.internal.190.cjs +0 -493
  1085. package/vendor/Package.internal.190.mjs +0 -471
  1086. package/vendor/Package.internal.191.cjs +0 -4
  1087. package/vendor/Package.internal.191.mjs +0 -2
  1088. package/vendor/Package.internal.192.cjs +0 -4
  1089. package/vendor/Package.internal.192.mjs +0 -2
  1090. package/vendor/Package.internal.193.cjs +0 -4
  1091. package/vendor/Package.internal.193.mjs +0 -2
  1092. package/vendor/Package.internal.194.cjs +0 -4
  1093. package/vendor/Package.internal.194.mjs +0 -2
  1094. package/vendor/Package.internal.195.cjs +0 -4
  1095. package/vendor/Package.internal.195.mjs +0 -2
  1096. package/vendor/Package.internal.196.cjs +0 -4
  1097. package/vendor/Package.internal.196.mjs +0 -2
  1098. package/vendor/Package.internal.197.cjs +0 -4
  1099. package/vendor/Package.internal.197.mjs +0 -2
  1100. package/vendor/Package.internal.198.cjs +0 -4
  1101. package/vendor/Package.internal.198.mjs +0 -2
  1102. package/vendor/Package.internal.60.cjs +0 -4
  1103. package/vendor/Package.internal.60.mjs +0 -2
  1104. package/vendor/Package.internal.61.cjs +0 -321
  1105. package/vendor/Package.internal.61.mjs +0 -321
  1106. package/vendor/Package.internal.62.cjs +0 -365
  1107. package/vendor/Package.internal.62.mjs +0 -363
  1108. package/vendor/Package.internal.63.cjs +0 -403
  1109. package/vendor/Package.internal.63.mjs +0 -395
  1110. package/vendor/Package.internal.64.cjs +0 -127
  1111. package/vendor/Package.internal.64.mjs +0 -125
  1112. package/vendor/Package.internal.65.cjs +0 -31
  1113. package/vendor/Package.internal.65.mjs +0 -29
  1114. package/vendor/Package.internal.66.cjs +0 -87
  1115. package/vendor/Package.internal.66.mjs +0 -85
  1116. package/vendor/Package.internal.67.cjs +0 -61
  1117. package/vendor/Package.internal.67.mjs +0 -59
  1118. package/vendor/Package.internal.68.cjs +0 -34
  1119. package/vendor/Package.internal.68.mjs +0 -32
  1120. package/vendor/Package.internal.69.cjs +0 -4
  1121. package/vendor/Package.internal.69.mjs +0 -2
  1122. package/vendor/Package.internal.70.cjs +0 -684
  1123. package/vendor/Package.internal.70.mjs +0 -662
  1124. package/vendor/Package.internal.71.cjs +0 -13896
  1125. package/vendor/Package.internal.71.mjs +0 -13870
  1126. package/vendor/Package.internal.72.cjs +0 -37
  1127. package/vendor/Package.internal.72.mjs +0 -31
  1128. package/vendor/Package.internal.73.cjs +0 -4077
  1129. package/vendor/Package.internal.73.mjs +0 -4077
  1130. package/vendor/Package.internal.74.cjs +0 -1664
  1131. package/vendor/Package.internal.74.mjs +0 -1664
  1132. package/vendor/Package.internal.75.cjs +0 -259
  1133. package/vendor/Package.internal.75.mjs +0 -257
  1134. package/vendor/Package.internal.76.cjs +0 -4964
  1135. package/vendor/Package.internal.76.mjs +0 -4948
  1136. package/vendor/Package.internal.77.cjs +0 -1239
  1137. package/vendor/Package.internal.77.mjs +0 -1225
  1138. package/vendor/Package.internal.78.cjs +0 -340
  1139. package/vendor/Package.internal.78.mjs +0 -326
  1140. package/vendor/Package.internal.79.cjs +0 -34
  1141. package/vendor/Package.internal.79.mjs +0 -32
  1142. package/vendor/Package.internal.80.cjs +0 -88
  1143. package/vendor/Package.internal.80.mjs +0 -88
  1144. package/vendor/Package.internal.81.cjs +0 -55
  1145. package/vendor/Package.internal.81.mjs +0 -55
  1146. package/vendor/Package.internal.82.cjs +0 -15
  1147. package/vendor/Package.internal.82.mjs +0 -13
  1148. package/vendor/Package.internal.83.cjs +0 -1355
  1149. package/vendor/Package.internal.83.mjs +0 -1355
  1150. package/vendor/Package.internal.84.cjs +0 -12
  1151. package/vendor/Package.internal.84.mjs +0 -6
  1152. package/vendor/Package.internal.85.cjs +0 -4
  1153. package/vendor/Package.internal.85.mjs +0 -2
  1154. package/vendor/Package.internal.86.cjs +0 -351
  1155. package/vendor/Package.internal.86.mjs +0 -351
  1156. package/vendor/Package.internal.87.cjs +0 -80
  1157. package/vendor/Package.internal.87.mjs +0 -80
  1158. package/vendor/Package.internal.88.cjs +0 -1445
  1159. package/vendor/Package.internal.88.mjs +0 -1433
  1160. package/vendor/Package.internal.89.cjs +0 -144
  1161. package/vendor/Package.internal.89.mjs +0 -142
  1162. package/vendor/Package.internal.90.cjs +0 -1822
  1163. package/vendor/Package.internal.90.mjs +0 -1814
  1164. package/vendor/Package.internal.91.cjs +0 -130
  1165. package/vendor/Package.internal.91.mjs +0 -124
  1166. package/vendor/Package.internal.92.cjs +0 -208
  1167. package/vendor/Package.internal.92.mjs +0 -208
  1168. package/vendor/Package.internal.93.cjs +0 -1641
  1169. package/vendor/Package.internal.93.mjs +0 -1641
  1170. package/vendor/Package.internal.94.cjs +0 -74
  1171. package/vendor/Package.internal.94.mjs +0 -74
  1172. package/vendor/Package.internal.95.cjs +0 -28
  1173. package/vendor/Package.internal.95.mjs +0 -28
  1174. package/vendor/Package.internal.96.cjs +0 -69
  1175. package/vendor/Package.internal.96.mjs +0 -67
  1176. package/vendor/Package.internal.97.cjs +0 -123
  1177. package/vendor/Package.internal.97.mjs +0 -121
  1178. package/vendor/Package.internal.98.cjs +0 -16
  1179. package/vendor/Package.internal.98.mjs +0 -8
  1180. package/vendor/Package.internal.99.cjs +0 -4
  1181. package/vendor/Package.internal.99.mjs +0 -2
@@ -1,988 +1,472 @@
1
- /* Build Date: Mon Nov 24 2025 17:58:53 GMT+0800 (China Standard Time) */
2
- import { a as t } from "./Package.internal.8.mjs";
3
-
4
- var i = function(t, e) {
5
- i = Object.setPrototypeOf || {
6
- __proto__: []
7
- } instanceof Array && function(t, i) {
8
- t.__proto__ = i;
9
- } || function(t, i) {
10
- for (var e in i) if (Object.prototype.hasOwnProperty.call(i, e)) t[e] = i[e];
11
- };
12
- return i(t, e);
13
- };
1
+ /* Build Date: Mon Nov 24 2025 18:10:51 GMT+0800 (China Standard Time) */
2
+ import { _ as t, a as e } from "./Package.internal.3.mjs";
14
3
 
15
- function e(t, e) {
16
- if (typeof e !== "function" && e !== null) throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
17
- i(t, e);
18
- function r() {
19
- this.constructor = t;
20
- }
21
- t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r);
22
- }
4
+ import { AsyncConstructor as s } from "../src/lib/base/async-constructor/AsyncConstructor.mjs";
23
5
 
24
- function r(t, i) {
25
- var e = {
26
- label: 0,
27
- sent: function() {
28
- if (s[0] & 1) throw s[1];
29
- return s[1];
30
- },
31
- trys: [],
32
- ops: []
33
- }, r, n, s, h;
34
- return h = {
35
- next: o(0),
36
- throw: o(1),
37
- return: o(2)
38
- }, typeof Symbol === "function" && (h[Symbol.iterator] = function() {
39
- return this;
40
- }), h;
41
- function o(t) {
42
- return function(i) {
43
- return u([ t, i ]);
44
- };
45
- }
46
- function u(o) {
47
- if (r) throw new TypeError("Generator is already executing.");
48
- while (h && (h = 0, o[0] && (e = 0)), e) try {
49
- if (r = 1, n && (s = o[0] & 2 ? n["return"] : o[0] ? n["throw"] || ((s = n["return"]) && s.call(n),
50
- 0) : n.next) && !(s = s.call(n, o[1])).done) return s;
51
- if (n = 0, s) o = [ o[0] & 2, s.value ];
52
- switch (o[0]) {
53
- case 0:
54
- case 1:
55
- s = o;
56
- break;
57
-
58
- case 4:
59
- e.label++;
60
- return {
61
- value: o[1],
62
- done: false
63
- };
6
+ import { Transient as i } from "../src/decorators/di/Lifetime.mjs";
64
7
 
65
- case 5:
66
- e.label++;
67
- n = o[1];
68
- o = [ 0 ];
69
- continue;
70
-
71
- case 7:
72
- o = e.ops.pop();
73
- e.trys.pop();
74
- continue;
75
-
76
- default:
77
- if (!(s = e.trys, s = s.length > 0 && s[s.length - 1]) && (o[0] === 6 || o[0] === 2)) {
78
- e = 0;
79
- continue;
80
- }
81
- if (o[0] === 3 && (!s || o[1] > s[0] && o[1] < s[3])) {
82
- e.label = o[1];
83
- break;
84
- }
85
- if (o[0] === 6 && e.label < s[1]) {
86
- e.label = s[1];
87
- s = o;
88
- break;
89
- }
90
- if (s && e.label < s[2]) {
91
- e.label = s[2];
92
- e.ops.push(o);
93
- break;
94
- }
95
- if (s[2]) e.ops.pop();
96
- e.trys.pop();
97
- continue;
98
- }
99
- o = i.call(t, e);
100
- } catch (t) {
101
- o = [ 6, t ];
102
- n = 0;
103
- } finally {
104
- r = s = 0;
105
- }
106
- if (o[0] & 5) throw o[1];
107
- return {
108
- value: o[0] ? o[1] : void 0,
109
- done: true
110
- };
111
- }
112
- }
8
+ import { MethodNotFoundException as r } from "../src/exceptions/MethodNotFoundException.mjs";
113
9
 
114
- typeof SuppressedError === "function" ? SuppressedError : function(t, i, e) {
115
- var r = new Error(e);
116
- return r.name = "SuppressedError", r.error = t, r.suppressed = i, r;
117
- };
10
+ import { createContainer as o } from "../src/lib/ioc/DependencyInjectionContainer.mjs";
118
11
 
119
- var n = function() {
120
- function t(t, i, e) {
121
- if (e === void 0) {
122
- e = 1;
123
- }
124
- this.t = undefined;
125
- this.i = undefined;
126
- this.h = undefined;
127
- this.u = t;
128
- this.o = i;
129
- this.l = e;
130
- }
131
- t.prototype.v = function() {
132
- var t = this;
133
- var i = t.h.h === t;
134
- if (i && t.l === 1) {
135
- t = t.i;
136
- } else if (t.t) {
137
- t = t.t;
138
- while (t.i) {
139
- t = t.i;
140
- }
141
- } else {
142
- if (i) {
143
- return t.h;
144
- }
145
- var e = t.h;
146
- while (e.t === t) {
147
- t = e;
148
- e = t.h;
149
- }
150
- t = e;
151
- }
152
- return t;
153
- };
154
- t.prototype.p = function() {
155
- var t = this;
156
- if (t.i) {
157
- t = t.i;
158
- while (t.t) {
159
- t = t.t;
160
- }
161
- return t;
162
- } else {
163
- var i = t.h;
164
- while (i.i === t) {
165
- t = i;
166
- i = t.h;
167
- }
168
- if (t.i !== i) {
169
- return i;
170
- } else return t;
171
- }
172
- };
173
- t.prototype.T = function() {
174
- var t = this.h;
175
- var i = this.i;
176
- var e = i.t;
177
- if (t.h === this) t.h = i; else if (t.t === this) t.t = i; else t.i = i;
178
- i.h = t;
179
- i.t = this;
180
- this.h = i;
181
- this.i = e;
182
- if (e) e.h = this;
183
- return i;
184
- };
185
- t.prototype.I = function() {
186
- var t = this.h;
187
- var i = this.t;
188
- var e = i.i;
189
- if (t.h === this) t.h = i; else if (t.t === this) t.t = i; else t.i = i;
190
- i.h = t;
191
- i.i = this;
192
- this.h = i;
193
- this.t = e;
194
- if (e) e.h = this;
195
- return i;
196
- };
197
- return t;
198
- }();
12
+ import { randomUUID as n } from "node:crypto";
199
13
 
200
- var s = function(t) {
201
- e(i, t);
202
- function i() {
203
- var i = t !== null && t.apply(this, arguments) || this;
204
- i.O = 1;
205
- return i;
206
- }
207
- i.prototype.T = function() {
208
- var i = t.prototype.T.call(this);
209
- this.M();
210
- i.M();
211
- return i;
212
- };
213
- i.prototype.I = function() {
214
- var i = t.prototype.I.call(this);
215
- this.M();
216
- i.M();
217
- return i;
218
- };
219
- i.prototype.M = function() {
220
- this.O = 1;
221
- if (this.t) {
222
- this.O += this.t.O;
223
- }
224
- if (this.i) {
225
- this.O += this.i.O;
226
- }
227
- };
228
- return i;
229
- }(n);
230
-
231
- var h = function() {
232
- function t(t) {
233
- if (t === void 0) {
234
- t = 0;
235
- }
236
- this.iteratorType = t;
237
- }
238
- t.prototype.equals = function(t) {
239
- return this.C === t.C;
240
- };
241
- return t;
242
- }();
243
-
244
- var o = function() {
245
- function t() {
246
- this._ = 0;
247
- }
248
- Object.defineProperty(t.prototype, "length", {
249
- get: function() {
250
- return this._;
251
- },
252
- enumerable: false,
253
- configurable: true
254
- });
255
- t.prototype.size = function() {
256
- return this._;
257
- };
258
- t.prototype.empty = function() {
259
- return this._ === 0;
260
- };
261
- return t;
262
- }();
14
+ import { GetConfigurableRecords as a, SetIdToInstance as c, SetConfigurableRecordsToInstance as l, SetConfigurableRecords as h, GetConfigurableRecordsFromInstance as d, GetIdFromInstance as m } from "../src/lib/base/internal/ConfigurableRecordsInjection.mjs";
15
+
16
+ import { GetObjectConfigurableProperties as p } from "../src/lib/base/internal/ObjectConfiguration.mjs";
17
+
18
+ import { GetObjectIsAutoload as u, GetObjectInjectItemsByPrototype as f } from "../src/lib/base/internal/ObjectInjection.mjs";
19
+
20
+ import { SetObjectContainerGetter as b } from "../src/lib/base/internal/ObjectContainer.mjs";
21
+
22
+ import { D as y, I as g } from "./Package.internal.7.mjs";
23
+
24
+ import { ObjectConstructor as j } from "../src/lib/helpers/ObjectConstructor.mjs";
25
+
26
+ import { As as w } from "../src/lib/helpers/As.mjs";
27
+
28
+ import { DevNull as O } from "../src/lib/helpers/DevNull.mjs";
29
+
30
+ import { ObjectParentConstructors as P } from "../src/lib/helpers/ObjectParentConstructors.mjs";
31
+
32
+ import { DependencyInjectionException as C } from "../src/exceptions/di/DependencyInjectionException.mjs";
33
+
34
+ import { ConstructorSymbol as R } from "../src/lib/base/internal/ConstructorSymbol.mjs";
35
+
36
+ import { Expect as S } from "../src/decorators/dto/Expect.mjs";
37
+
38
+ import { IndexSignature as N } from "../src/decorators/dto/IndexSignature.mjs";
39
+
40
+ import { asValue as I, asClass as v } from "../src/lib/ioc/Resolvers.mjs";
41
+
42
+ import { GetObjectLifetime as E } from "../src/lib/base/internal/ObjectLifetime.mjs";
43
+
44
+ import { Accept as M } from "../src/decorators/dto/Accept.mjs";
45
+
46
+ import { listModules as A } from "../src/lib/ioc/ListModules.mjs";
263
47
 
264
- var u = function(t) {
265
- e(i, t);
266
- function i() {
267
- return t !== null && t.apply(this, arguments) || this;
48
+ import { pathToFileURL as T } from "url";
49
+
50
+ import { isClass as L } from "../src/lib/ioc/Utils.mjs";
51
+
52
+ import { IsEmptyObject as k } from "../src/lib/helpers/IsEmptyObject.mjs";
53
+
54
+ import { AppendObjectWeakRefs as D, GetObjectWeakRefs as U, ClearObjectWeakRefs as x } from "../src/lib/base/internal/ObjectWeakRefs.mjs";
55
+
56
+ var B;
57
+
58
+ const _ = Symbol("OBJECT_ID");
59
+
60
+ let F = class LoadObjectOptions extends y {
61
+ static {
62
+ B = _;
268
63
  }
269
- return i;
270
- }(o);
64
+ };
271
65
 
272
- function f() {
273
- throw new RangeError("Iterator access denied!");
274
- }
66
+ t([ S(y.Alternatives(y.String(), y.Symbol()).optional()), e("design:type", Object) ], F.prototype, B, void 0);
275
67
 
276
- var l = function(t) {
277
- e(i, t);
278
- function i(i, e) {
279
- if (i === void 0) {
280
- i = function(t, i) {
281
- if (t < i) return -1;
282
- if (t > i) return 1;
283
- return 0;
284
- };
285
- }
286
- if (e === void 0) {
287
- e = false;
288
- }
289
- var r = t.call(this) || this;
290
- r.N = undefined;
291
- r.g = i;
292
- r.enableIndex = e;
293
- r.S = e ? s : n;
294
- r.A = new r.S;
295
- return r;
296
- }
297
- i.prototype.m = function(t, i) {
298
- var e = this.A;
299
- while (t) {
300
- var r = this.g(t.u, i);
301
- if (r < 0) {
302
- t = t.i;
303
- } else if (r > 0) {
304
- e = t;
305
- t = t.t;
306
- } else return t;
307
- }
308
- return e;
309
- };
310
- i.prototype.B = function(t, i) {
311
- var e = this.A;
312
- while (t) {
313
- var r = this.g(t.u, i);
314
- if (r <= 0) {
315
- t = t.i;
316
- } else {
317
- e = t;
318
- t = t.t;
319
- }
320
- }
321
- return e;
322
- };
323
- i.prototype.j = function(t, i) {
324
- var e = this.A;
325
- while (t) {
326
- var r = this.g(t.u, i);
327
- if (r < 0) {
328
- e = t;
329
- t = t.i;
330
- } else if (r > 0) {
331
- t = t.t;
332
- } else return t;
68
+ t([ S(y.Class(() => Q).required()), e("design:type", Object) ], F.prototype, "class", void 0);
69
+
70
+ F = t([ N(y.Any()) ], F);
71
+
72
+ const G = Symbol("LAKUTATA.DI.CONTAINER.SYMBOL");
73
+
74
+ const Y = Symbol("LAKUTATA.DI.OWNER.SYMBOL");
75
+
76
+ class Container {
77
+ #t;
78
+ #e;
79
+ #s;
80
+ constructor(t, e) {
81
+ this.#e = new Set;
82
+ this.#s = false;
83
+ this.injectionNames = new Set;
84
+ this.parent = t;
85
+ this.#t = t ? t.#t.createScope() : o({
86
+ injectionMode: "PROXY",
87
+ strict: false
88
+ });
89
+ if (this.parent) this.parent.#e.add(this);
90
+ this.#t.register(G, I(this));
91
+ if (e) this.#t.register(Y, I(new WeakRef(e)));
92
+ }
93
+ async disposer(t) {
94
+ try {
95
+ await t.getMethod(K, false)();
96
+ } catch (t) {
97
+ O(t);
333
98
  }
334
- return e;
335
- };
336
- i.prototype.k = function(t, i) {
337
- var e = this.A;
338
- while (t) {
339
- var r = this.g(t.u, i);
340
- if (r < 0) {
341
- e = t;
342
- t = t.i;
343
- } else {
344
- t = t.t;
345
- }
99
+ }
100
+ buildResolverOptions(t) {
101
+ const e = E(t);
102
+ return {
103
+ lifetime: e,
104
+ dispose: t => this.disposer(t)
105
+ };
106
+ }
107
+ async processResolved(t, e, s = {}) {
108
+ const i = a(w(t.constructor), e);
109
+ const r = y.isValid(t.constructor, y.Class(Q));
110
+ if (r) {
111
+ c(w(t), e);
112
+ l(w(t), {
113
+ ...i,
114
+ ...s
115
+ });
346
116
  }
117
+ return Promise.resolve(t);
118
+ }
119
+ buildNameAndRegistrationPairFromOptions(t) {
120
+ const e = {};
121
+ const s = t[_] ? t[_] : R(t.class);
122
+ const i = {
123
+ ...t,
124
+ class: void 0
125
+ };
126
+ delete i.id;
127
+ delete i.class;
128
+ h(t.class, s, i);
129
+ e[s] = v(t.class, this.buildResolverOptions(t.class));
347
130
  return e;
348
- };
349
- i.prototype.R = function(t) {
350
- while (true) {
351
- var i = t.h;
352
- if (i === this.A) return;
353
- if (t.l === 1) {
354
- t.l = 0;
355
- return;
356
- }
357
- if (t === i.t) {
358
- var e = i.i;
359
- if (e.l === 1) {
360
- e.l = 0;
361
- i.l = 1;
362
- if (i === this.N) {
363
- this.N = i.T();
364
- } else i.T();
365
- } else {
366
- if (e.i && e.i.l === 1) {
367
- e.l = i.l;
368
- i.l = 0;
369
- e.i.l = 0;
370
- if (i === this.N) {
371
- this.N = i.T();
372
- } else i.T();
373
- return;
374
- } else if (e.t && e.t.l === 1) {
375
- e.l = 1;
376
- e.t.l = 0;
377
- e.I();
378
- } else {
379
- e.l = 1;
380
- t = i;
381
- }
382
- }
383
- } else {
384
- var e = i.t;
385
- if (e.l === 1) {
386
- e.l = 0;
387
- i.l = 1;
388
- if (i === this.N) {
389
- this.N = i.I();
390
- } else i.I();
391
- } else {
392
- if (e.t && e.t.l === 1) {
393
- e.l = i.l;
394
- i.l = 0;
395
- e.t.l = 0;
396
- if (i === this.N) {
397
- this.N = i.I();
398
- } else i.I();
399
- return;
400
- } else if (e.i && e.i.l === 1) {
401
- e.l = 1;
402
- e.i.l = 0;
403
- e.T();
404
- } else {
405
- e.l = 1;
406
- t = i;
407
- }
408
- }
409
- }
410
- }
411
- };
412
- i.prototype.G = function(t) {
413
- if (this._ === 1) {
414
- this.clear();
415
- return;
416
- }
417
- var i = t;
418
- while (i.t || i.i) {
419
- if (i.i) {
420
- i = i.i;
421
- while (i.t) i = i.t;
422
- } else {
423
- i = i.t;
424
- }
425
- var e = t.u;
426
- t.u = i.u;
427
- i.u = e;
428
- var r = t.o;
429
- t.o = i.o;
430
- i.o = r;
431
- t = i;
432
- }
433
- if (this.A.t === i) {
434
- this.A.t = i.h;
435
- } else if (this.A.i === i) {
436
- this.A.i = i.h;
437
- }
438
- this.R(i);
439
- var n = i.h;
440
- if (i === n.t) {
441
- n.t = undefined;
442
- } else n.i = undefined;
443
- this._ -= 1;
444
- this.N.l = 0;
445
- if (this.enableIndex) {
446
- while (n !== this.A) {
447
- n.O -= 1;
448
- n = n.h;
449
- }
450
- }
451
- };
452
- i.prototype.P = function(t) {
453
- var i = typeof t === "number" ? t : undefined;
454
- var e = typeof t === "function" ? t : undefined;
455
- var r = typeof t === "undefined" ? [] : undefined;
456
- var n = 0;
457
- var s = this.N;
458
- var h = [];
459
- while (h.length || s) {
460
- if (s) {
461
- h.push(s);
462
- s = s.t;
463
- } else {
464
- s = h.pop();
465
- if (n === i) return s;
466
- r && r.push(s);
467
- e && e(s, n, this);
468
- n += 1;
469
- s = s.i;
470
- }
471
- }
472
- return r;
473
- };
474
- i.prototype.q = function(t) {
475
- while (true) {
476
- var i = t.h;
477
- if (i.l === 0) return;
478
- var e = i.h;
479
- if (i === e.t) {
480
- var r = e.i;
481
- if (r && r.l === 1) {
482
- r.l = i.l = 0;
483
- if (e === this.N) return;
484
- e.l = 1;
485
- t = e;
486
- continue;
487
- } else if (t === i.i) {
488
- t.l = 0;
489
- if (t.t) {
490
- t.t.h = i;
491
- }
492
- if (t.i) {
493
- t.i.h = e;
494
- }
495
- i.i = t.t;
496
- e.t = t.i;
497
- t.t = i;
498
- t.i = e;
499
- if (e === this.N) {
500
- this.N = t;
501
- this.A.h = t;
502
- } else {
503
- var n = e.h;
504
- if (n.t === e) {
505
- n.t = t;
506
- } else n.i = t;
507
- }
508
- t.h = e.h;
509
- i.h = t;
510
- e.h = t;
511
- e.l = 1;
512
- } else {
513
- i.l = 0;
514
- if (e === this.N) {
515
- this.N = e.I();
516
- } else e.I();
517
- e.l = 1;
518
- return;
519
- }
520
- } else {
521
- var r = e.t;
522
- if (r && r.l === 1) {
523
- r.l = i.l = 0;
524
- if (e === this.N) return;
525
- e.l = 1;
526
- t = e;
527
- continue;
528
- } else if (t === i.t) {
529
- t.l = 0;
530
- if (t.t) {
531
- t.t.h = e;
532
- }
533
- if (t.i) {
534
- t.i.h = i;
535
- }
536
- e.i = t.t;
537
- i.t = t.i;
538
- t.t = e;
539
- t.i = i;
540
- if (e === this.N) {
541
- this.N = t;
542
- this.A.h = t;
543
- } else {
544
- var n = e.h;
545
- if (n.t === e) {
546
- n.t = t;
547
- } else n.i = t;
548
- }
549
- t.h = e.h;
550
- i.h = t;
551
- e.h = t;
552
- e.l = 1;
553
- } else {
554
- i.l = 0;
555
- if (e === this.N) {
556
- this.N = e.T();
557
- } else e.T();
558
- e.l = 1;
559
- return;
560
- }
561
- }
562
- if (this.enableIndex) {
563
- i.M();
564
- e.M();
565
- t.M();
566
- }
567
- return;
568
- }
569
- };
570
- i.prototype.D = function(t, i, e) {
571
- if (this.N === undefined) {
572
- this._ += 1;
573
- this.N = new this.S(t, i, 0);
574
- this.N.h = this.A;
575
- this.A.h = this.A.t = this.A.i = this.N;
576
- return this._;
577
- }
578
- var r;
579
- var n = this.A.t;
580
- var s = this.g(n.u, t);
581
- if (s === 0) {
582
- n.o = i;
583
- return this._;
584
- } else if (s > 0) {
585
- n.t = new this.S(t, i);
586
- n.t.h = n;
587
- r = n.t;
588
- this.A.t = r;
589
- } else {
590
- var h = this.A.i;
591
- var o = this.g(h.u, t);
592
- if (o === 0) {
593
- h.o = i;
594
- return this._;
595
- } else if (o < 0) {
596
- h.i = new this.S(t, i);
597
- h.i.h = h;
598
- r = h.i;
599
- this.A.i = r;
600
- } else {
601
- if (e !== undefined) {
602
- var u = e.C;
603
- if (u !== this.A) {
604
- var f = this.g(u.u, t);
605
- if (f === 0) {
606
- u.o = i;
607
- return this._;
608
- } else if (f > 0) {
609
- var l = u.v();
610
- var a = this.g(l.u, t);
611
- if (a === 0) {
612
- l.o = i;
613
- return this._;
614
- } else if (a < 0) {
615
- r = new this.S(t, i);
616
- if (l.i === undefined) {
617
- l.i = r;
618
- r.h = l;
619
- } else {
620
- u.t = r;
621
- r.h = u;
622
- }
623
- }
624
- }
625
- }
626
- }
627
- if (r === undefined) {
628
- r = this.N;
629
- while (true) {
630
- var p = this.g(r.u, t);
631
- if (p > 0) {
632
- if (r.t === undefined) {
633
- r.t = new this.S(t, i);
634
- r.t.h = r;
635
- r = r.t;
636
- break;
637
- }
638
- r = r.t;
639
- } else if (p < 0) {
640
- if (r.i === undefined) {
641
- r.i = new this.S(t, i);
642
- r.i.h = r;
643
- r = r.i;
644
- break;
645
- }
646
- r = r.i;
131
+ }
132
+ async buildNameAndRegistrationPairFromGlob(t) {
133
+ const e = [];
134
+ A(t).forEach(t => {
135
+ e.push(new Promise(e => {
136
+ import(T(t.path).toString()).then(t => {
137
+ Object.keys(t).forEach(s => {
138
+ const i = t[s];
139
+ if (L(i) && y.isValid(i, y.Class(Q))) {
140
+ const t = i;
141
+ const s = {};
142
+ s[R(t)] = v(t, this.buildResolverOptions(t));
143
+ return e(s);
647
144
  } else {
648
- r.o = i;
649
- return this._;
145
+ return e({});
650
146
  }
651
- }
652
- }
653
- }
654
- }
655
- if (this.enableIndex) {
656
- var c = r.h;
657
- while (c !== this.A) {
658
- c.O += 1;
659
- c = c.h;
660
- }
661
- }
662
- this.q(r);
663
- this._ += 1;
664
- return this._;
665
- };
666
- i.prototype.F = function(t, i) {
667
- while (t) {
668
- var e = this.g(t.u, i);
669
- if (e < 0) {
670
- t = t.i;
671
- } else if (e > 0) {
672
- t = t.t;
673
- } else return t;
674
- }
675
- return t || this.A;
676
- };
677
- i.prototype.clear = function() {
678
- this._ = 0;
679
- this.N = undefined;
680
- this.A.h = undefined;
681
- this.A.t = this.A.i = undefined;
682
- };
683
- i.prototype.updateKeyByIterator = function(t, i) {
684
- var e = t.C;
685
- if (e === this.A) {
686
- f();
687
- }
688
- if (this._ === 1) {
689
- e.u = i;
690
- return true;
691
- }
692
- var r = e.p().u;
693
- if (e === this.A.t) {
694
- if (this.g(r, i) > 0) {
695
- e.u = i;
696
- return true;
697
- }
698
- return false;
699
- }
700
- var n = e.v().u;
701
- if (e === this.A.i) {
702
- if (this.g(n, i) < 0) {
703
- e.u = i;
704
- return true;
147
+ });
148
+ }).catch(() => e({}));
149
+ }));
150
+ });
151
+ const s = await Promise.all(e);
152
+ let i = {};
153
+ s.forEach(t => {
154
+ i = {
155
+ ...i,
156
+ ...t
157
+ };
158
+ });
159
+ return i;
160
+ }
161
+ owner() {
162
+ const t = this.#t.resolve(Y, {
163
+ allowUnregistered: true
164
+ });
165
+ return t ? t.deref() : undefined;
166
+ }
167
+ async load(t) {
168
+ let e = {};
169
+ const s = [];
170
+ t.forEach(t => {
171
+ if (typeof t === "string") {
172
+ s.push(new Promise((e, s) => this.buildNameAndRegistrationPairFromGlob(t).then(e).catch(s)));
173
+ } else if (L(w(t))) {
174
+ const s = {
175
+ class: w(t)
176
+ };
177
+ e = {
178
+ ...e,
179
+ ...this.buildNameAndRegistrationPairFromOptions(s)
180
+ };
181
+ } else {
182
+ const s = w(t);
183
+ e = {
184
+ ...e,
185
+ ...this.buildNameAndRegistrationPairFromOptions(s)
186
+ };
705
187
  }
706
- return false;
707
- }
708
- if (this.g(n, i) >= 0 || this.g(r, i) <= 0) return false;
709
- e.u = i;
710
- return true;
711
- };
712
- i.prototype.eraseElementByPos = function(t) {
713
- if (t < 0 || t > this._ - 1) {
714
- throw new RangeError;
715
- }
716
- var i = this.P(t);
717
- this.G(i);
718
- return this._;
719
- };
720
- i.prototype.eraseElementByKey = function(t) {
721
- if (this._ === 0) return false;
722
- var i = this.F(this.N, t);
723
- if (i === this.A) return false;
724
- this.G(i);
725
- return true;
726
- };
727
- i.prototype.eraseElementByIterator = function(t) {
728
- var i = t.C;
729
- if (i === this.A) {
730
- f();
731
- }
732
- var e = i.i === undefined;
733
- var r = t.iteratorType === 0;
734
- if (r) {
735
- if (e) t.next();
736
- } else {
737
- if (!e || i.t === undefined) t.next();
188
+ });
189
+ if (s.length) {
190
+ const t = await Promise.all(s);
191
+ t.forEach(t => {
192
+ e = {
193
+ ...t,
194
+ ...e
195
+ };
196
+ });
738
197
  }
739
- this.G(i);
740
- return t;
741
- };
742
- i.prototype.getHeight = function() {
743
- if (this._ === 0) return 0;
744
- function t(i) {
745
- if (!i) return 0;
746
- return Math.max(t(i.t), t(i.i)) + 1;
198
+ if (!k(e)) {
199
+ Object.getOwnPropertyNames(e).forEach(t => this.injectionNames.add(t));
200
+ Object.getOwnPropertySymbols(e).forEach(t => this.injectionNames.add(t));
201
+ this.#t.register(e);
747
202
  }
748
- return t(this.N);
749
- };
750
- return i;
751
- }(u);
752
-
753
- var a = function(t) {
754
- e(i, t);
755
- function i(i, e, r) {
756
- var n = t.call(this, r) || this;
757
- n.C = i;
758
- n.A = e;
759
- if (n.iteratorType === 0) {
760
- n.pre = function() {
761
- if (this.C === this.A.t) {
762
- f();
763
- }
764
- this.C = this.C.v();
765
- return this;
766
- };
767
- n.next = function() {
768
- if (this.C === this.A) {
769
- f();
770
- }
771
- this.C = this.C.p();
772
- return this;
773
- };
774
- } else {
775
- n.pre = function() {
776
- if (this.C === this.A.i) {
777
- f();
778
- }
779
- this.C = this.C.p();
780
- return this;
781
- };
782
- n.next = function() {
783
- if (this.C === this.A) {
784
- f();
785
- }
786
- this.C = this.C.v();
787
- return this;
788
- };
789
- }
790
- return n;
791
- }
792
- Object.defineProperty(i.prototype, "index", {
793
- get: function() {
794
- var t = this.C;
795
- var i = this.A.h;
796
- if (t === this.A) {
797
- if (i) {
798
- return i.O - 1;
799
- }
800
- return 0;
801
- }
802
- var e = 0;
803
- if (t.t) {
804
- e += t.t.O;
805
- }
806
- while (t !== i) {
807
- var r = t.h;
808
- if (t === r.i) {
809
- e += 1;
810
- if (r.t) {
811
- e += r.t.O;
812
- }
813
- }
814
- t = r;
815
- }
816
- return e;
817
- },
818
- enumerable: false,
819
- configurable: true
820
- });
821
- i.prototype.isAccessible = function() {
822
- return this.C !== this.A;
823
- };
824
- return i;
825
- }(h);
826
-
827
- var p = function(t) {
828
- e(i, t);
829
- function i(i, e, r, n) {
830
- var s = t.call(this, i, e, n) || this;
831
- s.container = r;
203
+ }
204
+ async get(t, e = {}) {
205
+ const s = typeof t === "function" ? R(t) : t;
206
+ if (!this.#t.hasRegistration(s) && typeof t === "function" && u(w(t))) {
207
+ await this.load([ {
208
+ id: s,
209
+ class: w(t)
210
+ } ]);
211
+ }
212
+ return (this.#t.getRegistration(s)?.lifetime === "SINGLETON" || this.#t.getRegistration(s)?.lifetime === "MODULE_SINGLETON") && !this.injectionNames.has(s) && this.parent ? await this.parent.get(s, e) : await this.processResolved(this.#t.resolve(s), s, e);
213
+ }
214
+ has(t) {
215
+ if (typeof t === "function") return this.#t.hasRegistration(R(t));
216
+ return this.#t.hasRegistration(t);
217
+ }
218
+ async set(t, e = {}) {
219
+ await this.load([ {
220
+ ...e,
221
+ class: t
222
+ } ]);
223
+ return await this.get(t);
224
+ }
225
+ async setNamed(t, e, s = {}) {
226
+ await this.load([ {
227
+ ...s,
228
+ class: e,
229
+ [_]: t
230
+ } ]);
231
+ return await this.get(t);
232
+ }
233
+ async register(t, e = {}) {
234
+ await this.load([ {
235
+ ...e,
236
+ class: t
237
+ } ]);
238
+ }
239
+ async registerNamed(t, e, s = {}) {
240
+ await this.load([ {
241
+ ...s,
242
+ class: e,
243
+ [_]: t
244
+ } ]);
245
+ }
246
+ async build(t, e = {}) {
247
+ const s = await this.processResolved(this.#t.build(t, this.buildResolverOptions(t)), R(t), e);
248
+ D(this.#t, s);
832
249
  return s;
833
250
  }
834
- Object.defineProperty(i.prototype, "pointer", {
835
- get: function() {
836
- if (this.C === this.A) {
837
- f();
251
+ createScope() {
252
+ return new Container(this, this.owner());
253
+ }
254
+ registerContainerToItsParent() {
255
+ if (this.parent) this.parent.#e.add(this);
256
+ }
257
+ async clear() {
258
+ const t = [];
259
+ this.#e.forEach(e => t.push(new Promise((t, s) => e.destroy().then(t).catch(s))));
260
+ await Promise.all(t);
261
+ await this.#t.dispose();
262
+ const e = [];
263
+ U(this.#t).forEach(t => {
264
+ let s = t.deref();
265
+ if (!s) return;
266
+ if (s[K]) {
267
+ e.push(new Promise(t => s ? Promise.resolve(s[K]()).then(() => {
268
+ s = undefined;
269
+ return t();
270
+ }).catch(O) : t()));
838
271
  }
839
- var t = this;
840
- return new Proxy([], {
841
- get: function(i, e) {
842
- if (e === "0") return t.C.u; else if (e === "1") return t.C.o;
843
- i[0] = t.C.u;
844
- i[1] = t.C.o;
845
- return i[e];
846
- },
847
- set: function(i, e, r) {
848
- if (e !== "1") {
849
- throw new TypeError("prop must be 1");
850
- }
851
- t.C.o = r;
852
- return true;
853
- }
854
- });
855
- },
856
- enumerable: false,
857
- configurable: true
858
- });
859
- i.prototype.copy = function() {
860
- return new i(this.C, this.A, this.container, this.iteratorType);
861
- };
862
- return i;
863
- }(a);
864
-
865
- var c = function(t) {
866
- e(i, t);
867
- function i(i, e, r) {
868
- if (i === void 0) {
869
- i = [];
870
- }
871
- var n = t.call(this, e, r) || this;
872
- var s = n;
873
- i.forEach(function(t) {
874
- s.setElement(t[0], t[1]);
875
272
  });
876
- return n;
877
- }
878
- i.prototype.begin = function() {
879
- return new p(this.A.t || this.A, this.A, this);
880
- };
881
- i.prototype.end = function() {
882
- return new p(this.A, this.A, this);
883
- };
884
- i.prototype.rBegin = function() {
885
- return new p(this.A.i || this.A, this.A, this, 1);
886
- };
887
- i.prototype.rEnd = function() {
888
- return new p(this.A, this.A, this, 1);
889
- };
890
- i.prototype.front = function() {
891
- if (this._ === 0) return;
892
- var t = this.A.t;
893
- return [ t.u, t.o ];
894
- };
895
- i.prototype.back = function() {
896
- if (this._ === 0) return;
897
- var t = this.A.i;
898
- return [ t.u, t.o ];
899
- };
900
- i.prototype.lowerBound = function(t) {
901
- var i = this.m(this.N, t);
902
- return new p(i, this.A, this);
903
- };
904
- i.prototype.upperBound = function(t) {
905
- var i = this.B(this.N, t);
906
- return new p(i, this.A, this);
907
- };
908
- i.prototype.reverseLowerBound = function(t) {
909
- var i = this.j(this.N, t);
910
- return new p(i, this.A, this);
911
- };
912
- i.prototype.reverseUpperBound = function(t) {
913
- var i = this.k(this.N, t);
914
- return new p(i, this.A, this);
915
- };
916
- i.prototype.forEach = function(t) {
917
- this.P(function(i, e, r) {
918
- t([ i.u, i.o ], e, r);
919
- });
920
- };
921
- i.prototype.setElement = function(t, i, e) {
922
- return this.D(t, i, e);
923
- };
924
- i.prototype.getElementByPos = function(t) {
925
- if (t < 0 || t > this._ - 1) {
926
- throw new RangeError;
273
+ await Promise.all(e);
274
+ x(this.#t);
275
+ }
276
+ async destroy() {
277
+ if (this.#s) return;
278
+ this.#s = true;
279
+ if (this.parent) this.parent.#e.delete(this);
280
+ await this.clear();
281
+ }
282
+ }
283
+
284
+ t([ M(y.Array(y.Alternatives(F.Schema(), y.Class(() => Q), y.Glob()))), e("design:type", Function), e("design:paramtypes", [ Array ]), e("design:returntype", Promise) ], Container.prototype, "load", null);
285
+
286
+ const $ = Symbol("OBJECT.TYPE");
287
+
288
+ var q;
289
+
290
+ (function(t) {
291
+ t["Unknown"] = "Unknown";
292
+ t["Object"] = "Object";
293
+ t["Provider"] = "Provider";
294
+ t["Controller"] = "Controller";
295
+ t["Component"] = "Component";
296
+ t["Module"] = "Module";
297
+ })(q || (q = {}));
298
+
299
+ function z(t) {
300
+ return e => J(e, t);
301
+ }
302
+
303
+ function J(t, e) {
304
+ Reflect.defineMetadata($, y.isValid(t, y.Class(Q)) ? e : q.Unknown, t);
305
+ return t;
306
+ }
307
+
308
+ function V(t) {
309
+ if (Reflect.hasOwnMetadata($, t)) return Reflect.getOwnMetadata($, t);
310
+ let e = q.Unknown;
311
+ for (const s of P(t)) {
312
+ if (Reflect.hasOwnMetadata($, s)) {
313
+ e = Reflect.getOwnMetadata($, s);
314
+ break;
927
315
  }
928
- var i = this.P(t);
929
- return [ i.u, i.o ];
930
- };
931
- i.prototype.find = function(t) {
932
- var i = this.F(this.N, t);
933
- return new p(i, this.A, this);
934
- };
935
- i.prototype.getElementByKey = function(t) {
936
- var i = this.F(this.N, t);
937
- return i.o;
938
- };
939
- i.prototype.union = function(t) {
940
- var i = this;
941
- t.forEach(function(t) {
942
- i.setElement(t[0], t[1]);
316
+ }
317
+ J(t, e);
318
+ return V(t);
319
+ }
320
+
321
+ const W = Symbol("__init");
322
+
323
+ const K = Symbol("__destroy");
324
+
325
+ const X = Symbol("anonymous");
326
+
327
+ const H = Symbol("OBJECT.SYMBOL.PROPERTY");
328
+
329
+ let Q = class BaseObject extends s {
330
+ #i;
331
+ #r;
332
+ #o=n();
333
+ #n=false;
334
+ async #a() {
335
+ const t = d(this);
336
+ const e = [];
337
+ p(this).forEach((s, i) => {
338
+ if (g(i)) return;
339
+ e.push(new Promise((e, r) => {
340
+ y.validateAsync(t[w(i)], s.schema, {
341
+ targetName: i
342
+ }).then(t => Promise.resolve(s.fn.bind(this)(t)).then(t => {
343
+ this[i] = t;
344
+ return e();
345
+ }).catch(r)).catch(r);
346
+ }));
943
347
  });
944
- return this._;
945
- };
946
- i.prototype[Symbol.iterator] = function() {
947
- var t, i, e, n;
948
- return r(this, function(r) {
949
- switch (r.label) {
950
- case 0:
951
- t = this._;
952
- i = this.P();
953
- e = 0;
954
- r.label = 1;
955
-
956
- case 1:
957
- if (!(e < t)) return [ 3, 4 ];
958
- n = i[e];
959
- return [ 4, [ n.u, n.o ] ];
960
-
961
- case 2:
962
- r.sent();
963
- r.label = 3;
964
-
965
- case 3:
966
- ++e;
967
- return [ 3, 1 ];
968
-
969
- case 4:
970
- return [ 2 ];
971
- }
348
+ await Promise.all(e);
349
+ }
350
+ async #c() {
351
+ const t = f(this);
352
+ const e = [];
353
+ t.forEach((t, s) => {
354
+ const i = t.name;
355
+ e.push(new Promise((e, r) => {
356
+ this.#i.get(i).then(i => {
357
+ Promise.resolve(t.transform(i)).then(t => {
358
+ Reflect.set(this, s, t);
359
+ return e();
360
+ }).catch(r);
361
+ }).catch(t => r(new C("Unable to inject value for property {0} of {1} because: {2}", [ s, this.className, t.message ])));
362
+ }));
972
363
  });
973
- };
974
- return i;
975
- }(l);
976
-
977
- const v = Object.freeze(Object.defineProperty({
978
- __proto__: null,
979
- get OrderedMap() {
980
- return c;
364
+ await Promise.all(e);
365
+ }
366
+ #l() {
367
+ const t = m(this);
368
+ this.#r = t ? t : X;
369
+ }
370
+ constructor(t) {
371
+ super(async () => {
372
+ this.#l();
373
+ const t = Object.getOwnPropertyDescriptor(this, "then");
374
+ if (t) Object.defineProperty(this, "then", {
375
+ enumerable: false
376
+ });
377
+ await this[W]();
378
+ });
379
+ this.#i = new Container(t[G], this);
380
+ b(this, this.#i);
381
+ }
382
+ static get className() {
383
+ return this.name;
384
+ }
385
+ get className() {
386
+ return j(this).name;
387
+ }
388
+ async [W](...t) {
389
+ this.#i.registerContainerToItsParent();
390
+ if (!this.#n) {
391
+ await this.#c();
392
+ await this.#a();
393
+ this.#n = true;
394
+ }
395
+ for (const e of t) await e();
396
+ await this.init();
397
+ }
398
+ async [K](...t) {
399
+ await this.#i.destroy();
400
+ for (const e of t) await e();
401
+ await this.destroy();
402
+ }
403
+ async init() {}
404
+ async destroy() {}
405
+ async getObject(t, e = {}) {
406
+ return await this.#i.get(t, e);
407
+ }
408
+ async buildObject(t, e = {}) {
409
+ return this.#i.build(t, e);
410
+ }
411
+ getParent() {
412
+ return this.#i.parent?.owner();
413
+ }
414
+ getModule() {
415
+ let t = this.getParent();
416
+ while (t && V(w(j(t))) !== q.Module) {
417
+ t = this.getParent();
418
+ }
419
+ return w(t);
420
+ }
421
+ get $uuid() {
422
+ return this.#o;
423
+ }
424
+ get $id() {
425
+ return this.#r;
981
426
  }
982
- }, Symbol.toStringTag, {
983
- value: "Module"
984
- }));
427
+ get $symbol() {
428
+ if (Reflect.hasOwnMetadata(H, this)) return Reflect.getOwnMetadata(H, this);
429
+ Reflect.defineMetadata(H, Symbol(this.$uuid), this);
430
+ return this.$symbol;
431
+ }
432
+ setProperty(t, e) {
433
+ this[t] = e;
434
+ }
435
+ getProperty(t, e) {
436
+ if (this.hasProperty(t)) return w(this[t]);
437
+ return w(e);
438
+ }
439
+ hasProperty(t) {
440
+ return typeof t === "string" ? this.propertyNames().includes(t) : this.propertySymbols().includes(t);
441
+ }
442
+ propertySymbols() {
443
+ return Object.getOwnPropertySymbols(this);
444
+ }
445
+ propertyNames() {
446
+ return Object.getOwnPropertyNames(this);
447
+ }
448
+ hasMethod(t) {
449
+ const e = this.hasProperty(t);
450
+ if (e) return false;
451
+ return typeof this[t] === "function";
452
+ }
453
+ getMethod(t, e = false) {
454
+ if (this.hasMethod(t)) {
455
+ return (...e) => this[t](...e);
456
+ } else if (e) {
457
+ throw new r('Method "{methodName}" not found in "{className}"', {
458
+ methodName: t,
459
+ className: this.constructor.name
460
+ });
461
+ } else {
462
+ return (...t) => O(...t);
463
+ }
464
+ }
465
+ async dispose() {
466
+ await this.destroy();
467
+ }
468
+ };
985
469
 
986
- const y = t(v);
470
+ Q = t([ i(), z(q.Object), e("design:paramtypes", [ Object ]) ], Q);
987
471
 
988
- export { y as r };
472
+ export { Q as B, Container as C, z as D, V as G, F as L, q as O, J as S, W as _, K as a, _ as b, G as c, X as d, Y as o };