lakutata 2.0.82 → 2.0.83
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.
- package/com/docker.cjs +1 -1
- package/com/docker.mjs +1 -1
- package/decorator/orm.cjs +84 -84
- package/decorator/orm.mjs +42 -128
- package/orm.cjs +871 -1408
- package/orm.mjs +712 -1462
- package/package.json +1 -1
- package/src/components/Database.cjs +2 -2
- package/src/components/Database.mjs +6 -6
- package/src/components/cacher/Cacher.cjs +129 -129
- package/src/components/cacher/Cacher.mjs +117 -117
- package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +303 -312
- package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +304 -313
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +12 -12
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +11 -11
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +16 -16
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +14 -14
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +11 -11
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +11 -11
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +12 -12
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +13 -13
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +2 -2
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +2 -2
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +10 -10
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +10 -10
- package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +2 -2
- package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +5 -5
- package/src/components/docker/ConnectionOptionsBuilder.cjs +11 -11
- package/src/components/docker/ConnectionOptionsBuilder.mjs +7 -7
- package/src/components/docker/Docker.cjs +5067 -4956
- package/src/components/docker/Docker.mjs +4982 -4871
- package/src/components/docker/lib/DockerContainer.cjs +1 -1
- package/src/components/docker/lib/DockerContainer.mjs +1 -1
- package/src/components/docker/lib/DockerContainerTTY.cjs +1 -1
- package/src/components/docker/lib/DockerContainerTTY.mjs +1 -1
- package/src/components/docker/lib/ParseEnvToRecord.cjs +2 -2
- package/src/components/docker/lib/ParseEnvToRecord.mjs +12 -12
- package/src/components/docker/lib/ParseRepositoryTag.cjs +9 -9
- package/src/components/docker/lib/ParseRepositoryTag.mjs +11 -11
- package/src/components/entrypoint/Entrypoint.cjs +1678 -2168
- package/src/components/entrypoint/Entrypoint.mjs +1680 -2170
- package/src/components/monitor/AliveMonitor.cjs +2 -2
- package/src/components/monitor/AliveMonitor.mjs +2 -2
- package/src/components/monitor/MemoryMonitor.cjs +3 -3
- package/src/decorators/asst/After.cjs +3 -3
- package/src/decorators/asst/After.mjs +2 -2
- package/src/decorators/asst/Before.cjs +2 -2
- package/src/decorators/asst/Before.mjs +4 -4
- package/src/decorators/ctrl/CLIAction.cjs +2 -2
- package/src/decorators/ctrl/CLIAction.mjs +7 -7
- package/src/decorators/ctrl/HTTPAction.cjs +6 -6
- package/src/decorators/ctrl/HTTPAction.mjs +4 -4
- package/src/decorators/ctrl/ServiceAction.cjs +3 -3
- package/src/decorators/ctrl/ServiceAction.mjs +4 -4
- package/src/decorators/ctrl/http/DELETE.cjs +2 -2
- package/src/decorators/ctrl/http/DELETE.mjs +2 -2
- package/src/decorators/ctrl/http/GET.cjs +2 -2
- package/src/decorators/ctrl/http/GET.mjs +2 -2
- package/src/decorators/ctrl/http/HEAD.cjs +2 -2
- package/src/decorators/ctrl/http/HEAD.mjs +2 -2
- package/src/decorators/ctrl/http/OPTIONS.cjs +2 -2
- package/src/decorators/ctrl/http/OPTIONS.mjs +2 -2
- package/src/decorators/ctrl/http/PATCH.cjs +2 -2
- package/src/decorators/ctrl/http/PATCH.mjs +2 -2
- package/src/decorators/ctrl/http/POST.cjs +2 -2
- package/src/decorators/ctrl/http/POST.mjs +2 -2
- package/src/decorators/ctrl/http/PUT.cjs +2 -2
- package/src/decorators/ctrl/http/PUT.mjs +2 -2
- package/src/decorators/di/Autoload.cjs +2 -2
- package/src/decorators/di/Autoload.mjs +2 -2
- package/src/decorators/di/Configurable.cjs +3 -3
- package/src/decorators/di/Configurable.mjs +2 -2
- package/src/decorators/di/Inject.cjs +6 -6
- package/src/decorators/di/Inject.mjs +11 -11
- package/src/decorators/di/Lifetime.cjs +18 -18
- package/src/decorators/di/Lifetime.mjs +13 -13
- package/src/decorators/dto/Accept.cjs +3 -3
- package/src/decorators/dto/Accept.mjs +2 -2
- package/src/decorators/dto/Expect.cjs +2 -2
- package/src/decorators/dto/Expect.mjs +3 -3
- package/src/decorators/dto/IndexSignature.cjs +2 -2
- package/src/decorators/dto/IndexSignature.mjs +3 -3
- package/src/decorators/dto/Return.cjs +3 -3
- package/src/decorators/dto/Return.mjs +2 -2
- package/src/decorators/orm/AfterInsert.cjs +26 -4
- package/src/decorators/orm/AfterInsert.mjs +25 -5
- package/src/decorators/orm/AfterLoad.cjs +26 -4
- package/src/decorators/orm/AfterLoad.mjs +25 -5
- package/src/decorators/orm/AfterRecover.cjs +26 -4
- package/src/decorators/orm/AfterRecover.mjs +25 -5
- package/src/decorators/orm/AfterRemove.cjs +26 -4
- package/src/decorators/orm/AfterRemove.mjs +25 -5
- package/src/decorators/orm/AfterSoftRemove.cjs +26 -4
- package/src/decorators/orm/AfterSoftRemove.mjs +25 -5
- package/src/decorators/orm/AfterUpdate.cjs +26 -4
- package/src/decorators/orm/AfterUpdate.mjs +25 -5
- package/src/decorators/orm/BeforeInsert.cjs +26 -4
- package/src/decorators/orm/BeforeInsert.mjs +25 -5
- package/src/decorators/orm/BeforeRecover.cjs +26 -4
- package/src/decorators/orm/BeforeRecover.mjs +25 -5
- package/src/decorators/orm/BeforeRemove.cjs +26 -4
- package/src/decorators/orm/BeforeRemove.mjs +25 -5
- package/src/decorators/orm/BeforeSoftRemove.cjs +26 -4
- package/src/decorators/orm/BeforeSoftRemove.mjs +25 -5
- package/src/decorators/orm/BeforeUpdate.cjs +26 -4
- package/src/decorators/orm/BeforeUpdate.mjs +25 -5
- package/src/decorators/orm/Check.cjs +29 -4
- package/src/decorators/orm/Check.mjs +28 -5
- package/src/decorators/orm/ChildEntity.cjs +29 -4
- package/src/decorators/orm/ChildEntity.mjs +28 -5
- package/src/decorators/orm/Column.cjs +61 -4
- package/src/decorators/orm/Column.mjs +61 -6
- package/src/decorators/orm/CreateDateColumn.cjs +25 -4
- package/src/decorators/orm/CreateDateColumn.mjs +24 -5
- package/src/decorators/orm/DeleteDateColumn.cjs +25 -4
- package/src/decorators/orm/DeleteDateColumn.mjs +23 -4
- package/src/decorators/orm/Entity.cjs +35 -4
- package/src/decorators/orm/Entity.mjs +33 -4
- package/src/decorators/orm/EventSubscriber.cjs +22 -4
- package/src/decorators/orm/EventSubscriber.mjs +21 -5
- package/src/decorators/orm/Exclusion.cjs +29 -4
- package/src/decorators/orm/Exclusion.mjs +28 -5
- package/src/decorators/orm/Generated.cjs +24 -4
- package/src/decorators/orm/Generated.mjs +23 -5
- package/src/decorators/orm/Index.cjs +41 -4
- package/src/decorators/orm/Index.mjs +41 -6
- package/src/decorators/orm/JoinColumn.cjs +29 -4
- package/src/decorators/orm/JoinColumn.mjs +28 -5
- package/src/decorators/orm/JoinTable.cjs +30 -4
- package/src/decorators/orm/JoinTable.mjs +28 -4
- package/src/decorators/orm/ManyToMany.cjs +42 -4
- package/src/decorators/orm/ManyToMany.mjs +40 -4
- package/src/decorators/orm/ManyToOne.cjs +42 -4
- package/src/decorators/orm/ManyToOne.mjs +40 -4
- package/src/decorators/orm/ObjectIdColumn.cjs +28 -4
- package/src/decorators/orm/ObjectIdColumn.mjs +27 -5
- package/src/decorators/orm/OneToMany.cjs +34 -4
- package/src/decorators/orm/OneToMany.mjs +34 -6
- package/src/decorators/orm/OneToOne.cjs +42 -4
- package/src/decorators/orm/OneToOne.mjs +40 -4
- package/src/decorators/orm/PrimaryColumn.cjs +49 -4
- package/src/decorators/orm/PrimaryColumn.mjs +49 -6
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +54 -4
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +54 -6
- package/src/decorators/orm/RelationId.cjs +26 -4
- package/src/decorators/orm/RelationId.mjs +25 -5
- package/src/decorators/orm/TableInheritance.cjs +26 -4
- package/src/decorators/orm/TableInheritance.mjs +25 -5
- package/src/decorators/orm/Tree.cjs +24 -4
- package/src/decorators/orm/Tree.mjs +23 -5
- package/src/decorators/orm/TreeChildren.cjs +31 -4
- package/src/decorators/orm/TreeChildren.mjs +29 -4
- package/src/decorators/orm/TreeLevelColumn.cjs +25 -4
- package/src/decorators/orm/TreeLevelColumn.mjs +23 -4
- package/src/decorators/orm/TreeParent.cjs +31 -4
- package/src/decorators/orm/TreeParent.mjs +29 -4
- package/src/decorators/orm/Unique.cjs +44 -4
- package/src/decorators/orm/Unique.mjs +44 -6
- package/src/decorators/orm/UpdateDateColumn.cjs +25 -4
- package/src/decorators/orm/UpdateDateColumn.mjs +24 -5
- package/src/decorators/orm/VersionColumn.cjs +25 -4
- package/src/decorators/orm/VersionColumn.mjs +24 -5
- package/src/decorators/orm/ViewColumn.cjs +25 -4
- package/src/decorators/orm/ViewColumn.mjs +24 -5
- package/src/decorators/orm/ViewEntity.cjs +34 -4
- package/src/decorators/orm/ViewEntity.mjs +33 -5
- package/src/decorators/orm/VirtualColumn.cjs +42 -4
- package/src/decorators/orm/VirtualColumn.mjs +40 -4
- package/src/lib/base/EventEmitter.cjs +1195 -1202
- package/src/lib/base/EventEmitter.mjs +1195 -1202
- package/src/lib/base/async-constructor/Append.cjs +11 -11
- package/src/lib/base/async-constructor/Append.mjs +7 -7
- package/src/lib/base/internal/BasicInfo.cjs +10 -10
- package/src/lib/base/internal/BasicInfo.mjs +9 -9
- package/src/lib/base/internal/CamelCase.cjs +4 -4
- package/src/lib/base/internal/CamelCase.mjs +11 -11
- package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +19 -19
- package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +18 -18
- package/src/lib/base/internal/ConstructorSymbol.cjs +10 -10
- package/src/lib/base/internal/ConstructorSymbol.mjs +8 -8
- package/src/lib/base/internal/ControllerEntrypoint.cjs +65 -65
- package/src/lib/base/internal/ControllerEntrypoint.mjs +36 -36
- package/src/lib/base/internal/DataValidator.cjs +185 -174
- package/src/lib/base/internal/DataValidator.mjs +230 -219
- package/src/lib/base/internal/GetActionDTOAndOptions.cjs +9 -9
- package/src/lib/base/internal/GetActionDTOAndOptions.mjs +10 -10
- package/src/lib/base/internal/IEEE754.cjs +74 -74
- package/src/lib/base/internal/IEEE754.mjs +70 -70
- package/src/lib/base/internal/MethodAssistantFunction.cjs +28 -28
- package/src/lib/base/internal/MethodAssistantFunction.mjs +38 -38
- package/src/lib/base/internal/MethodValidation.cjs +25 -25
- package/src/lib/base/internal/MethodValidation.mjs +20 -20
- package/src/lib/base/internal/ObjectConfiguration.cjs +10 -10
- package/src/lib/base/internal/ObjectConfiguration.mjs +15 -15
- package/src/lib/base/internal/ObjectContainer.cjs +7 -7
- package/src/lib/base/internal/ObjectContainer.mjs +6 -6
- package/src/lib/base/internal/ObjectInjection.cjs +16 -16
- package/src/lib/base/internal/ObjectInjection.mjs +13 -13
- package/src/lib/base/internal/ObjectLifetime.cjs +10 -10
- package/src/lib/base/internal/ObjectLifetime.mjs +9 -9
- package/src/lib/base/internal/ObjectWeakRefs.cjs +11 -11
- package/src/lib/base/internal/ObjectWeakRefs.mjs +9 -9
- package/src/lib/base/internal/PatternManager.cjs +739 -744
- package/src/lib/base/internal/PatternManager.mjs +743 -748
- package/src/lib/base/internal/StringifyPattern.cjs +26 -26
- package/src/lib/base/internal/StringifyPattern.mjs +26 -26
- package/src/lib/base/internal/ThrowWarning.cjs +2 -2
- package/src/lib/base/internal/ThrowWarning.mjs +2 -2
- package/src/lib/core/Alias.cjs +5 -5
- package/src/lib/core/Application.cjs +115 -128
- package/src/lib/core/Application.mjs +135 -148
- package/src/lib/helpers/ArrayToSet.cjs +2 -2
- package/src/lib/helpers/ArrayToSet.mjs +3 -3
- package/src/lib/helpers/As.cjs +2 -2
- package/src/lib/helpers/As.mjs +2 -2
- package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +3 -3
- package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +3 -3
- package/src/lib/helpers/ConvertArrayLikeToStream.cjs +2 -2
- package/src/lib/helpers/ConvertArrayLikeToStream.mjs +2 -2
- package/src/lib/helpers/Delay.cjs +2 -2
- package/src/lib/helpers/Delay.mjs +2 -2
- package/src/lib/helpers/DevNull.cjs +2 -2
- package/src/lib/helpers/DevNull.mjs +2 -2
- package/src/lib/helpers/GetObjectNestingDepth.cjs +12 -12
- package/src/lib/helpers/GetObjectNestingDepth.mjs +11 -11
- package/src/lib/helpers/GetObjectPropertyPaths.cjs +7 -7
- package/src/lib/helpers/GetObjectPropertyPaths.mjs +9 -9
- package/src/lib/helpers/Glob.cjs +890 -890
- package/src/lib/helpers/Glob.mjs +889 -889
- package/src/lib/helpers/GraceExit.cjs +3 -3
- package/src/lib/helpers/GraceExit.mjs +7 -7
- package/src/lib/helpers/HexToIEEE754.cjs +4 -4
- package/src/lib/helpers/HexToIEEE754.mjs +2 -2
- package/src/lib/helpers/HexToSigned.cjs +5 -5
- package/src/lib/helpers/HexToSigned.mjs +4 -4
- package/src/lib/helpers/HexToUnsigned.cjs +2 -2
- package/src/lib/helpers/HexToUnsigned.mjs +2 -2
- package/src/lib/helpers/IEEE754ToHex.cjs +5 -5
- package/src/lib/helpers/IEEE754ToHex.mjs +5 -5
- package/src/lib/helpers/IsAbortError.cjs +2 -2
- package/src/lib/helpers/IsAbortError.mjs +3 -3
- package/src/lib/helpers/IsEmptyObject.cjs +3 -3
- package/src/lib/helpers/IsEmptyObject.mjs +3 -3
- package/src/lib/helpers/IsExists.cjs +5 -5
- package/src/lib/helpers/IsExists.mjs +4 -4
- package/src/lib/helpers/IsHtml.cjs +8 -18
- package/src/lib/helpers/IsHtml.mjs +8 -18
- package/src/lib/helpers/IsNativeFunction.cjs +2 -2
- package/src/lib/helpers/IsNativeFunction.mjs +2 -2
- package/src/lib/helpers/IsPath.cjs +2 -2
- package/src/lib/helpers/IsPath.mjs +5 -5
- package/src/lib/helpers/IsPromise.cjs +2 -2
- package/src/lib/helpers/IsPromise.mjs +2 -2
- package/src/lib/helpers/IsPromiseLike.cjs +5 -5
- package/src/lib/helpers/IsPromiseLike.mjs +6 -6
- package/src/lib/helpers/IsXML.cjs +1531 -1525
- package/src/lib/helpers/IsXML.mjs +1527 -1521
- package/src/lib/helpers/MD5.cjs +2 -2
- package/src/lib/helpers/MD5.mjs +2 -2
- package/src/lib/helpers/MergeArray.cjs +3 -3
- package/src/lib/helpers/MergeArray.mjs +3 -3
- package/src/lib/helpers/MergeMap.cjs +3 -3
- package/src/lib/helpers/MergeMap.mjs +3 -3
- package/src/lib/helpers/MergeSet.cjs +2 -2
- package/src/lib/helpers/MergeSet.mjs +3 -3
- package/src/lib/helpers/NoCase.cjs +27 -27
- package/src/lib/helpers/NoCase.mjs +24 -24
- package/src/lib/helpers/NonceStr.cjs +2 -2
- package/src/lib/helpers/NonceStr.mjs +2 -2
- package/src/lib/helpers/ObjectConstructor.cjs +2 -2
- package/src/lib/helpers/ObjectConstructor.mjs +4 -4
- package/src/lib/helpers/ObjectHash.cjs +377 -384
- package/src/lib/helpers/ObjectHash.mjs +373 -380
- package/src/lib/helpers/ObjectParentConstructor.cjs +2 -2
- package/src/lib/helpers/ObjectParentConstructor.mjs +5 -5
- package/src/lib/helpers/ObjectParentConstructors.cjs +6 -6
- package/src/lib/helpers/ObjectParentConstructors.mjs +2 -2
- package/src/lib/helpers/ObjectPrototype.cjs +2 -2
- package/src/lib/helpers/ObjectPrototype.mjs +2 -2
- package/src/lib/helpers/ObjectToMap.cjs +2 -2
- package/src/lib/helpers/ObjectToMap.mjs +3 -3
- package/src/lib/helpers/Paginator.cjs +2 -2
- package/src/lib/helpers/Paginator.mjs +6 -6
- package/src/lib/helpers/RandomString.cjs +148 -169
- package/src/lib/helpers/RandomString.mjs +145 -166
- package/src/lib/helpers/SHA1.cjs +2 -2
- package/src/lib/helpers/SHA1.mjs +2 -2
- package/src/lib/helpers/SHA256.cjs +2 -2
- package/src/lib/helpers/SHA256.mjs +2 -2
- package/src/lib/helpers/SetToArray.cjs +2 -2
- package/src/lib/helpers/SetToArray.mjs +2 -2
- package/src/lib/helpers/SignedToHex.cjs +4 -4
- package/src/lib/helpers/SignedToHex.mjs +4 -4
- package/src/lib/helpers/SortArray.cjs +16 -16
- package/src/lib/helpers/SortArray.mjs +15 -15
- package/src/lib/helpers/SortKeys.cjs +41 -41
- package/src/lib/helpers/SortKeys.mjs +41 -41
- package/src/lib/helpers/SortObject.cjs +2 -2
- package/src/lib/helpers/SortObject.mjs +2 -2
- package/src/lib/helpers/Templating.cjs +25 -25
- package/src/lib/helpers/Templating.mjs +25 -25
- package/src/lib/helpers/URLBuilder.cjs +355 -355
- package/src/lib/helpers/URLBuilder.mjs +349 -349
- package/src/lib/helpers/UniqueArray.cjs +3 -3
- package/src/lib/helpers/UniqueArray.mjs +2 -2
- package/src/lib/helpers/UnsignedToHex.cjs +3 -3
- package/src/lib/helpers/UnsignedToHex.mjs +3 -3
- package/src/lib/ioc/DependencyInjectionContainer.cjs +106 -106
- package/src/lib/ioc/DependencyInjectionContainer.mjs +122 -122
- package/src/lib/ioc/FunctionTokenizer.cjs +115 -115
- package/src/lib/ioc/FunctionTokenizer.mjs +102 -102
- package/src/lib/ioc/Lifetime.cjs +5 -5
- package/src/lib/ioc/Lifetime.mjs +5 -5
- package/src/lib/ioc/ListModules.cjs +5298 -5221
- package/src/lib/ioc/ListModules.mjs +5258 -5181
- package/src/lib/ioc/LoadModules.cjs +56 -56
- package/src/lib/ioc/LoadModules.mjs +69 -69
- package/src/lib/ioc/ParamParser.cjs +30 -30
- package/src/lib/ioc/ParamParser.mjs +41 -41
- package/src/lib/ioc/Resolvers.cjs +87 -87
- package/src/lib/ioc/Resolvers.mjs +109 -109
- package/src/lib/ioc/Utils.cjs +12 -12
- package/src/lib/ioc/Utils.mjs +18 -18
- package/src/lib/validation/VLD.cjs +4025 -4202
- package/src/lib/validation/VLD.mjs +2972 -3149
- package/src/providers/Database.cjs +2 -2
- package/src/providers/Database.mjs +7 -7
- package/src/providers/PasswordHash.cjs +330 -330
- package/src/providers/PasswordHash.mjs +397 -397
- package/src/providers/migration/GenerateMigration.cjs +2 -2
- package/src/providers/migration/GenerateMigration.mjs +2 -2
- package/vendor/Package.1.cjs +256 -256
- package/vendor/Package.1.mjs +254 -254
- package/vendor/Package.112.cjs +42157 -42076
- package/vendor/Package.112.mjs +42222 -42081
- package/vendor/Package.13.cjs +36 -36
- package/vendor/Package.13.mjs +24 -24
- package/vendor/Package.16.cjs +12351 -12233
- package/vendor/Package.16.mjs +12348 -12230
- package/vendor/Package.17.cjs +924 -924
- package/vendor/Package.17.mjs +943 -943
- package/vendor/Package.18.cjs +48229 -20
- package/vendor/Package.18.mjs +48192 -24
- package/vendor/Package.2.cjs +5824 -5853
- package/vendor/Package.2.mjs +5780 -5809
- package/vendor/Package.3.cjs +60 -60
- package/vendor/Package.3.mjs +85 -85
- package/vendor/Package.4.cjs +874 -884
- package/vendor/Package.4.mjs +877 -887
- package/vendor/Package.5.cjs +15 -19
- package/vendor/Package.5.mjs +10 -14
- package/vendor/Package.6.cjs +2058 -2067
- package/vendor/Package.6.mjs +2064 -2073
- package/vendor/Package.610.cjs +9 -9
- package/vendor/Package.611.cjs +39 -39
- package/vendor/Package.611.mjs +22 -22
- package/vendor/Package.612.cjs +33 -33
- package/vendor/Package.612.mjs +17 -17
- package/vendor/Package.613.cjs +62 -62
- package/vendor/Package.613.mjs +29 -29
- package/vendor/Package.62.cjs +295 -298
- package/vendor/Package.62.mjs +278 -281
- package/vendor/Package.63.cjs +354 -354
- package/vendor/Package.63.mjs +229 -229
- package/vendor/Package.64.cjs +74 -74
- package/vendor/Package.64.mjs +74 -74
- package/vendor/Package.65.cjs +1851 -1858
- package/vendor/Package.65.mjs +1693 -1700
- package/vendor/Package.66.cjs +16 -16
- package/vendor/Package.66.mjs +16 -16
- package/vendor/Package.67.cjs +87 -87
- package/vendor/Package.67.mjs +85 -85
- package/vendor/Package.68.cjs +14 -14
- package/vendor/Package.68.mjs +6 -6
- package/vendor/Package.69.cjs +8 -8
- package/vendor/Package.7.cjs +3 -3
- package/vendor/Package.7.mjs +3 -3
- package/vendor/Package.9.cjs +124 -138
- package/vendor/Package.9.mjs +121 -135
- package/vendor/TypeDef.internal.3.d.ts +0 -14
- package/vendor/Package.19.cjs +0 -37
- package/vendor/Package.19.mjs +0 -35
- package/vendor/Package.20.cjs +0 -37
- package/vendor/Package.20.mjs +0 -35
- package/vendor/Package.21.cjs +0 -37
- package/vendor/Package.21.mjs +0 -35
- package/vendor/Package.22.cjs +0 -37
- package/vendor/Package.22.mjs +0 -35
- package/vendor/Package.23.cjs +0 -37
- package/vendor/Package.23.mjs +0 -35
- package/vendor/Package.24.cjs +0 -37
- package/vendor/Package.24.mjs +0 -35
- package/vendor/Package.25.cjs +0 -37
- package/vendor/Package.25.mjs +0 -35
- package/vendor/Package.26.cjs +0 -37
- package/vendor/Package.26.mjs +0 -35
- package/vendor/Package.27.cjs +0 -37
- package/vendor/Package.27.mjs +0 -35
- package/vendor/Package.28.cjs +0 -37
- package/vendor/Package.28.mjs +0 -35
- package/vendor/Package.29.cjs +0 -40
- package/vendor/Package.29.mjs +0 -38
- package/vendor/Package.30.cjs +0 -41
- package/vendor/Package.30.mjs +0 -39
- package/vendor/Package.31.cjs +0 -72
- package/vendor/Package.31.mjs +0 -70
- package/vendor/Package.32.cjs +0 -37
- package/vendor/Package.32.mjs +0 -35
- package/vendor/Package.33.cjs +0 -37
- package/vendor/Package.33.mjs +0 -35
- package/vendor/Package.34.cjs +0 -46
- package/vendor/Package.34.mjs +0 -44
- package/vendor/Package.35.cjs +0 -34
- package/vendor/Package.35.mjs +0 -32
- package/vendor/Package.36.cjs +0 -40
- package/vendor/Package.36.mjs +0 -38
- package/vendor/Package.37.cjs +0 -36
- package/vendor/Package.37.mjs +0 -34
- package/vendor/Package.38.cjs +0 -52
- package/vendor/Package.38.mjs +0 -50
- package/vendor/Package.39.cjs +0 -41
- package/vendor/Package.39.mjs +0 -39
- package/vendor/Package.40.cjs +0 -42
- package/vendor/Package.40.mjs +0 -40
- package/vendor/Package.41.cjs +0 -53
- package/vendor/Package.41.mjs +0 -51
- package/vendor/Package.42.cjs +0 -53
- package/vendor/Package.42.mjs +0 -51
- package/vendor/Package.43.cjs +0 -40
- package/vendor/Package.43.mjs +0 -38
- package/vendor/Package.44.cjs +0 -46
- package/vendor/Package.44.mjs +0 -44
- package/vendor/Package.45.cjs +0 -53
- package/vendor/Package.45.mjs +0 -51
- package/vendor/Package.46.cjs +0 -59
- package/vendor/Package.46.mjs +0 -57
- package/vendor/Package.47.cjs +0 -65
- package/vendor/Package.47.mjs +0 -63
- package/vendor/Package.48.cjs +0 -38
- package/vendor/Package.48.mjs +0 -36
- package/vendor/Package.49.cjs +0 -38
- package/vendor/Package.49.mjs +0 -36
- package/vendor/Package.50.cjs +0 -36
- package/vendor/Package.50.mjs +0 -34
- package/vendor/Package.51.cjs +0 -43
- package/vendor/Package.51.mjs +0 -41
- package/vendor/Package.52.cjs +0 -37
- package/vendor/Package.52.mjs +0 -35
- package/vendor/Package.53.cjs +0 -43
- package/vendor/Package.53.mjs +0 -41
- package/vendor/Package.54.cjs +0 -55
- package/vendor/Package.54.mjs +0 -53
- package/vendor/Package.55.cjs +0 -37
- package/vendor/Package.55.mjs +0 -35
- package/vendor/Package.56.cjs +0 -37
- package/vendor/Package.56.mjs +0 -35
- package/vendor/Package.57.cjs +0 -37
- package/vendor/Package.57.mjs +0 -35
- package/vendor/Package.58.cjs +0 -45
- package/vendor/Package.58.mjs +0 -43
- package/vendor/Package.59.cjs +0 -53
- package/vendor/Package.59.mjs +0 -51
- package/vendor/Package.60.cjs +0 -47649
- package/vendor/Package.60.mjs +0 -47606
|
@@ -10,22 +10,22 @@ require("../../helpers/IsPromise.cjs");
|
|
|
10
10
|
|
|
11
11
|
require("util/types");
|
|
12
12
|
|
|
13
|
-
function
|
|
14
|
-
async function
|
|
13
|
+
function r(r, s, i) {
|
|
14
|
+
async function n() {
|
|
15
15
|
await Promise.resolve();
|
|
16
|
-
await Reflect.apply(
|
|
17
|
-
delete
|
|
18
|
-
return
|
|
16
|
+
await Reflect.apply(s, r, i !== null && i !== undefined ? i : []);
|
|
17
|
+
delete r["then"];
|
|
18
|
+
return r;
|
|
19
19
|
}
|
|
20
|
-
if (e.IsPromiseLike(
|
|
21
|
-
|
|
20
|
+
if (e.IsPromiseLike(r)) {
|
|
21
|
+
t(r, Promise.resolve(r).then(n));
|
|
22
22
|
} else {
|
|
23
|
-
|
|
23
|
+
t(r, n());
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
function
|
|
28
|
-
e.then =
|
|
27
|
+
function t(e, r) {
|
|
28
|
+
e.then = r.then.bind(r);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
exports.AppendAsyncConstructor =
|
|
31
|
+
exports.AppendAsyncConstructor = r;
|
|
@@ -4,22 +4,22 @@ import "../../helpers/IsPromise.mjs";
|
|
|
4
4
|
|
|
5
5
|
import "util/types";
|
|
6
6
|
|
|
7
|
-
function
|
|
8
|
-
async function
|
|
7
|
+
function t(t, n, r) {
|
|
8
|
+
async function s() {
|
|
9
9
|
await Promise.resolve();
|
|
10
|
-
await Reflect.apply(n, t,
|
|
10
|
+
await Reflect.apply(n, t, r !== null && r !== undefined ? r : []);
|
|
11
11
|
delete t["then"];
|
|
12
12
|
return t;
|
|
13
13
|
}
|
|
14
14
|
if (e(t)) {
|
|
15
|
-
|
|
15
|
+
i(t, Promise.resolve(t).then(s));
|
|
16
16
|
} else {
|
|
17
|
-
|
|
17
|
+
i(t, s());
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
function
|
|
21
|
+
function i(e, t) {
|
|
22
22
|
e.then = t.then.bind(t);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export { AppendAsyncConstructor };
|
|
25
|
+
export { t as AppendAsyncConstructor };
|
|
@@ -14,26 +14,26 @@ require("../../../../vendor/Package.5.cjs");
|
|
|
14
14
|
|
|
15
15
|
require("../../../../vendor/Package.7.cjs");
|
|
16
16
|
|
|
17
|
-
function
|
|
17
|
+
function s(e) {
|
|
18
18
|
const s = [ ...n.MomentTimezone.tz.names() ];
|
|
19
|
-
const
|
|
19
|
+
const r = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
20
20
|
if (!s.map((e => e.toLowerCase())).includes(e.toLowerCase())) {
|
|
21
|
-
o.ThrowWarning(`The passed time zone "${e}" is invalid, use the default time zone "${
|
|
22
|
-
return
|
|
21
|
+
o.ThrowWarning(`The passed time zone "${e}" is invalid, use the default time zone "${r}"`);
|
|
22
|
+
return r;
|
|
23
23
|
}
|
|
24
24
|
return e;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
function
|
|
27
|
+
function r(e) {
|
|
28
28
|
process.env.appId = e.appId;
|
|
29
29
|
process.env.appName = e.appName;
|
|
30
30
|
const n = e.timezone === "auto" ? Intl.DateTimeFormat().resolvedOptions().timeZone : e.timezone;
|
|
31
|
-
process.env.TZ =
|
|
31
|
+
process.env.TZ = s(n);
|
|
32
32
|
process.env.NODE_ENV = e.mode ? e.mode : "development";
|
|
33
|
-
return
|
|
33
|
+
return t();
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function t() {
|
|
37
37
|
return {
|
|
38
38
|
appId: process.env.appId ? process.env.appId : "Unknown",
|
|
39
39
|
appName: process.env.appName ? process.env.appName : "Unknown",
|
|
@@ -42,6 +42,6 @@ function GetBasicInfo() {
|
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
exports.GetBasicInfo =
|
|
45
|
+
exports.GetBasicInfo = t;
|
|
46
46
|
|
|
47
|
-
exports.SetBasicInfo =
|
|
47
|
+
exports.SetBasicInfo = r;
|
|
@@ -8,26 +8,26 @@ import "../../../../vendor/Package.5.mjs";
|
|
|
8
8
|
|
|
9
9
|
import "../../../../vendor/Package.7.mjs";
|
|
10
10
|
|
|
11
|
-
function
|
|
11
|
+
function s(e) {
|
|
12
12
|
const s = [ ...o.tz.names() ];
|
|
13
|
-
const
|
|
13
|
+
const p = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
14
14
|
if (!s.map((e => e.toLowerCase())).includes(e.toLowerCase())) {
|
|
15
|
-
n(`The passed time zone "${e}" is invalid, use the default time zone "${
|
|
16
|
-
return
|
|
15
|
+
n(`The passed time zone "${e}" is invalid, use the default time zone "${p}"`);
|
|
16
|
+
return p;
|
|
17
17
|
}
|
|
18
18
|
return e;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
function
|
|
21
|
+
function p(e) {
|
|
22
22
|
process.env.appId = e.appId;
|
|
23
23
|
process.env.appName = e.appName;
|
|
24
24
|
const o = e.timezone === "auto" ? Intl.DateTimeFormat().resolvedOptions().timeZone : e.timezone;
|
|
25
|
-
process.env.TZ =
|
|
25
|
+
process.env.TZ = s(o);
|
|
26
26
|
process.env.NODE_ENV = e.mode ? e.mode : "development";
|
|
27
|
-
return
|
|
27
|
+
return r();
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
function
|
|
30
|
+
function r() {
|
|
31
31
|
return {
|
|
32
32
|
appId: process.env.appId ? process.env.appId : "Unknown",
|
|
33
33
|
appName: process.env.appName ? process.env.appName : "Unknown",
|
|
@@ -36,4 +36,4 @@ function GetBasicInfo() {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export { GetBasicInfo, SetBasicInfo };
|
|
39
|
+
export { r as GetBasicInfo, p as SetBasicInfo };
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, Symbol.toStringTag, {
|
|
|
6
6
|
|
|
7
7
|
const e = require("../../helpers/NoCase.cjs");
|
|
8
8
|
|
|
9
|
-
function
|
|
9
|
+
function o(o, t) {
|
|
10
10
|
const r = e.ToLower(t?.locale);
|
|
11
11
|
const s = e.ToUpper(t?.locale);
|
|
12
12
|
return e.Split(o, t).map(((e, o) => {
|
|
@@ -14,9 +14,9 @@ function CamelCase(o, t) {
|
|
|
14
14
|
return r(e);
|
|
15
15
|
}
|
|
16
16
|
const t = e[0];
|
|
17
|
-
const
|
|
18
|
-
return
|
|
17
|
+
const n = t >= "0" && t <= "9" ? "_" + t : s(t);
|
|
18
|
+
return n + r(e.slice(1));
|
|
19
19
|
})).join("");
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
exports.CamelCase =
|
|
22
|
+
exports.CamelCase = o;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ToLower as
|
|
1
|
+
import { ToLower as o, ToUpper as e, Split as n } from "../../helpers/NoCase.mjs";
|
|
2
2
|
|
|
3
|
-
function
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
return n(r,
|
|
7
|
-
if (
|
|
8
|
-
return
|
|
3
|
+
function r(r, t) {
|
|
4
|
+
const c = o(t?.locale);
|
|
5
|
+
const s = e(t?.locale);
|
|
6
|
+
return n(r, t).map(((o, e) => {
|
|
7
|
+
if (e === 0) {
|
|
8
|
+
return c(o);
|
|
9
9
|
}
|
|
10
|
-
const n =
|
|
11
|
-
const r = n >= "0" && n <= "9" ? "_" + n :
|
|
12
|
-
return r +
|
|
10
|
+
const n = o[0];
|
|
11
|
+
const r = n >= "0" && n <= "9" ? "_" + n : s(n);
|
|
12
|
+
return r + c(o.slice(1));
|
|
13
13
|
})).join("");
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
export { CamelCase };
|
|
16
|
+
export { r as CamelCase };
|
|
@@ -8,7 +8,7 @@ const e = require("../../../constants/DIMetadataKey.cjs");
|
|
|
8
8
|
|
|
9
9
|
const t = require("./ConstructorSymbol.cjs");
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const r = require("../../helpers/As.cjs");
|
|
12
12
|
|
|
13
13
|
require("../../../../vendor/Package.4.cjs");
|
|
14
14
|
|
|
@@ -16,46 +16,46 @@ require("../../../../vendor/Package.5.cjs");
|
|
|
16
16
|
|
|
17
17
|
require("node:crypto");
|
|
18
18
|
|
|
19
|
-
function
|
|
19
|
+
function n(e, t, r) {
|
|
20
20
|
if (Reflect.hasOwnMetadata(t, e)) Reflect.deleteMetadata(t, e);
|
|
21
|
-
Reflect.defineMetadata(t,
|
|
21
|
+
Reflect.defineMetadata(t, r, e);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
function
|
|
25
|
-
const
|
|
26
|
-
if (
|
|
24
|
+
function o(e, t) {
|
|
25
|
+
const r = Reflect.getOwnMetadata(t, e);
|
|
26
|
+
if (r) return r;
|
|
27
27
|
return {};
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
function
|
|
31
|
-
Reflect.defineMetadata(e.DI_TARGET_ID,
|
|
30
|
+
function a(t, r) {
|
|
31
|
+
Reflect.defineMetadata(e.DI_TARGET_ID, r, t);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
function
|
|
35
|
-
const o = Reflect.getOwnMetadata(e.DI_TARGET_ID,
|
|
34
|
+
function c(n) {
|
|
35
|
+
const o = Reflect.getOwnMetadata(e.DI_TARGET_ID, n);
|
|
36
36
|
if (typeof o === "string") return o;
|
|
37
|
-
if (t.ConstructorSymbol(
|
|
37
|
+
if (t.ConstructorSymbol(r.As(n.constructor)) !== o) return o;
|
|
38
38
|
return undefined;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
function
|
|
41
|
+
function s(e, t) {
|
|
42
42
|
Reflect.defineMetadata(e.$uuid, t, e);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
function
|
|
45
|
+
function u(e) {
|
|
46
46
|
const t = Reflect.getOwnMetadata(e.$uuid, e);
|
|
47
47
|
if (t) return t;
|
|
48
48
|
return {};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
exports.GetConfigurableRecords =
|
|
51
|
+
exports.GetConfigurableRecords = o;
|
|
52
52
|
|
|
53
|
-
exports.GetConfigurableRecordsFromInstance =
|
|
53
|
+
exports.GetConfigurableRecordsFromInstance = u;
|
|
54
54
|
|
|
55
|
-
exports.GetIdFromInstance =
|
|
55
|
+
exports.GetIdFromInstance = c;
|
|
56
56
|
|
|
57
|
-
exports.SetConfigurableRecords =
|
|
57
|
+
exports.SetConfigurableRecords = n;
|
|
58
58
|
|
|
59
|
-
exports.SetConfigurableRecordsToInstance =
|
|
59
|
+
exports.SetConfigurableRecordsToInstance = s;
|
|
60
60
|
|
|
61
|
-
exports.SetIdToInstance =
|
|
61
|
+
exports.SetIdToInstance = a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DI_TARGET_ID as
|
|
1
|
+
import { DI_TARGET_ID as t } from "../../../constants/DIMetadataKey.mjs";
|
|
2
2
|
|
|
3
|
-
import { ConstructorSymbol as
|
|
3
|
+
import { ConstructorSymbol as e } from "./ConstructorSymbol.mjs";
|
|
4
4
|
|
|
5
5
|
import { As as n } from "../../helpers/As.mjs";
|
|
6
6
|
|
|
@@ -10,36 +10,36 @@ import "../../../../vendor/Package.5.mjs";
|
|
|
10
10
|
|
|
11
11
|
import "node:crypto";
|
|
12
12
|
|
|
13
|
-
function
|
|
14
|
-
if (Reflect.hasOwnMetadata(
|
|
15
|
-
Reflect.defineMetadata(
|
|
13
|
+
function a(t, e, n) {
|
|
14
|
+
if (Reflect.hasOwnMetadata(e, t)) Reflect.deleteMetadata(e, t);
|
|
15
|
+
Reflect.defineMetadata(e, n, t);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
function
|
|
19
|
-
const n = Reflect.getOwnMetadata(
|
|
18
|
+
function r(t, e) {
|
|
19
|
+
const n = Reflect.getOwnMetadata(e, t);
|
|
20
20
|
if (n) return n;
|
|
21
21
|
return {};
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
function
|
|
25
|
-
Reflect.defineMetadata(
|
|
24
|
+
function o(e, n) {
|
|
25
|
+
Reflect.defineMetadata(t, n, e);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
function
|
|
29
|
-
const r = Reflect.getOwnMetadata(
|
|
28
|
+
function f(a) {
|
|
29
|
+
const r = Reflect.getOwnMetadata(t, a);
|
|
30
30
|
if (typeof r === "string") return r;
|
|
31
|
-
if (
|
|
31
|
+
if (e(n(a.constructor)) !== r) return r;
|
|
32
32
|
return undefined;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
function
|
|
36
|
-
Reflect.defineMetadata(
|
|
35
|
+
function c(t, e) {
|
|
36
|
+
Reflect.defineMetadata(t.$uuid, e, t);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
function
|
|
40
|
-
const
|
|
41
|
-
if (
|
|
39
|
+
function i(t) {
|
|
40
|
+
const e = Reflect.getOwnMetadata(t.$uuid, t);
|
|
41
|
+
if (e) return e;
|
|
42
42
|
return {};
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
export { GetConfigurableRecords, GetConfigurableRecordsFromInstance, GetIdFromInstance, SetConfigurableRecords, SetConfigurableRecordsToInstance, SetIdToInstance };
|
|
45
|
+
export { r as GetConfigurableRecords, i as GetConfigurableRecordsFromInstance, f as GetIdFromInstance, a as SetConfigurableRecords, c as SetConfigurableRecordsToInstance, o as SetIdToInstance };
|
|
@@ -12,23 +12,23 @@ require("../../../../vendor/Package.4.cjs");
|
|
|
12
12
|
|
|
13
13
|
require("../../../../vendor/Package.5.cjs");
|
|
14
14
|
|
|
15
|
-
const
|
|
15
|
+
const r = new Map;
|
|
16
16
|
|
|
17
|
-
function
|
|
18
|
-
if (!Reflect.hasOwnMetadata(e.DI_TARGET_CONSTRUCTOR_SYMBOL,
|
|
17
|
+
function o(o) {
|
|
18
|
+
if (!Reflect.hasOwnMetadata(e.DI_TARGET_CONSTRUCTOR_SYMBOL, o)) {
|
|
19
19
|
const n = Symbol(t.randomUUID());
|
|
20
|
-
|
|
21
|
-
Reflect.defineMetadata(e.DI_TARGET_CONSTRUCTOR_SYMBOL, n,
|
|
20
|
+
r.set(n, o.name);
|
|
21
|
+
Reflect.defineMetadata(e.DI_TARGET_CONSTRUCTOR_SYMBOL, n, o);
|
|
22
22
|
}
|
|
23
|
-
return Reflect.getOwnMetadata(e.DI_TARGET_CONSTRUCTOR_SYMBOL,
|
|
23
|
+
return Reflect.getOwnMetadata(e.DI_TARGET_CONSTRUCTOR_SYMBOL, o);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
function
|
|
27
|
-
const t =
|
|
26
|
+
function n(e) {
|
|
27
|
+
const t = r.get(e);
|
|
28
28
|
if (t) return t;
|
|
29
29
|
return e;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
exports.ConstructorSymbol =
|
|
32
|
+
exports.ConstructorSymbol = o;
|
|
33
33
|
|
|
34
|
-
exports.ResolveConstructorNameBySymbol =
|
|
34
|
+
exports.ResolveConstructorNameBySymbol = n;
|
|
@@ -6,21 +6,21 @@ import "../../../../vendor/Package.4.mjs";
|
|
|
6
6
|
|
|
7
7
|
import "../../../../vendor/Package.5.mjs";
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const a = new Map;
|
|
10
10
|
|
|
11
|
-
function
|
|
11
|
+
function n(n) {
|
|
12
12
|
if (!Reflect.hasOwnMetadata(t, n)) {
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
Reflect.defineMetadata(t,
|
|
13
|
+
const o = Symbol(e());
|
|
14
|
+
a.set(o, n.name);
|
|
15
|
+
Reflect.defineMetadata(t, o, n);
|
|
16
16
|
}
|
|
17
17
|
return Reflect.getOwnMetadata(t, n);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
function
|
|
21
|
-
const e =
|
|
20
|
+
function o(t) {
|
|
21
|
+
const e = a.get(t);
|
|
22
22
|
if (e) return e;
|
|
23
23
|
return t;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { ConstructorSymbol, ResolveConstructorNameBySymbol };
|
|
26
|
+
export { n as ConstructorSymbol, o as ResolveConstructorNameBySymbol };
|
|
@@ -8,17 +8,17 @@ const e = require("../../helpers/ObjectConstructor.cjs");
|
|
|
8
8
|
|
|
9
9
|
const t = require("../../helpers/As.cjs");
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const r = require("../../helpers/ObjectParentConstructors.cjs");
|
|
12
12
|
|
|
13
|
-
const
|
|
13
|
+
const n = require("../../helpers/ObjectHash.cjs");
|
|
14
14
|
|
|
15
15
|
const o = require("../../helpers/GetObjectNestingDepth.cjs");
|
|
16
16
|
|
|
17
17
|
const c = require("../../../exceptions/InvalidActionPatternDepthException.cjs");
|
|
18
18
|
|
|
19
|
-
const
|
|
19
|
+
const s = require("../../../../vendor/Package.63.cjs");
|
|
20
20
|
|
|
21
|
-
const
|
|
21
|
+
const a = require("./StringifyPattern.cjs");
|
|
22
22
|
|
|
23
23
|
require("../../helpers/ObjectParentConstructor.cjs");
|
|
24
24
|
|
|
@@ -56,105 +56,105 @@ exports.ActionPatternManagerType = void 0;
|
|
|
56
56
|
|
|
57
57
|
const i = Symbol("COMPONENT.CTRL.MAP");
|
|
58
58
|
|
|
59
|
-
function
|
|
60
|
-
const
|
|
61
|
-
const i =
|
|
62
|
-
const p = o.name ? o.name :
|
|
63
|
-
const
|
|
59
|
+
function p(r, n, o, c) {
|
|
60
|
+
const a = `${t.As(e.ObjectConstructor(r)).className}:${n}`;
|
|
61
|
+
const i = s.v5(`${a}:${c}`, s.NIL);
|
|
62
|
+
const p = o.name ? o.name : a;
|
|
63
|
+
const u = o.description ? o.description : "";
|
|
64
64
|
return {
|
|
65
65
|
id: i,
|
|
66
66
|
acl: !!o.acl,
|
|
67
|
-
action:
|
|
67
|
+
action: a,
|
|
68
68
|
name: p,
|
|
69
|
-
description:
|
|
69
|
+
description: u,
|
|
70
70
|
groups: o.groups ? o.groups : [],
|
|
71
71
|
rule: o.rule
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
function
|
|
75
|
+
function u(e) {
|
|
76
76
|
const t = o.GetObjectNestingDepth(e);
|
|
77
77
|
if (t > 2) throw new c.InvalidActionPatternDepthException("The maximum nesting depth of ActionPattern objects cannot be greater than 2 levels. The current nesting depth of the object is {0} levels", [ t ]);
|
|
78
78
|
return e;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
function
|
|
81
|
+
function P(e, n) {
|
|
82
82
|
const o = new Map;
|
|
83
|
-
|
|
84
|
-
const
|
|
85
|
-
|
|
83
|
+
r.ObjectParentConstructors(n).forEach((t => {
|
|
84
|
+
const r = Reflect.getOwnMetadata(`${e}_MAP`, t) || new Map;
|
|
85
|
+
r.forEach(((e, t) => o.set(t, e)));
|
|
86
86
|
}));
|
|
87
|
-
t.As(Reflect.getOwnMetadata(`${e}_MAP`,
|
|
87
|
+
t.As(Reflect.getOwnMetadata(`${e}_MAP`, n) || new Map).forEach(((e, t) => o.set(t, e)));
|
|
88
88
|
return o;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
function
|
|
92
|
-
|
|
93
|
-
const c =
|
|
94
|
-
c.set(
|
|
95
|
-
pattern:
|
|
91
|
+
function h(e, t, r, o) {
|
|
92
|
+
r = u(r);
|
|
93
|
+
const c = P(e, t);
|
|
94
|
+
c.set(n.ObjectHash(r), {
|
|
95
|
+
pattern: r,
|
|
96
96
|
details: o
|
|
97
97
|
});
|
|
98
98
|
Reflect.defineMetadata(`${e}_MAP`, c, t);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
function
|
|
102
|
-
const
|
|
101
|
+
function T(e, t) {
|
|
102
|
+
const r = Reflect.getOwnMetadata(i, e) || {
|
|
103
103
|
CLI: new Map,
|
|
104
104
|
HTTP: new Map,
|
|
105
105
|
Service: new Map
|
|
106
106
|
};
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
Reflect.defineMetadata(i,
|
|
107
|
+
P(exports.ActionPatternManagerType.CLI, t).forEach(((e, t) => r.CLI.set(t, e)));
|
|
108
|
+
P(exports.ActionPatternManagerType.HTTP, t).forEach(((e, t) => r.HTTP.set(t, e)));
|
|
109
|
+
P(exports.ActionPatternManagerType.Service, t).forEach(((e, t) => r.Service.set(t, e)));
|
|
110
|
+
Reflect.defineMetadata(i, r, e);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
function
|
|
113
|
+
function j(e) {
|
|
114
114
|
const t = Reflect.getOwnMetadata(i, e) || {
|
|
115
115
|
CLI: new Map,
|
|
116
116
|
HTTP: new Map,
|
|
117
117
|
Service: new Map
|
|
118
118
|
};
|
|
119
|
-
const
|
|
119
|
+
const r = {
|
|
120
120
|
CLI: new Map,
|
|
121
121
|
HTTP: new Map,
|
|
122
122
|
Service: new Map
|
|
123
123
|
};
|
|
124
|
-
t.CLI.forEach((e =>
|
|
125
|
-
t.HTTP.forEach((e =>
|
|
126
|
-
t.Service.forEach((e =>
|
|
127
|
-
return
|
|
124
|
+
t.CLI.forEach((e => r.CLI.set(e.pattern, e.details)));
|
|
125
|
+
t.HTTP.forEach((e => r.HTTP.set(e.pattern, e.details)));
|
|
126
|
+
t.Service.forEach((e => r.Service.set(e.pattern, e.details)));
|
|
127
|
+
return r;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
function
|
|
131
|
-
|
|
130
|
+
function l(r, n, o, c, s, a) {
|
|
131
|
+
n.forEach((n => {
|
|
132
132
|
const i = {
|
|
133
|
-
route:
|
|
134
|
-
method:
|
|
133
|
+
route: r,
|
|
134
|
+
method: n
|
|
135
135
|
};
|
|
136
|
-
const
|
|
137
|
-
|
|
138
|
-
...
|
|
136
|
+
const u = p(o, c, a, r);
|
|
137
|
+
h(exports.ActionPatternManagerType.HTTP, t.As(e.ObjectConstructor(o)), i, {
|
|
138
|
+
...u,
|
|
139
139
|
pattern: i,
|
|
140
140
|
constructor: t.As(e.ObjectConstructor(o)),
|
|
141
141
|
method: c,
|
|
142
|
-
dtoConstructor:
|
|
143
|
-
jsonSchema:
|
|
144
|
-
getActionInfo: () =>
|
|
142
|
+
dtoConstructor: s,
|
|
143
|
+
jsonSchema: s.toJsonSchema(),
|
|
144
|
+
getActionInfo: () => u
|
|
145
145
|
});
|
|
146
146
|
}));
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
function
|
|
150
|
-
const
|
|
151
|
-
command:
|
|
149
|
+
function g(r, n, o, c, s) {
|
|
150
|
+
const a = {
|
|
151
|
+
command: r
|
|
152
152
|
};
|
|
153
|
-
const i =
|
|
154
|
-
|
|
153
|
+
const i = p(n, o, s, r);
|
|
154
|
+
h(exports.ActionPatternManagerType.CLI, t.As(e.ObjectConstructor(n)), a, {
|
|
155
155
|
...i,
|
|
156
|
-
pattern:
|
|
157
|
-
constructor: t.As(e.ObjectConstructor(
|
|
156
|
+
pattern: a,
|
|
157
|
+
constructor: t.As(e.ObjectConstructor(n)),
|
|
158
158
|
method: o,
|
|
159
159
|
dtoConstructor: c,
|
|
160
160
|
jsonSchema: c.toJsonSchema(),
|
|
@@ -162,28 +162,28 @@ function RegisterCLIAction(n, r, o, c, a) {
|
|
|
162
162
|
});
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
function
|
|
166
|
-
const i =
|
|
167
|
-
const
|
|
168
|
-
|
|
169
|
-
...
|
|
170
|
-
pattern:
|
|
171
|
-
constructor: t.As(e.ObjectConstructor(
|
|
165
|
+
function d(r, n, o, c, s) {
|
|
166
|
+
const i = a.StringifyPattern(r);
|
|
167
|
+
const u = p(n, o, s, i);
|
|
168
|
+
h(exports.ActionPatternManagerType.Service, t.As(e.ObjectConstructor(n)), r, {
|
|
169
|
+
...u,
|
|
170
|
+
pattern: r,
|
|
171
|
+
constructor: t.As(e.ObjectConstructor(n)),
|
|
172
172
|
method: o,
|
|
173
173
|
dtoConstructor: c,
|
|
174
174
|
jsonSchema: c.toJsonSchema(),
|
|
175
|
-
getActionInfo: () =>
|
|
175
|
+
getActionInfo: () => u
|
|
176
176
|
});
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
exports.BindControllerToComponent =
|
|
179
|
+
exports.BindControllerToComponent = T;
|
|
180
180
|
|
|
181
|
-
exports.GetComponentControllerActionMap =
|
|
181
|
+
exports.GetComponentControllerActionMap = j;
|
|
182
182
|
|
|
183
|
-
exports.RegisterCLIAction =
|
|
183
|
+
exports.RegisterCLIAction = g;
|
|
184
184
|
|
|
185
|
-
exports.RegisterControllerActionPattern =
|
|
185
|
+
exports.RegisterControllerActionPattern = h;
|
|
186
186
|
|
|
187
|
-
exports.RegisterHTTPAction =
|
|
187
|
+
exports.RegisterHTTPAction = l;
|
|
188
188
|
|
|
189
|
-
exports.RegisterServiceAction =
|
|
189
|
+
exports.RegisterServiceAction = d;
|