@lcap/nasl 3.1.0-beta.2 → 3.1.0-beta.4
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/shared/constants.js +2 -0
- package/out/breakpoint/shared/constants.js.map +1 -1
- package/out/common/Command.d.ts +1 -1
- package/out/common/Command.js +1 -1
- package/out/common/Command.js.map +1 -1
- package/out/concepts/AnonymousFunction__.d.ts +8 -9
- package/out/concepts/AnonymousFunction__.js +15 -14
- package/out/concepts/AnonymousFunction__.js.map +1 -1
- package/out/concepts/Argument__.js +7 -2
- package/out/concepts/Argument__.js.map +1 -1
- package/out/concepts/AuthInterface__.d.ts +0 -2
- package/out/concepts/AuthInterface__.js +0 -58
- package/out/concepts/AuthInterface__.js.map +1 -1
- package/out/concepts/BatchAssignment__.js +3 -2
- package/out/concepts/BatchAssignment__.js.map +1 -1
- package/out/concepts/BindAttribute__.js +10 -1
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/CallAuthInterface__.d.ts +0 -1
- package/out/concepts/CallAuthInterface__.js +5 -8
- package/out/concepts/CallAuthInterface__.js.map +1 -1
- package/out/concepts/CallFunction__.js +4 -3
- package/out/concepts/CallFunction__.js.map +1 -1
- package/out/concepts/CallInterface__.d.ts +3 -1
- package/out/concepts/CallInterface__.js +21 -1
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.d.ts +2 -0
- package/out/concepts/CallLogic__.js +74 -14
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/FrontendLibrary__.d.ts +29 -29
- package/out/concepts/FrontendLibrary__.js +2 -2
- package/out/concepts/Function__.js +3 -3
- package/out/concepts/Function__.js.map +1 -1
- package/out/concepts/LogicItem__.d.ts +6 -6
- package/out/concepts/LogicItem__.js +6 -6
- package/out/concepts/LogicItem__.js.map +1 -1
- package/out/concepts/Logic__.js +19 -4
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/Namespace__.d.ts +29 -29
- package/out/concepts/Namespace__.js +2 -2
- package/out/concepts/NewComposite__.d.ts +1 -0
- package/out/concepts/NewComposite__.js +67 -3
- package/out/concepts/NewComposite__.js.map +1 -1
- package/out/concepts/NewList__.d.ts +1 -0
- package/out/concepts/NewList__.js +17 -1
- package/out/concepts/NewList__.js.map +1 -1
- package/out/concepts/QueryJoinExpression__.d.ts +2 -0
- package/out/concepts/QueryJoinExpression__.js +11 -0
- package/out/concepts/QueryJoinExpression__.js.map +1 -1
- package/out/concepts/TypeAnnotation__.d.ts +1 -0
- package/out/concepts/TypeAnnotation__.js +37 -4
- package/out/concepts/TypeAnnotation__.js.map +1 -1
- package/out/concepts/ViewComponent__.d.ts +33 -33
- package/out/concepts/ViewComponent__.js +7 -7
- package/out/concepts/ViewElement__.d.ts +4 -1
- package/out/concepts/ViewElement__.js +51 -3
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.js +4 -4
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.http.js +28 -26
- package/out/concepts/basics/stdlib/nasl.http.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.util.js +17 -9
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
- package/out/concepts/basics/types/index.js +1 -1
- package/out/concepts/basics/types/index.js.map +1 -1
- package/out/concepts/types__.d.ts +1 -2
- package/out/generator/genBundleFiles.js +32 -27
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/genMetaData.js +8 -0
- package/out/generator/genMetaData.js.map +1 -1
- package/out/generator/genReleaseBody.js +6 -6
- package/out/generator/genReleaseBody.js.map +1 -1
- package/out/sentry/index.js +8 -1
- package/out/sentry/index.js.map +1 -1
- package/out/server/getInterfaces.js +1 -1
- package/out/server/getInterfaces.js.map +1 -1
- package/out/server/naslServer.d.ts +10 -2
- package/out/server/naslServer.js +55 -12
- package/out/server/naslServer.js.map +1 -1
- package/out/server/translator.js +0 -12
- package/out/server/translator.js.map +1 -1
- package/out/service/storage/init.js +102 -65
- package/out/service/storage/init.js.map +1 -1
- package/out/templator/genCreateBlock.js +2 -2
- package/out/templator/genCreateBlock.js.map +1 -1
- package/out/templator/genCurdEditMultipleKeyBlock.js +1 -1
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
- package/out/templator/genCurdMultipleKeyBlock.js +2 -2
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
- package/out/templator/genEditTableBlock.d.ts +1 -1
- package/out/templator/genEditTableBlock.js +6 -2
- package/out/templator/genEditTableBlock.js.map +1 -1
- package/out/templator/genEnumSelectBlock.js +2 -2
- package/out/templator/genEnumSelectBlock.js.map +1 -1
- package/out/templator/genGridViewBlock.d.ts +2 -2
- package/out/templator/genGridViewBlock.js +14 -8
- package/out/templator/genGridViewBlock.js.map +1 -1
- package/out/templator/genListViewBlock.d.ts +2 -2
- package/out/templator/genListViewBlock.js +9 -5
- package/out/templator/genListViewBlock.js.map +1 -1
- package/out/templator/genSelectBlock.d.ts +2 -2
- package/out/templator/genSelectBlock.js +18 -11
- package/out/templator/genSelectBlock.js.map +1 -1
- package/out/templator/genTableBlock.d.ts +1 -1
- package/out/templator/genTableBlock.js +7 -3
- package/out/templator/genTableBlock.js.map +1 -1
- package/out/templator/genUpdateBlock.js +2 -2
- package/out/templator/genUpdateBlock.js.map +1 -1
- package/package.json +13 -13
- package/sandbox/stdlib/nasl.util.ts +2 -2
- package/src/automate/engine/utils.js +3 -0
- package/src/breakpoint/shared/constants.ts +2 -0
- package/src/common/BaseNode.ts +10 -5
- package/src/common/Command.ts +1 -1
- package/src/concepts/AnonymousFunction__.ts +2 -1
- package/src/concepts/Argument__.ts +5 -5
- package/src/concepts/Assignment__.ts +2 -1
- package/src/concepts/AuthInterface__.ts +3 -53
- package/src/concepts/BindEvent__.ts +5 -6
- package/src/concepts/CallAuthInterface__.ts +5 -8
- package/src/concepts/CallFunction__.ts +2 -1
- package/src/concepts/CallInterface__.ts +84 -63
- package/src/concepts/CallLogic__.ts +89 -67
- package/src/concepts/CompletionProperty__.ts +6 -1
- package/src/concepts/ConfigPropertyValue__.ts +2 -2
- package/src/concepts/Function__.ts +2 -2
- package/src/concepts/QueryJoinExpression__.ts +13 -0
- package/src/concepts/TypeAnnotation__.ts +31 -0
- package/src/concepts/ViewElement__.ts +80 -33
- package/src/concepts/basics/stdlib/nasl.http.ts +26 -24
- package/src/concepts/types__.ts +1 -3
- package/src/generator/genBundleFiles.ts +32 -27
- package/src/generator/genReleaseBody.ts +10 -7
- package/src/generator/permission.ts +6 -6
- package/src/server/getInterfaces.ts +1 -1
- package/src/server/naslServer.ts +58 -8
- package/src/server/translator.ts +0 -12
- package/src/service/storage/init.ts +106 -67
- package/src/templator/genCreateBlock.ts +2 -2
- package/src/templator/genEnumSelectBlock.ts +2 -2
- package/src/templator/genSelectBlock.ts +4 -3
- package/src/templator/genUpdateBlock.ts +2 -2
- package/test/concepts/call-interface/__snapshots__/toEmbeddedTS.spec.ts.snap +71 -0
- package/test/concepts/call-interface/__snapshots__/toJS.spec.ts.snap +140 -0
- package/test/concepts/call-interface/constant.ts +5 -0
- package/test/concepts/call-interface/fixtures/only-interface.json +158 -0
- package/test/concepts/call-interface/fixtures/with-body-complex-argument.json +455 -0
- package/test/concepts/call-interface/fixtures/with-body-no-argument.json +187 -0
- package/test/concepts/call-interface/fixtures/with-body-simple-argument.json +225 -0
- package/test/concepts/call-interface/fixtures/with-headers-no-argument.json +213 -0
- package/test/concepts/call-interface/fixtures/with-headers.json +192 -0
- package/test/concepts/call-interface/fixtures/with-query-no-argument.json +213 -0
- package/test/concepts/call-interface/fixtures/with-query.json +192 -0
- package/test/concepts/call-interface/toEmbeddedTS.spec.ts +14 -0
- package/test/concepts/call-interface/toJS.spec.ts +14 -0
- package/test/concepts/call-logic/__snapshots__/toEmbeddedTS.spec.ts.snap +74 -0
- package/test/concepts/call-logic/__snapshots__/toJS.spec.ts.snap +141 -0
- package/test/concepts/call-logic/constant.ts +5 -0
- package/test/concepts/call-logic/fixtures/entries-get-with-arguments.json +223 -0
- package/test/concepts/call-logic/fixtures/entries-update-with-arguments.json +359 -0
- package/test/concepts/call-logic/fixtures/global-logic-argument-no-expression.json +209 -0
- package/test/concepts/call-logic/fixtures/global-logic-argument-some-expression.json +311 -0
- package/test/concepts/call-logic/fixtures/only-call-logic.json +10 -0
- package/test/concepts/call-logic/fixtures/view-buildin-logic-with-argument.json +128 -0
- package/test/concepts/call-logic/fixtures/view-component-logic-no-argument.json +126 -0
- package/test/concepts/call-logic/fixtures/view-component-with-validation.json +244 -0
- package/test/concepts/call-logic/toEmbeddedTS.spec.ts +14 -0
- package/test/concepts/call-logic/toJS.spec.ts +14 -0
- package/test/concepts/utils.ts +76 -3
- package/test/concepts/validation-rule/__snapshots__/toEmbeddedTS.spec.ts.snap +3 -3
- package/test/concepts/validation-rule/__snapshots__/toJS.spec.ts.snap +16 -0
- package/test/concepts/validation-rule/constant.ts +5 -0
- package/test/concepts/validation-rule/toEmbeddedTS.spec.ts +10 -17
- package/test/concepts/validation-rule/toJS.spec.ts +14 -0
- package/test/concepts/view-element/__snapshots__/toEmbeddedTS.spec.ts.snap +89 -0
- package/test/concepts/view-element/__snapshots__/toVue.spec.ts.snap +44 -0
- package/test/concepts/view-element/constant.ts +5 -0
- package/test/concepts/view-element/fixtures/default-not-found.json +322 -0
- package/test/concepts/view-element/toEmbeddedTS.spec.ts +14 -0
- package/test/concepts/view-element/toVue.spec.ts +14 -0
- package/test/setup.ts +6 -0
- package/ts-worker/lib/tsserver.js +5 -6
- package/ts-worker/package-lock.json +2 -1
- package/bin/naslc +0 -3
- package/out/src/automate/engine/index.d.ts +0 -4
- package/out/src/automate/engine/index.js +0 -443
- package/out/src/automate/engine/index.js.map +0 -1
- package/out/src/automate/engine/operators.d.ts +0 -24
- package/out/src/automate/engine/operators.js +0 -252
- package/out/src/automate/engine/operators.js.map +0 -1
- package/out/src/automate/engine/uniqueName.d.ts +0 -12
- package/out/src/automate/engine/uniqueName.js +0 -112
- package/out/src/automate/engine/uniqueName.js.map +0 -1
- package/out/src/automate/engine/utils.d.ts +0 -25
- package/out/src/automate/engine/utils.js +0 -440
- package/out/src/automate/engine/utils.js.map +0 -1
- package/out/src/automate/engine/viewCache.d.ts +0 -19
- package/out/src/automate/engine/viewCache.js +0 -45
- package/out/src/automate/engine/viewCache.js.map +0 -1
- package/out/src/automate/template/myProcess.d.ts +0 -10
- package/out/src/automate/template/myProcess.js +0 -11498
- package/out/src/automate/template/myProcess.js.map +0 -1
- package/out/src/automate/upgrader/2.12.d.ts +0 -7
- package/out/src/automate/upgrader/2.12.js +0 -63
- package/out/src/automate/upgrader/2.12.js.map +0 -1
- package/out/src/automate/upgrader/2.14-components.d.ts +0 -1115
- package/out/src/automate/upgrader/2.14-components.js +0 -1087
- package/out/src/automate/upgrader/2.14-components.js.map +0 -1
- package/out/src/automate/upgrader/2.14.d.ts +0 -10
- package/out/src/automate/upgrader/2.14.js +0 -236
- package/out/src/automate/upgrader/2.14.js.map +0 -1
- package/out/src/automate/upgrader/2.14.old.d.ts +0 -1
- package/out/src/automate/upgrader/2.14.old.js +0 -125
- package/out/src/automate/upgrader/2.14.old.js.map +0 -1
- package/out/src/automate/upgrader/2.16.d.ts +0 -10
- package/out/src/automate/upgrader/2.16.js +0 -75
- package/out/src/automate/upgrader/2.16.js.map +0 -1
- package/out/src/automate/upgrader/2.17.d.ts +0 -21
- package/out/src/automate/upgrader/2.17.js +0 -557
- package/out/src/automate/upgrader/2.17.js.map +0 -1
- package/out/src/automate/upgrader/2.18.d.ts +0 -10
- package/out/src/automate/upgrader/2.18.js +0 -107
- package/out/src/automate/upgrader/2.18.js.map +0 -1
- package/out/src/automate/upgrader/2.20.d.ts +0 -17
- package/out/src/automate/upgrader/2.20.js +0 -68
- package/out/src/automate/upgrader/2.20.js.map +0 -1
- package/out/src/bak/translator.d.ts +0 -1
- package/out/src/bak/translator.js +0 -119
- package/out/src/bak/translator.js.map +0 -1
- package/out/src/breakpoint/generator/AfterStartNode.d.ts +0 -7
- package/out/src/breakpoint/generator/AfterStartNode.js +0 -27
- package/out/src/breakpoint/generator/AfterStartNode.js.map +0 -1
- package/out/src/breakpoint/generator/BeforeEndNode.d.ts +0 -7
- package/out/src/breakpoint/generator/BeforeEndNode.js +0 -27
- package/out/src/breakpoint/generator/BeforeEndNode.js.map +0 -1
- package/out/src/breakpoint/generator/BreakpointNode.d.ts +0 -14
- package/out/src/breakpoint/generator/BreakpointNode.js +0 -200
- package/out/src/breakpoint/generator/BreakpointNode.js.map +0 -1
- package/out/src/breakpoint/generator/index.d.ts +0 -4
- package/out/src/breakpoint/generator/index.js +0 -98
- package/out/src/breakpoint/generator/index.js.map +0 -1
- package/out/src/breakpoint/index.d.ts +0 -3
- package/out/src/breakpoint/index.js +0 -20
- package/out/src/breakpoint/index.js.map +0 -1
- package/out/src/breakpoint/shared/constants.d.ts +0 -31
- package/out/src/breakpoint/shared/constants.js +0 -91
- package/out/src/breakpoint/shared/constants.js.map +0 -1
- package/out/src/breakpoint/shared/index.d.ts +0 -3
- package/out/src/breakpoint/shared/index.js +0 -33
- package/out/src/breakpoint/shared/index.js.map +0 -1
- package/out/src/breakpoint/shared/operations.d.ts +0 -10
- package/out/src/breakpoint/shared/operations.js +0 -25
- package/out/src/breakpoint/shared/operations.js.map +0 -1
- package/out/src/breakpoint/shared/socket.d.ts +0 -47
- package/out/src/breakpoint/shared/socket.js +0 -210
- package/out/src/breakpoint/shared/socket.js.map +0 -1
- package/out/src/breakpoint/shared/utils.d.ts +0 -23
- package/out/src/breakpoint/shared/utils.js +0 -165
- package/out/src/breakpoint/shared/utils.js.map +0 -1
- package/out/src/breakpoint/store/core.d.ts +0 -32
- package/out/src/breakpoint/store/core.js +0 -388
- package/out/src/breakpoint/store/core.js.map +0 -1
- package/out/src/breakpoint/store/dock.d.ts +0 -1
- package/out/src/breakpoint/store/dock.js +0 -127
- package/out/src/breakpoint/store/dock.js.map +0 -1
- package/out/src/breakpoint/store/index.d.ts +0 -2
- package/out/src/breakpoint/store/index.js +0 -19
- package/out/src/breakpoint/store/index.js.map +0 -1
- package/out/src/common/BaseNode.d.ts +0 -317
- package/out/src/common/BaseNode.js +0 -1156
- package/out/src/common/BaseNode.js.map +0 -1
- package/out/src/common/Command.d.ts +0 -9
- package/out/src/common/Command.js +0 -36
- package/out/src/common/Command.js.map +0 -1
- package/out/src/common/ComponentAPI.d.ts +0 -110
- package/out/src/common/ComponentAPI.js +0 -3
- package/out/src/common/ComponentAPI.js.map +0 -1
- package/out/src/common/EventEmitter.d.ts +0 -59
- package/out/src/common/EventEmitter.js +0 -71
- package/out/src/common/EventEmitter.js.map +0 -1
- package/out/src/common/Messager.d.ts +0 -91
- package/out/src/common/Messager.js +0 -208
- package/out/src/common/Messager.js.map +0 -1
- package/out/src/common/asyncFuncMap.d.ts +0 -2
- package/out/src/common/asyncFuncMap.js +0 -16
- package/out/src/common/asyncFuncMap.js.map +0 -1
- package/out/src/common/classMap.d.ts +0 -4
- package/out/src/common/classMap.js +0 -5
- package/out/src/common/classMap.js.map +0 -1
- package/out/src/common/index.d.ts +0 -4
- package/out/src/common/index.js +0 -21
- package/out/src/common/index.js.map +0 -1
- package/out/src/concepts/Abort__.d.ts +0 -25
- package/out/src/concepts/Abort__.js +0 -80
- package/out/src/concepts/Abort__.js.map +0 -1
- package/out/src/concepts/Anchor__.d.ts +0 -44
- package/out/src/concepts/Anchor__.js +0 -182
- package/out/src/concepts/Anchor__.js.map +0 -1
- package/out/src/concepts/AnonymousFunction__.d.ts +0 -172
- package/out/src/concepts/AnonymousFunction__.js +0 -490
- package/out/src/concepts/AnonymousFunction__.js.map +0 -1
- package/out/src/concepts/App__.d.ts +0 -1510
- package/out/src/concepts/App__.js +0 -2268
- package/out/src/concepts/App__.js.map +0 -1
- package/out/src/concepts/Argument__.d.ts +0 -65
- package/out/src/concepts/Argument__.js +0 -265
- package/out/src/concepts/Argument__.js.map +0 -1
- package/out/src/concepts/Assignee__.d.ts +0 -288
- package/out/src/concepts/Assignee__.js +0 -427
- package/out/src/concepts/Assignee__.js.map +0 -1
- package/out/src/concepts/AssignmentLine__.d.ts +0 -41
- package/out/src/concepts/AssignmentLine__.js +0 -112
- package/out/src/concepts/AssignmentLine__.js.map +0 -1
- package/out/src/concepts/Assignment__.d.ts +0 -73
- package/out/src/concepts/Assignment__.js +0 -286
- package/out/src/concepts/Assignment__.js.map +0 -1
- package/out/src/concepts/Attribute__.d.ts +0 -97
- package/out/src/concepts/Attribute__.js +0 -197
- package/out/src/concepts/Attribute__.js.map +0 -1
- package/out/src/concepts/AuthInterface__.d.ts +0 -37
- package/out/src/concepts/AuthInterface__.js +0 -141
- package/out/src/concepts/AuthInterface__.js.map +0 -1
- package/out/src/concepts/AuthLogicForCallInterface__.d.ts +0 -138
- package/out/src/concepts/AuthLogicForCallInterface__.js +0 -493
- package/out/src/concepts/AuthLogicForCallInterface__.js.map +0 -1
- package/out/src/concepts/AuthLogic__.d.ts +0 -66
- package/out/src/concepts/AuthLogic__.js +0 -206
- package/out/src/concepts/AuthLogic__.js.map +0 -1
- package/out/src/concepts/BackendVariable__.d.ts +0 -137
- package/out/src/concepts/BackendVariable__.js +0 -422
- package/out/src/concepts/BackendVariable__.js.map +0 -1
- package/out/src/concepts/Backend__.d.ts +0 -134
- package/out/src/concepts/Backend__.js +0 -274
- package/out/src/concepts/Backend__.js.map +0 -1
- package/out/src/concepts/BatchAssignment__.d.ts +0 -251
- package/out/src/concepts/BatchAssignment__.js +0 -806
- package/out/src/concepts/BatchAssignment__.js.map +0 -1
- package/out/src/concepts/BinaryExpression__.d.ts +0 -70
- package/out/src/concepts/BinaryExpression__.js +0 -345
- package/out/src/concepts/BinaryExpression__.js.map +0 -1
- package/out/src/concepts/BindAttribute__.d.ts +0 -318
- package/out/src/concepts/BindAttribute__.js +0 -875
- package/out/src/concepts/BindAttribute__.js.map +0 -1
- package/out/src/concepts/BindDirective__.d.ts +0 -161
- package/out/src/concepts/BindDirective__.js +0 -532
- package/out/src/concepts/BindDirective__.js.map +0 -1
- package/out/src/concepts/BindEvent__.d.ts +0 -251
- package/out/src/concepts/BindEvent__.js +0 -788
- package/out/src/concepts/BindEvent__.js.map +0 -1
- package/out/src/concepts/BindStyle__.d.ts +0 -139
- package/out/src/concepts/BindStyle__.js +0 -432
- package/out/src/concepts/BindStyle__.js.map +0 -1
- package/out/src/concepts/BooleanLiteral__.d.ts +0 -34
- package/out/src/concepts/BooleanLiteral__.js +0 -100
- package/out/src/concepts/BooleanLiteral__.js.map +0 -1
- package/out/src/concepts/CallAuthInterface__.d.ts +0 -126
- package/out/src/concepts/CallAuthInterface__.js +0 -409
- package/out/src/concepts/CallAuthInterface__.js.map +0 -1
- package/out/src/concepts/CallConnector__.d.ts +0 -42
- package/out/src/concepts/CallConnector__.js +0 -198
- package/out/src/concepts/CallConnector__.js.map +0 -1
- package/out/src/concepts/CallFunction__.d.ts +0 -157
- package/out/src/concepts/CallFunction__.js +0 -503
- package/out/src/concepts/CallFunction__.js.map +0 -1
- package/out/src/concepts/CallInterface__.d.ts +0 -125
- package/out/src/concepts/CallInterface__.js +0 -677
- package/out/src/concepts/CallInterface__.js.map +0 -1
- package/out/src/concepts/CallLogic__.d.ts +0 -224
- package/out/src/concepts/CallLogic__.js +0 -1140
- package/out/src/concepts/CallLogic__.js.map +0 -1
- package/out/src/concepts/CallQueryComponent__.d.ts +0 -432
- package/out/src/concepts/CallQueryComponent__.js +0 -1264
- package/out/src/concepts/CallQueryComponent__.js.map +0 -1
- package/out/src/concepts/Comment__.d.ts +0 -31
- package/out/src/concepts/Comment__.js +0 -96
- package/out/src/concepts/Comment__.js.map +0 -1
- package/out/src/concepts/CompletionProperty__.d.ts +0 -104
- package/out/src/concepts/CompletionProperty__.js +0 -256
- package/out/src/concepts/CompletionProperty__.js.map +0 -1
- package/out/src/concepts/ConfigGroup__.d.ts +0 -124
- package/out/src/concepts/ConfigGroup__.js +0 -253
- package/out/src/concepts/ConfigGroup__.js.map +0 -1
- package/out/src/concepts/ConfigPropertyValue__.d.ts +0 -44
- package/out/src/concepts/ConfigPropertyValue__.js +0 -106
- package/out/src/concepts/ConfigPropertyValue__.js.map +0 -1
- package/out/src/concepts/ConfigProperty__.d.ts +0 -153
- package/out/src/concepts/ConfigProperty__.js +0 -322
- package/out/src/concepts/ConfigProperty__.js.map +0 -1
- package/out/src/concepts/Configuration__.d.ts +0 -123
- package/out/src/concepts/Configuration__.js +0 -229
- package/out/src/concepts/Configuration__.js.map +0 -1
- package/out/src/concepts/ConnectorTrigger__.d.ts +0 -78
- package/out/src/concepts/ConnectorTrigger__.js +0 -155
- package/out/src/concepts/ConnectorTrigger__.js.map +0 -1
- package/out/src/concepts/Connector__.d.ts +0 -464
- package/out/src/concepts/Connector__.js +0 -698
- package/out/src/concepts/Connector__.js.map +0 -1
- package/out/src/concepts/Constant__.d.ts +0 -110
- package/out/src/concepts/Constant__.js +0 -252
- package/out/src/concepts/Constant__.js.map +0 -1
- package/out/src/concepts/DataElement__.d.ts +0 -46
- package/out/src/concepts/DataElement__.js +0 -117
- package/out/src/concepts/DataElement__.js.map +0 -1
- package/out/src/concepts/DataSource__.d.ts +0 -164
- package/out/src/concepts/DataSource__.js +0 -441
- package/out/src/concepts/DataSource__.js.map +0 -1
- package/out/src/concepts/DatabaseTypeAnnotation__.d.ts +0 -31
- package/out/src/concepts/DatabaseTypeAnnotation__.js +0 -78
- package/out/src/concepts/DatabaseTypeAnnotation__.js.map +0 -1
- package/out/src/concepts/Destination__.d.ts +0 -156
- package/out/src/concepts/Destination__.js +0 -738
- package/out/src/concepts/Destination__.js.map +0 -1
- package/out/src/concepts/End__.d.ts +0 -24
- package/out/src/concepts/End__.js +0 -114
- package/out/src/concepts/End__.js.map +0 -1
- package/out/src/concepts/EntityIndex__.d.ts +0 -95
- package/out/src/concepts/EntityIndex__.js +0 -218
- package/out/src/concepts/EntityIndex__.js.map +0 -1
- package/out/src/concepts/EntityProperty__.d.ts +0 -273
- package/out/src/concepts/EntityProperty__.js +0 -804
- package/out/src/concepts/EntityProperty__.js.map +0 -1
- package/out/src/concepts/Entity__.d.ts +0 -338
- package/out/src/concepts/Entity__.js +0 -709
- package/out/src/concepts/Entity__.js.map +0 -1
- package/out/src/concepts/EnumItem__.d.ts +0 -63
- package/out/src/concepts/EnumItem__.js +0 -145
- package/out/src/concepts/EnumItem__.js.map +0 -1
- package/out/src/concepts/Enum__.d.ts +0 -137
- package/out/src/concepts/Enum__.js +0 -320
- package/out/src/concepts/Enum__.js.map +0 -1
- package/out/src/concepts/Event__.d.ts +0 -143
- package/out/src/concepts/Event__.js +0 -245
- package/out/src/concepts/Event__.js.map +0 -1
- package/out/src/concepts/ExternalDestination__.d.ts +0 -75
- package/out/src/concepts/ExternalDestination__.js +0 -285
- package/out/src/concepts/ExternalDestination__.js.map +0 -1
- package/out/src/concepts/ForEachStatement__.d.ts +0 -188
- package/out/src/concepts/ForEachStatement__.js +0 -447
- package/out/src/concepts/ForEachStatement__.js.map +0 -1
- package/out/src/concepts/FrontendLibrary__.d.ts +0 -213
- package/out/src/concepts/FrontendLibrary__.js +0 -352
- package/out/src/concepts/FrontendLibrary__.js.map +0 -1
- package/out/src/concepts/FrontendVariable__.d.ts +0 -21
- package/out/src/concepts/FrontendVariable__.js +0 -64
- package/out/src/concepts/FrontendVariable__.js.map +0 -1
- package/out/src/concepts/Frontend__.d.ts +0 -477
- package/out/src/concepts/Frontend__.js +0 -841
- package/out/src/concepts/Frontend__.js.map +0 -1
- package/out/src/concepts/Function__.d.ts +0 -416
- package/out/src/concepts/Function__.js +0 -724
- package/out/src/concepts/Function__.js.map +0 -1
- package/out/src/concepts/Identifier__.d.ts +0 -51
- package/out/src/concepts/Identifier__.js +0 -295
- package/out/src/concepts/Identifier__.js.map +0 -1
- package/out/src/concepts/IfStatement__.d.ts +0 -157
- package/out/src/concepts/IfStatement__.js +0 -305
- package/out/src/concepts/IfStatement__.js.map +0 -1
- package/out/src/concepts/Integration__.d.ts +0 -53
- package/out/src/concepts/Integration__.js +0 -143
- package/out/src/concepts/Integration__.js.map +0 -1
- package/out/src/concepts/InterfaceParam__.d.ts +0 -110
- package/out/src/concepts/InterfaceParam__.js +0 -261
- package/out/src/concepts/InterfaceParam__.js.map +0 -1
- package/out/src/concepts/Interface__.d.ts +0 -303
- package/out/src/concepts/Interface__.js +0 -811
- package/out/src/concepts/Interface__.js.map +0 -1
- package/out/src/concepts/JSBlock__.d.ts +0 -33
- package/out/src/concepts/JSBlock__.js +0 -106
- package/out/src/concepts/JSBlock__.js.map +0 -1
- package/out/src/concepts/JavaLogic__.d.ts +0 -42
- package/out/src/concepts/JavaLogic__.js +0 -122
- package/out/src/concepts/JavaLogic__.js.map +0 -1
- package/out/src/concepts/LogicItem__.d.ts +0 -145
- package/out/src/concepts/LogicItem__.js +0 -274
- package/out/src/concepts/LogicItem__.js.map +0 -1
- package/out/src/concepts/Logic__.d.ts +0 -643
- package/out/src/concepts/Logic__.js +0 -1623
- package/out/src/concepts/Logic__.js.map +0 -1
- package/out/src/concepts/MatchCase__.d.ts +0 -257
- package/out/src/concepts/MatchCase__.js +0 -592
- package/out/src/concepts/MatchCase__.js.map +0 -1
- package/out/src/concepts/Match__.d.ts +0 -122
- package/out/src/concepts/Match__.js +0 -616
- package/out/src/concepts/Match__.js.map +0 -1
- package/out/src/concepts/MemberExpression__.d.ts +0 -72
- package/out/src/concepts/MemberExpression__.js +0 -318
- package/out/src/concepts/MemberExpression__.js.map +0 -1
- package/out/src/concepts/MicroApp__.d.ts +0 -51
- package/out/src/concepts/MicroApp__.js +0 -113
- package/out/src/concepts/MicroApp__.js.map +0 -1
- package/out/src/concepts/Module__.d.ts +0 -975
- package/out/src/concepts/Module__.js +0 -1371
- package/out/src/concepts/Module__.js.map +0 -1
- package/out/src/concepts/MsgTriggerEvent__.d.ts +0 -137
- package/out/src/concepts/MsgTriggerEvent__.js +0 -228
- package/out/src/concepts/MsgTriggerEvent__.js.map +0 -1
- package/out/src/concepts/MsgTriggerLauncher__.d.ts +0 -118
- package/out/src/concepts/MsgTriggerLauncher__.js +0 -204
- package/out/src/concepts/MsgTriggerLauncher__.js.map +0 -1
- package/out/src/concepts/Namespace__.d.ts +0 -1068
- package/out/src/concepts/Namespace__.js +0 -1377
- package/out/src/concepts/Namespace__.js.map +0 -1
- package/out/src/concepts/NewComposite__.d.ts +0 -345
- package/out/src/concepts/NewComposite__.js +0 -1086
- package/out/src/concepts/NewComposite__.js.map +0 -1
- package/out/src/concepts/NewList__.d.ts +0 -132
- package/out/src/concepts/NewList__.js +0 -378
- package/out/src/concepts/NewList__.js.map +0 -1
- package/out/src/concepts/NewMap__.d.ts +0 -223
- package/out/src/concepts/NewMap__.js +0 -522
- package/out/src/concepts/NewMap__.js.map +0 -1
- package/out/src/concepts/New__.d.ts +0 -20
- package/out/src/concepts/New__.js +0 -69
- package/out/src/concepts/New__.js.map +0 -1
- package/out/src/concepts/NullLiteral__.d.ts +0 -26
- package/out/src/concepts/NullLiteral__.js +0 -82
- package/out/src/concepts/NullLiteral__.js.map +0 -1
- package/out/src/concepts/NumericLiteral__.d.ts +0 -55
- package/out/src/concepts/NumericLiteral__.js +0 -173
- package/out/src/concepts/NumericLiteral__.js.map +0 -1
- package/out/src/concepts/OqlQueryComponent__.d.ts +0 -72
- package/out/src/concepts/OqlQueryComponent__.js +0 -323
- package/out/src/concepts/OqlQueryComponent__.js.map +0 -1
- package/out/src/concepts/OverriddenLogic__.d.ts +0 -643
- package/out/src/concepts/OverriddenLogic__.js +0 -1602
- package/out/src/concepts/OverriddenLogic__.js.map +0 -1
- package/out/src/concepts/Param__.d.ts +0 -171
- package/out/src/concepts/Param__.js +0 -446
- package/out/src/concepts/Param__.js.map +0 -1
- package/out/src/concepts/Point__.d.ts +0 -31
- package/out/src/concepts/Point__.js +0 -78
- package/out/src/concepts/Point__.js.map +0 -1
- package/out/src/concepts/ProcessComponent__.d.ts +0 -219
- package/out/src/concepts/ProcessComponent__.js +0 -336
- package/out/src/concepts/ProcessComponent__.js.map +0 -1
- package/out/src/concepts/ProcessElement__.d.ts +0 -646
- package/out/src/concepts/ProcessElement__.js +0 -1212
- package/out/src/concepts/ProcessElement__.js.map +0 -1
- package/out/src/concepts/ProcessOutcome__.d.ts +0 -31
- package/out/src/concepts/ProcessOutcome__.js +0 -90
- package/out/src/concepts/ProcessOutcome__.js.map +0 -1
- package/out/src/concepts/ProcessOutcomes__.d.ts +0 -31
- package/out/src/concepts/ProcessOutcomes__.js +0 -90
- package/out/src/concepts/ProcessOutcomes__.js.map +0 -1
- package/out/src/concepts/Process__.d.ts +0 -616
- package/out/src/concepts/Process__.js +0 -1023
- package/out/src/concepts/Process__.js.map +0 -1
- package/out/src/concepts/QueryAggregateExpression__.d.ts +0 -51
- package/out/src/concepts/QueryAggregateExpression__.js +0 -147
- package/out/src/concepts/QueryAggregateExpression__.js.map +0 -1
- package/out/src/concepts/QueryFieldExpression__.d.ts +0 -53
- package/out/src/concepts/QueryFieldExpression__.js +0 -158
- package/out/src/concepts/QueryFieldExpression__.js.map +0 -1
- package/out/src/concepts/QueryFromExpression__.d.ts +0 -96
- package/out/src/concepts/QueryFromExpression__.js +0 -195
- package/out/src/concepts/QueryFromExpression__.js.map +0 -1
- package/out/src/concepts/QueryGroupByExpression__.d.ts +0 -46
- package/out/src/concepts/QueryGroupByExpression__.js +0 -142
- package/out/src/concepts/QueryGroupByExpression__.js.map +0 -1
- package/out/src/concepts/QueryJoinExpression__.d.ts +0 -183
- package/out/src/concepts/QueryJoinExpression__.js +0 -315
- package/out/src/concepts/QueryJoinExpression__.js.map +0 -1
- package/out/src/concepts/QueryLimitExpression__.d.ts +0 -57
- package/out/src/concepts/QueryLimitExpression__.js +0 -159
- package/out/src/concepts/QueryLimitExpression__.js.map +0 -1
- package/out/src/concepts/QueryOrderByExpression__.d.ts +0 -68
- package/out/src/concepts/QueryOrderByExpression__.js +0 -172
- package/out/src/concepts/QueryOrderByExpression__.js.map +0 -1
- package/out/src/concepts/QuerySelectExpression__.d.ts +0 -203
- package/out/src/concepts/QuerySelectExpression__.js +0 -296
- package/out/src/concepts/QuerySelectExpression__.js.map +0 -1
- package/out/src/concepts/Rect__.d.ts +0 -39
- package/out/src/concepts/Rect__.js +0 -92
- package/out/src/concepts/Rect__.js.map +0 -1
- package/out/src/concepts/Return__.d.ts +0 -133
- package/out/src/concepts/Return__.js +0 -348
- package/out/src/concepts/Return__.js.map +0 -1
- package/out/src/concepts/Role__.d.ts +0 -62
- package/out/src/concepts/Role__.js +0 -168
- package/out/src/concepts/Role__.js.map +0 -1
- package/out/src/concepts/SelectMembers__.d.ts +0 -142
- package/out/src/concepts/SelectMembers__.js +0 -293
- package/out/src/concepts/SelectMembers__.js.map +0 -1
- package/out/src/concepts/Slot__.d.ts +0 -74
- package/out/src/concepts/Slot__.js +0 -160
- package/out/src/concepts/Slot__.js.map +0 -1
- package/out/src/concepts/SqlQueryComponent__.d.ts +0 -70
- package/out/src/concepts/SqlQueryComponent__.js +0 -268
- package/out/src/concepts/SqlQueryComponent__.js.map +0 -1
- package/out/src/concepts/Start__.d.ts +0 -24
- package/out/src/concepts/Start__.js +0 -74
- package/out/src/concepts/Start__.js.map +0 -1
- package/out/src/concepts/StringInterpolation__.d.ts +0 -114
- package/out/src/concepts/StringInterpolation__.js +0 -242
- package/out/src/concepts/StringInterpolation__.js.map +0 -1
- package/out/src/concepts/StringLiteral__.d.ts +0 -37
- package/out/src/concepts/StringLiteral__.js +0 -135
- package/out/src/concepts/StringLiteral__.js.map +0 -1
- package/out/src/concepts/StructureProperty__.d.ts +0 -130
- package/out/src/concepts/StructureProperty__.js +0 -297
- package/out/src/concepts/StructureProperty__.js.map +0 -1
- package/out/src/concepts/Structure__.d.ts +0 -251
- package/out/src/concepts/Structure__.js +0 -444
- package/out/src/concepts/Structure__.js.map +0 -1
- package/out/src/concepts/SwitchCase__.d.ts +0 -93
- package/out/src/concepts/SwitchCase__.js +0 -232
- package/out/src/concepts/SwitchCase__.js.map +0 -1
- package/out/src/concepts/SwitchStatement__.d.ts +0 -83
- package/out/src/concepts/SwitchStatement__.js +0 -178
- package/out/src/concepts/SwitchStatement__.js.map +0 -1
- package/out/src/concepts/Theme__.d.ts +0 -37
- package/out/src/concepts/Theme__.js +0 -89
- package/out/src/concepts/Theme__.js.map +0 -1
- package/out/src/concepts/Transactional__.d.ts +0 -87
- package/out/src/concepts/Transactional__.js +0 -166
- package/out/src/concepts/Transactional__.js.map +0 -1
- package/out/src/concepts/TriggerEvent__.d.ts +0 -120
- package/out/src/concepts/TriggerEvent__.js +0 -222
- package/out/src/concepts/TriggerEvent__.js.map +0 -1
- package/out/src/concepts/TriggerLauncher__.d.ts +0 -88
- package/out/src/concepts/TriggerLauncher__.js +0 -235
- package/out/src/concepts/TriggerLauncher__.js.map +0 -1
- package/out/src/concepts/TypeAnnotation__.d.ts +0 -293
- package/out/src/concepts/TypeAnnotation__.js +0 -878
- package/out/src/concepts/TypeAnnotation__.js.map +0 -1
- package/out/src/concepts/TypeParam__.d.ts +0 -24
- package/out/src/concepts/TypeParam__.js +0 -73
- package/out/src/concepts/TypeParam__.js.map +0 -1
- package/out/src/concepts/UnaryExpression__.d.ts +0 -48
- package/out/src/concepts/UnaryExpression__.js +0 -175
- package/out/src/concepts/UnaryExpression__.js.map +0 -1
- package/out/src/concepts/Unparsed__.d.ts +0 -31
- package/out/src/concepts/Unparsed__.js +0 -94
- package/out/src/concepts/Unparsed__.js.map +0 -1
- package/out/src/concepts/UseComponent__.d.ts +0 -31
- package/out/src/concepts/UseComponent__.js +0 -78
- package/out/src/concepts/UseComponent__.js.map +0 -1
- package/out/src/concepts/ValidationRule__.d.ts +0 -147
- package/out/src/concepts/ValidationRule__.js +0 -480
- package/out/src/concepts/ValidationRule__.js.map +0 -1
- package/out/src/concepts/Variable__.d.ts +0 -153
- package/out/src/concepts/Variable__.js +0 -401
- package/out/src/concepts/Variable__.js.map +0 -1
- package/out/src/concepts/ViewBlock__.d.ts +0 -35
- package/out/src/concepts/ViewBlock__.js +0 -85
- package/out/src/concepts/ViewBlock__.js.map +0 -1
- package/out/src/concepts/ViewComponent__.d.ts +0 -565
- package/out/src/concepts/ViewComponent__.js +0 -758
- package/out/src/concepts/ViewComponent__.js.map +0 -1
- package/out/src/concepts/ViewElement__.d.ts +0 -604
- package/out/src/concepts/ViewElement__.js +0 -1910
- package/out/src/concepts/ViewElement__.js.map +0 -1
- package/out/src/concepts/View__.d.ts +0 -713
- package/out/src/concepts/View__.js +0 -1693
- package/out/src/concepts/View__.js.map +0 -1
- package/out/src/concepts/WhileStatement__.d.ts +0 -96
- package/out/src/concepts/WhileStatement__.js +0 -211
- package/out/src/concepts/WhileStatement__.js.map +0 -1
- package/out/src/concepts/basics/stdlib/index.d.ts +0 -4
- package/out/src/concepts/basics/stdlib/index.js +0 -29
- package/out/src/concepts/basics/stdlib/index.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.auth.d.ts +0 -7
- package/out/src/concepts/basics/stdlib/nasl.auth.js +0 -164
- package/out/src/concepts/basics/stdlib/nasl.auth.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.browser.d.ts +0 -3
- package/out/src/concepts/basics/stdlib/nasl.browser.js +0 -96
- package/out/src/concepts/basics/stdlib/nasl.browser.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.collection.d.ts +0 -7
- package/out/src/concepts/basics/stdlib/nasl.collection.js +0 -52
- package/out/src/concepts/basics/stdlib/nasl.collection.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.configuration.d.ts +0 -3
- package/out/src/concepts/basics/stdlib/nasl.configuration.js +0 -33
- package/out/src/concepts/basics/stdlib/nasl.configuration.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.core.d.ts +0 -5
- package/out/src/concepts/basics/stdlib/nasl.core.js +0 -49
- package/out/src/concepts/basics/stdlib/nasl.core.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.http.d.ts +0 -7
- package/out/src/concepts/basics/stdlib/nasl.http.js +0 -167
- package/out/src/concepts/basics/stdlib/nasl.http.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.interface.d.ts +0 -7
- package/out/src/concepts/basics/stdlib/nasl.interface.js +0 -43
- package/out/src/concepts/basics/stdlib/nasl.interface.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.io.d.ts +0 -3
- package/out/src/concepts/basics/stdlib/nasl.io.js +0 -52
- package/out/src/concepts/basics/stdlib/nasl.io.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.logging.d.ts +0 -3
- package/out/src/concepts/basics/stdlib/nasl.logging.js +0 -56
- package/out/src/concepts/basics/stdlib/nasl.logging.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.process.d.ts +0 -7
- package/out/src/concepts/basics/stdlib/nasl.process.js +0 -638
- package/out/src/concepts/basics/stdlib/nasl.process.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.ui.d.ts +0 -7
- package/out/src/concepts/basics/stdlib/nasl.ui.js +0 -1018
- package/out/src/concepts/basics/stdlib/nasl.ui.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.util.d.ts +0 -3
- package/out/src/concepts/basics/stdlib/nasl.util.js +0 -2238
- package/out/src/concepts/basics/stdlib/nasl.util.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.validation.d.ts +0 -3
- package/out/src/concepts/basics/stdlib/nasl.validation.js +0 -565
- package/out/src/concepts/basics/stdlib/nasl.validation.js.map +0 -1
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +0 -5
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js +0 -26
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +0 -1
- package/out/src/concepts/basics/types/coreTypeList.d.ts +0 -2
- package/out/src/concepts/basics/types/coreTypeList.js +0 -15
- package/out/src/concepts/basics/types/coreTypeList.js.map +0 -1
- package/out/src/concepts/basics/types/index.d.ts +0 -16
- package/out/src/concepts/basics/types/index.js +0 -35
- package/out/src/concepts/basics/types/index.js.map +0 -1
- package/out/src/concepts/index.d.ts +0 -6
- package/out/src/concepts/index.js +0 -25
- package/out/src/concepts/index.js.map +0 -1
- package/out/src/concepts/index__.d.ts +0 -122
- package/out/src/concepts/index__.js +0 -139
- package/out/src/concepts/index__.js.map +0 -1
- package/out/src/concepts/types__.d.ts +0 -124
- package/out/src/concepts/types__.js +0 -3
- package/out/src/concepts/types__.js.map +0 -1
- package/out/src/config.d.ts +0 -43
- package/out/src/config.js +0 -72
- package/out/src/config.js.map +0 -1
- package/out/src/decorators/index.d.ts +0 -55
- package/out/src/decorators/index.js +0 -153
- package/out/src/decorators/index.js.map +0 -1
- package/out/src/enums/KEYWORDS.d.ts +0 -6
- package/out/src/enums/KEYWORDS.js +0 -1244
- package/out/src/enums/KEYWORDS.js.map +0 -1
- package/out/src/enums/LEVEL_NAME_MAP.d.ts +0 -26
- package/out/src/enums/LEVEL_NAME_MAP.js +0 -30
- package/out/src/enums/LEVEL_NAME_MAP.js.map +0 -1
- package/out/src/eventBus.d.ts +0 -3
- package/out/src/eventBus.js +0 -7
- package/out/src/eventBus.js.map +0 -1
- package/out/src/generator/compileComponent.d.ts +0 -11
- package/out/src/generator/compileComponent.js +0 -12
- package/out/src/generator/compileComponent.js.map +0 -1
- package/out/src/generator/genBundleFiles.d.ts +0 -31
- package/out/src/generator/genBundleFiles.js +0 -432
- package/out/src/generator/genBundleFiles.js.map +0 -1
- package/out/src/generator/genHash.d.ts +0 -7
- package/out/src/generator/genHash.js +0 -39
- package/out/src/generator/genHash.js.map +0 -1
- package/out/src/generator/genMetaData.d.ts +0 -31
- package/out/src/generator/genMetaData.js +0 -274
- package/out/src/generator/genMetaData.js.map +0 -1
- package/out/src/generator/genReleaseBody.d.ts +0 -70
- package/out/src/generator/genReleaseBody.js +0 -268
- package/out/src/generator/genReleaseBody.js.map +0 -1
- package/out/src/generator/icestark.d.ts +0 -2
- package/out/src/generator/icestark.js +0 -48
- package/out/src/generator/icestark.js.map +0 -1
- package/out/src/generator/index.d.ts +0 -7
- package/out/src/generator/index.js +0 -24
- package/out/src/generator/index.js.map +0 -1
- package/out/src/generator/microApp.d.ts +0 -2
- package/out/src/generator/microApp.js +0 -35
- package/out/src/generator/microApp.js.map +0 -1
- package/out/src/generator/permission.d.ts +0 -10
- package/out/src/generator/permission.js +0 -267
- package/out/src/generator/permission.js.map +0 -1
- package/out/src/generator/qiankun.d.ts +0 -2
- package/out/src/generator/qiankun.js +0 -52
- package/out/src/generator/qiankun.js.map +0 -1
- package/out/src/generator/styleReplacer.d.ts +0 -3
- package/out/src/generator/styleReplacer.js +0 -71
- package/out/src/generator/styleReplacer.js.map +0 -1
- package/out/src/index.d.ts +0 -14
- package/out/src/index.js +0 -65
- package/out/src/index.js.map +0 -1
- package/out/src/manager/diagnostic.d.ts +0 -35
- package/out/src/manager/diagnostic.js +0 -63
- package/out/src/manager/diagnostic.js.map +0 -1
- package/out/src/manager/stepRecorder.d.ts +0 -20
- package/out/src/manager/stepRecorder.js +0 -110
- package/out/src/manager/stepRecorder.js.map +0 -1
- package/out/src/sentry/index.d.ts +0 -33
- package/out/src/sentry/index.js +0 -141
- package/out/src/sentry/index.js.map +0 -1
- package/out/src/server/createUiTs.d.ts +0 -16
- package/out/src/server/createUiTs.js +0 -248
- package/out/src/server/createUiTs.js.map +0 -1
- package/out/src/server/entity2LogicNamespace.d.ts +0 -10
- package/out/src/server/entity2LogicNamespace.js +0 -380
- package/out/src/server/entity2LogicNamespace.js.map +0 -1
- package/out/src/server/event.d.ts +0 -18
- package/out/src/server/event.js +0 -127
- package/out/src/server/event.js.map +0 -1
- package/out/src/server/extendBaseNode.d.ts +0 -1
- package/out/src/server/extendBaseNode.js +0 -528
- package/out/src/server/extendBaseNode.js.map +0 -1
- package/out/src/server/formatTsUtils.d.ts +0 -37
- package/out/src/server/formatTsUtils.js +0 -857
- package/out/src/server/formatTsUtils.js.map +0 -1
- package/out/src/server/getConnector.d.ts +0 -11
- package/out/src/server/getConnector.js +0 -42
- package/out/src/server/getConnector.js.map +0 -1
- package/out/src/server/getExtensionModules.d.ts +0 -3
- package/out/src/server/getExtensionModules.js +0 -34
- package/out/src/server/getExtensionModules.js.map +0 -1
- package/out/src/server/getFunctions.d.ts +0 -3
- package/out/src/server/getFunctions.js +0 -20
- package/out/src/server/getFunctions.js.map +0 -1
- package/out/src/server/getInterfaces.d.ts +0 -2
- package/out/src/server/getInterfaces.js +0 -48
- package/out/src/server/getInterfaces.js.map +0 -1
- package/out/src/server/getLogging.d.ts +0 -1
- package/out/src/server/getLogging.js +0 -9
- package/out/src/server/getLogging.js.map +0 -1
- package/out/src/server/getLogics.d.ts +0 -4
- package/out/src/server/getLogics.js +0 -335
- package/out/src/server/getLogics.js.map +0 -1
- package/out/src/server/getMemberIdentifier.d.ts +0 -16
- package/out/src/server/getMemberIdentifier.js +0 -317
- package/out/src/server/getMemberIdentifier.js.map +0 -1
- package/out/src/server/getProcessComponents.d.ts +0 -2
- package/out/src/server/getProcessComponents.js +0 -13
- package/out/src/server/getProcessComponents.js.map +0 -1
- package/out/src/server/getProcesses.d.ts +0 -33
- package/out/src/server/getProcesses.js +0 -605
- package/out/src/server/getProcesses.js.map +0 -1
- package/out/src/server/getScope.d.ts +0 -13
- package/out/src/server/getScope.js +0 -61
- package/out/src/server/getScope.js.map +0 -1
- package/out/src/server/getValidates.d.ts +0 -3
- package/out/src/server/getValidates.js +0 -14
- package/out/src/server/getValidates.js.map +0 -1
- package/out/src/server/index.d.ts +0 -5
- package/out/src/server/index.js +0 -41
- package/out/src/server/index.js.map +0 -1
- package/out/src/server/naslServer.d.ts +0 -357
- package/out/src/server/naslServer.js +0 -4369
- package/out/src/server/naslServer.js.map +0 -1
- package/out/src/server/naslStdlibMap.d.ts +0 -2
- package/out/src/server/naslStdlibMap.js +0 -50
- package/out/src/server/naslStdlibMap.js.map +0 -1
- package/out/src/server/process2LogicNamespace.d.ts +0 -26
- package/out/src/server/process2LogicNamespace.js +0 -109
- package/out/src/server/process2LogicNamespace.js.map +0 -1
- package/out/src/server/translator.d.ts +0 -26
- package/out/src/server/translator.js +0 -805
- package/out/src/server/translator.js.map +0 -1
- package/out/src/service/creator/add.configs.d.ts +0 -1
- package/out/src/service/creator/add.configs.js +0 -74
- package/out/src/service/creator/add.configs.js.map +0 -1
- package/out/src/service/creator/errHandles.d.ts +0 -18
- package/out/src/service/creator/errHandles.js +0 -75
- package/out/src/service/creator/errHandles.js.map +0 -1
- package/out/src/service/creator/index.d.ts +0 -1
- package/out/src/service/creator/index.js +0 -74
- package/out/src/service/creator/index.js.map +0 -1
- package/out/src/service/datasource/api.d.ts +0 -12
- package/out/src/service/datasource/api.js +0 -14
- package/out/src/service/datasource/api.js.map +0 -1
- package/out/src/service/datasource/index.d.ts +0 -2
- package/out/src/service/datasource/index.js +0 -10
- package/out/src/service/datasource/index.js.map +0 -1
- package/out/src/service/defaultErrorMessage.json +0 -98
- package/out/src/service/logic/api.d.ts +0 -9
- package/out/src/service/logic/api.js +0 -11
- package/out/src/service/logic/api.js.map +0 -1
- package/out/src/service/logic/checktypeSocket.d.ts +0 -5
- package/out/src/service/logic/checktypeSocket.js +0 -55
- package/out/src/service/logic/checktypeSocket.js.map +0 -1
- package/out/src/service/logic/index.d.ts +0 -2
- package/out/src/service/logic/index.js +0 -10
- package/out/src/service/logic/index.js.map +0 -1
- package/out/src/service/storage/api.d.ts +0 -54
- package/out/src/service/storage/api.js +0 -42
- package/out/src/service/storage/api.js.map +0 -1
- package/out/src/service/storage/index.d.ts +0 -2
- package/out/src/service/storage/index.js +0 -10
- package/out/src/service/storage/index.js.map +0 -1
- package/out/src/service/storage/init.d.ts +0 -68
- package/out/src/service/storage/init.js +0 -784
- package/out/src/service/storage/init.js.map +0 -1
- package/out/src/service/storage/jsoner.d.ts +0 -36
- package/out/src/service/storage/jsoner.js +0 -131
- package/out/src/service/storage/jsoner.js.map +0 -1
- package/out/src/service/storage/map.d.ts +0 -4
- package/out/src/service/storage/map.js +0 -54
- package/out/src/service/storage/map.js.map +0 -1
- package/out/src/service/storage/service.d.ts +0 -25
- package/out/src/service/storage/service.js +0 -80
- package/out/src/service/storage/service.js.map +0 -1
- package/out/src/service/storage/storagePoint.d.ts +0 -17
- package/out/src/service/storage/storagePoint.js +0 -76
- package/out/src/service/storage/storagePoint.js.map +0 -1
- package/out/src/service/video/BaseService.d.ts +0 -7
- package/out/src/service/video/BaseService.js +0 -61
- package/out/src/service/video/BaseService.js.map +0 -1
- package/out/src/service/video/MainCallbackService.d.ts +0 -12
- package/out/src/service/video/MainCallbackService.js +0 -183
- package/out/src/service/video/MainCallbackService.js.map +0 -1
- package/out/src/service/video/VideoTranscribe.d.ts +0 -15
- package/out/src/service/video/VideoTranscribe.js +0 -96
- package/out/src/service/video/VideoTranscribe.js.map +0 -1
- package/out/src/service/video/publishService.d.ts +0 -1
- package/out/src/service/video/publishService.js +0 -58
- package/out/src/service/video/publishService.js.map +0 -1
- package/out/src/templator/genCallComponentLogic.d.ts +0 -17
- package/out/src/templator/genCallComponentLogic.js +0 -30
- package/out/src/templator/genCallComponentLogic.js.map +0 -1
- package/out/src/templator/genCreateBlock.d.ts +0 -10
- package/out/src/templator/genCreateBlock.js +0 -336
- package/out/src/templator/genCreateBlock.js.map +0 -1
- package/out/src/templator/genCurdEditMultipleKeyBlock.d.ts +0 -8
- package/out/src/templator/genCurdEditMultipleKeyBlock.js +0 -514
- package/out/src/templator/genCurdEditMultipleKeyBlock.js.map +0 -1
- package/out/src/templator/genCurdMultipleKeyBlock.d.ts +0 -34
- package/out/src/templator/genCurdMultipleKeyBlock.js +0 -707
- package/out/src/templator/genCurdMultipleKeyBlock.js.map +0 -1
- package/out/src/templator/genEditTableBlock.d.ts +0 -51
- package/out/src/templator/genEditTableBlock.js +0 -299
- package/out/src/templator/genEditTableBlock.js.map +0 -1
- package/out/src/templator/genEnumSelectBlock.d.ts +0 -10
- package/out/src/templator/genEnumSelectBlock.js +0 -26
- package/out/src/templator/genEnumSelectBlock.js.map +0 -1
- package/out/src/templator/genGetBlock.d.ts +0 -6
- package/out/src/templator/genGetBlock.js +0 -138
- package/out/src/templator/genGetBlock.js.map +0 -1
- package/out/src/templator/genGridViewBlock.d.ts +0 -55
- package/out/src/templator/genGridViewBlock.js +0 -350
- package/out/src/templator/genGridViewBlock.js.map +0 -1
- package/out/src/templator/genListViewBlock.d.ts +0 -19
- package/out/src/templator/genListViewBlock.js +0 -143
- package/out/src/templator/genListViewBlock.js.map +0 -1
- package/out/src/templator/genQueryComponent.d.ts +0 -34
- package/out/src/templator/genQueryComponent.js +0 -342
- package/out/src/templator/genQueryComponent.js.map +0 -1
- package/out/src/templator/genSelectBlock.d.ts +0 -45
- package/out/src/templator/genSelectBlock.js +0 -406
- package/out/src/templator/genSelectBlock.js.map +0 -1
- package/out/src/templator/genTableBlock.d.ts +0 -53
- package/out/src/templator/genTableBlock.js +0 -280
- package/out/src/templator/genTableBlock.js.map +0 -1
- package/out/src/templator/genUpdateBlock.d.ts +0 -6
- package/out/src/templator/genUpdateBlock.js +0 -378
- package/out/src/templator/genUpdateBlock.js.map +0 -1
- package/out/src/templator/index.d.ts +0 -17
- package/out/src/templator/index.js +0 -38
- package/out/src/templator/index.js.map +0 -1
- package/out/src/templator/utils.d.ts +0 -676
- package/out/src/templator/utils.js +0 -459
- package/out/src/templator/utils.js.map +0 -1
- package/out/src/test/fixtures/env.d.ts +0 -5
- package/out/src/test/fixtures/env.js +0 -20
- package/out/src/test/fixtures/env.js.map +0 -1
- package/out/src/test/integration/connect-create-file.d.ts +0 -1
- package/out/src/test/integration/connect-create-file.js +0 -39
- package/out/src/test/integration/connect-create-file.js.map +0 -1
- package/out/src/test/integration/connect-file.d.ts +0 -1
- package/out/src/test/integration/connect-file.js +0 -49
- package/out/src/test/integration/connect-file.js.map +0 -1
- package/out/src/test/integration/node-nasl-server.d.ts +0 -1
- package/out/src/test/integration/node-nasl-server.js +0 -13
- package/out/src/test/integration/node-nasl-server.js.map +0 -1
- package/out/src/test/units/baseTypes/Assignment.spec.d.ts +0 -1
- package/out/src/test/units/baseTypes/Assignment.spec.js +0 -43
- package/out/src/test/units/baseTypes/Assignment.spec.js.map +0 -1
- package/out/src/test/units/baseTypes/CallLogic.spec.d.ts +0 -1
- package/out/src/test/units/baseTypes/CallLogic.spec.js +0 -44
- package/out/src/test/units/baseTypes/CallLogic.spec.js.map +0 -1
- package/out/src/test/units/baseTypes/StringLiteral.spec.d.ts +0 -1
- package/out/src/test/units/baseTypes/StringLiteral.spec.js +0 -75
- package/out/src/test/units/baseTypes/StringLiteral.spec.js.map +0 -1
- package/out/src/test/units/baseTypes/new.spec.d.ts +0 -1
- package/out/src/test/units/baseTypes/new.spec.js +0 -37
- package/out/src/test/units/baseTypes/new.spec.js.map +0 -1
- package/out/src/test/units/common/Vertex.spec.d.ts +0 -1
- package/out/src/test/units/common/Vertex.spec.js +0 -22
- package/out/src/test/units/common/Vertex.spec.js.map +0 -1
- package/out/src/test/units/data/Entity.spec.d.ts +0 -1
- package/out/src/test/units/data/Entity.spec.js +0 -12
- package/out/src/test/units/data/Entity.spec.js.map +0 -1
- package/out/src/test/units/login.spec.d.ts +0 -1
- package/out/src/test/units/login.spec.js +0 -12
- package/out/src/test/units/login.spec.js.map +0 -1
- package/out/src/test/units/page/Block.spec.d.ts +0 -0
- package/out/src/test/units/page/Block.spec.js +0 -13
- package/out/src/test/units/page/Block.spec.js.map +0 -1
- package/out/src/test/units/page/Element.spec.d.ts +0 -1
- package/out/src/test/units/page/Element.spec.js +0 -44
- package/out/src/test/units/page/Element.spec.js.map +0 -1
- package/out/src/test/units/temp/temp.spec.d.ts +0 -1
- package/out/src/test/units/temp/temp.spec.js +0 -68
- package/out/src/test/units/temp/temp.spec.js.map +0 -1
- package/out/src/translator/index.d.ts +0 -48
- package/out/src/translator/index.js +0 -114
- package/out/src/translator/index.js.map +0 -1
- package/out/src/translator/lsp.d.ts +0 -45
- package/out/src/translator/lsp.js +0 -6
- package/out/src/translator/lsp.js.map +0 -1
- package/out/src/translator/tsp.d.ts +0 -12
- package/out/src/translator/tsp.js +0 -3
- package/out/src/translator/tsp.js.map +0 -1
- package/out/src/utils/index.d.ts +0 -39
- package/out/src/utils/index.js +0 -191
- package/out/src/utils/index.js.map +0 -1
- package/out/src/utils/logger.d.ts +0 -3
- package/out/src/utils/logger.js +0 -11
- package/out/src/utils/logger.js.map +0 -1
- package/out/src/utils/sortTsString.d.ts +0 -1
- package/out/src/utils/sortTsString.js +0 -36
- package/out/src/utils/sortTsString.js.map +0 -1
- package/out/src/utils/string.d.ts +0 -51
- package/out/src/utils/string.js +0 -110
- package/out/src/utils/string.js.map +0 -1
- package/out/src/utils/traverse.d.ts +0 -36
- package/out/src/utils/traverse.js +0 -145
- package/out/src/utils/traverse.js.map +0 -1
- package/out/test/concepts/utils.d.ts +0 -2
- package/out/test/concepts/utils.js +0 -20
- package/out/test/concepts/utils.js.map +0 -1
- package/out/test/concepts/validation-rule/toEmbeddedTS.spec.d.ts +0 -1
- package/out/test/concepts/validation-rule/toEmbeddedTS.spec.js +0 -23
- package/out/test/concepts/validation-rule/toEmbeddedTS.spec.js.map +0 -1
- package/out/test/setup.d.ts +0 -1
- package/out/test/setup.js +0 -6
- package/out/test/setup.js.map +0 -1
package/out/src/index.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
-
};
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
29
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
|
-
};
|
|
31
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.createService = exports.mountDatabaseTypes = exports.batchQuery = exports.batchAction = exports.handleApp = exports.loadAppSync = exports.loadApp = exports.breakpoint = exports.utils = exports.genBlock = exports.NaslServer = exports.server = exports.genLogicAuthFlag = exports.genPermissionData = exports.genReleaseBody = exports.genMetaData = exports.genFrontendBundleFiles = exports.genBundleFiles = exports.BaseNode = exports.EventEmitter = void 0;
|
|
33
|
-
var common_1 = require("./common");
|
|
34
|
-
Object.defineProperty(exports, "EventEmitter", { enumerable: true, get: function () { return common_1.EventEmitter; } });
|
|
35
|
-
Object.defineProperty(exports, "BaseNode", { enumerable: true, get: function () { return common_1.BaseNode; } });
|
|
36
|
-
__exportStar(require("./concepts"), exports);
|
|
37
|
-
var generator_1 = require("./generator");
|
|
38
|
-
Object.defineProperty(exports, "genBundleFiles", { enumerable: true, get: function () { return generator_1.genBundleFiles; } });
|
|
39
|
-
Object.defineProperty(exports, "genFrontendBundleFiles", { enumerable: true, get: function () { return generator_1.genFrontendBundleFiles; } });
|
|
40
|
-
Object.defineProperty(exports, "genMetaData", { enumerable: true, get: function () { return generator_1.genMetaData; } });
|
|
41
|
-
Object.defineProperty(exports, "genReleaseBody", { enumerable: true, get: function () { return generator_1.genReleaseBody; } });
|
|
42
|
-
Object.defineProperty(exports, "genPermissionData", { enumerable: true, get: function () { return generator_1.genPermissionData; } });
|
|
43
|
-
Object.defineProperty(exports, "genLogicAuthFlag", { enumerable: true, get: function () { return generator_1.genLogicAuthFlag; } });
|
|
44
|
-
__exportStar(require("./translator"), exports);
|
|
45
|
-
// export { default as diagnosticManager } from './manager/diagnostic';
|
|
46
|
-
var server_1 = require("./server");
|
|
47
|
-
Object.defineProperty(exports, "server", { enumerable: true, get: function () { return __importDefault(server_1).default; } });
|
|
48
|
-
Object.defineProperty(exports, "NaslServer", { enumerable: true, get: function () { return server_1.NaslServer; } });
|
|
49
|
-
exports.genBlock = __importStar(require("./templator"));
|
|
50
|
-
exports.utils = __importStar(require("./utils"));
|
|
51
|
-
__exportStar(require("./config"), exports);
|
|
52
|
-
__exportStar(require("./eventBus"), exports);
|
|
53
|
-
exports.breakpoint = __importStar(require("./breakpoint"));
|
|
54
|
-
var init_1 = require("./service/storage/init");
|
|
55
|
-
Object.defineProperty(exports, "loadApp", { enumerable: true, get: function () { return init_1.loadApp; } });
|
|
56
|
-
Object.defineProperty(exports, "loadAppSync", { enumerable: true, get: function () { return init_1.loadAppSync; } });
|
|
57
|
-
Object.defineProperty(exports, "handleApp", { enumerable: true, get: function () { return init_1.handleApp; } });
|
|
58
|
-
Object.defineProperty(exports, "batchAction", { enumerable: true, get: function () { return init_1.batchAction; } });
|
|
59
|
-
Object.defineProperty(exports, "batchQuery", { enumerable: true, get: function () { return init_1.batchQuery; } });
|
|
60
|
-
Object.defineProperty(exports, "mountDatabaseTypes", { enumerable: true, get: function () { return init_1.mountDatabaseTypes; } });
|
|
61
|
-
var creator_1 = require("./service/creator");
|
|
62
|
-
Object.defineProperty(exports, "createService", { enumerable: true, get: function () { return creator_1.createService; } });
|
|
63
|
-
__exportStar(require("./manager/stepRecorder"), exports);
|
|
64
|
-
require("./automate/engine");
|
|
65
|
-
//# sourceMappingURL=index.js.map
|
package/out/src/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAgE;AAAvD,sGAAA,YAAY,OAAA;AAAgB,kGAAA,QAAQ,OAAA;AAC7C,6CAA2B;AAC3B,yCAAuI;AAA9H,2GAAA,cAAc,OAAA;AAAE,mHAAA,sBAAsB,OAAA;AAAE,wGAAA,WAAW,OAAA;AAAE,2GAAA,cAAc,OAAA;AAAE,8GAAA,iBAAiB,OAAA;AAAE,6GAAA,gBAAgB,OAAA;AACjH,+CAA6B;AAC7B,uEAAuE;AACvE,mCAAyD;AAAhD,iHAAA,OAAO,OAAU;AAAE,oGAAA,UAAU,OAAA;AACtC,wDAAwC;AACxC,iDAAiC;AACjC,2CAAyB;AACzB,6CAA2B;AAC3B,2DAA2C;AAC3C,+CAAsH;AAA7G,+FAAA,OAAO,OAAA;AAAE,mGAAA,WAAW,OAAA;AAAE,iGAAA,SAAS,OAAA;AAAE,mGAAA,WAAW,OAAA;AAAE,kGAAA,UAAU,OAAA;AAAE,0GAAA,kBAAkB,OAAA;AACrF,6CAAkD;AAAzC,wGAAA,aAAa,OAAA;AACtB,yDAAuC;AACvC,6BAA2B"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { BaseNode } from '../concepts';
|
|
2
|
-
import * as tsProtocol from 'typescript/lib/protocol';
|
|
3
|
-
export interface Diagnostic {
|
|
4
|
-
id?: string;
|
|
5
|
-
severity: string;
|
|
6
|
-
originalDiagnostic?: tsProtocol.DiagnosticWithFileName;
|
|
7
|
-
message?: string;
|
|
8
|
-
code?: number;
|
|
9
|
-
node?: BaseNode;
|
|
10
|
-
text?: string;
|
|
11
|
-
titleTip?: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* 文件粒度的 Diagnostic
|
|
15
|
-
*/
|
|
16
|
-
export interface DiagnosticRecord {
|
|
17
|
-
id: string;
|
|
18
|
-
logicId?: string;
|
|
19
|
-
filePath?: string;
|
|
20
|
-
node: BaseNode;
|
|
21
|
-
message: string;
|
|
22
|
-
syntaxDiagnostics: Array<Diagnostic>;
|
|
23
|
-
semanticDiagnostics: Array<Diagnostic>;
|
|
24
|
-
suggestionDiagnostics: Array<Diagnostic>;
|
|
25
|
-
}
|
|
26
|
-
export declare class DiagnosticManager {
|
|
27
|
-
records: Array<DiagnosticRecord>;
|
|
28
|
-
push(record: DiagnosticRecord): void;
|
|
29
|
-
getRecord(id: string): DiagnosticRecord;
|
|
30
|
-
deleteOwn(id: string): void;
|
|
31
|
-
delete(id: string): void;
|
|
32
|
-
clear(): void;
|
|
33
|
-
pushAll(records: DiagnosticRecord[]): void;
|
|
34
|
-
filterDiagnostics(showTSError?: boolean): any[];
|
|
35
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DiagnosticManager = void 0;
|
|
4
|
-
class DiagnosticManager {
|
|
5
|
-
records = [];
|
|
6
|
-
push(record) {
|
|
7
|
-
const index = this.records.findIndex((item) => item.id === record.id);
|
|
8
|
-
if (index === -1) {
|
|
9
|
-
this.records.unshift(record);
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
this.records.splice(index, 1, record);
|
|
13
|
-
}
|
|
14
|
-
// if(record.typeCheckNote?.message?.filter)
|
|
15
|
-
// record.typeCheckNote.message = record.typeCheckNote.message.filter((item) => !!item);
|
|
16
|
-
// if(!record.typeCheckNote || record.typeCheckNote.status === 'success'
|
|
17
|
-
// || (record.typeCheckNote && record.typeCheckNote.message && record.typeCheckNote.message.length === 0))
|
|
18
|
-
// return;
|
|
19
|
-
}
|
|
20
|
-
getRecord(id) {
|
|
21
|
-
const index = this.records.findIndex((item) => item.id === id);
|
|
22
|
-
return this.records[index];
|
|
23
|
-
}
|
|
24
|
-
deleteOwn(id) {
|
|
25
|
-
const index = this.records.findIndex((item) => item.id === id);
|
|
26
|
-
~index && this.records.splice(index, 1);
|
|
27
|
-
}
|
|
28
|
-
delete(id) {
|
|
29
|
-
// const node = vertexsMap.get(id);
|
|
30
|
-
// this.deleteOwn(id);
|
|
31
|
-
// if (node) {
|
|
32
|
-
// const children: LogicItem[] = [];
|
|
33
|
-
// // [...logicItemKeyOfLogicItem, ...logicItemArrayKeyOfLogicItem].forEach((key) => {
|
|
34
|
-
// // const item = (node as LogicItem)[key as keyof LogicItem];
|
|
35
|
-
// // if (item)
|
|
36
|
-
// // children = children.concat(item);
|
|
37
|
-
// // });
|
|
38
|
-
// children.forEach((item) => {
|
|
39
|
-
// this.delete(item.id);
|
|
40
|
-
// });
|
|
41
|
-
// }
|
|
42
|
-
}
|
|
43
|
-
clear() {
|
|
44
|
-
this.records.splice(0, this.records.length);
|
|
45
|
-
}
|
|
46
|
-
pushAll(records) {
|
|
47
|
-
for (const record of records) {
|
|
48
|
-
this.push(record);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
filterDiagnostics(showTSError) {
|
|
52
|
-
const chineseRE = /[\u2E80-\uFE4F]/;
|
|
53
|
-
return [].concat(...this.records.map((record) => {
|
|
54
|
-
const diagnostics = [].concat(record.semanticDiagnostics, record.suggestionDiagnostics);
|
|
55
|
-
// if (!showTSError) {
|
|
56
|
-
// diagnostics = diagnostics.filter((diagnostic) => chineseRE.test(diagnostic.message));
|
|
57
|
-
// }
|
|
58
|
-
return diagnostics;
|
|
59
|
-
}));
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
exports.DiagnosticManager = DiagnosticManager;
|
|
63
|
-
//# sourceMappingURL=diagnostic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ACvB,mDAAmD;QACnD,aAAa;QACb,mCAAmC;QACnC,gCAAgC;QAChC,UAAU;QACV,IAAI;IACR,CAAC;IAED,KAAK;QACD,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC;IAED,OAAO,CAAC,OAA2B;QAC/B,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;YAC1B,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SACrB;IACL,CAAC;IAED,iBAAiB,CAAC,WAAqB;QACnC,MAAM,SAAS,GAAG,iBAAiB,CAAC;QACpC,OAAO,EAAE,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;YAC5C,MAAM,WAAW,GAAiB,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAAC,qBAAqB,CAAC,CAAC;YACtG,sBAAsB;YACtB,4FAA4F;YAC5F,IAAI;YACJ,OAAO,WAAW,CAAC;QACvB,CAAC,CAAC,CAAC,CAAC;IACR,CAAC;CACJ;AAjED,8CAiEC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const stepRecorder: {
|
|
2
|
-
count: number;
|
|
3
|
-
initialized: boolean;
|
|
4
|
-
init(): void;
|
|
5
|
-
clear(): void;
|
|
6
|
-
getAppName(): string;
|
|
7
|
-
getKeys(): string[];
|
|
8
|
-
record(actionMsg: string, actionItem: {
|
|
9
|
-
action: 'undo' | 'redo';
|
|
10
|
-
}, actionList: Array<{
|
|
11
|
-
action: string;
|
|
12
|
-
path: string;
|
|
13
|
-
object: {
|
|
14
|
-
concept: string;
|
|
15
|
-
name: string;
|
|
16
|
-
};
|
|
17
|
-
}>): void;
|
|
18
|
-
exportExcel(): void;
|
|
19
|
-
};
|
|
20
|
-
export default stepRecorder;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.stepRecorder = void 0;
|
|
7
|
-
const format_1 = __importDefault(require("date-fns/format"));
|
|
8
|
-
exports.stepRecorder = {
|
|
9
|
-
count: 0,
|
|
10
|
-
initialized: false,
|
|
11
|
-
init() {
|
|
12
|
-
this.count = this.getKeys().length;
|
|
13
|
-
const div = document.createElement('div');
|
|
14
|
-
div.id = 'recorder';
|
|
15
|
-
div.style = 'position: fixed; top: -12px; right: 300px; z-index: 9999; background: #fffbd0; padding: 10px; border: 1px solid #ccc; border-radius: 5px;';
|
|
16
|
-
div.innerHTML = `<div><span style="color: red; font-size: 17px; vertical-align: -2px;">◉</span> 正在录制中…</div>
|
|
17
|
-
<div style="margin-top: -2px;">当前应用的操作步骤数:<span id="recorder-count">${this.count}</span></div>
|
|
18
|
-
<div style="margin-top: 4px;">
|
|
19
|
-
<button onclick="$data.nasl.stepRecorder.exportExcel()">下载数据</button>
|
|
20
|
-
</div>
|
|
21
|
-
`;
|
|
22
|
-
// <button onclick="$data.nasl.stepRecorder.clear()">清除数据</button>
|
|
23
|
-
document.body.appendChild(div);
|
|
24
|
-
const script = document.createElement('script');
|
|
25
|
-
script.src = 'https://cdnjs.cloudflare.com/ajax/libs/xlsx-populate/1.21.0/xlsx-populate.min.js';
|
|
26
|
-
document.body.appendChild(script);
|
|
27
|
-
this.initialized = true;
|
|
28
|
-
},
|
|
29
|
-
clear() {
|
|
30
|
-
// eslint-disable-next-line no-alert
|
|
31
|
-
const result = confirm('确定要清空所有当前应用的操作记录吗?');
|
|
32
|
-
if (result) {
|
|
33
|
-
this.getKeys().forEach((key) => localStorage.removeItem(key));
|
|
34
|
-
this.count = 0;
|
|
35
|
-
document.getElementById('recorder-count').innerText = String(this.count);
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
getAppName() {
|
|
39
|
-
return location.search.match(/appId=([^-]+)/)[1];
|
|
40
|
-
},
|
|
41
|
-
getKeys() {
|
|
42
|
-
return Object.keys(localStorage).filter((key) => key.startsWith(`录-${this.getAppName()}-`));
|
|
43
|
-
},
|
|
44
|
-
record(actionMsg, actionItem, actionList) {
|
|
45
|
-
try {
|
|
46
|
-
const actionItemDetail = actionList?.[0];
|
|
47
|
-
const timestamp = new Date().toJSON();
|
|
48
|
-
// eslint-disable-next-line function-paren-newline
|
|
49
|
-
localStorage.setItem(`录-${this.getAppName()}-${this.count + 1}`, JSON.stringify(
|
|
50
|
-
// {
|
|
51
|
-
// timestamp,
|
|
52
|
-
// message: actionMsg + (actionItem?.action ? ' ' + actionItem.action : ''),
|
|
53
|
-
// detail: {
|
|
54
|
-
// action: actionItemDetail?.action,
|
|
55
|
-
// path: actionItemDetail?.path,
|
|
56
|
-
// object: {
|
|
57
|
-
// concept: actionItemDetail?.object?.concept,
|
|
58
|
-
// name: actionItemDetail?.object?.name,
|
|
59
|
-
// }
|
|
60
|
-
// },
|
|
61
|
-
// }
|
|
62
|
-
[
|
|
63
|
-
timestamp,
|
|
64
|
-
actionMsg,
|
|
65
|
-
({ undo: '撤销', redo: '重做' })[actionItem?.action],
|
|
66
|
-
actionItemDetail?.action,
|
|
67
|
-
actionItemDetail?.path,
|
|
68
|
-
actionItemDetail?.object?.concept,
|
|
69
|
-
actionItemDetail?.object?.name,
|
|
70
|
-
]));
|
|
71
|
-
this.count++;
|
|
72
|
-
document.getElementById('recorder-count').innerText = String(this.count);
|
|
73
|
-
}
|
|
74
|
-
catch (e) {
|
|
75
|
-
console.log(e);
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
exportExcel() {
|
|
79
|
-
window.XlsxPopulate.fromBlankAsync()
|
|
80
|
-
.then((workbook) => {
|
|
81
|
-
const sheet = workbook.sheet(0);
|
|
82
|
-
const firstRowData = ['操作时间', '操作信息', '是否为撤销重做', '(详情)action', '(详情)path', '(详情)concept', '(详情)name'];
|
|
83
|
-
sheet.range(1, 1, 1, firstRowData.length).value([firstRowData]);
|
|
84
|
-
sheet.row(1).style({
|
|
85
|
-
bold: true,
|
|
86
|
-
fill: 'E1EAFF',
|
|
87
|
-
}).height(22);
|
|
88
|
-
[30, 30, 30, 14, 30, 18, 18].forEach((width, index) => sheet.column(index + 1).width(width));
|
|
89
|
-
this.getKeys().sort().forEach((key, index) => {
|
|
90
|
-
const item = JSON.parse(localStorage[key]);
|
|
91
|
-
item[0] = (0, format_1.default)(new Date(item[0]), 'yyyy-MM-dd HH:mm:ss');
|
|
92
|
-
sheet.range(index + 2, 1, index + 2, firstRowData.length).value([item]);
|
|
93
|
-
});
|
|
94
|
-
// Write to file.
|
|
95
|
-
return workbook.outputAsync()
|
|
96
|
-
.then((blob) => {
|
|
97
|
-
const url = window.URL.createObjectURL(blob);
|
|
98
|
-
const a = document.createElement('a');
|
|
99
|
-
document.body.appendChild(a);
|
|
100
|
-
a.href = url;
|
|
101
|
-
a.download = `操作步骤统计-${this.getAppName()}-${(0, format_1.default)(new Date(), 'yyyyMMddHHmmss')}.xlsx`;
|
|
102
|
-
a.click();
|
|
103
|
-
window.URL.revokeObjectURL(url);
|
|
104
|
-
document.body.removeChild(a);
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
},
|
|
108
|
-
};
|
|
109
|
-
exports.default = exports.stepRecorder;
|
|
110
|
-
//# sourceMappingURL=stepRecorder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stepRecorder.js","sourceRoot":"","sources":["../../../src/manager/stepRecorder.ts"],"names":[],"mappings":";;;;;;AAAA,6DAAqC;AAExB,QAAA,YAAY,GAAG;IACxB,KAAK,EAAE,CAAC;IACR,WAAW,EAAE,KAAK;IAClB,IAAI;QACA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC;QAEnC,MAAM,GAA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G,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;gBAC7C,MAAM,CAAC,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;gBACtC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;gBAC7B,CAAC,CAAC,IAAI,GAAG,GAAG,CAAC;gBACb,CAAC,CAAC,QAAQ,GAAG,UAAU,IAAI,CAAC,UAAU,EAAE,IAAI,IAAA,gBAAM,EAAC,IAAI,IAAI,EAAE,EAAE,gBAAgB,CAAC,OAAO,CAAC;gBACxF,CAAC,CAAC,KAAK,EAAE,CAAC;gBACV,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;gBAChC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YACjC,CAAC,CAAC,CAAC;QACX,CAAC,CAAC,CAAC;IACX,CAAC;CACJ,CAAC;AAEF,kBAAe,oBAAY,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export declare const CONSTRUCTOR_HOOK = "constructor";
|
|
2
|
-
export declare const BEFORE_HOOK = "before";
|
|
3
|
-
export declare const AFTER_HOOK = "after";
|
|
4
|
-
export declare const NASL_NODE = "nasl-node";
|
|
5
|
-
export declare const NASL_SERVER = "nasl-server";
|
|
6
|
-
export declare const TS_WORKER_MESSAGER = "ts-worker-messager";
|
|
7
|
-
export declare const getAxios: () => import("axios").AxiosStatic;
|
|
8
|
-
declare type ClassType = {
|
|
9
|
-
new (...args: any[]): any;
|
|
10
|
-
};
|
|
11
|
-
declare type Source = {
|
|
12
|
-
instance: any;
|
|
13
|
-
hook: string;
|
|
14
|
-
name: string;
|
|
15
|
-
params: any[];
|
|
16
|
-
result?: any;
|
|
17
|
-
};
|
|
18
|
-
declare type Listener = (source: Source) => Function | void;
|
|
19
|
-
declare type Monitor = (key: string) => <T extends ClassType>(SourceClass: T) => T;
|
|
20
|
-
export declare const removeListener: (key: string) => (listener: Listener) => void;
|
|
21
|
-
export declare const addListener: (key: string) => (listener: Listener, capture?: boolean) => () => void;
|
|
22
|
-
export declare const sentryMonitor: Monitor;
|
|
23
|
-
export declare const extendSentryMonitor: Monitor;
|
|
24
|
-
export declare const addListenerToNaslNode: (listener: Listener, capture?: boolean) => () => void;
|
|
25
|
-
export declare const addListenerToNaslServer: (listener: Listener, capture?: boolean) => () => void;
|
|
26
|
-
export declare const addListenerToTSWorkerMessager: (listener: Listener, capture?: boolean) => () => void;
|
|
27
|
-
export declare const sentryMonitorNaslNode: <T extends ClassType>(SourceClass: T) => T;
|
|
28
|
-
export declare const sentryMonitorNaslServer: <T extends ClassType>(SourceClass: T) => T;
|
|
29
|
-
export declare const sentryMonitorTSWorkerMessager: <T extends ClassType>(SourceClass: T) => T;
|
|
30
|
-
export declare const extendSentryMonitorNaslNode: <T extends ClassType>(SourceClass: T) => T;
|
|
31
|
-
export declare const extendSentryMonitorNaslServer: <T extends ClassType>(SourceClass: T) => T;
|
|
32
|
-
export declare const extendSentryMonitorTSWorkerMessager: <T extends ClassType>(SourceClass: T) => T;
|
|
33
|
-
export {};
|
package/out/src/sentry/index.js
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.extendSentryMonitorTSWorkerMessager = exports.extendSentryMonitorNaslServer = exports.extendSentryMonitorNaslNode = exports.sentryMonitorTSWorkerMessager = exports.sentryMonitorNaslServer = exports.sentryMonitorNaslNode = exports.addListenerToTSWorkerMessager = exports.addListenerToNaslServer = exports.addListenerToNaslNode = exports.extendSentryMonitor = exports.sentryMonitor = exports.addListener = exports.removeListener = exports.getAxios = exports.TS_WORKER_MESSAGER = exports.NASL_SERVER = exports.NASL_NODE = exports.AFTER_HOOK = exports.BEFORE_HOOK = exports.CONSTRUCTOR_HOOK = void 0;
|
|
7
|
-
const axios_1 = __importDefault(require("axios"));
|
|
8
|
-
exports.CONSTRUCTOR_HOOK = 'constructor';
|
|
9
|
-
exports.BEFORE_HOOK = 'before';
|
|
10
|
-
exports.AFTER_HOOK = 'after';
|
|
11
|
-
exports.NASL_NODE = 'nasl-node';
|
|
12
|
-
exports.NASL_SERVER = 'nasl-server';
|
|
13
|
-
exports.TS_WORKER_MESSAGER = 'ts-worker-messager';
|
|
14
|
-
const getAxios = () => axios_1.default;
|
|
15
|
-
exports.getAxios = getAxios;
|
|
16
|
-
const flag = '__monitor__';
|
|
17
|
-
const passthroughProperties = ['constructor', 'getClassName', 'getAncestor'];
|
|
18
|
-
const classStore = {};
|
|
19
|
-
const listenersStore = {};
|
|
20
|
-
const isPromise = (obj) => obj && typeof obj.then === 'function';
|
|
21
|
-
const isUsefulProperty = (SourceClass) => (property) => {
|
|
22
|
-
if (!SourceClass || !property) {
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
if (passthroughProperties.includes(property)) {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
if (typeof SourceClass.prototype[property] !== 'function') {
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
return !SourceClass.prototype[property][flag];
|
|
32
|
-
};
|
|
33
|
-
const removeListener = (key) => (listener) => {
|
|
34
|
-
listenersStore[key] = listenersStore[key] || [];
|
|
35
|
-
listenersStore[key] = listenersStore[key].filter((item) => item !== listener);
|
|
36
|
-
};
|
|
37
|
-
exports.removeListener = removeListener;
|
|
38
|
-
const addListener = (key) => (listener, capture = false) => {
|
|
39
|
-
listenersStore[key] = listenersStore[key] || [];
|
|
40
|
-
if (capture) {
|
|
41
|
-
listenersStore[key] = [listener, ...listenersStore[key]];
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
listenersStore[key] = listenersStore[key].concat(listener);
|
|
45
|
-
}
|
|
46
|
-
return () => (0, exports.removeListener)(key)(listener);
|
|
47
|
-
};
|
|
48
|
-
exports.addListener = addListener;
|
|
49
|
-
const fireListeners = (key) => (source) => {
|
|
50
|
-
const { [key]: listeners = [] } = listenersStore;
|
|
51
|
-
const effects = listeners.map((listener) => listener(source));
|
|
52
|
-
return () => effects.forEach((effect) => effect && effect());
|
|
53
|
-
};
|
|
54
|
-
const monitor = (key, SourceClass, TargetClass) => (name) => {
|
|
55
|
-
if (!TargetClass || !SourceClass) {
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
if (!key || !name) {
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
const { [name]: callback } = SourceClass.prototype;
|
|
62
|
-
TargetClass.prototype[name] = function (...params) {
|
|
63
|
-
const effect = fireListeners(key)({
|
|
64
|
-
hook: exports.BEFORE_HOOK,
|
|
65
|
-
instance: this,
|
|
66
|
-
name,
|
|
67
|
-
params,
|
|
68
|
-
});
|
|
69
|
-
const result = callback.apply(this, params);
|
|
70
|
-
if (isPromise(result)) {
|
|
71
|
-
return result.then((data) => {
|
|
72
|
-
fireListeners(key)({
|
|
73
|
-
hook: exports.AFTER_HOOK,
|
|
74
|
-
instance: this,
|
|
75
|
-
result: data,
|
|
76
|
-
params,
|
|
77
|
-
name,
|
|
78
|
-
});
|
|
79
|
-
effect && effect();
|
|
80
|
-
return data;
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
fireListeners(key)({
|
|
84
|
-
hook: exports.AFTER_HOOK,
|
|
85
|
-
instance: this,
|
|
86
|
-
name,
|
|
87
|
-
params,
|
|
88
|
-
result,
|
|
89
|
-
});
|
|
90
|
-
effect && effect();
|
|
91
|
-
return result;
|
|
92
|
-
};
|
|
93
|
-
TargetClass.prototype[name][flag] = true;
|
|
94
|
-
};
|
|
95
|
-
const sentryMonitor = (key) => (SourceClass) => {
|
|
96
|
-
if (!key || !SourceClass) {
|
|
97
|
-
return SourceClass;
|
|
98
|
-
}
|
|
99
|
-
class TargetClass extends SourceClass {
|
|
100
|
-
constructor(...params) {
|
|
101
|
-
super(...params);
|
|
102
|
-
fireListeners(key)({
|
|
103
|
-
hook: exports.CONSTRUCTOR_HOOK,
|
|
104
|
-
name: 'constructor',
|
|
105
|
-
instance: this,
|
|
106
|
-
result: this,
|
|
107
|
-
params,
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
const properties = Object.getOwnPropertyNames(SourceClass.prototype);
|
|
112
|
-
const names = properties.filter(isUsefulProperty(SourceClass));
|
|
113
|
-
classStore[key] = SourceClass;
|
|
114
|
-
names.forEach(monitor(key, SourceClass, TargetClass));
|
|
115
|
-
return TargetClass;
|
|
116
|
-
};
|
|
117
|
-
exports.sentryMonitor = sentryMonitor;
|
|
118
|
-
const extendSentryMonitor = (key) => (SourceClass) => {
|
|
119
|
-
if (!key || !SourceClass) {
|
|
120
|
-
return SourceClass;
|
|
121
|
-
}
|
|
122
|
-
const { [key]: TargetClass } = classStore;
|
|
123
|
-
if (!TargetClass) {
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
const properties = Object.getOwnPropertyNames(SourceClass.prototype);
|
|
127
|
-
const names = properties.filter(isUsefulProperty(SourceClass));
|
|
128
|
-
names.forEach(monitor(key, SourceClass, TargetClass));
|
|
129
|
-
return TargetClass;
|
|
130
|
-
};
|
|
131
|
-
exports.extendSentryMonitor = extendSentryMonitor;
|
|
132
|
-
exports.addListenerToNaslNode = (0, exports.addListener)(exports.NASL_NODE);
|
|
133
|
-
exports.addListenerToNaslServer = (0, exports.addListener)(exports.NASL_SERVER);
|
|
134
|
-
exports.addListenerToTSWorkerMessager = (0, exports.addListener)(exports.TS_WORKER_MESSAGER);
|
|
135
|
-
exports.sentryMonitorNaslNode = (0, exports.sentryMonitor)(exports.NASL_NODE);
|
|
136
|
-
exports.sentryMonitorNaslServer = (0, exports.sentryMonitor)(exports.NASL_SERVER);
|
|
137
|
-
exports.sentryMonitorTSWorkerMessager = (0, exports.sentryMonitor)(exports.TS_WORKER_MESSAGER);
|
|
138
|
-
exports.extendSentryMonitorNaslNode = (0, exports.extendSentryMonitor)(exports.NASL_NODE);
|
|
139
|
-
exports.extendSentryMonitorNaslServer = (0, exports.extendSentryMonitor)(exports.NASL_SERVER);
|
|
140
|
-
exports.extendSentryMonitorTSWorkerMessager = (0, exports.extendSentryMonitor)(exports.TS_WORKER_MESSAGER);
|
|
141
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sentry/index.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAEb,QAAA,gBAAgB,GAAG,aAAa,CAAC;AACjC,QAAA,WAAW,GAAG,QAAQ,CAAC;AACvB,QAAA,UAAU,GAAG,OAAO,CAAC;AAErB,QAAA,SAAS,GAAG,WAAW,CAAC;AACxB,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAEhD,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,eAAK,CAAC;AAAvB,QAAA,QAAQ,YAAe;AAgBpC,MAAM,IAAI,GAAG,aAAa,CAAC;AAC3B,MAAM,qBAAqB,GAAG,CAAC,aAAa,EAAE,cAAc,EAAE,aAAa,CAAC,CAAC;AAE7E,MAAM,UAAU,GAAgC,EAAE,CAAC;AACnD,MAAM,cAAc,GAAiC,EAAE,CAAC;AAExD,MAAM,SAAS,GAAG,CAAC,GAAQ,EAAE,EAAE,CAAC,GAAG,IAAI,OAAO,GAAG,CAAC,IAAI,KAAK,UAAU,CAAC;AACtE,MAAM,gBAAgB,GAAG,CAAC,WAAsB,EAAE,EAAE,CAAC,CAAC,QAAgB,EAAE,EAAE;IACtE,IAAI,CAAC,WAAW,IAAI,CAAC,QAAQ,EAAE;QAC3B,OAAO;KACV;IAED,IAAI,qBAAqB,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAA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
|
3
|
-
[componentTagEventName: string]: any;
|
|
4
|
-
};
|
|
5
|
-
export declare function getAllComponentEventMap(allComponent: any): {
|
|
6
|
-
[componentTagEventName: string]: any;
|
|
7
|
-
};
|
|
8
|
-
export default function formatUiTs(allComponent: any): {
|
|
9
|
-
code: string;
|
|
10
|
-
elementsLogic: {
|
|
11
|
-
[componentName: string]: Logic[];
|
|
12
|
-
};
|
|
13
|
-
elementsEventsMap: {
|
|
14
|
-
[componentTagEventName: string]: any;
|
|
15
|
-
};
|
|
16
|
-
};
|