@lcap/nasl 2.22.12-beta.1 → 2.22.12-beta.2
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/out/breakpoint/generator/AfterStartNode.js +1 -1
- package/out/breakpoint/generator/AfterStartNode.js.map +1 -1
- package/out/breakpoint/generator/BeforeEndNode.js +1 -1
- package/out/breakpoint/generator/BeforeEndNode.js.map +1 -1
- package/out/breakpoint/generator/BreakpointNode.d.ts +3 -0
- package/out/breakpoint/generator/BreakpointNode.js +12 -3
- package/out/breakpoint/generator/BreakpointNode.js.map +1 -1
- package/out/breakpoint/generator/CallbackNode.js +15 -0
- package/out/breakpoint/generator/CallbackNode.js.map +1 -1
- package/out/breakpoint/shared/constants.js +1 -0
- package/out/breakpoint/shared/constants.js.map +1 -1
- package/out/breakpoint/shared/utils.js +12 -6
- package/out/breakpoint/shared/utils.js.map +1 -1
- package/out/common/BaseNode.js +1 -1
- package/out/common/BaseNode.js.map +1 -1
- package/out/common/utils.d.ts +2 -0
- package/out/common/utils.js +18 -0
- package/out/common/utils.js.map +1 -0
- package/out/concepts/AbstractInterface__.d.ts +22 -0
- package/out/concepts/AbstractInterface__.js +56 -0
- package/out/concepts/AbstractInterface__.js.map +1 -0
- package/out/concepts/AuthInterface__.d.ts +5 -3
- package/out/concepts/AuthInterface__.js +11 -22
- package/out/concepts/AuthInterface__.js.map +1 -1
- package/out/concepts/AuthLogicForCallInterface__.d.ts +6 -4
- package/out/concepts/AuthLogicForCallInterface__.js +102 -118
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -1
- package/out/concepts/AuthLogic__.d.ts +9 -7
- package/out/concepts/AuthLogic__.js +11 -22
- package/out/concepts/AuthLogic__.js.map +1 -1
- package/out/concepts/BackendVariable__.d.ts +30 -23
- package/out/concepts/BackendVariable__.js +179 -130
- package/out/concepts/BackendVariable__.js.map +1 -1
- package/out/concepts/Backend__.d.ts +9 -10
- package/out/concepts/Backend__.js +42 -43
- package/out/concepts/Backend__.js.map +1 -1
- package/out/concepts/Block__.d.ts +84 -0
- package/out/concepts/Block__.js +215 -0
- package/out/concepts/Block__.js.map +1 -0
- package/out/concepts/BusinessComponent__.d.ts +641 -0
- package/out/concepts/BusinessComponent__.js +1901 -0
- package/out/concepts/BusinessComponent__.js.map +1 -0
- package/out/concepts/BusinessLogic__.d.ts +38 -0
- package/out/concepts/BusinessLogic__.js +358 -0
- package/out/concepts/BusinessLogic__.js.map +1 -0
- package/out/concepts/CallAuthInterface__.d.ts +10 -6
- package/out/concepts/CallAuthInterface__.js +84 -60
- package/out/concepts/CallAuthInterface__.js.map +1 -1
- package/out/concepts/CallConnector__.d.ts +7 -5
- package/out/concepts/CallConnector__.js +41 -50
- package/out/concepts/CallConnector__.js.map +1 -1
- package/out/concepts/CallEvent__.d.ts +97 -0
- package/out/concepts/CallEvent__.js +263 -0
- package/out/concepts/CallEvent__.js.map +1 -0
- package/out/concepts/Connection__.d.ts +10 -11
- package/out/concepts/Connection__.js +38 -50
- package/out/concepts/Connection__.js.map +1 -1
- package/out/concepts/ConnectorTrigger__.d.ts +9 -7
- package/out/concepts/ConnectorTrigger__.js +11 -32
- package/out/concepts/ConnectorTrigger__.js.map +1 -1
- package/out/concepts/Connector__.d.ts +382 -23
- package/out/concepts/Connector__.js +581 -121
- package/out/concepts/Connector__.js.map +1 -1
- package/out/concepts/CountersignPolicy__.d.ts +28 -0
- package/out/concepts/CountersignPolicy__.js +62 -0
- package/out/concepts/CountersignPolicy__.js.map +1 -0
- package/out/concepts/DefaultValue__.d.ts +104 -0
- package/out/concepts/DefaultValue__.js +242 -0
- package/out/concepts/DefaultValue__.js.map +1 -0
- package/out/concepts/FrontendType__.d.ts +308 -0
- package/out/concepts/FrontendType__.js +605 -0
- package/out/concepts/FrontendType__.js.map +1 -0
- package/out/concepts/FrontendVariable__.d.ts +15 -1
- package/out/concepts/FrontendVariable__.js +23 -11
- package/out/concepts/FrontendVariable__.js.map +1 -1
- package/out/concepts/I18nInfo__.d.ts +46 -0
- package/out/concepts/I18nInfo__.js +90 -0
- package/out/concepts/I18nInfo__.js.map +1 -0
- package/out/concepts/ImportedInterface__.d.ts +20 -0
- package/out/concepts/ImportedInterface__.js +48 -0
- package/out/concepts/ImportedInterface__.js.map +1 -0
- package/out/concepts/MsgTriggerEvent__.d.ts +10 -8
- package/out/concepts/MsgTriggerEvent__.js +32 -30
- package/out/concepts/MsgTriggerEvent__.js.map +1 -1
- package/out/concepts/MsgTriggerLauncher__.d.ts +7 -5
- package/out/concepts/MsgTriggerLauncher__.js +32 -35
- package/out/concepts/MsgTriggerLauncher__.js.map +1 -1
- package/out/concepts/MultiApprovalPolicy__.d.ts +26 -0
- package/out/concepts/MultiApprovalPolicy__.js +59 -0
- package/out/concepts/MultiApprovalPolicy__.js.map +1 -0
- package/out/concepts/OverriddenLogic__.d.ts +28 -29
- package/out/concepts/OverriddenLogic__.js +268 -273
- package/out/concepts/OverriddenLogic__.js.map +1 -1
- package/out/concepts/ParamWithGroup__.d.ts +39 -0
- package/out/concepts/ParamWithGroup__.js +85 -0
- package/out/concepts/ParamWithGroup__.js.map +1 -0
- package/out/concepts/SequentialPolicy__.d.ts +20 -0
- package/out/concepts/SequentialPolicy__.js +48 -0
- package/out/concepts/SequentialPolicy__.js.map +1 -0
- package/out/concepts/StaticString__.d.ts +49 -0
- package/out/concepts/StaticString__.js +91 -0
- package/out/concepts/StaticString__.js.map +1 -0
- package/out/concepts/TriggerEvent__.d.ts +11 -78
- package/out/concepts/TriggerEvent__.js +24 -118
- package/out/concepts/TriggerEvent__.js.map +1 -1
- package/out/concepts/TriggerLauncher__.d.ts +10 -11
- package/out/concepts/TriggerLauncher__.js +18 -43
- package/out/concepts/TriggerLauncher__.js.map +1 -1
- package/out/concepts/basics/constants.d.ts +1 -0
- package/out/concepts/basics/constants.js +6 -0
- package/out/concepts/basics/constants.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.http.d.ts +7 -5
- package/out/concepts/basics/stdlib/nasl.http.js +78 -73
- package/out/concepts/basics/stdlib/nasl.http.js.map +1 -1
- package/out/concepts/types__.d.ts +0 -124
- package/out/concepts/types__.js +0 -2
- package/out/concepts/utils/asserts.d.ts +6931 -0
- package/out/concepts/utils/asserts.js +9208 -0
- package/out/concepts/utils/asserts.js.map +1 -0
- package/out/concepts/utils/quick-info.d.ts +13 -0
- package/out/concepts/utils/quick-info.js +51 -0
- package/out/concepts/utils/quick-info.js.map +1 -0
- package/out/concepts/utils/types.d.ts +447 -0
- package/out/concepts/utils/types.js +3 -0
- package/out/concepts/utils/types.js.map +1 -0
- package/out/server/getConnector.js +27 -4
- package/out/server/getConnector.js.map +1 -1
- package/out/utils/i18nInfo.d.ts +5 -0
- package/out/utils/i18nInfo.js +36 -0
- package/out/utils/i18nInfo.js.map +1 -0
- package/out/utils/time-slicing/constant.d.ts +35 -0
- package/out/utils/time-slicing/constant.js +40 -0
- package/out/utils/time-slicing/constant.js.map +1 -0
- package/out/utils/time-slicing/controller.d.ts +53 -0
- package/out/utils/time-slicing/controller.js +294 -0
- package/out/utils/time-slicing/controller.js.map +1 -0
- package/out/utils/time-slicing/index.d.ts +5 -0
- package/out/utils/time-slicing/index.js +26 -0
- package/out/utils/time-slicing/index.js.map +1 -0
- package/out/utils/time-slicing/page-state.d.ts +2 -0
- package/out/utils/time-slicing/page-state.js +14 -0
- package/out/utils/time-slicing/page-state.js.map +1 -0
- package/out/utils/time-slicing/performance.d.ts +11 -0
- package/out/utils/time-slicing/performance.js +50 -0
- package/out/utils/time-slicing/performance.js.map +1 -0
- package/out/utils/time-slicing/runner.d.ts +12 -0
- package/out/utils/time-slicing/runner.js +52 -0
- package/out/utils/time-slicing/runner.js.map +1 -0
- package/out/utils/time-slicing/tool.d.ts +24 -0
- package/out/utils/time-slicing/tool.js +47 -0
- package/out/utils/time-slicing/tool.js.map +1 -0
- package/out/utils/time-slicing/utils.d.ts +62 -0
- package/out/utils/time-slicing/utils.js +47 -0
- package/out/utils/time-slicing/utils.js.map +1 -0
- package/out/utils/time-slicing/wrapper.d.ts +18 -0
- package/out/utils/time-slicing/wrapper.js +55 -0
- package/out/utils/time-slicing/wrapper.js.map +1 -0
- package/package.json +3 -3
- package/src/common/BaseNode.ts +1 -1
- package/ts-worker/package.json +1 -1
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -461
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -196
- package/coverage/src/automate/engine/index.html +0 -116
- package/coverage/src/automate/engine/utils.js.html +0 -1414
- package/coverage/src/bak/index.html +0 -116
- package/coverage/src/bak/translator.js.html +0 -745
- package/coverage/src/breakpoint/generator/AfterStartNode.ts.html +0 -175
- package/coverage/src/breakpoint/generator/BeforeEndNode.ts.html +0 -169
- package/coverage/src/breakpoint/generator/BreakpointNode.ts.html +0 -1246
- package/coverage/src/breakpoint/generator/CallbackNode.ts.html +0 -145
- package/coverage/src/breakpoint/generator/index.html +0 -176
- package/coverage/src/breakpoint/generator/index.ts.html +0 -508
- package/coverage/src/breakpoint/index.html +0 -116
- package/coverage/src/breakpoint/index.ts.html +0 -94
- package/coverage/src/breakpoint/shared/constants.ts.html +0 -436
- package/coverage/src/breakpoint/shared/index.html +0 -176
- package/coverage/src/breakpoint/shared/index.ts.html +0 -94
- package/coverage/src/breakpoint/shared/operations.ts.html +0 -160
- package/coverage/src/breakpoint/shared/socket.ts.html +0 -1297
- package/coverage/src/breakpoint/shared/utils.ts.html +0 -1087
- package/coverage/src/breakpoint/store/core.ts.html +0 -1600
- package/coverage/src/breakpoint/store/dock.ts.html +0 -733
- package/coverage/src/breakpoint/store/index.html +0 -146
- package/coverage/src/breakpoint/store/index.ts.html +0 -91
- package/coverage/src/common/BaseNode.ts.html +0 -3904
- package/coverage/src/common/Command.ts.html +0 -310
- package/coverage/src/common/EventEmitter.ts.html +0 -370
- package/coverage/src/common/Messager.ts.html +0 -820
- package/coverage/src/common/asyncFuncMap.ts.html +0 -127
- package/coverage/src/common/index.html +0 -191
- package/coverage/src/common/index.ts.html +0 -94
- package/coverage/src/concepts/Abort__.ts.html +0 -331
- package/coverage/src/concepts/Anchor__.ts.html +0 -661
- package/coverage/src/concepts/AnonymousFunction__.ts.html +0 -2071
- package/coverage/src/concepts/App__.ts.html +0 -14095
- package/coverage/src/concepts/Argument__.ts.html +0 -979
- package/coverage/src/concepts/Assignee__.ts.html +0 -2263
- package/coverage/src/concepts/AssignmentLine__.ts.html +0 -412
- package/coverage/src/concepts/Assignment__.ts.html +0 -1162
- package/coverage/src/concepts/Attribute__.ts.html +0 -748
- package/coverage/src/concepts/AuthInterface__.ts.html +0 -370
- package/coverage/src/concepts/AuthLogicForCallInterface__.ts.html +0 -1999
- package/coverage/src/concepts/AuthLogic__.ts.html +0 -793
- package/coverage/src/concepts/BackendVariable__.ts.html +0 -1498
- package/coverage/src/concepts/Backend__.ts.html +0 -1180
- package/coverage/src/concepts/BatchAssignment__.ts.html +0 -3346
- package/coverage/src/concepts/BinaryExpression__.ts.html +0 -1543
- package/coverage/src/concepts/BindAttribute__.ts.html +0 -3928
- package/coverage/src/concepts/BindDirective__.ts.html +0 -1984
- package/coverage/src/concepts/BindEvent__.ts.html +0 -3463
- package/coverage/src/concepts/BindStyle__.ts.html +0 -1627
- package/coverage/src/concepts/BooleanLiteral__.ts.html +0 -421
- package/coverage/src/concepts/CallAuthInterface__.ts.html +0 -1630
- package/coverage/src/concepts/CallConnector__.ts.html +0 -925
- package/coverage/src/concepts/CallFunction__.ts.html +0 -2140
- package/coverage/src/concepts/CallInterface__.ts.html +0 -2764
- package/coverage/src/concepts/CallLogic__.ts.html +0 -4738
- package/coverage/src/concepts/CallQueryComponent__.ts.html +0 -5335
- package/coverage/src/concepts/Comment__.ts.html +0 -397
- package/coverage/src/concepts/CompletionProperty__.ts.html +0 -940
- package/coverage/src/concepts/ConfigGroup__.ts.html +0 -1120
- package/coverage/src/concepts/ConfigPropertyValue__.ts.html +0 -427
- package/coverage/src/concepts/ConfigProperty__.ts.html +0 -1363
- package/coverage/src/concepts/Configuration__.ts.html +0 -1042
- package/coverage/src/concepts/Connection__.ts.html +0 -1375
- package/coverage/src/concepts/ConnectorTrigger__.ts.html +0 -598
- package/coverage/src/concepts/Connector__.ts.html +0 -4318
- package/coverage/src/concepts/Constant__.ts.html +0 -928
- package/coverage/src/concepts/DataSource__.ts.html +0 -1786
- package/coverage/src/concepts/DatabaseTypeAnnotation__.ts.html +0 -334
- package/coverage/src/concepts/Destination__.ts.html +0 -2743
- package/coverage/src/concepts/End__.ts.html +0 -436
- package/coverage/src/concepts/EntityIndex__.ts.html +0 -790
- package/coverage/src/concepts/EntityProperty__.ts.html +0 -2716
- package/coverage/src/concepts/Entity__.ts.html +0 -2977
- package/coverage/src/concepts/EnumItem__.ts.html +0 -553
- package/coverage/src/concepts/Enum__.ts.html +0 -1246
- package/coverage/src/concepts/Event__.ts.html +0 -1099
- package/coverage/src/concepts/ExternalDestination__.ts.html +0 -1048
- package/coverage/src/concepts/ForEachStatement__.ts.html +0 -1978
- package/coverage/src/concepts/FrontendLibrary__.ts.html +0 -1738
- package/coverage/src/concepts/FrontendVariable__.ts.html +0 -292
- package/coverage/src/concepts/Frontend__.ts.html +0 -4024
- package/coverage/src/concepts/Function__.ts.html +0 -3664
- package/coverage/src/concepts/Identifier__.ts.html +0 -1060
- package/coverage/src/concepts/IfStatement__.ts.html +0 -1621
- package/coverage/src/concepts/Integration__.ts.html +0 -1255
- package/coverage/src/concepts/InterfaceParam__.ts.html +0 -1102
- package/coverage/src/concepts/Interface__.ts.html +0 -3433
- package/coverage/src/concepts/JSBlock__.ts.html +0 -601
- package/coverage/src/concepts/JavaLogic__.ts.html +0 -463
- package/coverage/src/concepts/LogicItem__.ts.html +0 -1174
- package/coverage/src/concepts/Logic__.ts.html +0 -7444
- package/coverage/src/concepts/MatchCase__.ts.html +0 -2968
- package/coverage/src/concepts/Match__.ts.html +0 -2476
- package/coverage/src/concepts/MemberExpression__.ts.html +0 -1732
- package/coverage/src/concepts/MetadataType__.ts.html +0 -1996
- package/coverage/src/concepts/MicroApp__.ts.html +0 -439
- package/coverage/src/concepts/Module__.ts.html +0 -9874
- package/coverage/src/concepts/MsgTriggerEvent__.ts.html +0 -1060
- package/coverage/src/concepts/MsgTriggerLauncher__.ts.html +0 -1033
- package/coverage/src/concepts/Namespace__.ts.html +0 -8077
- package/coverage/src/concepts/NewComposite__.ts.html +0 -4795
- package/coverage/src/concepts/NewList__.ts.html +0 -1648
- package/coverage/src/concepts/NewMap__.ts.html +0 -2356
- package/coverage/src/concepts/New__.ts.html +0 -289
- package/coverage/src/concepts/NullLiteral__.ts.html +0 -352
- package/coverage/src/concepts/NumericLiteral__.ts.html +0 -691
- package/coverage/src/concepts/OqlQueryComponent__.ts.html +0 -1231
- package/coverage/src/concepts/OverriddenLogic__.ts.html +0 -6892
- package/coverage/src/concepts/Param__.ts.html +0 -1735
- package/coverage/src/concepts/Point__.ts.html +0 -334
- package/coverage/src/concepts/ProcessComponent__.ts.html +0 -1693
- package/coverage/src/concepts/ProcessElement__.ts.html +0 -5983
- package/coverage/src/concepts/ProcessOutcome__.ts.html +0 -355
- package/coverage/src/concepts/ProcessOutcomes__.ts.html +0 -346
- package/coverage/src/concepts/Process__.ts.html +0 -4831
- package/coverage/src/concepts/QueryAggregateExpression__.ts.html +0 -583
- package/coverage/src/concepts/QueryFieldExpression__.ts.html +0 -586
- package/coverage/src/concepts/QueryFromExpression__.ts.html +0 -925
- package/coverage/src/concepts/QueryGroupByExpression__.ts.html +0 -574
- package/coverage/src/concepts/QueryJoinExpression__.ts.html +0 -1582
- package/coverage/src/concepts/QueryLimitExpression__.ts.html +0 -652
- package/coverage/src/concepts/QueryOrderByExpression__.ts.html +0 -694
- package/coverage/src/concepts/QuerySelectExpression__.ts.html +0 -1729
- package/coverage/src/concepts/Rect__.ts.html +0 -376
- package/coverage/src/concepts/Return__.ts.html +0 -1327
- package/coverage/src/concepts/Role__.ts.html +0 -604
- package/coverage/src/concepts/SelectMembers__.ts.html +0 -1261
- package/coverage/src/concepts/Slot__.ts.html +0 -643
- package/coverage/src/concepts/SqlQueryComponent__.ts.html +0 -997
- package/coverage/src/concepts/Start__.ts.html +0 -307
- package/coverage/src/concepts/StringInterpolation__.ts.html +0 -1150
- package/coverage/src/concepts/StringLiteral__.ts.html +0 -508
- package/coverage/src/concepts/StructureProperty__.ts.html +0 -1147
- package/coverage/src/concepts/Structure__.ts.html +0 -2119
- package/coverage/src/concepts/SwitchCase__.ts.html +0 -1189
- package/coverage/src/concepts/SwitchStatement__.ts.html +0 -892
- package/coverage/src/concepts/Theme__.ts.html +0 -361
- package/coverage/src/concepts/Transactional__.ts.html +0 -631
- package/coverage/src/concepts/TriggerEvent__.ts.html +0 -1027
- package/coverage/src/concepts/TriggerLauncher__.ts.html +0 -778
- package/coverage/src/concepts/TypeAnnotation__.ts.html +0 -3880
- package/coverage/src/concepts/TypeParam__.ts.html +0 -322
- package/coverage/src/concepts/UnaryExpression__.ts.html +0 -724
- package/coverage/src/concepts/Unparsed__.ts.html +0 -397
- package/coverage/src/concepts/UseComponent__.ts.html +0 -334
- package/coverage/src/concepts/ValidationRule__.ts.html +0 -1855
- package/coverage/src/concepts/Variable__.ts.html +0 -1534
- package/coverage/src/concepts/ViewBlock__.ts.html +0 -355
- package/coverage/src/concepts/ViewComponent__.ts.html +0 -4255
- package/coverage/src/concepts/ViewElement__.ts.html +0 -8956
- package/coverage/src/concepts/View__.ts.html +0 -8875
- package/coverage/src/concepts/WhileStatement__.ts.html +0 -1096
- package/coverage/src/concepts/basics/stdlib/index.html +0 -356
- package/coverage/src/concepts/basics/stdlib/index.ts.html +0 -208
- package/coverage/src/concepts/basics/stdlib/nasl.auth.ts.html +0 -565
- package/coverage/src/concepts/basics/stdlib/nasl.browser.ts.html +0 -517
- package/coverage/src/concepts/basics/stdlib/nasl.collection.ts.html +0 -226
- package/coverage/src/concepts/basics/stdlib/nasl.configuration.ts.html +0 -172
- package/coverage/src/concepts/basics/stdlib/nasl.core.ts.html +0 -214
- package/coverage/src/concepts/basics/stdlib/nasl.event.ts.html +0 -145
- package/coverage/src/concepts/basics/stdlib/nasl.http.ts.html +0 -589
- package/coverage/src/concepts/basics/stdlib/nasl.interface.ts.html +0 -214
- package/coverage/src/concepts/basics/stdlib/nasl.io.ts.html +0 -229
- package/coverage/src/concepts/basics/stdlib/nasl.logging.ts.html +0 -268
- package/coverage/src/concepts/basics/stdlib/nasl.process.ts.html +0 -1999
- package/coverage/src/concepts/basics/stdlib/nasl.ui.ts.html +0 -3259
- package/coverage/src/concepts/basics/stdlib/nasl.util.ts.html +0 -6844
- package/coverage/src/concepts/basics/stdlib/nasl.validation.ts.html +0 -1768
- package/coverage/src/concepts/basics/stdlib/reference2TypeAnnotationList.ts.html +0 -163
- package/coverage/src/concepts/basics/stdlib/timeZone.ts.html +0 -664
- package/coverage/src/concepts/basics/types/coreTypeList.ts.html +0 -121
- package/coverage/src/concepts/basics/types/index.html +0 -131
- package/coverage/src/concepts/basics/types/index.ts.html +0 -160
- package/coverage/src/concepts/index.html +0 -1976
- package/coverage/src/concepts/index.ts.html +0 -103
- package/coverage/src/concepts/index__.ts.html +0 -454
- package/coverage/src/config.ts.html +0 -325
- package/coverage/src/decorators/index.html +0 -131
- package/coverage/src/decorators/index.ts.html +0 -574
- package/coverage/src/decorators/promise.ts.html +0 -169
- package/coverage/src/eventBus.ts.html +0 -100
- package/coverage/src/generator/compileComponent.ts.html +0 -142
- package/coverage/src/generator/genBundleFiles.ts.html +0 -1822
- package/coverage/src/generator/genHash.ts.html +0 -124
- package/coverage/src/generator/genMetaData.ts.html +0 -1129
- package/coverage/src/generator/genReleaseBody.ts.html +0 -1282
- package/coverage/src/generator/icestark.ts.html +0 -220
- package/coverage/src/generator/index.html +0 -266
- package/coverage/src/generator/index.ts.html +0 -106
- package/coverage/src/generator/microApp.ts.html +0 -172
- package/coverage/src/generator/permission.ts.html +0 -1036
- package/coverage/src/generator/qiankun.ts.html +0 -232
- package/coverage/src/generator/styleReplacer.ts.html +0 -199
- package/coverage/src/index.html +0 -146
- package/coverage/src/index.ts.html +0 -121
- package/coverage/src/manager/diagnostic.ts.html +0 -442
- package/coverage/src/manager/index.html +0 -131
- package/coverage/src/manager/stepRecorder.ts.html +0 -457
- package/coverage/src/natural/genNaturalTS.ts.html +0 -355
- package/coverage/src/natural/index.html +0 -161
- package/coverage/src/natural/index.ts.html +0 -91
- package/coverage/src/natural/naslStdlibMap.ts.html +0 -157
- package/coverage/src/natural/transformTSCode.ts.html +0 -2707
- package/coverage/src/sentry/index.html +0 -116
- package/coverage/src/sentry/index.ts.html +0 -676
- package/coverage/src/server/createUiTs.ts.html +0 -919
- package/coverage/src/server/entity2LogicNamespace.ts.html +0 -1294
- package/coverage/src/server/event.js.html +0 -526
- package/coverage/src/server/extendBaseNode.ts.html +0 -1765
- package/coverage/src/server/formatTsUtils.ts.html +0 -2689
- package/coverage/src/server/getConnector.ts.html +0 -316
- package/coverage/src/server/getExtensionModules.ts.html +0 -178
- package/coverage/src/server/getFunctions.ts.html +0 -133
- package/coverage/src/server/getInterfaces.ts.html +0 -229
- package/coverage/src/server/getLogging.ts.html +0 -100
- package/coverage/src/server/getLogics.ts.html +0 -1363
- package/coverage/src/server/getMemberIdentifier.ts.html +0 -1609
- package/coverage/src/server/getProcessComponents.ts.html +0 -112
- package/coverage/src/server/getProcesses.ts.html +0 -2023
- package/coverage/src/server/getValidates.ts.html +0 -115
- package/coverage/src/server/index.html +0 -401
- package/coverage/src/server/index.ts.html +0 -229
- package/coverage/src/server/naslServer.ts.html +0 -14812
- package/coverage/src/server/naslStdlibMap.ts.html +0 -241
- package/coverage/src/server/process2LogicNamespace.ts.html +0 -454
- package/coverage/src/server/translator.ts.html +0 -2566
- package/coverage/src/service/creator/add.configs.js.html +0 -397
- package/coverage/src/service/creator/errHandles.js.html +0 -304
- package/coverage/src/service/creator/index.html +0 -146
- package/coverage/src/service/creator/index.js.html +0 -352
- package/coverage/src/service/datasource/api.js.html +0 -118
- package/coverage/src/service/datasource/index.html +0 -131
- package/coverage/src/service/datasource/index.js.html +0 -103
- package/coverage/src/service/logic/api.js.html +0 -109
- package/coverage/src/service/logic/index.html +0 -131
- package/coverage/src/service/logic/index.js.html +0 -103
- package/coverage/src/service/storage/api.js.html +0 -202
- package/coverage/src/service/storage/index.html +0 -206
- package/coverage/src/service/storage/index.ts.html +0 -103
- package/coverage/src/service/storage/init.ts.html +0 -3661
- package/coverage/src/service/storage/jsoner.ts.html +0 -502
- package/coverage/src/service/storage/map.ts.html +0 -256
- package/coverage/src/service/storage/service.ts.html +0 -331
- package/coverage/src/service/storage/storagePoint.ts.html +0 -304
- package/coverage/src/templator/genCallComponentLogic.ts.html +0 -163
- package/coverage/src/templator/genCreateBlock.ts.html +0 -1084
- package/coverage/src/templator/genCurdEditMultipleKeyBlock.ts.html +0 -1627
- package/coverage/src/templator/genCurdMultipleKeyBlock.ts.html +0 -2242
- package/coverage/src/templator/genEditTableBlock.ts.html +0 -1024
- package/coverage/src/templator/genEnumSelectBlock.ts.html +0 -178
- package/coverage/src/templator/genGetBlock.ts.html +0 -451
- package/coverage/src/templator/genGridViewBlock.ts.html +0 -1114
- package/coverage/src/templator/genListViewBlock.ts.html +0 -475
- package/coverage/src/templator/genQueryComponent.ts.html +0 -1207
- package/coverage/src/templator/genSelectBlock.ts.html +0 -1243
- package/coverage/src/templator/genTableBlock.ts.html +0 -973
- package/coverage/src/templator/genUpdateBlock.ts.html +0 -1204
- package/coverage/src/templator/index.html +0 -326
- package/coverage/src/templator/index.ts.html +0 -154
- package/coverage/src/templator/utils.ts.html +0 -1927
- package/coverage/src/translator/constant.ts.html +0 -106
- package/coverage/src/translator/index.html +0 -146
- package/coverage/src/translator/index.ts.html +0 -94
- package/coverage/src/translator/utils.ts.html +0 -493
- package/coverage/src/utils/cookie.ts.html +0 -265
- package/coverage/src/utils/env.ts.html +0 -91
- package/coverage/src/utils/index.html +0 -236
- package/coverage/src/utils/index.ts.html +0 -748
- package/coverage/src/utils/logger.ts.html +0 -145
- package/coverage/src/utils/sortTsString.ts.html +0 -187
- package/coverage/src/utils/string.ts.html +0 -502
- package/coverage/src/utils/time-slicing.ts.html +0 -418
- package/coverage/src/utils/traverse.ts.html +0 -568
- package/coverage/src/utils/window.ts.html +0 -112
- package/out/utils/time-slicing.d.ts +0 -41
- package/out/utils/time-slicing.js +0 -82
- package/out/utils/time-slicing.js.map +0 -1
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
import type { App } from '../App__';
|
|
2
|
+
import type { Module } from '../Module__';
|
|
3
|
+
import type { Namespace } from '../Namespace__';
|
|
4
|
+
import type { FrontendType } from '../FrontendType__';
|
|
5
|
+
import type { Frontend } from '../Frontend__';
|
|
6
|
+
import type { Backend } from '../Backend__';
|
|
7
|
+
import type { Integration } from '../Integration__';
|
|
8
|
+
import type { MicroApp } from '../MicroApp__';
|
|
9
|
+
import type { TypeAnnotation } from '../TypeAnnotation__';
|
|
10
|
+
import type { DatabaseTypeAnnotation } from '../DatabaseTypeAnnotation__';
|
|
11
|
+
import type { TypeParam } from '../TypeParam__';
|
|
12
|
+
import type { Structure } from '../Structure__';
|
|
13
|
+
import type { StructureProperty } from '../StructureProperty__';
|
|
14
|
+
import type { Enum } from '../Enum__';
|
|
15
|
+
import type { EnumItem } from '../EnumItem__';
|
|
16
|
+
import type { DataSource } from '../DataSource__';
|
|
17
|
+
import type { Entity } from '../Entity__';
|
|
18
|
+
import type { EntityProperty } from '../EntityProperty__';
|
|
19
|
+
import type { EntityIndex } from '../EntityIndex__';
|
|
20
|
+
import type { MetadataType } from '../MetadataType__';
|
|
21
|
+
import type { View } from '../View__';
|
|
22
|
+
import type { ViewElement } from '../ViewElement__';
|
|
23
|
+
import type { BindAttribute } from '../BindAttribute__';
|
|
24
|
+
import type { BindDirective } from '../BindDirective__';
|
|
25
|
+
import type { BindEvent } from '../BindEvent__';
|
|
26
|
+
import type { BindStyle } from '../BindStyle__';
|
|
27
|
+
import type { ViewComponent } from '../ViewComponent__';
|
|
28
|
+
import type { BusinessComponent } from '../BusinessComponent__';
|
|
29
|
+
import type { Attribute } from '../Attribute__';
|
|
30
|
+
import type { Event } from '../Event__';
|
|
31
|
+
import type { Slot } from '../Slot__';
|
|
32
|
+
import type { Theme } from '../Theme__';
|
|
33
|
+
import type { StaticString } from '../StaticString__';
|
|
34
|
+
import type { Logic } from '../Logic__';
|
|
35
|
+
import type { AuthLogic } from '../AuthLogic__';
|
|
36
|
+
import type { BusinessLogic } from '../BusinessLogic__';
|
|
37
|
+
import type { AuthLogicForCallInterface } from '../AuthLogicForCallInterface__';
|
|
38
|
+
import type { OverriddenLogic } from '../OverriddenLogic__';
|
|
39
|
+
import type { AbstractInterface } from '../AbstractInterface__';
|
|
40
|
+
import type { Param } from '../Param__';
|
|
41
|
+
import type { ParamWithGroup } from '../ParamWithGroup__';
|
|
42
|
+
import type { Return } from '../Return__';
|
|
43
|
+
import type { Variable } from '../Variable__';
|
|
44
|
+
import type { BackendVariable } from '../BackendVariable__';
|
|
45
|
+
import type { FrontendVariable } from '../FrontendVariable__';
|
|
46
|
+
import type { Constant } from '../Constant__';
|
|
47
|
+
import type { LogicItem } from '../LogicItem__';
|
|
48
|
+
import type { Function } from '../Function__';
|
|
49
|
+
import type { AnonymousFunction } from '../AnonymousFunction__';
|
|
50
|
+
import type { Interface } from '../Interface__';
|
|
51
|
+
import type { ImportedInterface } from '../ImportedInterface__';
|
|
52
|
+
import type { InterfaceParam } from '../InterfaceParam__';
|
|
53
|
+
import type { Transactional } from '../Transactional__';
|
|
54
|
+
import type { DefaultValue } from '../DefaultValue__';
|
|
55
|
+
import type { Abort } from '../Abort__';
|
|
56
|
+
import type { Start } from '../Start__';
|
|
57
|
+
import type { End } from '../End__';
|
|
58
|
+
import type { IfStatement } from '../IfStatement__';
|
|
59
|
+
import type { SwitchStatement } from '../SwitchStatement__';
|
|
60
|
+
import type { SwitchCase } from '../SwitchCase__';
|
|
61
|
+
import type { ForEachStatement } from '../ForEachStatement__';
|
|
62
|
+
import type { WhileStatement } from '../WhileStatement__';
|
|
63
|
+
import type { Assignment } from '../Assignment__';
|
|
64
|
+
import type { BatchAssignment } from '../BatchAssignment__';
|
|
65
|
+
import type { Comment } from '../Comment__';
|
|
66
|
+
import type { CallLogic } from '../CallLogic__';
|
|
67
|
+
import type { CallEvent } from '../CallEvent__';
|
|
68
|
+
import type { CallFunction } from '../CallFunction__';
|
|
69
|
+
import type { CallInterface } from '../CallInterface__';
|
|
70
|
+
import type { Destination } from '../Destination__';
|
|
71
|
+
import type { ExternalDestination } from '../ExternalDestination__';
|
|
72
|
+
import type { ValidationRule } from '../ValidationRule__';
|
|
73
|
+
import type { Argument } from '../Argument__';
|
|
74
|
+
import type { Anchor } from '../Anchor__';
|
|
75
|
+
import type { JSBlock } from '../JSBlock__';
|
|
76
|
+
import type { JavaLogic } from '../JavaLogic__';
|
|
77
|
+
import type { Block } from '../Block__';
|
|
78
|
+
import type { Identifier } from '../Identifier__';
|
|
79
|
+
import type { NullLiteral } from '../NullLiteral__';
|
|
80
|
+
import type { BooleanLiteral } from '../BooleanLiteral__';
|
|
81
|
+
import type { StringLiteral } from '../StringLiteral__';
|
|
82
|
+
import type { StringInterpolation } from '../StringInterpolation__';
|
|
83
|
+
import type { NumericLiteral } from '../NumericLiteral__';
|
|
84
|
+
import type { BinaryExpression } from '../BinaryExpression__';
|
|
85
|
+
import type { MatchCase } from '../MatchCase__';
|
|
86
|
+
import type { Match } from '../Match__';
|
|
87
|
+
import type { UnaryExpression } from '../UnaryExpression__';
|
|
88
|
+
import type { MemberExpression } from '../MemberExpression__';
|
|
89
|
+
import type { Unparsed } from '../Unparsed__';
|
|
90
|
+
import type { New } from '../New__';
|
|
91
|
+
import type { NewComposite } from '../NewComposite__';
|
|
92
|
+
import type { NewList } from '../NewList__';
|
|
93
|
+
import type { NewMap } from '../NewMap__';
|
|
94
|
+
import type { CallQueryComponent } from '../CallQueryComponent__';
|
|
95
|
+
import type { QueryFromExpression } from '../QueryFromExpression__';
|
|
96
|
+
import type { QueryJoinExpression } from '../QueryJoinExpression__';
|
|
97
|
+
import type { QueryFieldExpression } from '../QueryFieldExpression__';
|
|
98
|
+
import type { QueryAggregateExpression } from '../QueryAggregateExpression__';
|
|
99
|
+
import type { QueryOrderByExpression } from '../QueryOrderByExpression__';
|
|
100
|
+
import type { QueryGroupByExpression } from '../QueryGroupByExpression__';
|
|
101
|
+
import type { QuerySelectExpression } from '../QuerySelectExpression__';
|
|
102
|
+
import type { QueryLimitExpression } from '../QueryLimitExpression__';
|
|
103
|
+
import type { SqlQueryComponent } from '../SqlQueryComponent__';
|
|
104
|
+
import type { OqlQueryComponent } from '../OqlQueryComponent__';
|
|
105
|
+
import type { Process } from '../Process__';
|
|
106
|
+
import type { ProcessElement } from '../ProcessElement__';
|
|
107
|
+
import type { ProcessComponent } from '../ProcessComponent__';
|
|
108
|
+
import type { ProcessOutcome } from '../ProcessOutcome__';
|
|
109
|
+
import type { Assignee } from '../Assignee__';
|
|
110
|
+
import type { ProcessOutcomes } from '../ProcessOutcomes__';
|
|
111
|
+
import type { MultiApprovalPolicy } from '../MultiApprovalPolicy__';
|
|
112
|
+
import type { SequentialPolicy } from '../SequentialPolicy__';
|
|
113
|
+
import type { CountersignPolicy } from '../CountersignPolicy__';
|
|
114
|
+
import type { Role } from '../Role__';
|
|
115
|
+
import type { Configuration } from '../Configuration__';
|
|
116
|
+
import type { ConfigGroup } from '../ConfigGroup__';
|
|
117
|
+
import type { ConfigProperty } from '../ConfigProperty__';
|
|
118
|
+
import type { ConfigPropertyValue } from '../ConfigPropertyValue__';
|
|
119
|
+
import type { I18nInfo } from '../I18nInfo__';
|
|
120
|
+
import type { CompletionProperty } from '../CompletionProperty__';
|
|
121
|
+
import type { UseComponent } from '../UseComponent__';
|
|
122
|
+
import type { Point } from '../Point__';
|
|
123
|
+
import type { Rect } from '../Rect__';
|
|
124
|
+
import type { SelectMembers } from '../SelectMembers__';
|
|
125
|
+
import type { AssignmentLine } from '../AssignmentLine__';
|
|
126
|
+
import type { FrontendLibrary } from '../FrontendLibrary__';
|
|
127
|
+
import type { ViewBlock } from '../ViewBlock__';
|
|
128
|
+
import type { AuthInterface } from '../AuthInterface__';
|
|
129
|
+
import type { CallAuthInterface } from '../CallAuthInterface__';
|
|
130
|
+
import type { TriggerEvent } from '../TriggerEvent__';
|
|
131
|
+
import type { MsgTriggerEvent } from '../MsgTriggerEvent__';
|
|
132
|
+
import type { ConnectorTrigger } from '../ConnectorTrigger__';
|
|
133
|
+
import type { TriggerLauncher } from '../TriggerLauncher__';
|
|
134
|
+
import type { MsgTriggerLauncher } from '../MsgTriggerLauncher__';
|
|
135
|
+
import type { Connector } from '../Connector__';
|
|
136
|
+
import type { CallConnector } from '../CallConnector__';
|
|
137
|
+
import type { Connection } from '../Connection__';
|
|
138
|
+
/** concept 与类类型映射表 */
|
|
139
|
+
export interface ConceptTypeofClassMap {
|
|
140
|
+
App: typeof App;
|
|
141
|
+
Module: typeof Module;
|
|
142
|
+
Namespace: typeof Namespace;
|
|
143
|
+
FrontendType: typeof FrontendType;
|
|
144
|
+
Frontend: typeof Frontend;
|
|
145
|
+
Backend: typeof Backend;
|
|
146
|
+
Integration: typeof Integration;
|
|
147
|
+
MicroApp: typeof MicroApp;
|
|
148
|
+
TypeAnnotation: typeof TypeAnnotation;
|
|
149
|
+
DatabaseTypeAnnotation: typeof DatabaseTypeAnnotation;
|
|
150
|
+
TypeParam: typeof TypeParam;
|
|
151
|
+
Structure: typeof Structure;
|
|
152
|
+
StructureProperty: typeof StructureProperty;
|
|
153
|
+
Enum: typeof Enum;
|
|
154
|
+
EnumItem: typeof EnumItem;
|
|
155
|
+
DataSource: typeof DataSource;
|
|
156
|
+
Entity: typeof Entity;
|
|
157
|
+
EntityProperty: typeof EntityProperty;
|
|
158
|
+
EntityIndex: typeof EntityIndex;
|
|
159
|
+
MetadataType: typeof MetadataType;
|
|
160
|
+
View: typeof View;
|
|
161
|
+
ViewElement: typeof ViewElement;
|
|
162
|
+
BindAttribute: typeof BindAttribute;
|
|
163
|
+
BindDirective: typeof BindDirective;
|
|
164
|
+
BindEvent: typeof BindEvent;
|
|
165
|
+
BindStyle: typeof BindStyle;
|
|
166
|
+
ViewComponent: typeof ViewComponent;
|
|
167
|
+
BusinessComponent: typeof BusinessComponent;
|
|
168
|
+
Attribute: typeof Attribute;
|
|
169
|
+
Event: typeof Event;
|
|
170
|
+
Slot: typeof Slot;
|
|
171
|
+
Theme: typeof Theme;
|
|
172
|
+
StaticString: typeof StaticString;
|
|
173
|
+
Logic: typeof Logic;
|
|
174
|
+
AuthLogic: typeof AuthLogic;
|
|
175
|
+
BusinessLogic: typeof BusinessLogic;
|
|
176
|
+
AuthLogicForCallInterface: typeof AuthLogicForCallInterface;
|
|
177
|
+
OverriddenLogic: typeof OverriddenLogic;
|
|
178
|
+
AbstractInterface: typeof AbstractInterface;
|
|
179
|
+
Param: typeof Param;
|
|
180
|
+
ParamWithGroup: typeof ParamWithGroup;
|
|
181
|
+
Return: typeof Return;
|
|
182
|
+
Variable: typeof Variable;
|
|
183
|
+
BackendVariable: typeof BackendVariable;
|
|
184
|
+
FrontendVariable: typeof FrontendVariable;
|
|
185
|
+
Constant: typeof Constant;
|
|
186
|
+
LogicItem: typeof LogicItem;
|
|
187
|
+
Function: typeof Function;
|
|
188
|
+
AnonymousFunction: typeof AnonymousFunction;
|
|
189
|
+
Interface: typeof Interface;
|
|
190
|
+
ImportedInterface: typeof ImportedInterface;
|
|
191
|
+
InterfaceParam: typeof InterfaceParam;
|
|
192
|
+
Transactional: typeof Transactional;
|
|
193
|
+
DefaultValue: typeof DefaultValue;
|
|
194
|
+
Abort: typeof Abort;
|
|
195
|
+
Start: typeof Start;
|
|
196
|
+
End: typeof End;
|
|
197
|
+
IfStatement: typeof IfStatement;
|
|
198
|
+
SwitchStatement: typeof SwitchStatement;
|
|
199
|
+
SwitchCase: typeof SwitchCase;
|
|
200
|
+
ForEachStatement: typeof ForEachStatement;
|
|
201
|
+
WhileStatement: typeof WhileStatement;
|
|
202
|
+
Assignment: typeof Assignment;
|
|
203
|
+
BatchAssignment: typeof BatchAssignment;
|
|
204
|
+
Comment: typeof Comment;
|
|
205
|
+
CallLogic: typeof CallLogic;
|
|
206
|
+
CallEvent: typeof CallEvent;
|
|
207
|
+
CallFunction: typeof CallFunction;
|
|
208
|
+
CallInterface: typeof CallInterface;
|
|
209
|
+
Destination: typeof Destination;
|
|
210
|
+
ExternalDestination: typeof ExternalDestination;
|
|
211
|
+
ValidationRule: typeof ValidationRule;
|
|
212
|
+
Argument: typeof Argument;
|
|
213
|
+
Anchor: typeof Anchor;
|
|
214
|
+
JSBlock: typeof JSBlock;
|
|
215
|
+
JavaLogic: typeof JavaLogic;
|
|
216
|
+
Block: typeof Block;
|
|
217
|
+
Identifier: typeof Identifier;
|
|
218
|
+
NullLiteral: typeof NullLiteral;
|
|
219
|
+
BooleanLiteral: typeof BooleanLiteral;
|
|
220
|
+
StringLiteral: typeof StringLiteral;
|
|
221
|
+
StringInterpolation: typeof StringInterpolation;
|
|
222
|
+
NumericLiteral: typeof NumericLiteral;
|
|
223
|
+
BinaryExpression: typeof BinaryExpression;
|
|
224
|
+
MatchCase: typeof MatchCase;
|
|
225
|
+
Match: typeof Match;
|
|
226
|
+
UnaryExpression: typeof UnaryExpression;
|
|
227
|
+
MemberExpression: typeof MemberExpression;
|
|
228
|
+
Unparsed: typeof Unparsed;
|
|
229
|
+
New: typeof New;
|
|
230
|
+
NewComposite: typeof NewComposite;
|
|
231
|
+
NewList: typeof NewList;
|
|
232
|
+
NewMap: typeof NewMap;
|
|
233
|
+
CallQueryComponent: typeof CallQueryComponent;
|
|
234
|
+
QueryFromExpression: typeof QueryFromExpression;
|
|
235
|
+
QueryJoinExpression: typeof QueryJoinExpression;
|
|
236
|
+
QueryFieldExpression: typeof QueryFieldExpression;
|
|
237
|
+
QueryAggregateExpression: typeof QueryAggregateExpression;
|
|
238
|
+
QueryOrderByExpression: typeof QueryOrderByExpression;
|
|
239
|
+
QueryGroupByExpression: typeof QueryGroupByExpression;
|
|
240
|
+
QuerySelectExpression: typeof QuerySelectExpression;
|
|
241
|
+
QueryLimitExpression: typeof QueryLimitExpression;
|
|
242
|
+
SqlQueryComponent: typeof SqlQueryComponent;
|
|
243
|
+
OqlQueryComponent: typeof OqlQueryComponent;
|
|
244
|
+
Process: typeof Process;
|
|
245
|
+
ProcessElement: typeof ProcessElement;
|
|
246
|
+
ProcessComponent: typeof ProcessComponent;
|
|
247
|
+
ProcessOutcome: typeof ProcessOutcome;
|
|
248
|
+
Assignee: typeof Assignee;
|
|
249
|
+
ProcessOutcomes: typeof ProcessOutcomes;
|
|
250
|
+
MultiApprovalPolicy: typeof MultiApprovalPolicy;
|
|
251
|
+
SequentialPolicy: typeof SequentialPolicy;
|
|
252
|
+
CountersignPolicy: typeof CountersignPolicy;
|
|
253
|
+
Role: typeof Role;
|
|
254
|
+
Configuration: typeof Configuration;
|
|
255
|
+
ConfigGroup: typeof ConfigGroup;
|
|
256
|
+
ConfigProperty: typeof ConfigProperty;
|
|
257
|
+
ConfigPropertyValue: typeof ConfigPropertyValue;
|
|
258
|
+
I18nInfo: typeof I18nInfo;
|
|
259
|
+
CompletionProperty: typeof CompletionProperty;
|
|
260
|
+
UseComponent: typeof UseComponent;
|
|
261
|
+
Point: typeof Point;
|
|
262
|
+
Rect: typeof Rect;
|
|
263
|
+
SelectMembers: typeof SelectMembers;
|
|
264
|
+
AssignmentLine: typeof AssignmentLine;
|
|
265
|
+
FrontendLibrary: typeof FrontendLibrary;
|
|
266
|
+
ViewBlock: typeof ViewBlock;
|
|
267
|
+
AuthInterface: typeof AuthInterface;
|
|
268
|
+
CallAuthInterface: typeof CallAuthInterface;
|
|
269
|
+
TriggerEvent: typeof TriggerEvent;
|
|
270
|
+
MsgTriggerEvent: typeof MsgTriggerEvent;
|
|
271
|
+
ConnectorTrigger: typeof ConnectorTrigger;
|
|
272
|
+
TriggerLauncher: typeof TriggerLauncher;
|
|
273
|
+
MsgTriggerLauncher: typeof MsgTriggerLauncher;
|
|
274
|
+
Connector: typeof Connector;
|
|
275
|
+
CallConnector: typeof CallConnector;
|
|
276
|
+
Connection: typeof Connection;
|
|
277
|
+
}
|
|
278
|
+
/** concept 与类实例类型映射表 */
|
|
279
|
+
export interface ConceptClassMap {
|
|
280
|
+
App: App;
|
|
281
|
+
Module: Module;
|
|
282
|
+
Namespace: Namespace;
|
|
283
|
+
FrontendType: FrontendType;
|
|
284
|
+
Frontend: Frontend;
|
|
285
|
+
Backend: Backend;
|
|
286
|
+
Integration: Integration;
|
|
287
|
+
MicroApp: MicroApp;
|
|
288
|
+
TypeAnnotation: TypeAnnotation;
|
|
289
|
+
DatabaseTypeAnnotation: DatabaseTypeAnnotation;
|
|
290
|
+
TypeParam: TypeParam;
|
|
291
|
+
Structure: Structure;
|
|
292
|
+
StructureProperty: StructureProperty;
|
|
293
|
+
Enum: Enum;
|
|
294
|
+
EnumItem: EnumItem;
|
|
295
|
+
DataSource: DataSource;
|
|
296
|
+
Entity: Entity;
|
|
297
|
+
EntityProperty: EntityProperty;
|
|
298
|
+
EntityIndex: EntityIndex;
|
|
299
|
+
MetadataType: MetadataType;
|
|
300
|
+
View: View;
|
|
301
|
+
ViewElement: ViewElement;
|
|
302
|
+
BindAttribute: BindAttribute;
|
|
303
|
+
BindDirective: BindDirective;
|
|
304
|
+
BindEvent: BindEvent;
|
|
305
|
+
BindStyle: BindStyle;
|
|
306
|
+
ViewComponent: ViewComponent;
|
|
307
|
+
BusinessComponent: BusinessComponent;
|
|
308
|
+
Attribute: Attribute;
|
|
309
|
+
Event: Event;
|
|
310
|
+
Slot: Slot;
|
|
311
|
+
Theme: Theme;
|
|
312
|
+
StaticString: StaticString;
|
|
313
|
+
Logic: Logic;
|
|
314
|
+
AuthLogic: AuthLogic;
|
|
315
|
+
BusinessLogic: BusinessLogic;
|
|
316
|
+
AuthLogicForCallInterface: AuthLogicForCallInterface;
|
|
317
|
+
OverriddenLogic: OverriddenLogic;
|
|
318
|
+
AbstractInterface: AbstractInterface;
|
|
319
|
+
Param: Param;
|
|
320
|
+
ParamWithGroup: ParamWithGroup;
|
|
321
|
+
Return: Return;
|
|
322
|
+
Variable: Variable;
|
|
323
|
+
BackendVariable: BackendVariable;
|
|
324
|
+
FrontendVariable: FrontendVariable;
|
|
325
|
+
Constant: Constant;
|
|
326
|
+
LogicItem: LogicItem;
|
|
327
|
+
Function: Function;
|
|
328
|
+
AnonymousFunction: AnonymousFunction;
|
|
329
|
+
Interface: Interface;
|
|
330
|
+
ImportedInterface: ImportedInterface;
|
|
331
|
+
InterfaceParam: InterfaceParam;
|
|
332
|
+
Transactional: Transactional;
|
|
333
|
+
DefaultValue: DefaultValue;
|
|
334
|
+
Abort: Abort;
|
|
335
|
+
Start: Start;
|
|
336
|
+
End: End;
|
|
337
|
+
IfStatement: IfStatement;
|
|
338
|
+
SwitchStatement: SwitchStatement;
|
|
339
|
+
SwitchCase: SwitchCase;
|
|
340
|
+
ForEachStatement: ForEachStatement;
|
|
341
|
+
WhileStatement: WhileStatement;
|
|
342
|
+
Assignment: Assignment;
|
|
343
|
+
BatchAssignment: BatchAssignment;
|
|
344
|
+
Comment: Comment;
|
|
345
|
+
CallLogic: CallLogic;
|
|
346
|
+
CallEvent: CallEvent;
|
|
347
|
+
CallFunction: CallFunction;
|
|
348
|
+
CallInterface: CallInterface;
|
|
349
|
+
Destination: Destination;
|
|
350
|
+
ExternalDestination: ExternalDestination;
|
|
351
|
+
ValidationRule: ValidationRule;
|
|
352
|
+
Argument: Argument;
|
|
353
|
+
Anchor: Anchor;
|
|
354
|
+
JSBlock: JSBlock;
|
|
355
|
+
JavaLogic: JavaLogic;
|
|
356
|
+
Block: Block;
|
|
357
|
+
Identifier: Identifier;
|
|
358
|
+
NullLiteral: NullLiteral;
|
|
359
|
+
BooleanLiteral: BooleanLiteral;
|
|
360
|
+
StringLiteral: StringLiteral;
|
|
361
|
+
StringInterpolation: StringInterpolation;
|
|
362
|
+
NumericLiteral: NumericLiteral;
|
|
363
|
+
BinaryExpression: BinaryExpression;
|
|
364
|
+
MatchCase: MatchCase;
|
|
365
|
+
Match: Match;
|
|
366
|
+
UnaryExpression: UnaryExpression;
|
|
367
|
+
MemberExpression: MemberExpression;
|
|
368
|
+
Unparsed: Unparsed;
|
|
369
|
+
New: New;
|
|
370
|
+
NewComposite: NewComposite;
|
|
371
|
+
NewList: NewList;
|
|
372
|
+
NewMap: NewMap;
|
|
373
|
+
CallQueryComponent: CallQueryComponent;
|
|
374
|
+
QueryFromExpression: QueryFromExpression;
|
|
375
|
+
QueryJoinExpression: QueryJoinExpression;
|
|
376
|
+
QueryFieldExpression: QueryFieldExpression;
|
|
377
|
+
QueryAggregateExpression: QueryAggregateExpression;
|
|
378
|
+
QueryOrderByExpression: QueryOrderByExpression;
|
|
379
|
+
QueryGroupByExpression: QueryGroupByExpression;
|
|
380
|
+
QuerySelectExpression: QuerySelectExpression;
|
|
381
|
+
QueryLimitExpression: QueryLimitExpression;
|
|
382
|
+
SqlQueryComponent: SqlQueryComponent;
|
|
383
|
+
OqlQueryComponent: OqlQueryComponent;
|
|
384
|
+
Process: Process;
|
|
385
|
+
ProcessElement: ProcessElement;
|
|
386
|
+
ProcessComponent: ProcessComponent;
|
|
387
|
+
ProcessOutcome: ProcessOutcome;
|
|
388
|
+
Assignee: Assignee;
|
|
389
|
+
ProcessOutcomes: ProcessOutcomes;
|
|
390
|
+
MultiApprovalPolicy: MultiApprovalPolicy;
|
|
391
|
+
SequentialPolicy: SequentialPolicy;
|
|
392
|
+
CountersignPolicy: CountersignPolicy;
|
|
393
|
+
Role: Role;
|
|
394
|
+
Configuration: Configuration;
|
|
395
|
+
ConfigGroup: ConfigGroup;
|
|
396
|
+
ConfigProperty: ConfigProperty;
|
|
397
|
+
ConfigPropertyValue: ConfigPropertyValue;
|
|
398
|
+
I18nInfo: I18nInfo;
|
|
399
|
+
CompletionProperty: CompletionProperty;
|
|
400
|
+
UseComponent: UseComponent;
|
|
401
|
+
Point: Point;
|
|
402
|
+
Rect: Rect;
|
|
403
|
+
SelectMembers: SelectMembers;
|
|
404
|
+
AssignmentLine: AssignmentLine;
|
|
405
|
+
FrontendLibrary: FrontendLibrary;
|
|
406
|
+
ViewBlock: ViewBlock;
|
|
407
|
+
AuthInterface: AuthInterface;
|
|
408
|
+
CallAuthInterface: CallAuthInterface;
|
|
409
|
+
TriggerEvent: TriggerEvent;
|
|
410
|
+
MsgTriggerEvent: MsgTriggerEvent;
|
|
411
|
+
ConnectorTrigger: ConnectorTrigger;
|
|
412
|
+
TriggerLauncher: TriggerLauncher;
|
|
413
|
+
MsgTriggerLauncher: MsgTriggerLauncher;
|
|
414
|
+
Connector: Connector;
|
|
415
|
+
CallConnector: CallConnector;
|
|
416
|
+
Connection: Connection;
|
|
417
|
+
}
|
|
418
|
+
export declare type SyntaxNode = App | Module | Namespace | FrontendType | Frontend | Backend | Integration | MicroApp | TypeAnnotation | DatabaseTypeAnnotation | TypeParam | Structure | StructureProperty | Enum | EnumItem | DataSource | Entity | EntityProperty | EntityIndex | MetadataType | View | ViewElement | BindAttribute | BindDirective | BindEvent | BindStyle | ViewComponent | BusinessComponent | Attribute | Event | Slot | Theme | StaticString | Logic | AuthLogic | BusinessLogic | AuthLogicForCallInterface | OverriddenLogic | Param | ParamWithGroup | Return | Variable | BackendVariable | FrontendVariable | Constant | Function | AnonymousFunction | Interface | InterfaceParam | Transactional | DefaultValue | Abort | Start | End | IfStatement | SwitchStatement | SwitchCase | ForEachStatement | WhileStatement | Assignment | BatchAssignment | Comment | CallLogic | CallEvent | CallFunction | CallInterface | Destination | ExternalDestination | ValidationRule | Argument | Anchor | JSBlock | JavaLogic | Block | Identifier | NullLiteral | BooleanLiteral | StringLiteral | StringInterpolation | NumericLiteral | BinaryExpression | MatchCase | Match | UnaryExpression | MemberExpression | Unparsed | New | NewComposite | NewList | NewMap | CallQueryComponent | QueryFromExpression | QueryJoinExpression | QueryFieldExpression | QueryAggregateExpression | QueryOrderByExpression | QueryGroupByExpression | QuerySelectExpression | QueryLimitExpression | SqlQueryComponent | OqlQueryComponent | Process | ProcessElement | ProcessComponent | ProcessOutcome | Assignee | ProcessOutcomes | MultiApprovalPolicy | SequentialPolicy | CountersignPolicy | Role | Configuration | ConfigGroup | ConfigProperty | ConfigPropertyValue | I18nInfo | CompletionProperty | UseComponent | Point | Rect | SelectMembers | AssignmentLine | FrontendLibrary | ViewBlock | AuthInterface | CallAuthInterface | TriggerEvent | MsgTriggerEvent | ConnectorTrigger | TriggerLauncher | MsgTriggerLauncher | Connector | CallConnector | Connection;
|
|
419
|
+
export declare type SyntaxNodeConcept = SyntaxNode['concept'];
|
|
420
|
+
export declare type ModuleNode = Module | Connector;
|
|
421
|
+
export declare type ModuleNodeConcept = ModuleNode['concept'];
|
|
422
|
+
export declare type LogicNode = Logic | AuthLogic | BusinessLogic | AuthLogicForCallInterface;
|
|
423
|
+
export declare type LogicNodeConcept = LogicNode['concept'];
|
|
424
|
+
export declare type AuthLogicNode = AuthLogic | AuthLogicForCallInterface;
|
|
425
|
+
export declare type AuthLogicNodeConcept = AuthLogicNode['concept'];
|
|
426
|
+
export declare type AbstractInterfaceNode = Interface | AuthInterface;
|
|
427
|
+
export declare type AbstractInterfaceNodeConcept = AbstractInterfaceNode['concept'];
|
|
428
|
+
export declare type ParamNode = Param | ParamWithGroup;
|
|
429
|
+
export declare type ParamNodeConcept = ParamNode['concept'];
|
|
430
|
+
export declare type VariableNode = Variable | FrontendVariable;
|
|
431
|
+
export declare type VariableNodeConcept = VariableNode['concept'];
|
|
432
|
+
export declare type LogicItemNode = AnonymousFunction | Abort | Start | End | IfStatement | SwitchStatement | SwitchCase | ForEachStatement | WhileStatement | Assignment | BatchAssignment | Comment | CallLogic | CallEvent | CallFunction | CallInterface | Destination | ExternalDestination | ValidationRule | Argument | Anchor | JSBlock | JavaLogic | Block | Identifier | NullLiteral | BooleanLiteral | StringLiteral | StringInterpolation | NumericLiteral | BinaryExpression | MatchCase | Match | UnaryExpression | MemberExpression | Unparsed | New | NewComposite | NewList | NewMap | CallQueryComponent | QueryFromExpression | QueryJoinExpression | QueryFieldExpression | QueryAggregateExpression | QueryOrderByExpression | QueryGroupByExpression | QuerySelectExpression | QueryLimitExpression | SqlQueryComponent | OqlQueryComponent | ProcessOutcome | Assignee | ProcessOutcomes | CallAuthInterface | CallConnector;
|
|
433
|
+
export declare type LogicItemNodeConcept = LogicItemNode['concept'];
|
|
434
|
+
export declare type InterfaceNode = Interface | AuthInterface;
|
|
435
|
+
export declare type InterfaceNodeConcept = InterfaceNode['concept'];
|
|
436
|
+
export declare type ImportedInterfaceNode = Interface | AuthInterface;
|
|
437
|
+
export declare type ImportedInterfaceNodeConcept = ImportedInterfaceNode['concept'];
|
|
438
|
+
export declare type CallLogicNode = CallLogic | CallConnector;
|
|
439
|
+
export declare type CallLogicNodeConcept = CallLogicNode['concept'];
|
|
440
|
+
export declare type CallInterfaceNode = CallInterface | CallAuthInterface;
|
|
441
|
+
export declare type CallInterfaceNodeConcept = CallInterfaceNode['concept'];
|
|
442
|
+
export declare type MultiApprovalPolicyNode = MultiApprovalPolicy | SequentialPolicy | CountersignPolicy;
|
|
443
|
+
export declare type MultiApprovalPolicyNodeConcept = MultiApprovalPolicyNode['concept'];
|
|
444
|
+
export declare type TriggerEventNode = TriggerEvent | MsgTriggerEvent;
|
|
445
|
+
export declare type TriggerEventNodeConcept = TriggerEventNode['concept'];
|
|
446
|
+
export declare type TriggerLauncherNode = TriggerLauncher | MsgTriggerLauncher;
|
|
447
|
+
export declare type TriggerLauncherNodeConcept = TriggerLauncherNode['concept'];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/concepts/utils/types.ts"],"names":[],"mappings":""}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.publishConnector = exports.getConnectorTree = exports.getConnections = void 0;
|
|
4
4
|
function getConnections(node) {
|
|
5
5
|
const app = node?.rootNode;
|
|
6
|
-
return app
|
|
6
|
+
return app?.connections || [];
|
|
7
7
|
}
|
|
8
8
|
exports.getConnections = getConnections;
|
|
9
9
|
function getConnectorTree(node, filterText) {
|
|
@@ -63,13 +63,36 @@ function getConnectorTree(node, filterText) {
|
|
|
63
63
|
return tree;
|
|
64
64
|
}
|
|
65
65
|
exports.getConnectorTree = getConnectorTree;
|
|
66
|
+
/** 通知ts-work 重新校验关联的connection */
|
|
67
|
+
function notifyTsWorkToUpdateConnections(app, connector) {
|
|
68
|
+
const { name } = connector;
|
|
69
|
+
const updateList = app.connections.filter((connection) => connection?.connector?.name === name)?.map(connection => {
|
|
70
|
+
return {
|
|
71
|
+
originEvent: {
|
|
72
|
+
action: 'update',
|
|
73
|
+
target: connection,
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}) || [];
|
|
77
|
+
app.naslServer?.embeddedTSEmitter.emit('change', {
|
|
78
|
+
value: [
|
|
79
|
+
...updateList
|
|
80
|
+
]
|
|
81
|
+
});
|
|
82
|
+
}
|
|
66
83
|
function publishConnector(app, connector) {
|
|
67
84
|
const dependenciesNames = app.dependencies.map((dep) => dep.name);
|
|
68
85
|
// 已经存在,直接更新
|
|
69
86
|
if (dependenciesNames.includes(connector.name)) {
|
|
70
|
-
const
|
|
71
|
-
app.
|
|
72
|
-
app.
|
|
87
|
+
const connectorIndex = app.dependencies.findIndex((dep) => dep.name === connector.name);
|
|
88
|
+
const oldConnector = app.dependencies[connectorIndex];
|
|
89
|
+
app.removeConnectorInDependencies(oldConnector);
|
|
90
|
+
// 由于 CallInterface 会在setTimeout 中处理删除Interface
|
|
91
|
+
// 为了防止误删已经增加的。需要同样做一个延迟操作
|
|
92
|
+
setTimeout(() => {
|
|
93
|
+
app.insertConnectorInDependenciesAt(connector, connectorIndex);
|
|
94
|
+
notifyTsWorkToUpdateConnections(app, connector);
|
|
95
|
+
}, 500);
|
|
73
96
|
return;
|
|
74
97
|
}
|
|
75
98
|
app.addConnectorInDependencies(connector);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConnector.js","sourceRoot":"","sources":["../../src/server/getConnector.ts"],"names":[],"mappings":";;;AAKA,SAAgB,cAAc,CAAC,IAAmB;
|
|
1
|
+
{"version":3,"file":"getConnector.js","sourceRoot":"","sources":["../../src/server/getConnector.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.languageList = void 0;
|
|
4
|
+
exports.languageList = [
|
|
5
|
+
{
|
|
6
|
+
id: 'en-US',
|
|
7
|
+
name: 'English',
|
|
8
|
+
title: '英语',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
id: 'fr-FR',
|
|
12
|
+
name: 'Français',
|
|
13
|
+
title: '法语',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
id: 'ko-KR',
|
|
17
|
+
name: '한국어',
|
|
18
|
+
title: '韩语',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: 'zh-CN',
|
|
22
|
+
name: '中文 (简体)',
|
|
23
|
+
title: '中文(简体)',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: 'zh-TW',
|
|
27
|
+
name: '中文 (繁體)',
|
|
28
|
+
title: '中文(繁体)',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: 'ja-JP',
|
|
32
|
+
name: '日本語',
|
|
33
|
+
title: '日语',
|
|
34
|
+
},
|
|
35
|
+
];
|
|
36
|
+
//# sourceMappingURL=i18nInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18nInfo.js","sourceRoot":"","sources":["../../src/utils/i18nInfo.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,IAAI;KACZ;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,IAAI;KACZ;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,KAAK;QACX,KAAK,EAAE,IAAI;KACZ;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,QAAQ;KAChB;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,QAAQ;KAChB;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,KAAK;QACX,KAAK,EAAE,IAAI;KACZ;CACF,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 理论上限的计算系数
|
|
3
|
+
*
|
|
4
|
+
* @description 因为这里的时间分片需要让出部分给别的微任务,所以这里的理论上限需要乘以小于 1 的系数来保证不超过限制。
|
|
5
|
+
*/
|
|
6
|
+
export declare const TheoreticalLimitCalculationCoefficient = 0.4;
|
|
7
|
+
/**
|
|
8
|
+
* 最小帧剩余时间
|
|
9
|
+
*
|
|
10
|
+
* @description 在计算是否在下一帧运行时,空闲时间的阈值,单位“毫秒”
|
|
11
|
+
*/
|
|
12
|
+
export declare const FrameIdleTime = 2;
|
|
13
|
+
/**
|
|
14
|
+
* 资源不足的帧数限制
|
|
15
|
+
*
|
|
16
|
+
* @description 资源不足的帧数超过总帧数的比例超过此值时,将会强行抢占进程运行后面的所有流程
|
|
17
|
+
*/
|
|
18
|
+
export declare const LowResourceFrame = 0.8;
|
|
19
|
+
/**
|
|
20
|
+
* 资源不足的判定限制
|
|
21
|
+
*
|
|
22
|
+
* @description 当前帧中,微任务运行的时间占帧总时长的比例
|
|
23
|
+
*/
|
|
24
|
+
export declare const LowResourceRatio = 0.1;
|
|
25
|
+
/**
|
|
26
|
+
* 最小帧时间
|
|
27
|
+
*
|
|
28
|
+
* @description 最大帧率 60Hz,单位“毫秒”
|
|
29
|
+
*/
|
|
30
|
+
export declare const FrameMinTime: number;
|
|
31
|
+
/** 任务组状态 */
|
|
32
|
+
export declare enum NextState {
|
|
33
|
+
MicroTask = 0,
|
|
34
|
+
NextFrame = 1
|
|
35
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NextState = exports.FrameMinTime = exports.LowResourceRatio = exports.LowResourceFrame = exports.FrameIdleTime = exports.TheoreticalLimitCalculationCoefficient = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* 理论上限的计算系数
|
|
6
|
+
*
|
|
7
|
+
* @description 因为这里的时间分片需要让出部分给别的微任务,所以这里的理论上限需要乘以小于 1 的系数来保证不超过限制。
|
|
8
|
+
*/
|
|
9
|
+
exports.TheoreticalLimitCalculationCoefficient = 0.4;
|
|
10
|
+
/**
|
|
11
|
+
* 最小帧剩余时间
|
|
12
|
+
*
|
|
13
|
+
* @description 在计算是否在下一帧运行时,空闲时间的阈值,单位“毫秒”
|
|
14
|
+
*/
|
|
15
|
+
exports.FrameIdleTime = 2;
|
|
16
|
+
/**
|
|
17
|
+
* 资源不足的帧数限制
|
|
18
|
+
*
|
|
19
|
+
* @description 资源不足的帧数超过总帧数的比例超过此值时,将会强行抢占进程运行后面的所有流程
|
|
20
|
+
*/
|
|
21
|
+
exports.LowResourceFrame = 0.8;
|
|
22
|
+
/**
|
|
23
|
+
* 资源不足的判定限制
|
|
24
|
+
*
|
|
25
|
+
* @description 当前帧中,微任务运行的时间占帧总时长的比例
|
|
26
|
+
*/
|
|
27
|
+
exports.LowResourceRatio = 0.1;
|
|
28
|
+
/**
|
|
29
|
+
* 最小帧时间
|
|
30
|
+
*
|
|
31
|
+
* @description 最大帧率 60Hz,单位“毫秒”
|
|
32
|
+
*/
|
|
33
|
+
exports.FrameMinTime = 1 / 60 * 1000;
|
|
34
|
+
/** 任务组状态 */
|
|
35
|
+
var NextState;
|
|
36
|
+
(function (NextState) {
|
|
37
|
+
NextState[NextState["MicroTask"] = 0] = "MicroTask";
|
|
38
|
+
NextState[NextState["NextFrame"] = 1] = "NextFrame";
|
|
39
|
+
})(NextState = exports.NextState || (exports.NextState = {}));
|
|
40
|
+
//# sourceMappingURL=constant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constant.js","sourceRoot":"","sources":["../../../src/utils/time-slicing/constant.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACU,QAAA,sCAAsC,GAAG,GAAG,CAAC;AAC1D;;;;GAIG;AACU,QAAA,aAAa,GAAG,CAAC,CAAC;AAC/B;;;;GAIG;AACU,QAAA,gBAAgB,GAAG,GAAG,CAAC;AACpC;;;;GAIG;AACU,QAAA,gBAAgB,GAAG,GAAG,CAAC;AAEpC;;;;GAIG;AACU,QAAA,YAAY,GAAG,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;AAE1C,YAAY;AACZ,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,mDAAS,CAAA;IACT,mDAAS,CAAA;AACX,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|