@lcap/nasl 3.8.3-beta.1 → 3.8.3-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/.nyc_output/943352aa-23df-44e0-863b-3dcd3e8bf57a.json +1 -0
- package/.nyc_output/processinfo/943352aa-23df-44e0-863b-3dcd3e8bf57a.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/coverage/cobertura-coverage.xml +66121 -10220
- package/coverage/index.html +50 -395
- package/coverage/src/automate/engine/index.html +19 -19
- package/coverage/src/automate/engine/utils.js.html +101 -101
- package/coverage/src/bak/index.html +19 -19
- package/coverage/src/bak/translator.js.html +96 -141
- package/coverage/src/breakpoint/generator/AfterStartNode.ts.html +13 -13
- package/coverage/src/breakpoint/generator/BeforeEndNode.ts.html +13 -13
- package/coverage/src/breakpoint/generator/BreakpointNode.ts.html +29 -29
- package/coverage/src/breakpoint/generator/CallbackNode.ts.html +10 -10
- package/coverage/src/breakpoint/generator/index.html +47 -47
- package/coverage/src/breakpoint/generator/index.ts.html +20 -20
- package/coverage/src/breakpoint/index.html +7 -7
- package/coverage/src/breakpoint/index.ts.html +6 -6
- package/coverage/src/breakpoint/shared/constants.ts.html +7 -7
- package/coverage/src/breakpoint/shared/index.html +45 -45
- package/coverage/src/breakpoint/shared/index.ts.html +5 -5
- package/coverage/src/breakpoint/shared/operations.ts.html +15 -15
- package/coverage/src/breakpoint/shared/socket.ts.html +85 -85
- package/coverage/src/breakpoint/shared/utils.ts.html +49 -49
- package/coverage/src/breakpoint/store/core.ts.html +100 -100
- package/coverage/src/breakpoint/store/dock.ts.html +46 -46
- package/coverage/src/breakpoint/store/index.html +33 -33
- package/coverage/src/breakpoint/store/index.ts.html +7 -7
- package/coverage/src/common/BaseNode.ts.html +350 -1187
- package/coverage/src/common/Command.ts.html +20 -20
- package/coverage/src/common/EventEmitter.ts.html +31 -49
- package/coverage/src/common/Messager.ts.html +28 -28
- package/coverage/src/common/asyncFuncMap.ts.html +7 -7
- package/coverage/src/common/index.html +55 -70
- package/coverage/src/common/index.ts.html +8 -11
- package/coverage/src/concepts/Abort__.ts.html +20 -56
- package/coverage/src/concepts/Anchor__.ts.html +51 -117
- package/coverage/src/concepts/AnonymousFunction__.ts.html +232 -343
- package/coverage/src/concepts/App__.ts.html +1283 -2681
- package/coverage/src/concepts/Argument__.ts.html +135 -135
- package/coverage/src/concepts/Assignee__.ts.html +91 -250
- package/coverage/src/concepts/AssignmentLine__.ts.html +28 -88
- package/coverage/src/concepts/Assignment__.ts.html +110 -206
- package/coverage/src/concepts/Attribute__.ts.html +50 -239
- package/coverage/src/concepts/AuthInterface__.ts.html +32 -26
- package/coverage/src/concepts/AuthLogicForCallInterface__.ts.html +188 -203
- package/coverage/src/concepts/AuthLogic__.ts.html +28 -43
- package/coverage/src/concepts/BackendVariable__.ts.html +132 -438
- package/coverage/src/concepts/Backend__.ts.html +57 -156
- package/coverage/src/concepts/BatchAssignment__.ts.html +270 -420
- package/coverage/src/concepts/BinaryExpression__.ts.html +158 -266
- package/coverage/src/concepts/BindAttribute__.ts.html +204 -399
- package/coverage/src/concepts/BindDirective__.ts.html +73 -217
- package/coverage/src/concepts/BindEvent__.ts.html +161 -293
- package/coverage/src/concepts/BindStyle__.ts.html +58 -139
- package/coverage/src/concepts/BooleanLiteral__.ts.html +33 -63
- package/coverage/src/concepts/CallAuthInterface__.ts.html +95 -236
- package/coverage/src/concepts/CallConnector__.ts.html +69 -108
- package/coverage/src/concepts/CallFunction__.ts.html +234 -399
- package/coverage/src/concepts/CallInterface__.ts.html +145 -241
- package/coverage/src/concepts/CallLogic__.ts.html +525 -633
- package/coverage/src/concepts/CallQueryComponent__.ts.html +232 -385
- package/coverage/src/concepts/Comment__.ts.html +27 -63
- package/coverage/src/concepts/CompletionProperty__.ts.html +51 -72
- package/coverage/src/concepts/ConfigGroup__.ts.html +51 -99
- package/coverage/src/concepts/ConfigPropertyValue__.ts.html +34 -40
- package/coverage/src/concepts/ConfigProperty__.ts.html +78 -150
- package/coverage/src/concepts/Configuration__.ts.html +48 -99
- package/coverage/src/concepts/Connection__.ts.html +64 -154
- package/coverage/src/concepts/ConnectorTrigger__.ts.html +32 -35
- package/coverage/src/concepts/Connector__.ts.html +228 -3117
- package/coverage/src/concepts/Constant__.ts.html +74 -374
- package/coverage/src/concepts/DataSource__.ts.html +104 -173
- package/coverage/src/concepts/DatabaseTypeAnnotation__.ts.html +21 -27
- package/coverage/src/concepts/Destination__.ts.html +121 -190
- package/coverage/src/concepts/End__.ts.html +40 -76
- package/coverage/src/concepts/EntityIndex__.ts.html +44 -80
- package/coverage/src/concepts/EntityProperty__.ts.html +158 -440
- package/coverage/src/concepts/Entity__.ts.html +161 -326
- package/coverage/src/concepts/EnumItem__.ts.html +33 -66
- package/coverage/src/concepts/Enum__.ts.html +64 -139
- package/coverage/src/concepts/Event__.ts.html +51 -87
- package/coverage/src/concepts/ExternalDestination__.ts.html +60 -126
- package/coverage/src/concepts/ForEachStatement__.ts.html +152 -239
- package/coverage/src/concepts/FrontendLibrary__.ts.html +69 -153
- package/coverage/src/concepts/FrontendVariable__.ts.html +19 -76
- package/coverage/src/concepts/Frontend__.ts.html +161 -884
- package/coverage/src/concepts/Function__.ts.html +171 -396
- package/coverage/src/concepts/Identifier__.ts.html +100 -130
- package/coverage/src/concepts/IfStatement__.ts.html +110 -209
- package/coverage/src/concepts/Integration__.ts.html +57 -132
- package/coverage/src/concepts/InterfaceParam__.ts.html +76 -310
- package/coverage/src/concepts/Interface__.ts.html +183 -324
- package/coverage/src/concepts/JSBlock__.ts.html +26 -59
- package/coverage/src/concepts/JavaLogic__.ts.html +28 -58
- package/coverage/src/concepts/LogicItem__.ts.html +73 -151
- package/coverage/src/concepts/Logic__.ts.html +509 -965
- package/coverage/src/concepts/MatchCase__.ts.html +158 -281
- package/coverage/src/concepts/Match__.ts.html +121 -280
- package/coverage/src/concepts/MemberExpression__.ts.html +172 -256
- package/coverage/src/concepts/MicroApp__.ts.html +34 -25
- package/coverage/src/concepts/Module__.ts.html +1270 -1375
- package/coverage/src/concepts/MsgTriggerEvent__.ts.html +46 -94
- package/coverage/src/concepts/MsgTriggerLauncher__.ts.html +48 -93
- package/coverage/src/concepts/Namespace__.ts.html +630 -1251
- package/coverage/src/concepts/NewComposite__.ts.html +341 -557
- package/coverage/src/concepts/NewList__.ts.html +111 -291
- package/coverage/src/concepts/NewMap__.ts.html +128 -332
- package/coverage/src/concepts/New__.ts.html +21 -57
- package/coverage/src/concepts/NullLiteral__.ts.html +23 -56
- package/coverage/src/concepts/NumericLiteral__.ts.html +51 -114
- package/coverage/src/concepts/OqlQueryComponent__.ts.html +76 -211
- package/coverage/src/concepts/OverriddenLogic__.ts.html +394 -643
- package/coverage/src/concepts/Param__.ts.html +174 -315
- package/coverage/src/concepts/Point__.ts.html +21 -27
- package/coverage/src/concepts/ProcessComponent__.ts.html +67 -145
- package/coverage/src/concepts/ProcessElement__.ts.html +281 -854
- package/coverage/src/concepts/ProcessOutcome__.ts.html +25 -100
- package/coverage/src/concepts/ProcessOutcomes__.ts.html +26 -113
- package/coverage/src/concepts/Process__.ts.html +201 -552
- package/coverage/src/concepts/QueryAggregateExpression__.ts.html +35 -89
- package/coverage/src/concepts/QueryFieldExpression__.ts.html +35 -62
- package/coverage/src/concepts/QueryFromExpression__.ts.html +47 -119
- package/coverage/src/concepts/QueryGroupByExpression__.ts.html +37 -97
- package/coverage/src/concepts/QueryJoinExpression__.ts.html +69 -153
- package/coverage/src/concepts/QueryLimitExpression__.ts.html +36 -105
- package/coverage/src/concepts/QueryOrderByExpression__.ts.html +36 -108
- package/coverage/src/concepts/QuerySelectExpression__.ts.html +50 -101
- package/coverage/src/concepts/Rect__.ts.html +25 -25
- package/coverage/src/concepts/Return__.ts.html +131 -368
- package/coverage/src/concepts/Role__.ts.html +37 -67
- package/coverage/src/concepts/SelectMembers__.ts.html +57 -141
- package/coverage/src/concepts/Slot__.ts.html +40 -64
- package/coverage/src/concepts/SqlQueryComponent__.ts.html +62 -122
- package/coverage/src/concepts/Start__.ts.html +25 -58
- package/coverage/src/concepts/StringInterpolation__.ts.html +77 -185
- package/coverage/src/concepts/StringLiteral__.ts.html +47 -158
- package/coverage/src/concepts/StructureProperty__.ts.html +78 -306
- package/coverage/src/concepts/Structure__.ts.html +90 -285
- package/coverage/src/concepts/SwitchCase__.ts.html +66 -141
- package/coverage/src/concepts/SwitchStatement__.ts.html +58 -136
- package/coverage/src/concepts/Theme__.ts.html +24 -36
- package/coverage/src/concepts/Transactional__.ts.html +33 -36
- package/coverage/src/concepts/TriggerEvent__.ts.html +480 -63
- package/coverage/src/concepts/TriggerLauncher__.ts.html +43 -73
- package/coverage/src/concepts/TypeAnnotation__.ts.html +231 -564
- package/coverage/src/concepts/TypeParam__.ts.html +23 -59
- package/coverage/src/concepts/UnaryExpression__.ts.html +47 -131
- package/coverage/src/concepts/Unparsed__.ts.html +29 -59
- package/coverage/src/concepts/UseComponent__.ts.html +21 -27
- package/coverage/src/concepts/ValidationRule__.ts.html +96 -234
- package/coverage/src/concepts/Variable__.ts.html +132 -456
- package/coverage/src/concepts/ViewBlock__.ts.html +23 -26
- package/coverage/src/concepts/ViewComponent__.ts.html +157 -394
- package/coverage/src/concepts/ViewElement__.ts.html +514 -910
- package/coverage/src/concepts/View__.ts.html +425 -1271
- package/coverage/src/concepts/WhileStatement__.ts.html +79 -175
- package/coverage/src/concepts/basics/stdlib/index.html +85 -85
- package/coverage/src/concepts/basics/stdlib/index.ts.html +29 -167
- package/coverage/src/concepts/basics/stdlib/nasl.auth.ts.html +152 -206
- package/coverage/src/concepts/basics/stdlib/nasl.browser.ts.html +139 -172
- package/coverage/src/concepts/basics/stdlib/nasl.collection.ts.html +47 -92
- package/coverage/src/concepts/basics/stdlib/nasl.configuration.ts.html +31 -130
- package/coverage/src/concepts/basics/stdlib/nasl.core.ts.html +43 -61
- package/coverage/src/concepts/basics/stdlib/nasl.event.ts.html +23 -53
- package/coverage/src/concepts/basics/stdlib/nasl.http.ts.html +167 -203
- package/coverage/src/concepts/basics/stdlib/nasl.interface.ts.html +45 -78
- package/coverage/src/concepts/basics/stdlib/nasl.io.ts.html +51 -81
- package/coverage/src/concepts/basics/stdlib/nasl.logging.ts.html +66 -69
- package/coverage/src/concepts/basics/stdlib/nasl.process.ts.html +606 -654
- package/coverage/src/concepts/basics/stdlib/nasl.ui.ts.html +993 -1050
- package/coverage/src/concepts/basics/stdlib/nasl.util.ts.html +2131 -2236
- package/coverage/src/concepts/basics/stdlib/nasl.validation.ts.html +563 -596
- package/coverage/src/concepts/basics/stdlib/reference2TypeAnnotationList.ts.html +40 -28
- package/coverage/src/concepts/basics/stdlib/timeZone.ts.html +9 -9
- package/coverage/src/concepts/basics/types/coreTypeList.ts.html +7 -7
- package/coverage/src/concepts/basics/types/index.html +16 -16
- package/coverage/src/concepts/basics/types/index.ts.html +18 -18
- package/coverage/src/concepts/index.html +1215 -1365
- package/coverage/src/concepts/index.ts.html +7 -31
- package/coverage/src/concepts/index__.ts.html +8 -38
- package/coverage/src/config.ts.html +20 -2
- package/coverage/src/decorators/index.html +32 -32
- package/coverage/src/decorators/index.ts.html +93 -108
- package/coverage/src/decorators/promise.ts.html +26 -26
- package/coverage/src/eventBus.ts.html +7 -7
- package/coverage/src/generator/compileComponent.ts.html +10 -10
- package/coverage/src/generator/genBundleFiles.ts.html +45 -273
- package/coverage/src/generator/genHash.ts.html +8 -8
- package/coverage/src/generator/genMetaData.ts.html +49 -280
- package/coverage/src/generator/genReleaseBody.ts.html +98 -113
- package/coverage/src/generator/icestark.ts.html +8 -14
- package/coverage/src/generator/index.html +87 -87
- package/coverage/src/generator/index.ts.html +6 -6
- package/coverage/src/generator/microApp.ts.html +10 -10
- package/coverage/src/generator/permission.ts.html +80 -152
- package/coverage/src/generator/qiankun.ts.html +7 -13
- package/coverage/src/generator/styleReplacer.ts.html +17 -17
- package/coverage/src/index.html +10 -40
- package/coverage/src/index.ts.html +12 -15
- package/coverage/src/manager/diagnostic.ts.html +31 -28
- package/coverage/src/manager/index.html +27 -27
- package/coverage/src/manager/stepRecorder.ts.html +17 -17
- package/coverage/src/natural/genNaturalTS.ts.html +30 -30
- package/coverage/src/natural/index.html +41 -41
- package/coverage/src/natural/index.ts.html +6 -6
- package/coverage/src/natural/naslStdlibMap.ts.html +10 -10
- package/coverage/src/natural/transformTSCode.ts.html +137 -197
- package/coverage/src/sentry/index.html +19 -19
- package/coverage/src/sentry/index.ts.html +43 -49
- package/coverage/src/server/createUiTs.ts.html +37 -46
- package/coverage/src/server/entity2LogicNamespace.ts.html +21 -21
- package/coverage/src/server/event.js.html +7 -7
- package/coverage/src/server/extendBaseNode.ts.html +90 -132
- package/coverage/src/server/formatTsUtils.ts.html +105 -108
- package/coverage/src/server/getConnector.ts.html +24 -96
- package/coverage/src/server/getExtensionModules.ts.html +14 -14
- package/coverage/src/server/getFunctions.ts.html +15 -15
- package/coverage/src/server/getInterfaces.ts.html +18 -18
- package/coverage/src/server/getLogging.ts.html +11 -11
- package/coverage/src/server/getLogics.ts.html +74 -122
- package/coverage/src/server/getMemberIdentifier.ts.html +163 -358
- package/coverage/src/server/getProcessComponents.ts.html +13 -13
- package/coverage/src/server/getProcesses.ts.html +86 -236
- package/coverage/src/server/getValidates.ts.html +14 -17
- package/coverage/src/server/index.html +181 -181
- package/coverage/src/server/index.ts.html +8 -11
- package/coverage/src/server/naslServer.ts.html +1270 -1933
- package/coverage/src/server/naslStdlibMap.ts.html +10 -10
- package/coverage/src/server/process2LogicNamespace.ts.html +20 -20
- package/coverage/src/server/translator.ts.html +89 -134
- package/coverage/src/service/creator/add.configs.js.html +17 -35
- package/coverage/src/service/creator/errHandles.js.html +45 -36
- package/coverage/src/service/creator/index.html +35 -35
- package/coverage/src/service/creator/index.js.html +14 -14
- package/coverage/src/service/datasource/api.js.html +7 -7
- package/coverage/src/service/datasource/index.html +12 -12
- package/coverage/src/service/datasource/index.js.html +5 -5
- package/coverage/src/service/logic/api.js.html +7 -7
- package/coverage/src/service/logic/index.html +12 -12
- package/coverage/src/service/logic/index.js.html +5 -5
- package/coverage/src/service/storage/api.js.html +7 -7
- package/coverage/src/service/storage/index.html +56 -56
- package/coverage/src/service/storage/index.ts.html +5 -5
- package/coverage/src/service/storage/init.ts.html +624 -1758
- package/coverage/src/service/storage/jsoner.ts.html +23 -86
- package/coverage/src/service/storage/map.ts.html +21 -21
- package/coverage/src/service/storage/service.ts.html +14 -14
- package/coverage/src/service/storage/storagePoint.ts.html +9 -9
- package/coverage/src/templator/genCallComponentLogic.ts.html +12 -12
- package/coverage/src/templator/genCreateBlock.ts.html +94 -154
- package/coverage/src/templator/genCurdEditMultipleKeyBlock.ts.html +90 -90
- package/coverage/src/templator/genCurdMultipleKeyBlock.ts.html +150 -132
- package/coverage/src/templator/genEditTableBlock.ts.html +41 -104
- package/coverage/src/templator/genEnumSelectBlock.ts.html +12 -93
- package/coverage/src/templator/genGetBlock.ts.html +18 -18
- package/coverage/src/templator/genGridViewBlock.ts.html +35 -35
- package/coverage/src/templator/genListViewBlock.ts.html +15 -15
- package/coverage/src/templator/genQueryComponent.ts.html +35 -35
- package/coverage/src/templator/genSelectBlock.ts.html +20 -101
- package/coverage/src/templator/genTableBlock.ts.html +33 -96
- package/coverage/src/templator/genUpdateBlock.ts.html +78 -162
- package/coverage/src/templator/index.html +147 -147
- package/coverage/src/templator/index.ts.html +12 -12
- package/coverage/src/templator/utils.ts.html +32 -95
- package/coverage/src/translator/constant.ts.html +7 -7
- package/coverage/src/translator/index.html +28 -43
- package/coverage/src/translator/index.ts.html +6 -6
- package/coverage/src/translator/utils.ts.html +71 -452
- package/coverage/src/utils/cookie.ts.html +19 -19
- package/coverage/src/utils/env.ts.html +2 -2
- package/coverage/src/utils/index.html +37 -82
- package/coverage/src/utils/index.ts.html +798 -66
- package/coverage/src/utils/logger.ts.html +1 -1
- package/coverage/src/utils/sortTsString.ts.html +18 -33
- package/coverage/src/utils/string.ts.html +50 -8
- package/coverage/src/utils/time-slicing/controller.ts.html +8 -8
- package/coverage/src/utils/time-slicing/index.html +64 -79
- package/coverage/src/utils/time-slicing/index.ts.html +8 -8
- package/coverage/src/utils/time-slicing/page-state.ts.html +1 -1
- package/coverage/src/utils/time-slicing/performance.ts.html +4 -4
- package/coverage/src/utils/time-slicing/runner.ts.html +51 -51
- package/coverage/src/utils/time-slicing/tool.ts.html +29 -29
- package/coverage/src/utils/time-slicing/utils.ts.html +16 -16
- package/coverage/src/utils/time-slicing/wrapper.ts.html +50 -50
- package/coverage/src/utils/time-slicing.ts.html +1 -1
- package/coverage/src/utils/traverse.ts.html +27 -27
- package/coverage/src/utils/types.ts.html +1 -1
- package/coverage/src/utils/window.ts.html +1 -1
- package/out/common/BaseNode.d.ts +9 -4
- package/out/common/BaseNode.js +43 -10
- package/out/common/BaseNode.js.map +1 -1
- package/out/concepts/AuthLogicForCallInterface__.js +2 -50
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -1
- package/out/concepts/BusinessComponent__.js +2 -42
- package/out/concepts/BusinessComponent__.js.map +1 -1
- package/out/concepts/BusinessLogic__.js +2 -50
- package/out/concepts/BusinessLogic__.js.map +1 -1
- package/out/concepts/CallFunction__.d.ts +1 -1
- package/out/concepts/CallFunction__.js +1 -1
- package/out/concepts/Identifier__.d.ts +2 -0
- package/out/concepts/Identifier__.js +51 -5
- package/out/concepts/Identifier__.js.map +1 -1
- package/out/concepts/Logic__.js +6 -101
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MemberExpression__.d.ts +1 -1
- package/out/concepts/MemberExpression__.js +15 -3
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/OverriddenLogic__.js +2 -50
- package/out/concepts/OverriddenLogic__.js.map +1 -1
- package/out/concepts/ProcessElementV2__.js +4 -0
- package/out/concepts/ProcessElementV2__.js.map +1 -1
- package/out/concepts/ProcessElement__.js +4 -0
- package/out/concepts/ProcessElement__.js.map +1 -1
- package/out/concepts/ProcessV2__.js +4 -0
- package/out/concepts/ProcessV2__.js.map +1 -1
- package/out/concepts/Process__.js +4 -0
- package/out/concepts/Process__.js.map +1 -1
- package/out/concepts/SubLogic__.js +5 -50
- package/out/concepts/SubLogic__.js.map +1 -1
- package/out/concepts/View__.js +10 -49
- package/out/concepts/View__.js.map +1 -1
- package/out/natural/transformTS2UI.js +3 -3
- package/out/natural/transformTS2UI.js.map +1 -1
- package/out/natural/transforms/transform2LogicItem.js +3 -3
- package/out/natural/transforms/transform2LogicItem.js.map +1 -1
- package/out/server/naslServer.js +17 -2
- package/out/server/naslServer.js.map +1 -1
- package/out/server/semanticData.d.ts +32 -0
- package/out/server/semanticData.js +371 -0
- package/out/server/semanticData.js.map +1 -0
- package/out/templator/block2nasl/viewMergeBlock.js +2 -1
- package/out/templator/block2nasl/viewMergeBlock.js.map +1 -1
- package/package.json +1 -1
- package/src/common/BaseNode.ts +50 -8
- package/src/concepts/AuthLogicForCallInterface__.ts +3 -56
- package/src/concepts/BusinessComponent__.ts +6 -51
- package/src/concepts/BusinessLogic__.ts +4 -56
- package/src/concepts/CallFunction__.ts +1 -1
- package/src/concepts/Identifier__.ts +57 -6
- package/src/concepts/Logic__.ts +9 -111
- package/src/concepts/MemberExpression__.ts +21 -7
- package/src/concepts/OverriddenLogic__.ts +4 -56
- package/src/concepts/ProcessElementV2__.ts +4 -0
- package/src/concepts/ProcessElement__.ts +4 -0
- package/src/concepts/ProcessV2__.ts +5 -0
- package/src/concepts/Process__.ts +4 -0
- package/src/concepts/SubLogic__.ts +6 -56
- package/src/concepts/View__.ts +14 -54
- package/src/natural/transformTS2UI.ts +7 -7
- package/src/natural/transforms/transform2LogicItem.ts +3 -3
- package/src/server/naslServer.ts +22 -2
- package/src/server/semanticData.ts +447 -0
- package/src/templator/block2nasl/viewMergeBlock.ts +2 -1
- package/src/translator/utils.ts +1 -1
- package/test/concepts/logic/__snapshots__/toEmbeddedTS.spec.ts.snap +182 -0
- package/test/concepts/logic/constant.ts +5 -0
- package/test/concepts/logic/fixtures/variable-host-call-logic-member-expression.json +267 -0
- package/test/concepts/logic/fixtures/variable-host-call-logic-nested-member-expression copy.json +457 -0
- package/test/concepts/logic/fixtures/variable-host-call-logic-with-handle-error-member-expression.json +267 -0
- package/test/concepts/logic/toEmbeddedTS.spec.ts +15 -0
- package/.nyc_output/fe4ca6db-1eb6-4898-8aa5-ba8f8d4128f2.json +0 -1
- package/.nyc_output/processinfo/fe4ca6db-1eb6-4898-8aa5-ba8f8d4128f2.json +0 -1
- package/coverage/src/common/utils.ts.html +0 -136
- package/coverage/src/concepts/AbstractInterface__.ts.html +0 -277
- package/coverage/src/concepts/Block__.ts.html +0 -907
- package/coverage/src/concepts/CountersignPolicy__.ts.html +0 -319
- package/coverage/src/concepts/DefaultValue__.ts.html +0 -1024
- package/coverage/src/concepts/I18nInfo__.ts.html +0 -424
- package/coverage/src/concepts/ImportedInterface__.ts.html +0 -262
- package/coverage/src/concepts/MetadataType__.ts.html +0 -2035
- package/coverage/src/concepts/MultiApprovalPolicy__.ts.html +0 -301
- package/coverage/src/concepts/SequentialPolicy__.ts.html +0 -265
- package/coverage/src/concepts/StaticString__.ts.html +0 -397
- package/coverage/src/concepts/basics/constants.ts.html +0 -88
- package/coverage/src/concepts/basics/index.html +0 -116
- package/coverage/src/concepts/utils/asserts.ts.html +0 -28675
- package/coverage/src/concepts/utils/index.html +0 -131
- package/coverage/src/concepts/utils/types.ts.html +0 -2092
- package/coverage/src/translator/types.ts.html +0 -256
- package/coverage/src/utils/i18nInfo.ts.html +0 -166
- package/coverage/src/utils/time-slicing/constant.ts.html +0 -196
- package/dist/README.md +0 -97
- package/dist/index.d.ts +0 -26
- package/dist/index.js +0 -397
- package/dist/index.js.map +0 -1
- package/dist/package.json +0 -91
- package/dist/src/automate/engine/index.d.ts +0 -4
- package/dist/src/automate/engine/operators.d.ts +0 -26
- package/dist/src/automate/engine/uniqueName.d.ts +0 -12
- package/dist/src/automate/engine/utils.d.ts +0 -25
- package/dist/src/automate/engine/viewCache.d.ts +0 -19
- package/dist/src/automate/template/myProcess.d.ts +0 -10
- package/dist/src/automate/upgrader/2.12.d.ts +0 -7
- package/dist/src/automate/upgrader/2.14-components.d.ts +0 -1115
- package/dist/src/automate/upgrader/2.14.d.ts +0 -10
- package/dist/src/automate/upgrader/2.14.old.d.ts +0 -1
- package/dist/src/automate/upgrader/2.16.d.ts +0 -10
- package/dist/src/automate/upgrader/2.17.d.ts +0 -21
- package/dist/src/automate/upgrader/2.18.d.ts +0 -10
- package/dist/src/automate/upgrader/2.20.d.ts +0 -17
- package/dist/src/bak/translator.d.ts +0 -1
- package/dist/src/breakpoint/generator/AfterStartNode.d.ts +0 -7
- package/dist/src/breakpoint/generator/BeforeEndNode.d.ts +0 -7
- package/dist/src/breakpoint/generator/BreakpointNode.d.ts +0 -20
- package/dist/src/breakpoint/generator/CallbackNode.d.ts +0 -4
- package/dist/src/breakpoint/generator/FragmentNode.d.ts +0 -4
- package/dist/src/breakpoint/generator/index.d.ts +0 -4
- package/dist/src/breakpoint/index.d.ts +0 -3
- package/dist/src/breakpoint/shared/constants.d.ts +0 -37
- package/dist/src/breakpoint/shared/index.d.ts +0 -3
- package/dist/src/breakpoint/shared/operations.d.ts +0 -10
- package/dist/src/breakpoint/shared/socket.d.ts +0 -48
- package/dist/src/breakpoint/shared/utils.d.ts +0 -27
- package/dist/src/breakpoint/store/core.d.ts +0 -80
- package/dist/src/breakpoint/store/dock.d.ts +0 -1
- package/dist/src/breakpoint/store/index.d.ts +0 -2
- package/dist/src/common/BaseNode.d.ts +0 -384
- package/dist/src/common/Command.d.ts +0 -21
- package/dist/src/common/ComponentAPI.d.ts +0 -112
- package/dist/src/common/EventEmitter.d.ts +0 -61
- package/dist/src/common/Messager.d.ts +0 -91
- package/dist/src/common/asyncFuncMap.d.ts +0 -2
- package/dist/src/common/index.d.ts +0 -4
- package/dist/src/common/utils.d.ts +0 -2
- package/dist/src/concepts/Abort__.d.ts +0 -31
- package/dist/src/concepts/AbstractInterface__.d.ts +0 -25
- package/dist/src/concepts/Anchor__.d.ts +0 -42
- package/dist/src/concepts/AnonymousFunction__.d.ts +0 -144
- package/dist/src/concepts/App__.d.ts +0 -1711
- package/dist/src/concepts/Argument__.d.ts +0 -64
- package/dist/src/concepts/Assignee__.d.ts +0 -294
- package/dist/src/concepts/AssignmentLine__.d.ts +0 -43
- package/dist/src/concepts/Assignment__.d.ts +0 -57
- package/dist/src/concepts/Attribute__.d.ts +0 -75
- package/dist/src/concepts/AuthInterface__.d.ts +0 -38
- package/dist/src/concepts/AuthLogicForCallInterface__.d.ts +0 -145
- package/dist/src/concepts/AuthLogic__.d.ts +0 -69
- package/dist/src/concepts/BackendVariable__.d.ts +0 -118
- package/dist/src/concepts/Backend__.d.ts +0 -127
- package/dist/src/concepts/BaseSetter__.d.ts +0 -25
- package/dist/src/concepts/BatchAssignment__.d.ts +0 -244
- package/dist/src/concepts/BinaryExpression__.d.ts +0 -61
- package/dist/src/concepts/BindAttribute__.d.ts +0 -284
- package/dist/src/concepts/BindDirective__.d.ts +0 -156
- package/dist/src/concepts/BindEvent__.d.ts +0 -246
- package/dist/src/concepts/BindStyle__.d.ts +0 -127
- package/dist/src/concepts/Block__.d.ts +0 -88
- package/dist/src/concepts/BooleanLiteral__.d.ts +0 -44
- package/dist/src/concepts/BusinessComponent__.d.ts +0 -640
- package/dist/src/concepts/BusinessLogic__.d.ts +0 -44
- package/dist/src/concepts/CallAuthInterface__.d.ts +0 -132
- package/dist/src/concepts/CallConnector__.d.ts +0 -55
- package/dist/src/concepts/CallEvent__.d.ts +0 -100
- package/dist/src/concepts/CallFunction__.d.ts +0 -171
- package/dist/src/concepts/CallInterface__.d.ts +0 -143
- package/dist/src/concepts/CallLogic__.d.ts +0 -224
- package/dist/src/concepts/CallQueryComponent__.d.ts +0 -383
- package/dist/src/concepts/CapsulesSetter__.d.ts +0 -109
- package/dist/src/concepts/Comment__.d.ts +0 -41
- package/dist/src/concepts/CompletionProperty__.d.ts +0 -87
- package/dist/src/concepts/ConfigGroup__.d.ts +0 -121
- package/dist/src/concepts/ConfigPropertyValue__.d.ts +0 -42
- package/dist/src/concepts/ConfigProperty__.d.ts +0 -147
- package/dist/src/concepts/Configuration__.d.ts +0 -120
- package/dist/src/concepts/Connection__.d.ts +0 -159
- package/dist/src/concepts/ConnectorLogic__.d.ts +0 -33
- package/dist/src/concepts/ConnectorTriggerLauncher__.d.ts +0 -44
- package/dist/src/concepts/ConnectorTrigger__.d.ts +0 -76
- package/dist/src/concepts/Connector__.d.ts +0 -532
- package/dist/src/concepts/Constant__.d.ts +0 -94
- package/dist/src/concepts/CountersignPolicy__.d.ts +0 -29
- package/dist/src/concepts/DataSource__.d.ts +0 -163
- package/dist/src/concepts/DatabaseTypeAnnotation__.d.ts +0 -35
- package/dist/src/concepts/DefaultValue__.d.ts +0 -94
- package/dist/src/concepts/Destination__.d.ts +0 -150
- package/dist/src/concepts/End__.d.ts +0 -30
- package/dist/src/concepts/EntityIndex__.d.ts +0 -93
- package/dist/src/concepts/EntityProperty__.d.ts +0 -255
- package/dist/src/concepts/Entity__.d.ts +0 -332
- package/dist/src/concepts/EnumItem__.d.ts +0 -83
- package/dist/src/concepts/EnumSelectSetter__.d.ts +0 -109
- package/dist/src/concepts/Enum__.d.ts +0 -133
- package/dist/src/concepts/EventDeclaration__.d.ts +0 -41
- package/dist/src/concepts/Event__.d.ts +0 -149
- package/dist/src/concepts/ExternalDestination__.d.ts +0 -63
- package/dist/src/concepts/ForEachStatement__.d.ts +0 -126
- package/dist/src/concepts/FrontendLibrary__.d.ts +0 -208
- package/dist/src/concepts/FrontendType__.d.ts +0 -304
- package/dist/src/concepts/FrontendVariable__.d.ts +0 -41
- package/dist/src/concepts/Frontend__.d.ts +0 -389
- package/dist/src/concepts/Function__.d.ts +0 -399
- package/dist/src/concepts/I18nInfo__.d.ts +0 -47
- package/dist/src/concepts/IconSetter__.d.ts +0 -29
- package/dist/src/concepts/Identifier__.d.ts +0 -66
- package/dist/src/concepts/IfStatement__.d.ts +0 -155
- package/dist/src/concepts/ImageSetter__.d.ts +0 -25
- package/dist/src/concepts/ImportedInterface__.d.ts +0 -29
- package/dist/src/concepts/InputSetter__.d.ts +0 -29
- package/dist/src/concepts/Integration__.d.ts +0 -127
- package/dist/src/concepts/InterfaceParam__.d.ts +0 -119
- package/dist/src/concepts/InterfaceTriggerEvent__.d.ts +0 -34
- package/dist/src/concepts/Interface__.d.ts +0 -323
- package/dist/src/concepts/JSBlock__.d.ts +0 -38
- package/dist/src/concepts/JavaLogic__.d.ts +0 -50
- package/dist/src/concepts/LogicDeclaration__.d.ts +0 -289
- package/dist/src/concepts/LogicItem__.d.ts +0 -171
- package/dist/src/concepts/Logic__.d.ts +0 -632
- package/dist/src/concepts/MatchCase__.d.ts +0 -264
- package/dist/src/concepts/Match__.d.ts +0 -122
- package/dist/src/concepts/MemberExpression__.d.ts +0 -64
- package/dist/src/concepts/MetadataType__.d.ts +0 -220
- package/dist/src/concepts/MicroApp__.d.ts +0 -53
- package/dist/src/concepts/Module__.d.ts +0 -1142
- package/dist/src/concepts/MsgTriggerEvent__.d.ts +0 -138
- package/dist/src/concepts/MsgTriggerLauncher__.d.ts +0 -119
- package/dist/src/concepts/MultiApprovalPolicy__.d.ts +0 -25
- package/dist/src/concepts/Namespace__.d.ts +0 -1060
- package/dist/src/concepts/NewComposite__.d.ts +0 -346
- package/dist/src/concepts/NewList__.d.ts +0 -135
- package/dist/src/concepts/NewMap__.d.ts +0 -226
- package/dist/src/concepts/New__.d.ts +0 -30
- package/dist/src/concepts/NullLiteral__.d.ts +0 -36
- package/dist/src/concepts/NumberInputSetter__.d.ts +0 -45
- package/dist/src/concepts/NumericLiteral__.d.ts +0 -53
- package/dist/src/concepts/OqlQueryComponent__.d.ts +0 -67
- package/dist/src/concepts/OverriddenLogic__.d.ts +0 -615
- package/dist/src/concepts/Paginate__.d.ts +0 -59
- package/dist/src/concepts/ParamWithGroup__.d.ts +0 -44
- package/dist/src/concepts/Param__.d.ts +0 -140
- package/dist/src/concepts/Point__.d.ts +0 -33
- package/dist/src/concepts/ProcessComponent__.d.ts +0 -214
- package/dist/src/concepts/ProcessElement__.d.ts +0 -620
- package/dist/src/concepts/ProcessOutcome__.d.ts +0 -35
- package/dist/src/concepts/ProcessOutcomes__.d.ts +0 -35
- package/dist/src/concepts/Process__.d.ts +0 -605
- package/dist/src/concepts/PropDeclaration__.d.ts +0 -99
- package/dist/src/concepts/PropertySelectSetter__.d.ts +0 -25
- package/dist/src/concepts/QueryAggregateExpression__.d.ts +0 -50
- package/dist/src/concepts/QueryFieldExpression__.d.ts +0 -66
- package/dist/src/concepts/QueryFromExpression__.d.ts +0 -107
- package/dist/src/concepts/QueryGroupByExpression__.d.ts +0 -46
- package/dist/src/concepts/QueryJoinExpression__.d.ts +0 -194
- package/dist/src/concepts/QueryLimitExpression__.d.ts +0 -46
- package/dist/src/concepts/QueryOrderByExpression__.d.ts +0 -57
- package/dist/src/concepts/QuerySelectExpression__.d.ts +0 -213
- package/dist/src/concepts/Rect__.d.ts +0 -41
- package/dist/src/concepts/Return__.d.ts +0 -120
- package/dist/src/concepts/Role__.d.ts +0 -58
- package/dist/src/concepts/SelectMembers__.d.ts +0 -134
- package/dist/src/concepts/SequentialPolicy__.d.ts +0 -25
- package/dist/src/concepts/SetterOption__.d.ts +0 -49
- package/dist/src/concepts/SlotDeclaration__.d.ts +0 -213
- package/dist/src/concepts/Slot__.d.ts +0 -53
- package/dist/src/concepts/SqlQueryComponent__.d.ts +0 -63
- package/dist/src/concepts/Start__.d.ts +0 -30
- package/dist/src/concepts/StaticString__.d.ts +0 -49
- package/dist/src/concepts/StringInterpolation__.d.ts +0 -122
- package/dist/src/concepts/StringLiteral__.d.ts +0 -51
- package/dist/src/concepts/StructureProperty__.d.ts +0 -119
- package/dist/src/concepts/Structure__.d.ts +0 -243
- package/dist/src/concepts/SwitchCase__.d.ts +0 -91
- package/dist/src/concepts/SwitchSetter__.d.ts +0 -25
- package/dist/src/concepts/SwitchStatement__.d.ts +0 -90
- package/dist/src/concepts/ThemeVariable__.d.ts +0 -29
- package/dist/src/concepts/Theme__.d.ts +0 -39
- package/dist/src/concepts/Transactional__.d.ts +0 -85
- package/dist/src/concepts/TriggerEvent__.d.ts +0 -42
- package/dist/src/concepts/TriggerLauncher__.d.ts +0 -76
- package/dist/src/concepts/TypeAnnotation__.d.ts +0 -303
- package/dist/src/concepts/TypeParam__.d.ts +0 -34
- package/dist/src/concepts/UnaryExpression__.d.ts +0 -45
- package/dist/src/concepts/Unparsed__.d.ts +0 -41
- package/dist/src/concepts/UseComponent__.d.ts +0 -33
- package/dist/src/concepts/ValidationRule__.d.ts +0 -133
- package/dist/src/concepts/Variable__.d.ts +0 -137
- package/dist/src/concepts/ViewBlockWithImage__.d.ts +0 -33
- package/dist/src/concepts/ViewBlock__.d.ts +0 -37
- package/dist/src/concepts/ViewComponentDeclaration__.d.ts +0 -721
- package/dist/src/concepts/ViewElement__.d.ts +0 -652
- package/dist/src/concepts/View__.d.ts +0 -728
- package/dist/src/concepts/WhileStatement__.d.ts +0 -94
- package/dist/src/concepts/basics/constants.d.ts +0 -1
- package/dist/src/concepts/basics/stdlib/index.d.ts +0 -16
- package/dist/src/concepts/basics/stdlib/nasl.auth.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.browser.d.ts +0 -5
- package/dist/src/concepts/basics/stdlib/nasl.collection.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.configuration.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.core.d.ts +0 -7
- package/dist/src/concepts/basics/stdlib/nasl.event.d.ts +0 -5
- package/dist/src/concepts/basics/stdlib/nasl.http.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.interface.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.io.d.ts +0 -5
- package/dist/src/concepts/basics/stdlib/nasl.logging.d.ts +0 -5
- package/dist/src/concepts/basics/stdlib/nasl.process.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.ui.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.util.d.ts +0 -6
- package/dist/src/concepts/basics/stdlib/nasl.validation.d.ts +0 -5
- package/dist/src/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +0 -4
- package/dist/src/concepts/basics/stdlib/timeZone.d.ts +0 -5
- package/dist/src/concepts/basics/types/coreTypeList.d.ts +0 -2
- package/dist/src/concepts/basics/types/index.d.ts +0 -17
- package/dist/src/concepts/index.d.ts +0 -7
- package/dist/src/concepts/index__.d.ts +0 -156
- package/dist/src/concepts/utils/asserts.d.ts +0 -7825
- package/dist/src/concepts/utils/quick-info.d.ts +0 -13
- package/dist/src/concepts/utils/types.d.ts +0 -510
- package/dist/src/config.d.ts +0 -52
- package/dist/src/decorators/index.d.ts +0 -67
- package/dist/src/decorators/promise.d.ts +0 -7
- package/dist/src/enums/KEYWORDS.d.ts +0 -6
- package/dist/src/enums/LEVEL_NAME_MAP.d.ts +0 -26
- package/dist/src/eventBus.d.ts +0 -3
- package/dist/src/generator/compileComponent.d.ts +0 -11
- package/dist/src/generator/genBundleFiles.d.ts +0 -37
- package/dist/src/generator/genHash.d.ts +0 -7
- package/dist/src/generator/genMetaData.d.ts +0 -31
- package/dist/src/generator/icestark.d.ts +0 -2
- package/dist/src/generator/index.d.ts +0 -7
- package/dist/src/generator/microApp.d.ts +0 -2
- package/dist/src/generator/permission.d.ts +0 -14
- package/dist/src/generator/qiankun.d.ts +0 -2
- package/dist/src/generator/release-body/body.d.ts +0 -42
- package/dist/src/generator/release-body/data.d.ts +0 -45
- package/dist/src/generator/release-body/index.d.ts +0 -2
- package/dist/src/generator/release-body/internal.d.ts +0 -622
- package/dist/src/generator/release-body/types.d.ts +0 -57
- package/dist/src/generator/release-body/utils.d.ts +0 -418
- package/dist/src/generator/release-body/validation.d.ts +0 -3
- package/dist/src/generator/styleReplacer.d.ts +0 -3
- package/dist/src/index.d.ts +0 -14
- package/dist/src/manager/diagnostic.d.ts +0 -39
- package/dist/src/manager/stepRecorder.d.ts +0 -20
- package/dist/src/natural/componentData.d.ts +0 -31
- package/dist/src/natural/genNaturalTS.d.ts +0 -241
- package/dist/src/natural/index.d.ts +0 -6
- package/dist/src/natural/naslStdlibMap.d.ts +0 -1
- package/dist/src/natural/prompt/analyzeClaims.d.ts +0 -1
- package/dist/src/natural/prompt/analyzeFormatOutput.d.ts +0 -1
- package/dist/src/natural/prompt/analyzeTasks.d.ts +0 -1
- package/dist/src/natural/prompt/executeClaims.d.ts +0 -1
- package/dist/src/natural/transformTSCode.d.ts +0 -7
- package/dist/src/sentry/index.d.ts +0 -34
- package/dist/src/server/createUiTs.d.ts +0 -17
- package/dist/src/server/entity2LogicNamespace.d.ts +0 -10
- package/dist/src/server/event.d.ts +0 -30
- package/dist/src/server/extendBaseNode.d.ts +0 -1
- package/dist/src/server/formatTsUtils.d.ts +0 -36
- package/dist/src/server/getConnector.d.ts +0 -15
- package/dist/src/server/getExtensionModules.d.ts +0 -3
- package/dist/src/server/getFunctions.d.ts +0 -3
- package/dist/src/server/getInterfaces.d.ts +0 -2
- package/dist/src/server/getLogging.d.ts +0 -1
- package/dist/src/server/getLogics.d.ts +0 -5
- package/dist/src/server/getMemberIdentifier.d.ts +0 -17
- package/dist/src/server/getProcessComponents.d.ts +0 -2
- package/dist/src/server/getProcesses.d.ts +0 -33
- package/dist/src/server/getScope.d.ts +0 -13
- package/dist/src/server/getValidates.d.ts +0 -3
- package/dist/src/server/index.d.ts +0 -5
- package/dist/src/server/naslServer.d.ts +0 -391
- package/dist/src/server/naslStdlibMap.d.ts +0 -2
- package/dist/src/server/process2LogicNamespace.d.ts +0 -26
- package/dist/src/server/translator.d.ts +0 -26
- package/dist/src/service/creator/add.configs.d.ts +0 -1
- package/dist/src/service/creator/errHandles.d.ts +0 -18
- package/dist/src/service/creator/index.d.ts +0 -1
- package/dist/src/service/datasource/api.d.ts +0 -12
- package/dist/src/service/datasource/index.d.ts +0 -2
- package/dist/src/service/logic/api.d.ts +0 -9
- package/dist/src/service/logic/checktypeSocket.d.ts +0 -5
- package/dist/src/service/logic/index.d.ts +0 -2
- package/dist/src/service/storage/api.d.ts +0 -54
- package/dist/src/service/storage/index.d.ts +0 -2
- package/dist/src/service/storage/init.d.ts +0 -105
- package/dist/src/service/storage/jsoner.d.ts +0 -36
- package/dist/src/service/storage/map.d.ts +0 -4
- package/dist/src/service/storage/service.d.ts +0 -25
- package/dist/src/service/storage/storagePoint.d.ts +0 -17
- package/dist/src/service/video/BaseService.d.ts +0 -7
- package/dist/src/service/video/MainCallbackService.d.ts +0 -12
- package/dist/src/service/video/VideoTranscribe.d.ts +0 -15
- package/dist/src/service/video/publishService.d.ts +0 -1
- package/dist/src/templator/genCallComponentLogic.d.ts +0 -17
- package/dist/src/templator/genCreateBlock.d.ts +0 -10
- package/dist/src/templator/genCurdEditMultipleKeyBlock.d.ts +0 -8
- package/dist/src/templator/genCurdMultipleKeyBlock.d.ts +0 -61
- package/dist/src/templator/genEditTableBlock.d.ts +0 -51
- package/dist/src/templator/genEnumSelectBlock.d.ts +0 -10
- package/dist/src/templator/genGetBlock.d.ts +0 -6
- package/dist/src/templator/genGridViewBlock.d.ts +0 -55
- package/dist/src/templator/genListViewBlock.d.ts +0 -19
- package/dist/src/templator/genQueryComponent.d.ts +0 -34
- package/dist/src/templator/genSelectBlock.d.ts +0 -45
- package/dist/src/templator/genTableBlock.d.ts +0 -55
- package/dist/src/templator/genUpdateBlock.d.ts +0 -6
- package/dist/src/templator/index.d.ts +0 -19
- package/dist/src/templator/utils.d.ts +0 -683
- package/dist/src/translator/constant.d.ts +0 -6
- package/dist/src/translator/index.d.ts +0 -3
- package/dist/src/translator/types.d.ts +0 -85
- package/dist/src/translator/utils.d.ts +0 -47
- package/dist/src/utils/cookie.d.ts +0 -9
- package/dist/src/utils/create.d.ts +0 -2
- package/dist/src/utils/env.d.ts +0 -2
- package/dist/src/utils/file.d.ts +0 -33
- package/dist/src/utils/i18nInfo.d.ts +0 -5
- package/dist/src/utils/index.d.ts +0 -72
- package/dist/src/utils/logger.d.ts +0 -8
- package/dist/src/utils/sortTsString.d.ts +0 -1
- package/dist/src/utils/string.d.ts +0 -64
- package/dist/src/utils/time-slicing/constant.d.ts +0 -35
- package/dist/src/utils/time-slicing/controller.d.ts +0 -53
- package/dist/src/utils/time-slicing/index.d.ts +0 -5
- package/dist/src/utils/time-slicing/page-state.d.ts +0 -2
- package/dist/src/utils/time-slicing/performance.d.ts +0 -11
- package/dist/src/utils/time-slicing/runner.d.ts +0 -12
- package/dist/src/utils/time-slicing/tool.d.ts +0 -24
- package/dist/src/utils/time-slicing/utils.d.ts +0 -62
- package/dist/src/utils/time-slicing/wrapper.d.ts +0 -18
- package/dist/src/utils/traverse.d.ts +0 -36
- package/dist/src/utils/types.d.ts +0 -13
- package/dist/src/utils/window.d.ts +0 -7
- package/dist/test/concepts/anonymous-function/constant.d.ts +0 -2
- package/dist/test/concepts/anonymous-function/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/anonymous-function/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/anonymous-function/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/assignment/constant.d.ts +0 -2
- package/dist/test/concepts/assignment/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/assignment/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/assignment/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/batch-assignment/constant.d.ts +0 -2
- package/dist/test/concepts/batch-assignment/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/batch-assignment/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/batch-assignment/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/binary-expression/constant.d.ts +0 -2
- package/dist/test/concepts/binary-expression/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/binary-expression/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/binary-expression/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/binary-expression/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/boolean-literal/constant.d.ts +0 -2
- package/dist/test/concepts/boolean-literal/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/boolean-literal/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/boolean-literal/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/call-function/constant.d.ts +0 -2
- package/dist/test/concepts/call-function/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/call-function/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/call-function/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/call-interface/constant.d.ts +0 -2
- package/dist/test/concepts/call-interface/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/call-interface/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/call-interface/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/call-logic/constant.d.ts +0 -2
- package/dist/test/concepts/call-logic/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/call-logic/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/call-logic/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/call-logic/toUI.spec.d.ts +0 -1
- package/dist/test/concepts/call-logic/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/call-logic/toVueDesigner.spec.d.ts +0 -1
- package/dist/test/concepts/data-source/constant.d.ts +0 -2
- package/dist/test/concepts/data-source/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/data-source/toEmbeddedTSFile.spec.d.ts +0 -1
- package/dist/test/concepts/entity/constant.d.ts +0 -2
- package/dist/test/concepts/entity/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/entity/toEmbeddedTSFile.spec.d.ts +0 -1
- package/dist/test/concepts/identifier/constant.d.ts +0 -2
- package/dist/test/concepts/identifier/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/identifier/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/identifier/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/match/constant.d.ts +0 -2
- package/dist/test/concepts/match/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/match/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/member-expression/constant.d.ts +0 -2
- package/dist/test/concepts/member-expression/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/member-expression/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/member-expression/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/new-composite/constant.d.ts +0 -2
- package/dist/test/concepts/new-composite/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/new-composite/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/new-composite/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/new-list/constant.d.ts +0 -2
- package/dist/test/concepts/new-list/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/new-list/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/new-list/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/new-map/constant.d.ts +0 -2
- package/dist/test/concepts/new-map/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/new-map/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/new-map/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/null-literal/constant.d.ts +0 -2
- package/dist/test/concepts/null-literal/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/null-literal/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/null-literal/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/numeric-literal/constant.d.ts +0 -2
- package/dist/test/concepts/numeric-literal/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/numeric-literal/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/numeric-literal/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/string-literal/constant.d.ts +0 -2
- package/dist/test/concepts/string-literal/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/string-literal/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/string-literal/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/utils.d.ts +0 -13
- package/dist/test/concepts/validation-rule/constant.d.ts +0 -2
- package/dist/test/concepts/validation-rule/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/validation-rule/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/validation-rule/validation-rule.spec.d.ts +0 -1
- package/dist/test/concepts/view-element/constant.d.ts +0 -2
- package/dist/test/concepts/view-element/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/view-element/toVue.spec.d.ts +0 -1
- package/dist/test/setup.d.ts +0 -1
- package/dist/test/time-slicing/runner.spec.d.ts +0 -1
- package/dist/test/time-slicing/time-slicing-nodejs.spec.d.ts +0 -1
- package/dist/test/time-slicing/utils.d.ts +0 -1
- package/dist/test/time-slicing/wrapper.spec.d.ts +0 -1
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">6.37% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>57/894</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">0
|
|
33
|
+
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/495</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">1.
|
|
40
|
+
<span class="strong">1.47% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>3/203</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">5.75% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>48/834</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -2908,321 +2908,17 @@
|
|
|
2908
2908
|
<a name='L2843'></a><a href='#L2843'>2843</a>
|
|
2909
2909
|
<a name='L2844'></a><a href='#L2844'>2844</a>
|
|
2910
2910
|
<a name='L2845'></a><a href='#L2845'>2845</a>
|
|
2911
|
-
<a name='L2846'></a><a href='#L2846'>2846</a>
|
|
2912
|
-
<
|
|
2913
|
-
<a name='L2848'></a><a href='#L2848'>2848</a>
|
|
2914
|
-
<a name='L2849'></a><a href='#L2849'>2849</a>
|
|
2915
|
-
<a name='L2850'></a><a href='#L2850'>2850</a>
|
|
2916
|
-
<a name='L2851'></a><a href='#L2851'>2851</a>
|
|
2917
|
-
<a name='L2852'></a><a href='#L2852'>2852</a>
|
|
2918
|
-
<a name='L2853'></a><a href='#L2853'>2853</a>
|
|
2919
|
-
<a name='L2854'></a><a href='#L2854'>2854</a>
|
|
2920
|
-
<a name='L2855'></a><a href='#L2855'>2855</a>
|
|
2921
|
-
<a name='L2856'></a><a href='#L2856'>2856</a>
|
|
2922
|
-
<a name='L2857'></a><a href='#L2857'>2857</a>
|
|
2923
|
-
<a name='L2858'></a><a href='#L2858'>2858</a>
|
|
2924
|
-
<a name='L2859'></a><a href='#L2859'>2859</a>
|
|
2925
|
-
<a name='L2860'></a><a href='#L2860'>2860</a>
|
|
2926
|
-
<a name='L2861'></a><a href='#L2861'>2861</a>
|
|
2927
|
-
<a name='L2862'></a><a href='#L2862'>2862</a>
|
|
2928
|
-
<a name='L2863'></a><a href='#L2863'>2863</a>
|
|
2929
|
-
<a name='L2864'></a><a href='#L2864'>2864</a>
|
|
2930
|
-
<a name='L2865'></a><a href='#L2865'>2865</a>
|
|
2931
|
-
<a name='L2866'></a><a href='#L2866'>2866</a>
|
|
2932
|
-
<a name='L2867'></a><a href='#L2867'>2867</a>
|
|
2933
|
-
<a name='L2868'></a><a href='#L2868'>2868</a>
|
|
2934
|
-
<a name='L2869'></a><a href='#L2869'>2869</a>
|
|
2935
|
-
<a name='L2870'></a><a href='#L2870'>2870</a>
|
|
2936
|
-
<a name='L2871'></a><a href='#L2871'>2871</a>
|
|
2937
|
-
<a name='L2872'></a><a href='#L2872'>2872</a>
|
|
2938
|
-
<a name='L2873'></a><a href='#L2873'>2873</a>
|
|
2939
|
-
<a name='L2874'></a><a href='#L2874'>2874</a>
|
|
2940
|
-
<a name='L2875'></a><a href='#L2875'>2875</a>
|
|
2941
|
-
<a name='L2876'></a><a href='#L2876'>2876</a>
|
|
2942
|
-
<a name='L2877'></a><a href='#L2877'>2877</a>
|
|
2943
|
-
<a name='L2878'></a><a href='#L2878'>2878</a>
|
|
2944
|
-
<a name='L2879'></a><a href='#L2879'>2879</a>
|
|
2945
|
-
<a name='L2880'></a><a href='#L2880'>2880</a>
|
|
2946
|
-
<a name='L2881'></a><a href='#L2881'>2881</a>
|
|
2947
|
-
<a name='L2882'></a><a href='#L2882'>2882</a>
|
|
2948
|
-
<a name='L2883'></a><a href='#L2883'>2883</a>
|
|
2949
|
-
<a name='L2884'></a><a href='#L2884'>2884</a>
|
|
2950
|
-
<a name='L2885'></a><a href='#L2885'>2885</a>
|
|
2951
|
-
<a name='L2886'></a><a href='#L2886'>2886</a>
|
|
2952
|
-
<a name='L2887'></a><a href='#L2887'>2887</a>
|
|
2953
|
-
<a name='L2888'></a><a href='#L2888'>2888</a>
|
|
2954
|
-
<a name='L2889'></a><a href='#L2889'>2889</a>
|
|
2955
|
-
<a name='L2890'></a><a href='#L2890'>2890</a>
|
|
2956
|
-
<a name='L2891'></a><a href='#L2891'>2891</a>
|
|
2957
|
-
<a name='L2892'></a><a href='#L2892'>2892</a>
|
|
2958
|
-
<a name='L2893'></a><a href='#L2893'>2893</a>
|
|
2959
|
-
<a name='L2894'></a><a href='#L2894'>2894</a>
|
|
2960
|
-
<a name='L2895'></a><a href='#L2895'>2895</a>
|
|
2961
|
-
<a name='L2896'></a><a href='#L2896'>2896</a>
|
|
2962
|
-
<a name='L2897'></a><a href='#L2897'>2897</a>
|
|
2963
|
-
<a name='L2898'></a><a href='#L2898'>2898</a>
|
|
2964
|
-
<a name='L2899'></a><a href='#L2899'>2899</a>
|
|
2965
|
-
<a name='L2900'></a><a href='#L2900'>2900</a>
|
|
2966
|
-
<a name='L2901'></a><a href='#L2901'>2901</a>
|
|
2967
|
-
<a name='L2902'></a><a href='#L2902'>2902</a>
|
|
2968
|
-
<a name='L2903'></a><a href='#L2903'>2903</a>
|
|
2969
|
-
<a name='L2904'></a><a href='#L2904'>2904</a>
|
|
2970
|
-
<a name='L2905'></a><a href='#L2905'>2905</a>
|
|
2971
|
-
<a name='L2906'></a><a href='#L2906'>2906</a>
|
|
2972
|
-
<a name='L2907'></a><a href='#L2907'>2907</a>
|
|
2973
|
-
<a name='L2908'></a><a href='#L2908'>2908</a>
|
|
2974
|
-
<a name='L2909'></a><a href='#L2909'>2909</a>
|
|
2975
|
-
<a name='L2910'></a><a href='#L2910'>2910</a>
|
|
2976
|
-
<a name='L2911'></a><a href='#L2911'>2911</a>
|
|
2977
|
-
<a name='L2912'></a><a href='#L2912'>2912</a>
|
|
2978
|
-
<a name='L2913'></a><a href='#L2913'>2913</a>
|
|
2979
|
-
<a name='L2914'></a><a href='#L2914'>2914</a>
|
|
2980
|
-
<a name='L2915'></a><a href='#L2915'>2915</a>
|
|
2981
|
-
<a name='L2916'></a><a href='#L2916'>2916</a>
|
|
2982
|
-
<a name='L2917'></a><a href='#L2917'>2917</a>
|
|
2983
|
-
<a name='L2918'></a><a href='#L2918'>2918</a>
|
|
2984
|
-
<a name='L2919'></a><a href='#L2919'>2919</a>
|
|
2985
|
-
<a name='L2920'></a><a href='#L2920'>2920</a>
|
|
2986
|
-
<a name='L2921'></a><a href='#L2921'>2921</a>
|
|
2987
|
-
<a name='L2922'></a><a href='#L2922'>2922</a>
|
|
2988
|
-
<a name='L2923'></a><a href='#L2923'>2923</a>
|
|
2989
|
-
<a name='L2924'></a><a href='#L2924'>2924</a>
|
|
2990
|
-
<a name='L2925'></a><a href='#L2925'>2925</a>
|
|
2991
|
-
<a name='L2926'></a><a href='#L2926'>2926</a>
|
|
2992
|
-
<a name='L2927'></a><a href='#L2927'>2927</a>
|
|
2993
|
-
<a name='L2928'></a><a href='#L2928'>2928</a>
|
|
2994
|
-
<a name='L2929'></a><a href='#L2929'>2929</a>
|
|
2995
|
-
<a name='L2930'></a><a href='#L2930'>2930</a>
|
|
2996
|
-
<a name='L2931'></a><a href='#L2931'>2931</a>
|
|
2997
|
-
<a name='L2932'></a><a href='#L2932'>2932</a>
|
|
2998
|
-
<a name='L2933'></a><a href='#L2933'>2933</a>
|
|
2999
|
-
<a name='L2934'></a><a href='#L2934'>2934</a>
|
|
3000
|
-
<a name='L2935'></a><a href='#L2935'>2935</a>
|
|
3001
|
-
<a name='L2936'></a><a href='#L2936'>2936</a>
|
|
3002
|
-
<a name='L2937'></a><a href='#L2937'>2937</a>
|
|
3003
|
-
<a name='L2938'></a><a href='#L2938'>2938</a>
|
|
3004
|
-
<a name='L2939'></a><a href='#L2939'>2939</a>
|
|
3005
|
-
<a name='L2940'></a><a href='#L2940'>2940</a>
|
|
3006
|
-
<a name='L2941'></a><a href='#L2941'>2941</a>
|
|
3007
|
-
<a name='L2942'></a><a href='#L2942'>2942</a>
|
|
3008
|
-
<a name='L2943'></a><a href='#L2943'>2943</a>
|
|
3009
|
-
<a name='L2944'></a><a href='#L2944'>2944</a>
|
|
3010
|
-
<a name='L2945'></a><a href='#L2945'>2945</a>
|
|
3011
|
-
<a name='L2946'></a><a href='#L2946'>2946</a>
|
|
3012
|
-
<a name='L2947'></a><a href='#L2947'>2947</a>
|
|
3013
|
-
<a name='L2948'></a><a href='#L2948'>2948</a>
|
|
3014
|
-
<a name='L2949'></a><a href='#L2949'>2949</a>
|
|
3015
|
-
<a name='L2950'></a><a href='#L2950'>2950</a>
|
|
3016
|
-
<a name='L2951'></a><a href='#L2951'>2951</a>
|
|
3017
|
-
<a name='L2952'></a><a href='#L2952'>2952</a>
|
|
3018
|
-
<a name='L2953'></a><a href='#L2953'>2953</a>
|
|
3019
|
-
<a name='L2954'></a><a href='#L2954'>2954</a>
|
|
3020
|
-
<a name='L2955'></a><a href='#L2955'>2955</a>
|
|
3021
|
-
<a name='L2956'></a><a href='#L2956'>2956</a>
|
|
3022
|
-
<a name='L2957'></a><a href='#L2957'>2957</a>
|
|
3023
|
-
<a name='L2958'></a><a href='#L2958'>2958</a>
|
|
3024
|
-
<a name='L2959'></a><a href='#L2959'>2959</a>
|
|
3025
|
-
<a name='L2960'></a><a href='#L2960'>2960</a>
|
|
3026
|
-
<a name='L2961'></a><a href='#L2961'>2961</a>
|
|
3027
|
-
<a name='L2962'></a><a href='#L2962'>2962</a>
|
|
3028
|
-
<a name='L2963'></a><a href='#L2963'>2963</a>
|
|
3029
|
-
<a name='L2964'></a><a href='#L2964'>2964</a>
|
|
3030
|
-
<a name='L2965'></a><a href='#L2965'>2965</a>
|
|
3031
|
-
<a name='L2966'></a><a href='#L2966'>2966</a>
|
|
3032
|
-
<a name='L2967'></a><a href='#L2967'>2967</a>
|
|
3033
|
-
<a name='L2968'></a><a href='#L2968'>2968</a>
|
|
3034
|
-
<a name='L2969'></a><a href='#L2969'>2969</a>
|
|
3035
|
-
<a name='L2970'></a><a href='#L2970'>2970</a>
|
|
3036
|
-
<a name='L2971'></a><a href='#L2971'>2971</a>
|
|
3037
|
-
<a name='L2972'></a><a href='#L2972'>2972</a>
|
|
3038
|
-
<a name='L2973'></a><a href='#L2973'>2973</a>
|
|
3039
|
-
<a name='L2974'></a><a href='#L2974'>2974</a>
|
|
3040
|
-
<a name='L2975'></a><a href='#L2975'>2975</a>
|
|
3041
|
-
<a name='L2976'></a><a href='#L2976'>2976</a>
|
|
3042
|
-
<a name='L2977'></a><a href='#L2977'>2977</a>
|
|
3043
|
-
<a name='L2978'></a><a href='#L2978'>2978</a>
|
|
3044
|
-
<a name='L2979'></a><a href='#L2979'>2979</a>
|
|
3045
|
-
<a name='L2980'></a><a href='#L2980'>2980</a>
|
|
3046
|
-
<a name='L2981'></a><a href='#L2981'>2981</a>
|
|
3047
|
-
<a name='L2982'></a><a href='#L2982'>2982</a>
|
|
3048
|
-
<a name='L2983'></a><a href='#L2983'>2983</a>
|
|
3049
|
-
<a name='L2984'></a><a href='#L2984'>2984</a>
|
|
3050
|
-
<a name='L2985'></a><a href='#L2985'>2985</a>
|
|
3051
|
-
<a name='L2986'></a><a href='#L2986'>2986</a>
|
|
3052
|
-
<a name='L2987'></a><a href='#L2987'>2987</a>
|
|
3053
|
-
<a name='L2988'></a><a href='#L2988'>2988</a>
|
|
3054
|
-
<a name='L2989'></a><a href='#L2989'>2989</a>
|
|
3055
|
-
<a name='L2990'></a><a href='#L2990'>2990</a>
|
|
3056
|
-
<a name='L2991'></a><a href='#L2991'>2991</a>
|
|
3057
|
-
<a name='L2992'></a><a href='#L2992'>2992</a>
|
|
3058
|
-
<a name='L2993'></a><a href='#L2993'>2993</a>
|
|
3059
|
-
<a name='L2994'></a><a href='#L2994'>2994</a>
|
|
3060
|
-
<a name='L2995'></a><a href='#L2995'>2995</a>
|
|
3061
|
-
<a name='L2996'></a><a href='#L2996'>2996</a>
|
|
3062
|
-
<a name='L2997'></a><a href='#L2997'>2997</a>
|
|
3063
|
-
<a name='L2998'></a><a href='#L2998'>2998</a>
|
|
3064
|
-
<a name='L2999'></a><a href='#L2999'>2999</a>
|
|
3065
|
-
<a name='L3000'></a><a href='#L3000'>3000</a>
|
|
3066
|
-
<a name='L3001'></a><a href='#L3001'>3001</a>
|
|
3067
|
-
<a name='L3002'></a><a href='#L3002'>3002</a>
|
|
3068
|
-
<a name='L3003'></a><a href='#L3003'>3003</a>
|
|
3069
|
-
<a name='L3004'></a><a href='#L3004'>3004</a>
|
|
3070
|
-
<a name='L3005'></a><a href='#L3005'>3005</a>
|
|
3071
|
-
<a name='L3006'></a><a href='#L3006'>3006</a>
|
|
3072
|
-
<a name='L3007'></a><a href='#L3007'>3007</a>
|
|
3073
|
-
<a name='L3008'></a><a href='#L3008'>3008</a>
|
|
3074
|
-
<a name='L3009'></a><a href='#L3009'>3009</a>
|
|
3075
|
-
<a name='L3010'></a><a href='#L3010'>3010</a>
|
|
3076
|
-
<a name='L3011'></a><a href='#L3011'>3011</a>
|
|
3077
|
-
<a name='L3012'></a><a href='#L3012'>3012</a>
|
|
3078
|
-
<a name='L3013'></a><a href='#L3013'>3013</a>
|
|
3079
|
-
<a name='L3014'></a><a href='#L3014'>3014</a>
|
|
3080
|
-
<a name='L3015'></a><a href='#L3015'>3015</a>
|
|
3081
|
-
<a name='L3016'></a><a href='#L3016'>3016</a>
|
|
3082
|
-
<a name='L3017'></a><a href='#L3017'>3017</a>
|
|
3083
|
-
<a name='L3018'></a><a href='#L3018'>3018</a>
|
|
3084
|
-
<a name='L3019'></a><a href='#L3019'>3019</a>
|
|
3085
|
-
<a name='L3020'></a><a href='#L3020'>3020</a>
|
|
3086
|
-
<a name='L3021'></a><a href='#L3021'>3021</a>
|
|
3087
|
-
<a name='L3022'></a><a href='#L3022'>3022</a>
|
|
3088
|
-
<a name='L3023'></a><a href='#L3023'>3023</a>
|
|
3089
|
-
<a name='L3024'></a><a href='#L3024'>3024</a>
|
|
3090
|
-
<a name='L3025'></a><a href='#L3025'>3025</a>
|
|
3091
|
-
<a name='L3026'></a><a href='#L3026'>3026</a>
|
|
3092
|
-
<a name='L3027'></a><a href='#L3027'>3027</a>
|
|
3093
|
-
<a name='L3028'></a><a href='#L3028'>3028</a>
|
|
3094
|
-
<a name='L3029'></a><a href='#L3029'>3029</a>
|
|
3095
|
-
<a name='L3030'></a><a href='#L3030'>3030</a>
|
|
3096
|
-
<a name='L3031'></a><a href='#L3031'>3031</a>
|
|
3097
|
-
<a name='L3032'></a><a href='#L3032'>3032</a>
|
|
3098
|
-
<a name='L3033'></a><a href='#L3033'>3033</a>
|
|
3099
|
-
<a name='L3034'></a><a href='#L3034'>3034</a>
|
|
3100
|
-
<a name='L3035'></a><a href='#L3035'>3035</a>
|
|
3101
|
-
<a name='L3036'></a><a href='#L3036'>3036</a>
|
|
3102
|
-
<a name='L3037'></a><a href='#L3037'>3037</a>
|
|
3103
|
-
<a name='L3038'></a><a href='#L3038'>3038</a>
|
|
3104
|
-
<a name='L3039'></a><a href='#L3039'>3039</a>
|
|
3105
|
-
<a name='L3040'></a><a href='#L3040'>3040</a>
|
|
3106
|
-
<a name='L3041'></a><a href='#L3041'>3041</a>
|
|
3107
|
-
<a name='L3042'></a><a href='#L3042'>3042</a>
|
|
3108
|
-
<a name='L3043'></a><a href='#L3043'>3043</a>
|
|
3109
|
-
<a name='L3044'></a><a href='#L3044'>3044</a>
|
|
3110
|
-
<a name='L3045'></a><a href='#L3045'>3045</a>
|
|
3111
|
-
<a name='L3046'></a><a href='#L3046'>3046</a>
|
|
3112
|
-
<a name='L3047'></a><a href='#L3047'>3047</a>
|
|
3113
|
-
<a name='L3048'></a><a href='#L3048'>3048</a>
|
|
3114
|
-
<a name='L3049'></a><a href='#L3049'>3049</a>
|
|
3115
|
-
<a name='L3050'></a><a href='#L3050'>3050</a>
|
|
3116
|
-
<a name='L3051'></a><a href='#L3051'>3051</a>
|
|
3117
|
-
<a name='L3052'></a><a href='#L3052'>3052</a>
|
|
3118
|
-
<a name='L3053'></a><a href='#L3053'>3053</a>
|
|
3119
|
-
<a name='L3054'></a><a href='#L3054'>3054</a>
|
|
3120
|
-
<a name='L3055'></a><a href='#L3055'>3055</a>
|
|
3121
|
-
<a name='L3056'></a><a href='#L3056'>3056</a>
|
|
3122
|
-
<a name='L3057'></a><a href='#L3057'>3057</a>
|
|
3123
|
-
<a name='L3058'></a><a href='#L3058'>3058</a>
|
|
3124
|
-
<a name='L3059'></a><a href='#L3059'>3059</a>
|
|
3125
|
-
<a name='L3060'></a><a href='#L3060'>3060</a>
|
|
3126
|
-
<a name='L3061'></a><a href='#L3061'>3061</a>
|
|
3127
|
-
<a name='L3062'></a><a href='#L3062'>3062</a>
|
|
3128
|
-
<a name='L3063'></a><a href='#L3063'>3063</a>
|
|
3129
|
-
<a name='L3064'></a><a href='#L3064'>3064</a>
|
|
3130
|
-
<a name='L3065'></a><a href='#L3065'>3065</a>
|
|
3131
|
-
<a name='L3066'></a><a href='#L3066'>3066</a>
|
|
3132
|
-
<a name='L3067'></a><a href='#L3067'>3067</a>
|
|
3133
|
-
<a name='L3068'></a><a href='#L3068'>3068</a>
|
|
3134
|
-
<a name='L3069'></a><a href='#L3069'>3069</a>
|
|
3135
|
-
<a name='L3070'></a><a href='#L3070'>3070</a>
|
|
3136
|
-
<a name='L3071'></a><a href='#L3071'>3071</a>
|
|
3137
|
-
<a name='L3072'></a><a href='#L3072'>3072</a>
|
|
3138
|
-
<a name='L3073'></a><a href='#L3073'>3073</a>
|
|
3139
|
-
<a name='L3074'></a><a href='#L3074'>3074</a>
|
|
3140
|
-
<a name='L3075'></a><a href='#L3075'>3075</a>
|
|
3141
|
-
<a name='L3076'></a><a href='#L3076'>3076</a>
|
|
3142
|
-
<a name='L3077'></a><a href='#L3077'>3077</a>
|
|
3143
|
-
<a name='L3078'></a><a href='#L3078'>3078</a>
|
|
3144
|
-
<a name='L3079'></a><a href='#L3079'>3079</a>
|
|
3145
|
-
<a name='L3080'></a><a href='#L3080'>3080</a>
|
|
3146
|
-
<a name='L3081'></a><a href='#L3081'>3081</a>
|
|
3147
|
-
<a name='L3082'></a><a href='#L3082'>3082</a>
|
|
3148
|
-
<a name='L3083'></a><a href='#L3083'>3083</a>
|
|
3149
|
-
<a name='L3084'></a><a href='#L3084'>3084</a>
|
|
3150
|
-
<a name='L3085'></a><a href='#L3085'>3085</a>
|
|
3151
|
-
<a name='L3086'></a><a href='#L3086'>3086</a>
|
|
3152
|
-
<a name='L3087'></a><a href='#L3087'>3087</a>
|
|
3153
|
-
<a name='L3088'></a><a href='#L3088'>3088</a>
|
|
3154
|
-
<a name='L3089'></a><a href='#L3089'>3089</a>
|
|
3155
|
-
<a name='L3090'></a><a href='#L3090'>3090</a>
|
|
3156
|
-
<a name='L3091'></a><a href='#L3091'>3091</a>
|
|
3157
|
-
<a name='L3092'></a><a href='#L3092'>3092</a>
|
|
3158
|
-
<a name='L3093'></a><a href='#L3093'>3093</a>
|
|
3159
|
-
<a name='L3094'></a><a href='#L3094'>3094</a>
|
|
3160
|
-
<a name='L3095'></a><a href='#L3095'>3095</a>
|
|
3161
|
-
<a name='L3096'></a><a href='#L3096'>3096</a>
|
|
3162
|
-
<a name='L3097'></a><a href='#L3097'>3097</a>
|
|
3163
|
-
<a name='L3098'></a><a href='#L3098'>3098</a>
|
|
3164
|
-
<a name='L3099'></a><a href='#L3099'>3099</a>
|
|
3165
|
-
<a name='L3100'></a><a href='#L3100'>3100</a>
|
|
3166
|
-
<a name='L3101'></a><a href='#L3101'>3101</a>
|
|
3167
|
-
<a name='L3102'></a><a href='#L3102'>3102</a>
|
|
3168
|
-
<a name='L3103'></a><a href='#L3103'>3103</a>
|
|
3169
|
-
<a name='L3104'></a><a href='#L3104'>3104</a>
|
|
3170
|
-
<a name='L3105'></a><a href='#L3105'>3105</a>
|
|
3171
|
-
<a name='L3106'></a><a href='#L3106'>3106</a>
|
|
3172
|
-
<a name='L3107'></a><a href='#L3107'>3107</a>
|
|
3173
|
-
<a name='L3108'></a><a href='#L3108'>3108</a>
|
|
3174
|
-
<a name='L3109'></a><a href='#L3109'>3109</a>
|
|
3175
|
-
<a name='L3110'></a><a href='#L3110'>3110</a>
|
|
3176
|
-
<a name='L3111'></a><a href='#L3111'>3111</a>
|
|
3177
|
-
<a name='L3112'></a><a href='#L3112'>3112</a>
|
|
3178
|
-
<a name='L3113'></a><a href='#L3113'>3113</a>
|
|
3179
|
-
<a name='L3114'></a><a href='#L3114'>3114</a>
|
|
3180
|
-
<a name='L3115'></a><a href='#L3115'>3115</a>
|
|
3181
|
-
<a name='L3116'></a><a href='#L3116'>3116</a>
|
|
3182
|
-
<a name='L3117'></a><a href='#L3117'>3117</a>
|
|
3183
|
-
<a name='L3118'></a><a href='#L3118'>3118</a>
|
|
3184
|
-
<a name='L3119'></a><a href='#L3119'>3119</a>
|
|
3185
|
-
<a name='L3120'></a><a href='#L3120'>3120</a>
|
|
3186
|
-
<a name='L3121'></a><a href='#L3121'>3121</a>
|
|
3187
|
-
<a name='L3122'></a><a href='#L3122'>3122</a>
|
|
3188
|
-
<a name='L3123'></a><a href='#L3123'>3123</a>
|
|
3189
|
-
<a name='L3124'></a><a href='#L3124'>3124</a>
|
|
3190
|
-
<a name='L3125'></a><a href='#L3125'>3125</a>
|
|
3191
|
-
<a name='L3126'></a><a href='#L3126'>3126</a>
|
|
3192
|
-
<a name='L3127'></a><a href='#L3127'>3127</a>
|
|
3193
|
-
<a name='L3128'></a><a href='#L3128'>3128</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1354x</span>
|
|
3194
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3195
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3196
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2911
|
+
<a name='L2846'></a><a href='#L2846'>2846</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
2912
|
+
<span class="cline-any cline-yes">1x</span>
|
|
3197
2913
|
<span class="cline-any cline-yes">1x</span>
|
|
3198
2914
|
<span class="cline-any cline-neutral"> </span>
|
|
3199
|
-
<span class="cline-any cline-
|
|
3200
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3201
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3202
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3203
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3204
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3205
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3206
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3207
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2915
|
+
<span class="cline-any cline-yes">1x</span>
|
|
3208
2916
|
<span class="cline-any cline-neutral"> </span>
|
|
3209
2917
|
<span class="cline-any cline-yes">1x</span>
|
|
3210
2918
|
<span class="cline-any cline-yes">1x</span>
|
|
3211
2919
|
<span class="cline-any cline-neutral"> </span>
|
|
3212
2920
|
<span class="cline-any cline-yes">1x</span>
|
|
3213
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3214
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3215
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3216
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3217
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3218
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3219
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3220
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3221
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3222
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3223
2921
|
<span class="cline-any cline-yes">1x</span>
|
|
3224
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3225
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3226
2922
|
<span class="cline-any cline-yes">1x</span>
|
|
3227
2923
|
<span class="cline-any cline-neutral"> </span>
|
|
3228
2924
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3235,12 +2931,11 @@
|
|
|
3235
2931
|
<span class="cline-any cline-yes">1x</span>
|
|
3236
2932
|
<span class="cline-any cline-neutral"> </span>
|
|
3237
2933
|
<span class="cline-any cline-yes">1x</span>
|
|
3238
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3239
2934
|
<span class="cline-any cline-yes">1x</span>
|
|
3240
|
-
<span class="cline-any cline-
|
|
3241
|
-
<span class="cline-any cline-
|
|
3242
|
-
<span class="cline-any cline-
|
|
3243
|
-
<span class="cline-any cline-
|
|
2935
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2936
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2937
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2938
|
+
<span class="cline-any cline-yes">1x</span>
|
|
3244
2939
|
<span class="cline-any cline-neutral"> </span>
|
|
3245
2940
|
<span class="cline-any cline-neutral"> </span>
|
|
3246
2941
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3253,6 +2948,7 @@
|
|
|
3253
2948
|
<span class="cline-any cline-neutral"> </span>
|
|
3254
2949
|
<span class="cline-any cline-yes">1x</span>
|
|
3255
2950
|
<span class="cline-any cline-neutral"> </span>
|
|
2951
|
+
<span class="cline-any cline-yes">1x</span>
|
|
3256
2952
|
<span class="cline-any cline-neutral"> </span>
|
|
3257
2953
|
<span class="cline-any cline-neutral"> </span>
|
|
3258
2954
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3263,10 +2959,6 @@
|
|
|
3263
2959
|
<span class="cline-any cline-neutral"> </span>
|
|
3264
2960
|
<span class="cline-any cline-neutral"> </span>
|
|
3265
2961
|
<span class="cline-any cline-neutral"> </span>
|
|
3266
|
-
<span class="cline-any cline-yes">1x</span>
|
|
3267
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3268
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3269
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3270
2962
|
<span class="cline-any cline-neutral"> </span>
|
|
3271
2963
|
<span class="cline-any cline-neutral"> </span>
|
|
3272
2964
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -3275,11 +2967,6 @@
|
|
|
3275
2967
|
<span class="cline-any cline-neutral"> </span>
|
|
3276
2968
|
<span class="cline-any cline-neutral"> </span>
|
|
3277
2969
|
<span class="cline-any cline-neutral"> </span>
|
|
3278
|
-
<span class="cline-any cline-yes">1x</span>
|
|
3279
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3280
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3281
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3282
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3283
2970
|
<span class="cline-any cline-neutral"> </span>
|
|
3284
2971
|
<span class="cline-any cline-yes">1x</span>
|
|
3285
2972
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3287,8 +2974,8 @@
|
|
|
3287
2974
|
<span class="cline-any cline-neutral"> </span>
|
|
3288
2975
|
<span class="cline-any cline-neutral"> </span>
|
|
3289
2976
|
<span class="cline-any cline-neutral"> </span>
|
|
3290
|
-
<span class="cline-any cline-yes">1x</span>
|
|
3291
2977
|
<span class="cline-any cline-neutral"> </span>
|
|
2978
|
+
<span class="cline-any cline-yes">1x</span>
|
|
3292
2979
|
<span class="cline-any cline-neutral"> </span>
|
|
3293
2980
|
<span class="cline-any cline-neutral"> </span>
|
|
3294
2981
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3301,11 +2988,6 @@
|
|
|
3301
2988
|
<span class="cline-any cline-neutral"> </span>
|
|
3302
2989
|
<span class="cline-any cline-neutral"> </span>
|
|
3303
2990
|
<span class="cline-any cline-neutral"> </span>
|
|
3304
|
-
<span class="cline-any cline-yes">1x</span>
|
|
3305
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3306
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3307
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3308
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3309
2991
|
<span class="cline-any cline-neutral"> </span>
|
|
3310
2992
|
<span class="cline-any cline-yes">1x</span>
|
|
3311
2993
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3313,11 +2995,6 @@
|
|
|
3313
2995
|
<span class="cline-any cline-neutral"> </span>
|
|
3314
2996
|
<span class="cline-any cline-neutral"> </span>
|
|
3315
2997
|
<span class="cline-any cline-neutral"> </span>
|
|
3316
|
-
<span class="cline-any cline-yes">1x</span>
|
|
3317
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3318
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3319
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3320
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3321
2998
|
<span class="cline-any cline-neutral"> </span>
|
|
3322
2999
|
<span class="cline-any cline-yes">1x</span>
|
|
3323
3000
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3325,11 +3002,6 @@
|
|
|
3325
3002
|
<span class="cline-any cline-neutral"> </span>
|
|
3326
3003
|
<span class="cline-any cline-neutral"> </span>
|
|
3327
3004
|
<span class="cline-any cline-neutral"> </span>
|
|
3328
|
-
<span class="cline-any cline-yes">1x</span>
|
|
3329
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3330
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3331
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3332
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3333
3005
|
<span class="cline-any cline-neutral"> </span>
|
|
3334
3006
|
<span class="cline-any cline-yes">1x</span>
|
|
3335
3007
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3338,69 +3010,70 @@
|
|
|
3338
3010
|
<span class="cline-any cline-neutral"> </span>
|
|
3339
3011
|
<span class="cline-any cline-neutral"> </span>
|
|
3340
3012
|
<span class="cline-any cline-neutral"> </span>
|
|
3341
|
-
<span class="cline-any cline-
|
|
3342
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3343
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3344
|
-
<span class="cline-any cline-yes">83x</span>
|
|
3013
|
+
<span class="cline-any cline-yes">1x</span>
|
|
3345
3014
|
<span class="cline-any cline-neutral"> </span>
|
|
3346
3015
|
<span class="cline-any cline-neutral"> </span>
|
|
3347
3016
|
<span class="cline-any cline-neutral"> </span>
|
|
3348
3017
|
<span class="cline-any cline-neutral"> </span>
|
|
3349
3018
|
<span class="cline-any cline-neutral"> </span>
|
|
3350
3019
|
<span class="cline-any cline-neutral"> </span>
|
|
3020
|
+
<span class="cline-any cline-yes">1x</span>
|
|
3351
3021
|
<span class="cline-any cline-neutral"> </span>
|
|
3352
3022
|
<span class="cline-any cline-neutral"> </span>
|
|
3353
3023
|
<span class="cline-any cline-neutral"> </span>
|
|
3354
|
-
<span class="cline-any cline-yes">83x</span>
|
|
3355
3024
|
<span class="cline-any cline-neutral"> </span>
|
|
3356
3025
|
<span class="cline-any cline-neutral"> </span>
|
|
3357
3026
|
<span class="cline-any cline-neutral"> </span>
|
|
3027
|
+
<span class="cline-any cline-yes">1x</span>
|
|
3358
3028
|
<span class="cline-any cline-neutral"> </span>
|
|
3359
3029
|
<span class="cline-any cline-neutral"> </span>
|
|
3360
3030
|
<span class="cline-any cline-neutral"> </span>
|
|
3361
3031
|
<span class="cline-any cline-neutral"> </span>
|
|
3362
3032
|
<span class="cline-any cline-neutral"> </span>
|
|
3363
3033
|
<span class="cline-any cline-neutral"> </span>
|
|
3364
|
-
<span class="cline-any cline-yes">
|
|
3034
|
+
<span class="cline-any cline-yes">1x</span>
|
|
3365
3035
|
<span class="cline-any cline-neutral"> </span>
|
|
3366
3036
|
<span class="cline-any cline-neutral"> </span>
|
|
3367
3037
|
<span class="cline-any cline-neutral"> </span>
|
|
3368
3038
|
<span class="cline-any cline-neutral"> </span>
|
|
3369
3039
|
<span class="cline-any cline-neutral"> </span>
|
|
3040
|
+
<span class="cline-any cline-yes">48x</span>
|
|
3370
3041
|
<span class="cline-any cline-neutral"> </span>
|
|
3371
3042
|
<span class="cline-any cline-neutral"> </span>
|
|
3372
3043
|
<span class="cline-any cline-neutral"> </span>
|
|
3373
3044
|
<span class="cline-any cline-neutral"> </span>
|
|
3374
|
-
<span class="cline-any cline-yes">83x</span>
|
|
3375
3045
|
<span class="cline-any cline-neutral"> </span>
|
|
3046
|
+
<span class="cline-any cline-yes">48x</span>
|
|
3376
3047
|
<span class="cline-any cline-neutral"> </span>
|
|
3377
3048
|
<span class="cline-any cline-neutral"> </span>
|
|
3378
3049
|
<span class="cline-any cline-neutral"> </span>
|
|
3379
3050
|
<span class="cline-any cline-neutral"> </span>
|
|
3380
3051
|
<span class="cline-any cline-neutral"> </span>
|
|
3052
|
+
<span class="cline-any cline-yes">48x</span>
|
|
3381
3053
|
<span class="cline-any cline-neutral"> </span>
|
|
3382
3054
|
<span class="cline-any cline-neutral"> </span>
|
|
3383
3055
|
<span class="cline-any cline-neutral"> </span>
|
|
3384
|
-
<span class="cline-any cline-yes">83x</span>
|
|
3385
3056
|
<span class="cline-any cline-neutral"> </span>
|
|
3386
3057
|
<span class="cline-any cline-neutral"> </span>
|
|
3058
|
+
<span class="cline-any cline-yes">48x</span>
|
|
3387
3059
|
<span class="cline-any cline-neutral"> </span>
|
|
3388
3060
|
<span class="cline-any cline-neutral"> </span>
|
|
3389
3061
|
<span class="cline-any cline-neutral"> </span>
|
|
3390
3062
|
<span class="cline-any cline-neutral"> </span>
|
|
3391
3063
|
<span class="cline-any cline-neutral"> </span>
|
|
3064
|
+
<span class="cline-any cline-yes">48x</span>
|
|
3392
3065
|
<span class="cline-any cline-neutral"> </span>
|
|
3393
|
-
<span class="cline-any cline-yes">83x</span>
|
|
3394
3066
|
<span class="cline-any cline-neutral"> </span>
|
|
3395
3067
|
<span class="cline-any cline-neutral"> </span>
|
|
3396
3068
|
<span class="cline-any cline-neutral"> </span>
|
|
3397
3069
|
<span class="cline-any cline-neutral"> </span>
|
|
3070
|
+
<span class="cline-any cline-yes">48x</span>
|
|
3398
3071
|
<span class="cline-any cline-neutral"> </span>
|
|
3399
3072
|
<span class="cline-any cline-neutral"> </span>
|
|
3400
3073
|
<span class="cline-any cline-neutral"> </span>
|
|
3401
3074
|
<span class="cline-any cline-neutral"> </span>
|
|
3402
3075
|
<span class="cline-any cline-neutral"> </span>
|
|
3403
|
-
<span class="cline-any cline-yes">
|
|
3076
|
+
<span class="cline-any cline-yes">48x</span>
|
|
3404
3077
|
<span class="cline-any cline-neutral"> </span>
|
|
3405
3078
|
<span class="cline-any cline-neutral"> </span>
|
|
3406
3079
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3425,13 +3098,13 @@
|
|
|
3425
3098
|
<span class="cline-any cline-neutral"> </span>
|
|
3426
3099
|
<span class="cline-any cline-neutral"> </span>
|
|
3427
3100
|
<span class="cline-any cline-neutral"> </span>
|
|
3428
|
-
<span class="cline-any cline-yes">
|
|
3429
|
-
<span class="cline-any cline-yes">
|
|
3430
|
-
<span class="cline-any cline-yes">
|
|
3101
|
+
<span class="cline-any cline-yes">48x</span>
|
|
3102
|
+
<span class="cline-any cline-yes">48x</span>
|
|
3103
|
+
<span class="cline-any cline-yes">48x</span>
|
|
3431
3104
|
<span class="cline-any cline-neutral"> </span>
|
|
3432
3105
|
<span class="cline-any cline-neutral"> </span>
|
|
3433
3106
|
<span class="cline-any cline-neutral"> </span>
|
|
3434
|
-
<span class="cline-any cline-yes">
|
|
3107
|
+
<span class="cline-any cline-yes">48x</span>
|
|
3435
3108
|
<span class="cline-any cline-neutral"> </span>
|
|
3436
3109
|
<span class="cline-any cline-neutral"> </span>
|
|
3437
3110
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3475,9 +3148,6 @@
|
|
|
3475
3148
|
<span class="cline-any cline-neutral"> </span>
|
|
3476
3149
|
<span class="cline-any cline-neutral"> </span>
|
|
3477
3150
|
<span class="cline-any cline-no"> </span>
|
|
3478
|
-
<span class="cline-any cline-no"> </span>
|
|
3479
|
-
<span class="cline-any cline-no"> </span>
|
|
3480
|
-
<span class="cline-any cline-no"> </span>
|
|
3481
3151
|
<span class="cline-any cline-neutral"> </span>
|
|
3482
3152
|
<span class="cline-any cline-neutral"> </span>
|
|
3483
3153
|
<span class="cline-any cline-no"> </span>
|
|
@@ -3545,7 +3215,6 @@
|
|
|
3545
3215
|
<span class="cline-any cline-neutral"> </span>
|
|
3546
3216
|
<span class="cline-any cline-no"> </span>
|
|
3547
3217
|
<span class="cline-any cline-no"> </span>
|
|
3548
|
-
<span class="cline-any cline-no"> </span>
|
|
3549
3218
|
<span class="cline-any cline-neutral"> </span>
|
|
3550
3219
|
<span class="cline-any cline-no"> </span>
|
|
3551
3220
|
<span class="cline-any cline-no"> </span>
|
|
@@ -3695,7 +3364,6 @@
|
|
|
3695
3364
|
<span class="cline-any cline-neutral"> </span>
|
|
3696
3365
|
<span class="cline-any cline-no"> </span>
|
|
3697
3366
|
<span class="cline-any cline-no"> </span>
|
|
3698
|
-
<span class="cline-any cline-no"> </span>
|
|
3699
3367
|
<span class="cline-any cline-neutral"> </span>
|
|
3700
3368
|
<span class="cline-any cline-no"> </span>
|
|
3701
3369
|
<span class="cline-any cline-no"> </span>
|
|
@@ -3845,7 +3513,6 @@
|
|
|
3845
3513
|
<span class="cline-any cline-neutral"> </span>
|
|
3846
3514
|
<span class="cline-any cline-no"> </span>
|
|
3847
3515
|
<span class="cline-any cline-no"> </span>
|
|
3848
|
-
<span class="cline-any cline-no"> </span>
|
|
3849
3516
|
<span class="cline-any cline-neutral"> </span>
|
|
3850
3517
|
<span class="cline-any cline-no"> </span>
|
|
3851
3518
|
<span class="cline-any cline-no"> </span>
|
|
@@ -3995,7 +3662,6 @@
|
|
|
3995
3662
|
<span class="cline-any cline-neutral"> </span>
|
|
3996
3663
|
<span class="cline-any cline-no"> </span>
|
|
3997
3664
|
<span class="cline-any cline-no"> </span>
|
|
3998
|
-
<span class="cline-any cline-no"> </span>
|
|
3999
3665
|
<span class="cline-any cline-neutral"> </span>
|
|
4000
3666
|
<span class="cline-any cline-no"> </span>
|
|
4001
3667
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4149,7 +3815,6 @@
|
|
|
4149
3815
|
<span class="cline-any cline-neutral"> </span>
|
|
4150
3816
|
<span class="cline-any cline-no"> </span>
|
|
4151
3817
|
<span class="cline-any cline-no"> </span>
|
|
4152
|
-
<span class="cline-any cline-no"> </span>
|
|
4153
3818
|
<span class="cline-any cline-neutral"> </span>
|
|
4154
3819
|
<span class="cline-any cline-no"> </span>
|
|
4155
3820
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4303,7 +3968,6 @@
|
|
|
4303
3968
|
<span class="cline-any cline-neutral"> </span>
|
|
4304
3969
|
<span class="cline-any cline-no"> </span>
|
|
4305
3970
|
<span class="cline-any cline-no"> </span>
|
|
4306
|
-
<span class="cline-any cline-no"> </span>
|
|
4307
3971
|
<span class="cline-any cline-neutral"> </span>
|
|
4308
3972
|
<span class="cline-any cline-no"> </span>
|
|
4309
3973
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4461,21 +4125,13 @@
|
|
|
4461
4125
|
<span class="cline-any cline-neutral"> </span>
|
|
4462
4126
|
<span class="cline-any cline-no"> </span>
|
|
4463
4127
|
<span class="cline-any cline-no"> </span>
|
|
4464
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4465
|
-
<span class="cline-any cline-no"> </span>
|
|
4466
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4467
|
-
<span class="cline-any cline-no"> </span>
|
|
4468
4128
|
<span class="cline-any cline-no"> </span>
|
|
4469
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4470
4129
|
<span class="cline-any cline-no"> </span>
|
|
4471
4130
|
<span class="cline-any cline-no"> </span>
|
|
4472
4131
|
<span class="cline-any cline-no"> </span>
|
|
4473
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4474
4132
|
<span class="cline-any cline-no"> </span>
|
|
4475
4133
|
<span class="cline-any cline-no"> </span>
|
|
4476
4134
|
<span class="cline-any cline-no"> </span>
|
|
4477
|
-
<span class="cline-any cline-no"> </span>
|
|
4478
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4479
4135
|
<span class="cline-any cline-neutral"> </span>
|
|
4480
4136
|
<span class="cline-any cline-neutral"> </span>
|
|
4481
4137
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4517,23 +4173,15 @@
|
|
|
4517
4173
|
<span class="cline-any cline-neutral"> </span>
|
|
4518
4174
|
<span class="cline-any cline-no"> </span>
|
|
4519
4175
|
<span class="cline-any cline-no"> </span>
|
|
4520
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4521
|
-
<span class="cline-any cline-no"> </span>
|
|
4522
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4523
|
-
<span class="cline-any cline-no"> </span>
|
|
4524
|
-
<span class="cline-any cline-no"> </span>
|
|
4525
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4526
4176
|
<span class="cline-any cline-no"> </span>
|
|
4527
4177
|
<span class="cline-any cline-no"> </span>
|
|
4528
4178
|
<span class="cline-any cline-no"> </span>
|
|
4529
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4530
4179
|
<span class="cline-any cline-no"> </span>
|
|
4531
4180
|
<span class="cline-any cline-no"> </span>
|
|
4532
4181
|
<span class="cline-any cline-no"> </span>
|
|
4533
4182
|
<span class="cline-any cline-no"> </span>
|
|
4534
4183
|
<span class="cline-any cline-neutral"> </span>
|
|
4535
4184
|
<span class="cline-any cline-neutral"> </span>
|
|
4536
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4537
4185
|
<span class="cline-any cline-no"> </span>
|
|
4538
4186
|
<span class="cline-any cline-neutral"> </span>
|
|
4539
4187
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4573,23 +4221,15 @@
|
|
|
4573
4221
|
<span class="cline-any cline-neutral"> </span>
|
|
4574
4222
|
<span class="cline-any cline-no"> </span>
|
|
4575
4223
|
<span class="cline-any cline-no"> </span>
|
|
4576
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4577
|
-
<span class="cline-any cline-no"> </span>
|
|
4578
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4579
4224
|
<span class="cline-any cline-no"> </span>
|
|
4580
4225
|
<span class="cline-any cline-no"> </span>
|
|
4581
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4582
4226
|
<span class="cline-any cline-no"> </span>
|
|
4583
4227
|
<span class="cline-any cline-no"> </span>
|
|
4584
4228
|
<span class="cline-any cline-no"> </span>
|
|
4585
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4586
|
-
<span class="cline-any cline-no"> </span>
|
|
4587
|
-
<span class="cline-any cline-no"> </span>
|
|
4588
4229
|
<span class="cline-any cline-no"> </span>
|
|
4589
4230
|
<span class="cline-any cline-no"> </span>
|
|
4590
4231
|
<span class="cline-any cline-neutral"> </span>
|
|
4591
4232
|
<span class="cline-any cline-neutral"> </span>
|
|
4592
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4593
4233
|
<span class="cline-any cline-no"> </span>
|
|
4594
4234
|
<span class="cline-any cline-neutral"> </span>
|
|
4595
4235
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4629,23 +4269,15 @@
|
|
|
4629
4269
|
<span class="cline-any cline-neutral"> </span>
|
|
4630
4270
|
<span class="cline-any cline-no"> </span>
|
|
4631
4271
|
<span class="cline-any cline-no"> </span>
|
|
4632
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4633
|
-
<span class="cline-any cline-no"> </span>
|
|
4634
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4635
|
-
<span class="cline-any cline-no"> </span>
|
|
4636
|
-
<span class="cline-any cline-no"> </span>
|
|
4637
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4638
4272
|
<span class="cline-any cline-no"> </span>
|
|
4639
4273
|
<span class="cline-any cline-no"> </span>
|
|
4640
4274
|
<span class="cline-any cline-no"> </span>
|
|
4641
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4642
4275
|
<span class="cline-any cline-no"> </span>
|
|
4643
4276
|
<span class="cline-any cline-no"> </span>
|
|
4644
4277
|
<span class="cline-any cline-no"> </span>
|
|
4645
4278
|
<span class="cline-any cline-no"> </span>
|
|
4646
4279
|
<span class="cline-any cline-neutral"> </span>
|
|
4647
4280
|
<span class="cline-any cline-neutral"> </span>
|
|
4648
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4649
4281
|
<span class="cline-any cline-no"> </span>
|
|
4650
4282
|
<span class="cline-any cline-neutral"> </span>
|
|
4651
4283
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4685,21 +4317,13 @@
|
|
|
4685
4317
|
<span class="cline-any cline-neutral"> </span>
|
|
4686
4318
|
<span class="cline-any cline-no"> </span>
|
|
4687
4319
|
<span class="cline-any cline-no"> </span>
|
|
4688
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4689
4320
|
<span class="cline-any cline-no"> </span>
|
|
4690
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4691
4321
|
<span class="cline-any cline-no"> </span>
|
|
4692
4322
|
<span class="cline-any cline-no"> </span>
|
|
4693
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4694
4323
|
<span class="cline-any cline-no"> </span>
|
|
4695
4324
|
<span class="cline-any cline-no"> </span>
|
|
4696
4325
|
<span class="cline-any cline-no"> </span>
|
|
4697
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4698
4326
|
<span class="cline-any cline-no"> </span>
|
|
4699
|
-
<span class="cline-any cline-no"> </span>
|
|
4700
|
-
<span class="cline-any cline-no"> </span>
|
|
4701
|
-
<span class="cline-any cline-no"> </span>
|
|
4702
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4703
4327
|
<span class="cline-any cline-neutral"> </span>
|
|
4704
4328
|
<span class="cline-any cline-neutral"> </span>
|
|
4705
4329
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4741,80 +4365,17 @@
|
|
|
4741
4365
|
<span class="cline-any cline-neutral"> </span>
|
|
4742
4366
|
<span class="cline-any cline-no"> </span>
|
|
4743
4367
|
<span class="cline-any cline-no"> </span>
|
|
4744
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4745
4368
|
<span class="cline-any cline-no"> </span>
|
|
4746
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4747
4369
|
<span class="cline-any cline-no"> </span>
|
|
4748
4370
|
<span class="cline-any cline-no"> </span>
|
|
4749
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4750
4371
|
<span class="cline-any cline-no"> </span>
|
|
4751
4372
|
<span class="cline-any cline-no"> </span>
|
|
4752
4373
|
<span class="cline-any cline-no"> </span>
|
|
4753
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4754
|
-
<span class="cline-any cline-no"> </span>
|
|
4755
|
-
<span class="cline-any cline-no"> </span>
|
|
4756
|
-
<span class="cline-any cline-no"> </span>
|
|
4757
|
-
<span class="cline-any cline-no"> </span>
|
|
4758
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4759
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4760
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4761
|
-
<span class="cline-any cline-no"> </span>
|
|
4762
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4763
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4764
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4765
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4766
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4767
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4768
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4769
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4770
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4771
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4772
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4773
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4774
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4775
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4776
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4777
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4778
|
-
<span class="cline-any cline-no"> </span>
|
|
4779
|
-
<span class="cline-any cline-no"> </span>
|
|
4780
|
-
<span class="cline-any cline-no"> </span>
|
|
4781
|
-
<span class="cline-any cline-no"> </span>
|
|
4782
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4783
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4784
|
-
<span class="cline-any cline-no"> </span>
|
|
4785
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4786
|
-
<span class="cline-any cline-no"> </span>
|
|
4787
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4788
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4789
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4790
|
-
<span class="cline-any cline-no"> </span>
|
|
4791
|
-
<span class="cline-any cline-no"> </span>
|
|
4792
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4793
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4794
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4795
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4796
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4797
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4798
|
-
<span class="cline-any cline-no"> </span>
|
|
4799
|
-
<span class="cline-any cline-no"> </span>
|
|
4800
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4801
4374
|
<span class="cline-any cline-no"> </span>
|
|
4802
4375
|
<span class="cline-any cline-neutral"> </span>
|
|
4803
|
-
<span class="cline-any cline-no"> </span>
|
|
4804
|
-
<span class="cline-any cline-no"> </span>
|
|
4805
4376
|
<span class="cline-any cline-neutral"> </span>
|
|
4806
4377
|
<span class="cline-any cline-no"> </span>
|
|
4807
|
-
<span class="cline-any cline-no"> </span>
|
|
4808
|
-
<span class="cline-any cline-no"> </span>
|
|
4809
4378
|
<span class="cline-any cline-neutral"> </span>
|
|
4810
|
-
<span class="cline-any cline-no"> </span>
|
|
4811
|
-
<span class="cline-any cline-no"> </span>
|
|
4812
|
-
<span class="cline-any cline-no"> </span>
|
|
4813
|
-
<span class="cline-any cline-no"> </span>
|
|
4814
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4815
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4816
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4817
|
-
<span class="cline-any cline-no"> </span>
|
|
4818
4379
|
<span class="cline-any cline-neutral"> </span>
|
|
4819
4380
|
<span class="cline-any cline-neutral"> </span>
|
|
4820
4381
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4846,7 +4407,7 @@
|
|
|
4846
4407
|
<span class="cline-any cline-no"> </span>
|
|
4847
4408
|
<span class="cline-any cline-neutral"> </span>
|
|
4848
4409
|
<span class="cline-any cline-neutral"> </span>
|
|
4849
|
-
<span class="cline-any cline-yes">
|
|
4410
|
+
<span class="cline-any cline-yes">48x</span>
|
|
4850
4411
|
<span class="cline-any cline-neutral"> </span>
|
|
4851
4412
|
<span class="cline-any cline-neutral"> </span>
|
|
4852
4413
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4878,40 +4439,16 @@
|
|
|
4878
4439
|
<span class="cline-any cline-no"> </span>
|
|
4879
4440
|
<span class="cline-any cline-no"> </span>
|
|
4880
4441
|
<span class="cline-any cline-no"> </span>
|
|
4881
|
-
<span class="cline-any cline-no"> </span>
|
|
4882
|
-
<span class="cline-any cline-no"> </span>
|
|
4883
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4884
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4885
|
-
<span class="cline-any cline-no"> </span>
|
|
4886
|
-
<span class="cline-any cline-no"> </span>
|
|
4887
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4888
|
-
<span class="cline-any cline-no"> </span>
|
|
4889
|
-
<span class="cline-any cline-no"> </span>
|
|
4890
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4891
|
-
<span class="cline-any cline-no"> </span>
|
|
4892
|
-
<span class="cline-any cline-no"> </span>
|
|
4893
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4894
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4895
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4896
4442
|
<span class="cline-any cline-neutral"> </span>
|
|
4897
|
-
<span class="cline-any cline-no"> </span>
|
|
4898
|
-
<span class="cline-any cline-no"> </span>
|
|
4899
4443
|
<span class="cline-any cline-neutral"> </span>
|
|
4900
4444
|
<span class="cline-any cline-neutral"> </span>
|
|
4901
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4902
|
-
<span class="cline-any cline-no"> </span>
|
|
4903
4445
|
<span class="cline-any cline-no"> </span>
|
|
4904
4446
|
<span class="cline-any cline-no"> </span>
|
|
4905
4447
|
<span class="cline-any cline-no"> </span>
|
|
4906
4448
|
<span class="cline-any cline-neutral"> </span>
|
|
4907
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4908
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4909
|
-
<span class="cline-any cline-no"> </span>
|
|
4910
4449
|
<span class="cline-any cline-no"> </span>
|
|
4911
4450
|
<span class="cline-any cline-no"> </span>
|
|
4912
4451
|
<span class="cline-any cline-neutral"> </span>
|
|
4913
|
-
<span class="cline-any cline-no"> </span>
|
|
4914
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4915
4452
|
<span class="cline-any cline-neutral"> </span>
|
|
4916
4453
|
<span class="cline-any cline-neutral"> </span>
|
|
4917
4454
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4928,14 +4465,9 @@
|
|
|
4928
4465
|
<span class="cline-any cline-no"> </span>
|
|
4929
4466
|
<span class="cline-any cline-neutral"> </span>
|
|
4930
4467
|
<span class="cline-any cline-neutral"> </span>
|
|
4468
|
+
<span class="cline-any cline-yes">1x</span>
|
|
4931
4469
|
<span class="cline-any cline-neutral"> </span>
|
|
4932
4470
|
<span class="cline-any cline-neutral"> </span>
|
|
4933
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4934
|
-
<span class="cline-any cline-no"> </span>
|
|
4935
|
-
<span class="cline-any cline-no"> </span>
|
|
4936
|
-
<span class="cline-any cline-no"> </span>
|
|
4937
|
-
<span class="cline-any cline-no"> </span>
|
|
4938
|
-
<span class="cline-any cline-no"> </span>
|
|
4939
4471
|
<span class="cline-any cline-no"> </span>
|
|
4940
4472
|
<span class="cline-any cline-no"> </span>
|
|
4941
4473
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5064,6 +4596,8 @@
|
|
|
5064
4596
|
<span class="cline-any cline-no"> </span>
|
|
5065
4597
|
<span class="cline-any cline-neutral"> </span>
|
|
5066
4598
|
<span class="cline-any cline-no"> </span>
|
|
4599
|
+
<span class="cline-any cline-no"> </span>
|
|
4600
|
+
<span class="cline-any cline-no"> </span>
|
|
5067
4601
|
<span class="cline-any cline-neutral"> </span>
|
|
5068
4602
|
<span class="cline-any cline-neutral"> </span>
|
|
5069
4603
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5087,13 +4621,6 @@
|
|
|
5087
4621
|
<span class="cline-any cline-no"> </span>
|
|
5088
4622
|
<span class="cline-any cline-neutral"> </span>
|
|
5089
4623
|
<span class="cline-any cline-no"> </span>
|
|
5090
|
-
<span class="cline-any cline-no"> </span>
|
|
5091
|
-
<span class="cline-any cline-no"> </span>
|
|
5092
|
-
<span class="cline-any cline-no"> </span>
|
|
5093
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5094
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5095
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5096
|
-
<span class="cline-any cline-no"> </span>
|
|
5097
4624
|
<span class="cline-any cline-neutral"> </span>
|
|
5098
4625
|
<span class="cline-any cline-neutral"> </span>
|
|
5099
4626
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5138,12 +4665,6 @@
|
|
|
5138
4665
|
<span class="cline-any cline-no"> </span>
|
|
5139
4666
|
<span class="cline-any cline-no"> </span>
|
|
5140
4667
|
<span class="cline-any cline-no"> </span>
|
|
5141
|
-
<span class="cline-any cline-no"> </span>
|
|
5142
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5143
|
-
<span class="cline-any cline-no"> </span>
|
|
5144
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5145
|
-
<span class="cline-any cline-no"> </span>
|
|
5146
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5147
4668
|
<span class="cline-any cline-neutral"> </span>
|
|
5148
4669
|
<span class="cline-any cline-neutral"> </span>
|
|
5149
4670
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5156,7 +4677,6 @@
|
|
|
5156
4677
|
<span class="cline-any cline-neutral"> </span>
|
|
5157
4678
|
<span class="cline-any cline-neutral"> </span>
|
|
5158
4679
|
<span class="cline-any cline-neutral"> </span>
|
|
5159
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5160
4680
|
<span class="cline-any cline-no"> </span>
|
|
5161
4681
|
<span class="cline-any cline-no"> </span>
|
|
5162
4682
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5201,6 +4721,7 @@
|
|
|
5201
4721
|
<span class="cline-any cline-no"> </span>
|
|
5202
4722
|
<span class="cline-any cline-no"> </span>
|
|
5203
4723
|
<span class="cline-any cline-no"> </span>
|
|
4724
|
+
<span class="cline-any cline-neutral"> </span>
|
|
5204
4725
|
<span class="cline-any cline-no"> </span>
|
|
5205
4726
|
<span class="cline-any cline-no"> </span>
|
|
5206
4727
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5321,22 +4842,8 @@
|
|
|
5321
4842
|
<span class="cline-any cline-neutral"> </span>
|
|
5322
4843
|
<span class="cline-any cline-neutral"> </span>
|
|
5323
4844
|
<span class="cline-any cline-neutral"> </span>
|
|
5324
|
-
<span class="cline-any cline-no"> </span>
|
|
5325
|
-
<span class="cline-any cline-no"> </span>
|
|
5326
|
-
<span class="cline-any cline-no"> </span>
|
|
5327
|
-
<span class="cline-any cline-no"> </span>
|
|
5328
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5329
|
-
<span class="cline-any cline-no"> </span>
|
|
5330
|
-
<span class="cline-any cline-no"> </span>
|
|
5331
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5332
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5333
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5334
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5335
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5336
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5337
4845
|
<span class="cline-any cline-yes">1x</span>
|
|
5338
|
-
<span class="cline-any cline-
|
|
5339
|
-
<span class="cline-any cline-no"> </span>
|
|
4846
|
+
<span class="cline-any cline-neutral"> </span>
|
|
5340
4847
|
<span class="cline-any cline-no"> </span>
|
|
5341
4848
|
<span class="cline-any cline-neutral"> </span>
|
|
5342
4849
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5345,6 +4852,7 @@
|
|
|
5345
4852
|
<span class="cline-any cline-neutral"> </span>
|
|
5346
4853
|
<span class="cline-any cline-neutral"> </span>
|
|
5347
4854
|
<span class="cline-any cline-no"> </span>
|
|
4855
|
+
<span class="cline-any cline-neutral"> </span>
|
|
5348
4856
|
<span class="cline-any cline-no"> </span>
|
|
5349
4857
|
<span class="cline-any cline-neutral"> </span>
|
|
5350
4858
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5378,8 +4886,6 @@
|
|
|
5378
4886
|
<span class="cline-any cline-no"> </span>
|
|
5379
4887
|
<span class="cline-any cline-neutral"> </span>
|
|
5380
4888
|
<span class="cline-any cline-neutral"> </span>
|
|
5381
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5382
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5383
4889
|
<span class="cline-any cline-no"> </span>
|
|
5384
4890
|
<span class="cline-any cline-no"> </span>
|
|
5385
4891
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5390,9 +4896,6 @@
|
|
|
5390
4896
|
<span class="cline-any cline-neutral"> </span>
|
|
5391
4897
|
<span class="cline-any cline-neutral"> </span>
|
|
5392
4898
|
<span class="cline-any cline-neutral"> </span>
|
|
5393
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5394
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5395
|
-
<span class="cline-any cline-no"> </span>
|
|
5396
4899
|
<span class="cline-any cline-no"> </span>
|
|
5397
4900
|
<span class="cline-any cline-no"> </span>
|
|
5398
4901
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5405,21 +4908,11 @@
|
|
|
5405
4908
|
<span class="cline-any cline-no"> </span>
|
|
5406
4909
|
<span class="cline-any cline-no"> </span>
|
|
5407
4910
|
<span class="cline-any cline-no"> </span>
|
|
5408
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5409
|
-
<span class="cline-any cline-no"> </span>
|
|
5410
|
-
<span class="cline-any cline-no"> </span>
|
|
5411
|
-
<span class="cline-any cline-no"> </span>
|
|
5412
4911
|
<span class="cline-any cline-no"> </span>
|
|
5413
4912
|
<span class="cline-any cline-neutral"> </span>
|
|
5414
4913
|
<span class="cline-any cline-neutral"> </span>
|
|
5415
4914
|
<span class="cline-any cline-neutral"> </span>
|
|
5416
4915
|
<span class="cline-any cline-no"> </span>
|
|
5417
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5418
|
-
<span class="cline-any cline-no"> </span>
|
|
5419
|
-
<span class="cline-any cline-no"> </span>
|
|
5420
|
-
<span class="cline-any cline-no"> </span>
|
|
5421
|
-
<span class="cline-any cline-no"> </span>
|
|
5422
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5423
4916
|
<span class="cline-any cline-no"> </span>
|
|
5424
4917
|
<span class="cline-any cline-no"> </span>
|
|
5425
4918
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5430,14 +4923,12 @@
|
|
|
5430
4923
|
<span class="cline-any cline-no"> </span>
|
|
5431
4924
|
<span class="cline-any cline-neutral"> </span>
|
|
5432
4925
|
<span class="cline-any cline-neutral"> </span>
|
|
5433
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5434
4926
|
<span class="cline-any cline-no"> </span>
|
|
5435
4927
|
<span class="cline-any cline-neutral"> </span>
|
|
5436
4928
|
<span class="cline-any cline-no"> </span>
|
|
5437
4929
|
<span class="cline-any cline-neutral"> </span>
|
|
5438
4930
|
<span class="cline-any cline-neutral"> </span>
|
|
5439
4931
|
<span class="cline-any cline-no"> </span>
|
|
5440
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5441
4932
|
<span class="cline-any cline-no"> </span>
|
|
5442
4933
|
<span class="cline-any cline-neutral"> </span>
|
|
5443
4934
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5461,6 +4952,7 @@
|
|
|
5461
4952
|
<span class="cline-any cline-no"> </span>
|
|
5462
4953
|
<span class="cline-any cline-neutral"> </span>
|
|
5463
4954
|
<span class="cline-any cline-neutral"> </span>
|
|
4955
|
+
<span class="cline-any cline-neutral"> </span>
|
|
5464
4956
|
<span class="cline-any cline-no"> </span>
|
|
5465
4957
|
<span class="cline-any cline-neutral"> </span>
|
|
5466
4958
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5472,6 +4964,7 @@
|
|
|
5472
4964
|
<span class="cline-any cline-neutral"> </span>
|
|
5473
4965
|
<span class="cline-any cline-no"> </span>
|
|
5474
4966
|
<span class="cline-any cline-no"> </span>
|
|
4967
|
+
<span class="cline-any cline-neutral"> </span>
|
|
5475
4968
|
<span class="cline-any cline-no"> </span>
|
|
5476
4969
|
<span class="cline-any cline-no"> </span>
|
|
5477
4970
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5484,12 +4977,14 @@
|
|
|
5484
4977
|
<span class="cline-any cline-no"> </span>
|
|
5485
4978
|
<span class="cline-any cline-no"> </span>
|
|
5486
4979
|
<span class="cline-any cline-no"> </span>
|
|
4980
|
+
<span class="cline-any cline-neutral"> </span>
|
|
5487
4981
|
<span class="cline-any cline-no"> </span>
|
|
5488
4982
|
<span class="cline-any cline-no"> </span>
|
|
5489
4983
|
<span class="cline-any cline-no"> </span>
|
|
5490
4984
|
<span class="cline-any cline-no"> </span>
|
|
5491
4985
|
<span class="cline-any cline-neutral"> </span>
|
|
5492
4986
|
<span class="cline-any cline-no"> </span>
|
|
4987
|
+
<span class="cline-any cline-neutral"> </span>
|
|
5493
4988
|
<span class="cline-any cline-no"> </span>
|
|
5494
4989
|
<span class="cline-any cline-no"> </span>
|
|
5495
4990
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5525,53 +5020,29 @@
|
|
|
5525
5020
|
<span class="cline-any cline-neutral"> </span>
|
|
5526
5021
|
<span class="cline-any cline-neutral"> </span>
|
|
5527
5022
|
<span class="cline-any cline-neutral"> </span>
|
|
5528
|
-
<span class="cline-any cline-no"> </span>
|
|
5529
|
-
<span class="cline-any cline-no"> </span>
|
|
5530
|
-
<span class="cline-any cline-no"> </span>
|
|
5531
|
-
<span class="cline-any cline-no"> </span>
|
|
5532
5023
|
<span class="cline-any cline-neutral"> </span>
|
|
5533
5024
|
<span class="cline-any cline-no"> </span>
|
|
5534
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5535
5025
|
<span class="cline-any cline-no"> </span>
|
|
5536
5026
|
<span class="cline-any cline-no"> </span>
|
|
5537
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5538
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5539
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5540
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5541
5027
|
<span class="cline-any cline-no"> </span>
|
|
5542
5028
|
<span class="cline-any cline-neutral"> </span>
|
|
5543
5029
|
<span class="cline-any cline-neutral"> </span>
|
|
5544
5030
|
<span class="cline-any cline-no"> </span>
|
|
5545
|
-
<span class="cline-any cline-no"> </span>
|
|
5546
|
-
<span class="cline-any cline-no"> </span>
|
|
5547
|
-
<span class="cline-any cline-no"> </span>
|
|
5548
|
-
<span class="cline-any cline-no"> </span>
|
|
5549
|
-
<span class="cline-any cline-no"> </span>
|
|
5550
|
-
<span class="cline-any cline-no"> </span>
|
|
5551
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5552
5031
|
<span class="cline-any cline-neutral"> </span>
|
|
5553
5032
|
<span class="cline-any cline-no"> </span>
|
|
5554
5033
|
<span class="cline-any cline-no"> </span>
|
|
5555
5034
|
<span class="cline-any cline-neutral"> </span>
|
|
5556
5035
|
<span class="cline-any cline-neutral"> </span>
|
|
5557
5036
|
<span class="cline-any cline-neutral"> </span>
|
|
5558
|
-
<span class="cline-any cline-no"> </span>
|
|
5559
5037
|
<span class="cline-any cline-neutral"> </span>
|
|
5560
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5561
|
-
<span class="cline-any cline-no"> </span>
|
|
5562
|
-
<span class="cline-any cline-no"> </span>
|
|
5563
|
-
<span class="cline-any cline-no"> </span>
|
|
5564
5038
|
<span class="cline-any cline-no"> </span>
|
|
5565
5039
|
<span class="cline-any cline-neutral"> </span>
|
|
5566
5040
|
<span class="cline-any cline-neutral"> </span>
|
|
5567
|
-
<span class="cline-any cline-no"> </span>
|
|
5568
|
-
<span class="cline-any cline-no"> </span>
|
|
5569
5041
|
<span class="cline-any cline-neutral"> </span>
|
|
5570
5042
|
<span class="cline-any cline-no"> </span>
|
|
5043
|
+
<span class="cline-any cline-neutral"> </span>
|
|
5571
5044
|
<span class="cline-any cline-no"> </span>
|
|
5572
5045
|
<span class="cline-any cline-no"> </span>
|
|
5573
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5574
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5575
5046
|
<span class="cline-any cline-no"> </span>
|
|
5576
5047
|
<span class="cline-any cline-no"> </span>
|
|
5577
5048
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5579,11 +5050,10 @@
|
|
|
5579
5050
|
<span class="cline-any cline-neutral"> </span>
|
|
5580
5051
|
<span class="cline-any cline-neutral"> </span>
|
|
5581
5052
|
<span class="cline-any cline-neutral"> </span>
|
|
5582
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5583
|
-
<span class="cline-any cline-no"> </span>
|
|
5584
5053
|
<span class="cline-any cline-no"> </span>
|
|
5585
5054
|
<span class="cline-any cline-neutral"> </span>
|
|
5586
5055
|
<span class="cline-any cline-no"> </span>
|
|
5056
|
+
<span class="cline-any cline-neutral"> </span>
|
|
5587
5057
|
<span class="cline-any cline-no"> </span>
|
|
5588
5058
|
<span class="cline-any cline-no"> </span>
|
|
5589
5059
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5600,6 +5070,7 @@
|
|
|
5600
5070
|
<span class="cline-any cline-no"> </span>
|
|
5601
5071
|
<span class="cline-any cline-no"> </span>
|
|
5602
5072
|
<span class="cline-any cline-no"> </span>
|
|
5073
|
+
<span class="cline-any cline-no"> </span>
|
|
5603
5074
|
<span class="cline-any cline-neutral"> </span>
|
|
5604
5075
|
<span class="cline-any cline-no"> </span>
|
|
5605
5076
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5621,7 +5092,7 @@
|
|
|
5621
5092
|
<span class="cline-any cline-no"> </span>
|
|
5622
5093
|
<span class="cline-any cline-no"> </span>
|
|
5623
5094
|
<span class="cline-any cline-no"> </span>
|
|
5624
|
-
<span class="cline-any cline-
|
|
5095
|
+
<span class="cline-any cline-no"> </span>
|
|
5625
5096
|
<span class="cline-any cline-no"> </span>
|
|
5626
5097
|
<span class="cline-any cline-no"> </span>
|
|
5627
5098
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5633,6 +5104,7 @@
|
|
|
5633
5104
|
<span class="cline-any cline-no"> </span>
|
|
5634
5105
|
<span class="cline-any cline-no"> </span>
|
|
5635
5106
|
<span class="cline-any cline-no"> </span>
|
|
5107
|
+
<span class="cline-any cline-no"> </span>
|
|
5636
5108
|
<span class="cline-any cline-neutral"> </span>
|
|
5637
5109
|
<span class="cline-any cline-no"> </span>
|
|
5638
5110
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5652,8 +5124,6 @@
|
|
|
5652
5124
|
<span class="cline-any cline-neutral"> </span>
|
|
5653
5125
|
<span class="cline-any cline-neutral"> </span>
|
|
5654
5126
|
<span class="cline-any cline-neutral"> </span>
|
|
5655
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5656
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5657
5127
|
<span class="cline-any cline-no"> </span>
|
|
5658
5128
|
<span class="cline-any cline-neutral"> </span>
|
|
5659
5129
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5661,22 +5131,13 @@
|
|
|
5661
5131
|
<span class="cline-any cline-no"> </span>
|
|
5662
5132
|
<span class="cline-any cline-no"> </span>
|
|
5663
5133
|
<span class="cline-any cline-no"> </span>
|
|
5664
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5665
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5666
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5667
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5668
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5669
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5670
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5671
5134
|
<span class="cline-any cline-no"> </span>
|
|
5672
5135
|
<span class="cline-any cline-neutral"> </span>
|
|
5673
5136
|
<span class="cline-any cline-neutral"> </span>
|
|
5674
5137
|
<span class="cline-any cline-no"> </span>
|
|
5675
5138
|
<span class="cline-any cline-neutral"> </span>
|
|
5676
5139
|
<span class="cline-any cline-neutral"> </span>
|
|
5677
|
-
<span class="cline-any cline-
|
|
5678
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5679
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5140
|
+
<span class="cline-any cline-no"> </span>
|
|
5680
5141
|
<span class="cline-any cline-neutral"> </span>
|
|
5681
5142
|
<span class="cline-any cline-neutral"> </span>
|
|
5682
5143
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5686,11 +5147,6 @@
|
|
|
5686
5147
|
<span class="cline-any cline-no"> </span>
|
|
5687
5148
|
<span class="cline-any cline-neutral"> </span>
|
|
5688
5149
|
<span class="cline-any cline-neutral"> </span>
|
|
5689
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5690
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5691
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5692
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5693
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5694
5150
|
<span class="cline-any cline-no"> </span>
|
|
5695
5151
|
<span class="cline-any cline-neutral"> </span>
|
|
5696
5152
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5762,11 +5218,10 @@
|
|
|
5762
5218
|
<span class="cline-any cline-neutral"> </span>
|
|
5763
5219
|
<span class="cline-any cline-neutral"> </span>
|
|
5764
5220
|
<span class="cline-any cline-neutral"> </span>
|
|
5765
|
-
<span class="cline-any cline-yes">
|
|
5221
|
+
<span class="cline-any cline-yes">48x</span>
|
|
5766
5222
|
<span class="cline-any cline-neutral"> </span>
|
|
5767
5223
|
<span class="cline-any cline-neutral"> </span>
|
|
5768
5224
|
<span class="cline-any cline-no"> </span>
|
|
5769
|
-
<span class="cline-any cline-no"> </span>
|
|
5770
5225
|
<span class="cline-any cline-neutral"> </span>
|
|
5771
5226
|
<span class="cline-any cline-no"> </span>
|
|
5772
5227
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5959,23 +5414,6 @@
|
|
|
5959
5414
|
<span class="cline-any cline-no"> </span>
|
|
5960
5415
|
<span class="cline-any cline-neutral"> </span>
|
|
5961
5416
|
<span class="cline-any cline-neutral"> </span>
|
|
5962
|
-
<span class="cline-any cline-no"> </span>
|
|
5963
|
-
<span class="cline-any cline-no"> </span>
|
|
5964
|
-
<span class="cline-any cline-no"> </span>
|
|
5965
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5966
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5967
|
-
<span class="cline-any cline-no"> </span>
|
|
5968
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5969
|
-
<span class="cline-any cline-no"> </span>
|
|
5970
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5971
|
-
<span class="cline-any cline-no"> </span>
|
|
5972
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5973
|
-
<span class="cline-any cline-no"> </span>
|
|
5974
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5975
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5976
|
-
<span class="cline-any cline-no"> </span>
|
|
5977
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5978
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5979
5417
|
<span class="cline-any cline-neutral"> </span>
|
|
5980
5418
|
<span class="cline-any cline-neutral"> </span>
|
|
5981
5419
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5985,8 +5423,6 @@
|
|
|
5985
5423
|
<span class="cline-any cline-no"> </span>
|
|
5986
5424
|
<span class="cline-any cline-no"> </span>
|
|
5987
5425
|
<span class="cline-any cline-no"> </span>
|
|
5988
|
-
<span class="cline-any cline-no"> </span>
|
|
5989
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5990
5426
|
<span class="cline-any cline-neutral"> </span>
|
|
5991
5427
|
<span class="cline-any cline-neutral"> </span>
|
|
5992
5428
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -6317,78 +5753,51 @@
|
|
|
6317
5753
|
<span class="cline-any cline-neutral"> </span>
|
|
6318
5754
|
<span class="cline-any cline-neutral"> </span>
|
|
6319
5755
|
<span class="cline-any cline-neutral"> </span>
|
|
6320
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import
|
|
6321
|
-
|
|
6322
|
-
wrapIteratorToGenerator as wrapIterator,
|
|
6323
|
-
returnOrigin,
|
|
6324
|
-
} from '../utils/time-slicing';
|
|
6325
|
-
import type { EmbeddedTSFileGenerator } from '../utils';
|
|
6326
|
-
import type Namespace from './Namespace__';
|
|
6327
|
-
import {
|
|
6328
|
-
TranslatorState,
|
|
6329
|
-
shiftState,
|
|
6330
|
-
withSourceMap,
|
|
6331
|
-
indent,
|
|
6332
|
-
createCompilerState,
|
|
6333
|
-
withSourceMapGenerator,
|
|
6334
|
-
withGenerator,
|
|
6335
|
-
TranslatorGenerator,
|
|
6336
|
-
} from '../translator';
|
|
5756
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import Namespace from './Namespace__';
|
|
5757
|
+
import { TranslatorState, shiftState, withSourceMap, indent, createCompilerState } from '../translator';
|
|
6337
5758
|
import translator from '../bak/translator';
|
|
6338
5759
|
import { ElementToVueOptions } from './ViewElement__';
|
|
6339
5760
|
import { Structure } from './Structure__';
|
|
6340
|
-
import
|
|
6341
|
-
import
|
|
6342
|
-
import
|
|
6343
|
-
import
|
|
6344
|
-
import
|
|
6345
|
-
import
|
|
6346
|
-
import
|
|
6347
|
-
import type DefaultValue from './DefaultValue__';
|
|
6348
|
-
import type Interface from './Interface__';
|
|
6349
|
-
|
|
6350
|
-
const getBranchCopyUniCode = <span class="fstat-no" title="function not covered" >() => (<span class="cstat-no" title="statement not covered" >w</span>indow as any)?.BranchCopyUniCode;</span>
|
|
6351
|
-
const removedViewElementCache: {
|
|
6352
|
-
[key: string]: number | bigint;
|
|
6353
|
-
} = {}; // 临时记录删除的页面元素计数的最大值
|
|
5761
|
+
import MemberExpression from './MemberExpression__';
|
|
5762
|
+
import Identifier from './Identifier__';
|
|
5763
|
+
import Assignment from './Assignment__';
|
|
5764
|
+
import Match from './Match__';
|
|
5765
|
+
import BatchAssignment from './BatchAssignment__';
|
|
5766
|
+
import CallInterface from './CallInterface__';
|
|
5767
|
+
import CallLogic from './CallLogic__';
|
|
6354
5768
|
|
|
6355
5769
|
//================================================================================
|
|
6356
5770
|
// 从这里开始到结尾注释之间的代码由 NASL Workbench 自动生成,请不手动修改!
|
|
6357
5771
|
// ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
|
|
6358
5772
|
//================================================================================
|
|
6359
5773
|
import { EventPayload, Params } from '../common/EventEmitter';
|
|
6360
|
-
import { concept, excludedInJSON, property,
|
|
5774
|
+
import { concept, excludedInJSON, property, className } from '../decorators';
|
|
6361
5775
|
|
|
6362
5776
|
import * as utils from '../utils';
|
|
6363
|
-
import * as types from './utils/types';
|
|
6364
|
-
import * as asserts from './utils/asserts';
|
|
6365
5777
|
import { v4 as uuidv4 } from 'uuid';
|
|
6366
5778
|
import BaseNode from '../common/BaseNode';
|
|
6367
|
-
import
|
|
6368
|
-
import
|
|
6369
|
-
import
|
|
6370
|
-
import
|
|
6371
|
-
import
|
|
6372
|
-
import
|
|
6373
|
-
import
|
|
6374
|
-
import
|
|
6375
|
-
import type App from './App__';
|
|
5779
|
+
import ViewElement from './ViewElement__';
|
|
5780
|
+
import Param from './Param__';
|
|
5781
|
+
import Variable from './Variable__';
|
|
5782
|
+
import Logic from './Logic__';
|
|
5783
|
+
import BindEvent from './BindEvent__';
|
|
5784
|
+
import Module from './Module__';
|
|
5785
|
+
import Frontend from './Frontend__';
|
|
5786
|
+
import App from './App__';
|
|
6376
5787
|
|
|
6377
5788
|
/**
|
|
6378
5789
|
* 页面
|
|
6379
5790
|
*/
|
|
5791
|
+
@className
|
|
6380
5792
|
@concept('页面')
|
|
5793
|
+
// @ts-ignore
|
|
6381
5794
|
export class View extends BaseNode {
|
|
6382
5795
|
/** 类名 */
|
|
6383
|
-
static readonly ConceptName
|
|
6384
|
-
|
|
6385
|
-
/** 继承链 */
|
|
6386
|
-
static readonly inheritanceChain: string[] = ['BaseNode'];
|
|
5796
|
+
static readonly ConceptName = 'View';
|
|
6387
5797
|
|
|
6388
5798
|
/**
|
|
6389
5799
|
* 产品概念
|
|
6390
5800
|
*/
|
|
6391
|
-
@property('concept')
|
|
6392
5801
|
// @ts-ignore
|
|
6393
5802
|
readonly concept!: 'View';
|
|
6394
5803
|
|
|
@@ -6396,137 +5805,119 @@ export class View extends BaseNode {
|
|
|
6396
5805
|
* 页面模板 Id
|
|
6397
5806
|
*/
|
|
6398
5807
|
@property()
|
|
5808
|
+
// @ts-ignore
|
|
6399
5809
|
pageTemplateId!: string;
|
|
6400
5810
|
|
|
6401
5811
|
/**
|
|
6402
5812
|
* 页面名称
|
|
6403
5813
|
*/
|
|
6404
5814
|
@property()
|
|
5815
|
+
// @ts-ignore
|
|
6405
5816
|
name!: string;
|
|
6406
5817
|
|
|
6407
5818
|
/**
|
|
6408
5819
|
* 唯一标识
|
|
6409
5820
|
*/
|
|
6410
5821
|
@property()
|
|
5822
|
+
// @ts-ignore
|
|
6411
5823
|
uuid!: string;
|
|
6412
5824
|
|
|
6413
5825
|
/**
|
|
6414
5826
|
* 页面标题
|
|
6415
5827
|
*/
|
|
6416
5828
|
@property()
|
|
5829
|
+
// @ts-ignore
|
|
6417
5830
|
title!: string;
|
|
6418
5831
|
|
|
6419
5832
|
/**
|
|
6420
5833
|
* 面包屑
|
|
6421
5834
|
*/
|
|
6422
|
-
@property(
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
crumb!: StaticString;
|
|
5835
|
+
@property()
|
|
5836
|
+
// @ts-ignore
|
|
5837
|
+
crumb!: string;
|
|
6426
5838
|
|
|
6427
5839
|
/**
|
|
6428
5840
|
* 权限控制
|
|
6429
5841
|
*/
|
|
6430
5842
|
@property()
|
|
5843
|
+
// @ts-ignore
|
|
6431
5844
|
auth!: boolean;
|
|
6432
5845
|
|
|
6433
5846
|
/**
|
|
6434
5847
|
* 权限资源描述
|
|
6435
5848
|
*/
|
|
6436
5849
|
@property()
|
|
5850
|
+
// @ts-ignore
|
|
6437
5851
|
authDescription!: string;
|
|
6438
5852
|
|
|
6439
5853
|
/**
|
|
6440
5854
|
* 是否是默认跳转的页面
|
|
6441
5855
|
*/
|
|
6442
5856
|
@property()
|
|
5857
|
+
// @ts-ignore
|
|
6443
5858
|
isIndex!: boolean;
|
|
6444
5859
|
|
|
6445
5860
|
/**
|
|
6446
5861
|
* 未解析的模板代码
|
|
6447
5862
|
*/
|
|
6448
5863
|
@property()
|
|
5864
|
+
// @ts-ignore
|
|
6449
5865
|
template!: string;
|
|
6450
5866
|
|
|
6451
5867
|
/**
|
|
6452
5868
|
* 未解析的逻辑代码
|
|
6453
5869
|
*/
|
|
6454
5870
|
@property()
|
|
5871
|
+
// @ts-ignore
|
|
6455
5872
|
script!: string;
|
|
6456
5873
|
|
|
6457
5874
|
/**
|
|
6458
5875
|
* 未解析的样式代码
|
|
6459
5876
|
*/
|
|
6460
5877
|
@property()
|
|
5878
|
+
// @ts-ignore
|
|
6461
5879
|
style!: string;
|
|
6462
5880
|
|
|
6463
5881
|
/**
|
|
6464
5882
|
* 页面元素列表
|
|
6465
5883
|
*/
|
|
6466
|
-
@property(
|
|
6467
|
-
objectRef: 'ViewElement',
|
|
6468
|
-
isArray: true,
|
|
6469
|
-
defaultValue: [],
|
|
6470
|
-
})
|
|
5884
|
+
@property('ViewElement')
|
|
6471
5885
|
elements: Array<ViewElement> = [];
|
|
6472
5886
|
|
|
6473
5887
|
/**
|
|
6474
5888
|
* 输入参数列表
|
|
6475
5889
|
*/
|
|
6476
|
-
@property(
|
|
6477
|
-
objectRef: 'Param',
|
|
6478
|
-
isArray: true,
|
|
6479
|
-
defaultValue: [],
|
|
6480
|
-
})
|
|
5890
|
+
@property('Param')
|
|
6481
5891
|
params: Array<Param> = [];
|
|
6482
5892
|
|
|
6483
5893
|
/**
|
|
6484
5894
|
* 变量列表
|
|
6485
5895
|
*/
|
|
6486
|
-
@property(
|
|
6487
|
-
objectRef: 'Variable',
|
|
6488
|
-
isArray: true,
|
|
6489
|
-
defaultValue: [],
|
|
6490
|
-
})
|
|
5896
|
+
@property('Variable')
|
|
6491
5897
|
variables: Array<Variable> = [];
|
|
6492
5898
|
|
|
6493
5899
|
/**
|
|
6494
5900
|
* 逻辑列表
|
|
6495
5901
|
*/
|
|
6496
|
-
@property(
|
|
6497
|
-
objectRef: 'Logic',
|
|
6498
|
-
isArray: true,
|
|
6499
|
-
defaultValue: [],
|
|
6500
|
-
})
|
|
5902
|
+
@property('Logic')
|
|
6501
5903
|
logics: Array<Logic> = [];
|
|
6502
5904
|
|
|
6503
5905
|
/**
|
|
6504
5906
|
* 元素绑定事件列表
|
|
6505
5907
|
*/
|
|
6506
|
-
@property(
|
|
6507
|
-
objectRef: 'BindEvent',
|
|
6508
|
-
isArray: true,
|
|
6509
|
-
defaultValue: [],
|
|
6510
|
-
})
|
|
5908
|
+
@property('BindEvent')
|
|
6511
5909
|
bindEvents: Array<BindEvent> = [];
|
|
6512
5910
|
|
|
6513
5911
|
/**
|
|
6514
5912
|
* 绑定的角色
|
|
6515
5913
|
*/
|
|
6516
|
-
@property(
|
|
6517
|
-
isArray: true,
|
|
6518
|
-
defaultValue: [],
|
|
6519
|
-
})
|
|
5914
|
+
@property()
|
|
6520
5915
|
bindRoles: Array<string> = [];
|
|
6521
5916
|
|
|
6522
5917
|
/**
|
|
6523
5918
|
* 页面列表
|
|
6524
5919
|
*/
|
|
6525
|
-
@property(
|
|
6526
|
-
objectRef: 'View',
|
|
6527
|
-
isArray: true,
|
|
6528
|
-
defaultValue: [],
|
|
6529
|
-
})
|
|
5920
|
+
@property('View')
|
|
6530
5921
|
children: Array<View> = [];
|
|
6531
5922
|
|
|
6532
5923
|
/**
|
|
@@ -6565,7 +5956,7 @@ export class View extends BaseNode {
|
|
|
6565
5956
|
* 从父级删除该节点
|
|
6566
5957
|
* @internal
|
|
6567
5958
|
*/
|
|
6568
|
-
<span class="fstat-no" title="function not covered" > _delete() {
|
|
5959
|
+
<span class="fstat-no" title="function not covered" > _delete(</span>) {
|
|
6569
5960
|
let params: Params = <span class="cstat-no" title="statement not covered" >null;</span>
|
|
6570
5961
|
<span class="cstat-no" title="statement not covered" > if (this.parentNode) {</span>
|
|
6571
5962
|
<span class="cstat-no" title="statement not covered" > params = (this.parentNode as any)?.__removeView?.(this);</span>
|
|
@@ -6575,7 +5966,7 @@ export class View extends BaseNode {
|
|
|
6575
5966
|
/**
|
|
6576
5967
|
* 设置页面名称
|
|
6577
5968
|
*/
|
|
6578
|
-
<span class="fstat-no" title="function not covered" > setName(
|
|
5969
|
+
<span class="fstat-no" title="function not covered" > setName(</span>name: string) {
|
|
6579
5970
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6580
5971
|
name,
|
|
6581
5972
|
};
|
|
@@ -6588,7 +5979,7 @@ export class View extends BaseNode {
|
|
|
6588
5979
|
/**
|
|
6589
5980
|
* 设置页面标题
|
|
6590
5981
|
*/
|
|
6591
|
-
<span class="fstat-no" title="function not covered" > setTitle(
|
|
5982
|
+
<span class="fstat-no" title="function not covered" > setTitle(</span>title: string) {
|
|
6592
5983
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6593
5984
|
title,
|
|
6594
5985
|
};
|
|
@@ -6600,10 +5991,7 @@ export class View extends BaseNode {
|
|
|
6600
5991
|
/**
|
|
6601
5992
|
* 设置面包屑
|
|
6602
5993
|
*/
|
|
6603
|
-
<span class="fstat-no" title="function not covered" > setCrumb(
|
|
6604
|
-
<span class="cstat-no" title="statement not covered" > crumb._delete();</span>
|
|
6605
|
-
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'crumb' };</span>
|
|
6606
|
-
<span class="cstat-no" title="statement not covered" > Object.assign(crumb, relationOptions);</span>
|
|
5994
|
+
<span class="fstat-no" title="function not covered" > setCrumb(</span>crumb: string) {
|
|
6607
5995
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6608
5996
|
crumb,
|
|
6609
5997
|
};
|
|
@@ -6615,7 +6003,7 @@ export class View extends BaseNode {
|
|
|
6615
6003
|
/**
|
|
6616
6004
|
* 设置权限控制
|
|
6617
6005
|
*/
|
|
6618
|
-
<span class="fstat-no" title="function not covered" > setAuth(
|
|
6006
|
+
<span class="fstat-no" title="function not covered" > setAuth(</span>auth: boolean) {
|
|
6619
6007
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6620
6008
|
auth,
|
|
6621
6009
|
};
|
|
@@ -6627,7 +6015,7 @@ export class View extends BaseNode {
|
|
|
6627
6015
|
/**
|
|
6628
6016
|
* 设置权限资源描述
|
|
6629
6017
|
*/
|
|
6630
|
-
<span class="fstat-no" title="function not covered" > setAuthDescription(
|
|
6018
|
+
<span class="fstat-no" title="function not covered" > setAuthDescription(</span>authDescription: string) {
|
|
6631
6019
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6632
6020
|
authDescription,
|
|
6633
6021
|
};
|
|
@@ -6639,7 +6027,7 @@ export class View extends BaseNode {
|
|
|
6639
6027
|
/**
|
|
6640
6028
|
* 设置是否是默认跳转的页面
|
|
6641
6029
|
*/
|
|
6642
|
-
<span class="fstat-no" title="function not covered" > setIsIndex(
|
|
6030
|
+
<span class="fstat-no" title="function not covered" > setIsIndex(</span>isIndex: boolean) {
|
|
6643
6031
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6644
6032
|
isIndex,
|
|
6645
6033
|
};
|
|
@@ -6669,10 +6057,9 @@ export class View extends BaseNode {
|
|
|
6669
6057
|
*/
|
|
6670
6058
|
_insertViewElementAt(viewElement: ViewElement, index: number): ViewElement;
|
|
6671
6059
|
|
|
6672
|
-
<span class="fstat-no" title="function not covered" > _insertViewElementAt(
|
|
6060
|
+
<span class="fstat-no" title="function not covered" > _insertViewElementAt(</span>options: string | Partial<ViewElement> | ViewElement, index: number) {
|
|
6673
6061
|
const viewElementOptions: any = <span class="cstat-no" title="statement not covered" >{};</span>
|
|
6674
6062
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'elements' };</span>
|
|
6675
|
-
const <span class="cstat-no" title="statement not covered" >ViewElement = getConceptConstructor('ViewElement');</span>
|
|
6676
6063
|
let viewElement: ViewElement;
|
|
6677
6064
|
<span class="cstat-no" title="statement not covered" > if (!options) {</span>
|
|
6678
6065
|
<span class="cstat-no" title="statement not covered" > viewElement = ViewElement.from(</span>
|
|
@@ -6683,7 +6070,7 @@ export class View extends BaseNode {
|
|
|
6683
6070
|
this,
|
|
6684
6071
|
'elements',
|
|
6685
6072
|
);
|
|
6686
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6073
|
+
} else <span class="cstat-no" title="statement not covered" >if (typeof options === 'string') {</span>
|
|
6687
6074
|
<span class="cstat-no" title="statement not covered" > viewElement = ViewElement.from(</span>
|
|
6688
6075
|
{
|
|
6689
6076
|
...viewElementOptions,
|
|
@@ -6692,8 +6079,8 @@ export class View extends BaseNode {
|
|
|
6692
6079
|
this,
|
|
6693
6080
|
'elements',
|
|
6694
6081
|
);
|
|
6695
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6696
|
-
<span class="cstat-no" title="statement not covered" > options.ensureDelete();
|
|
6082
|
+
} else <span class="cstat-no" title="statement not covered" >if (options instanceof ViewElement) {</span>
|
|
6083
|
+
<span class="cstat-no" title="statement not covered" > options.ensureDelete(); </span>// 同一实例不支持多处存在
|
|
6697
6084
|
<span class="cstat-no" title="statement not covered" > viewElement = options;</span>
|
|
6698
6085
|
<span class="cstat-no" title="statement not covered" > Object.assign(viewElement, relationOptions);</span>
|
|
6699
6086
|
} else {
|
|
@@ -6728,7 +6115,7 @@ export class View extends BaseNode {
|
|
|
6728
6115
|
*/
|
|
6729
6116
|
insertViewElementAt(viewElement: ViewElement, index: number): ViewElement;
|
|
6730
6117
|
|
|
6731
|
-
<span class="fstat-no" title="function not covered" > insertViewElementAt(
|
|
6118
|
+
<span class="fstat-no" title="function not covered" > insertViewElementAt(</span>options: string | Partial<ViewElement> | ViewElement, index: number) {
|
|
6732
6119
|
const node = <span class="cstat-no" title="statement not covered" >this._insertViewElementAt(options as any, index);</span>
|
|
6733
6120
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
6734
6121
|
index,
|
|
@@ -6759,7 +6146,7 @@ export class View extends BaseNode {
|
|
|
6759
6146
|
*/
|
|
6760
6147
|
_addViewElement(viewElement: ViewElement): ViewElement;
|
|
6761
6148
|
|
|
6762
|
-
<span class="fstat-no" title="function not covered" > _addViewElement(
|
|
6149
|
+
<span class="fstat-no" title="function not covered" > _addViewElement(</span>options?: string | Partial<ViewElement> | ViewElement) {
|
|
6763
6150
|
const index = <span class="cstat-no" title="statement not covered" >this.elements.length;</span>
|
|
6764
6151
|
<span class="cstat-no" title="statement not covered" > return this._insertViewElementAt(options as any, index);</span>
|
|
6765
6152
|
}
|
|
@@ -6783,7 +6170,7 @@ export class View extends BaseNode {
|
|
|
6783
6170
|
*/
|
|
6784
6171
|
addViewElement(viewElement: ViewElement): ViewElement;
|
|
6785
6172
|
|
|
6786
|
-
<span class="fstat-no" title="function not covered" > addViewElement(
|
|
6173
|
+
<span class="fstat-no" title="function not covered" > addViewElement(</span>options?: string | Partial<ViewElement> | ViewElement) {
|
|
6787
6174
|
const node = <span class="cstat-no" title="statement not covered" >this._addViewElement(options as any);</span>
|
|
6788
6175
|
const index = <span class="cstat-no" title="statement not covered" >this.elements.indexOf(node);</span>
|
|
6789
6176
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
@@ -6794,7 +6181,7 @@ export class View extends BaseNode {
|
|
|
6794
6181
|
<span class="cstat-no" title="statement not covered" > return node;</span>
|
|
6795
6182
|
}
|
|
6796
6183
|
|
|
6797
|
-
<span class="fstat-no" title="function not covered" > getParamUniqueName(
|
|
6184
|
+
<span class="fstat-no" title="function not covered" > getParamUniqueName(</span>name = <span class="branch-0 cbranch-no" title="branch not covered" >'param1')</span> {
|
|
6798
6185
|
<span class="cstat-no" title="statement not covered" > return utils.unique(name, this.getVarExistingNames(), undefined, false);</span>
|
|
6799
6186
|
}
|
|
6800
6187
|
|
|
@@ -6819,10 +6206,9 @@ export class View extends BaseNode {
|
|
|
6819
6206
|
*/
|
|
6820
6207
|
_insertParamAt(param: Param, index: number): Param;
|
|
6821
6208
|
|
|
6822
|
-
<span class="fstat-no" title="function not covered" > _insertParamAt(
|
|
6209
|
+
<span class="fstat-no" title="function not covered" > _insertParamAt(</span>options: string | Partial<Param> | Param, index: number) {
|
|
6823
6210
|
const paramOptions: any = <span class="cstat-no" title="statement not covered" >{};</span>
|
|
6824
6211
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'params' };</span>
|
|
6825
|
-
const <span class="cstat-no" title="statement not covered" >Param = getConceptConstructor('Param');</span>
|
|
6826
6212
|
let param: Param;
|
|
6827
6213
|
<span class="cstat-no" title="statement not covered" > if (!options) {</span>
|
|
6828
6214
|
<span class="cstat-no" title="statement not covered" > param = Param.from(</span>
|
|
@@ -6833,7 +6219,7 @@ export class View extends BaseNode {
|
|
|
6833
6219
|
this,
|
|
6834
6220
|
'params',
|
|
6835
6221
|
);
|
|
6836
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6222
|
+
} else <span class="cstat-no" title="statement not covered" >if (typeof options === 'string') {</span>
|
|
6837
6223
|
<span class="cstat-no" title="statement not covered" > param = Param.from(</span>
|
|
6838
6224
|
{
|
|
6839
6225
|
...paramOptions,
|
|
@@ -6842,8 +6228,8 @@ export class View extends BaseNode {
|
|
|
6842
6228
|
this,
|
|
6843
6229
|
'params',
|
|
6844
6230
|
);
|
|
6845
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6846
|
-
<span class="cstat-no" title="statement not covered" > options.ensureDelete();
|
|
6231
|
+
} else <span class="cstat-no" title="statement not covered" >if (options instanceof Param) {</span>
|
|
6232
|
+
<span class="cstat-no" title="statement not covered" > options.ensureDelete(); </span>// 同一实例不支持多处存在
|
|
6847
6233
|
<span class="cstat-no" title="statement not covered" > param = options;</span>
|
|
6848
6234
|
<span class="cstat-no" title="statement not covered" > Object.assign(param, relationOptions);</span>
|
|
6849
6235
|
} else {
|
|
@@ -6878,7 +6264,7 @@ export class View extends BaseNode {
|
|
|
6878
6264
|
*/
|
|
6879
6265
|
insertParamAt(param: Param, index: number): Param;
|
|
6880
6266
|
|
|
6881
|
-
<span class="fstat-no" title="function not covered" > insertParamAt(
|
|
6267
|
+
<span class="fstat-no" title="function not covered" > insertParamAt(</span>options: string | Partial<Param> | Param, index: number) {
|
|
6882
6268
|
const node = <span class="cstat-no" title="statement not covered" >this._insertParamAt(options as any, index);</span>
|
|
6883
6269
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
6884
6270
|
index,
|
|
@@ -6909,7 +6295,7 @@ export class View extends BaseNode {
|
|
|
6909
6295
|
*/
|
|
6910
6296
|
_addParam(param: Param): Param;
|
|
6911
6297
|
|
|
6912
|
-
<span class="fstat-no" title="function not covered" > _addParam(
|
|
6298
|
+
<span class="fstat-no" title="function not covered" > _addParam(</span>options?: string | Partial<Param> | Param) {
|
|
6913
6299
|
const index = <span class="cstat-no" title="statement not covered" >this.params.length;</span>
|
|
6914
6300
|
<span class="cstat-no" title="statement not covered" > return this._insertParamAt(options as any, index);</span>
|
|
6915
6301
|
}
|
|
@@ -6933,7 +6319,7 @@ export class View extends BaseNode {
|
|
|
6933
6319
|
*/
|
|
6934
6320
|
addParam(param: Param): Param;
|
|
6935
6321
|
|
|
6936
|
-
<span class="fstat-no" title="function not covered" > addParam(
|
|
6322
|
+
<span class="fstat-no" title="function not covered" > addParam(</span>options?: string | Partial<Param> | Param) {
|
|
6937
6323
|
const node = <span class="cstat-no" title="statement not covered" >this._addParam(options as any);</span>
|
|
6938
6324
|
const index = <span class="cstat-no" title="statement not covered" >this.params.indexOf(node);</span>
|
|
6939
6325
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
@@ -6944,7 +6330,7 @@ export class View extends BaseNode {
|
|
|
6944
6330
|
<span class="cstat-no" title="statement not covered" > return node;</span>
|
|
6945
6331
|
}
|
|
6946
6332
|
|
|
6947
|
-
<span class="fstat-no" title="function not covered" > getVariableUniqueName(
|
|
6333
|
+
<span class="fstat-no" title="function not covered" > getVariableUniqueName(</span>name = <span class="branch-0 cbranch-no" title="branch not covered" >'variable1')</span> {
|
|
6948
6334
|
<span class="cstat-no" title="statement not covered" > return utils.unique(name, this.getVarExistingNames(), undefined, false);</span>
|
|
6949
6335
|
}
|
|
6950
6336
|
|
|
@@ -6969,10 +6355,9 @@ export class View extends BaseNode {
|
|
|
6969
6355
|
*/
|
|
6970
6356
|
_insertVariableAt(variable: Variable, index: number): Variable;
|
|
6971
6357
|
|
|
6972
|
-
<span class="fstat-no" title="function not covered" > _insertVariableAt(
|
|
6358
|
+
<span class="fstat-no" title="function not covered" > _insertVariableAt(</span>options: string | Partial<Variable> | Variable, index: number) {
|
|
6973
6359
|
const variableOptions: any = <span class="cstat-no" title="statement not covered" >{};</span>
|
|
6974
6360
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'variables' };</span>
|
|
6975
|
-
const <span class="cstat-no" title="statement not covered" >Variable = getConceptConstructor('Variable');</span>
|
|
6976
6361
|
let variable: Variable;
|
|
6977
6362
|
<span class="cstat-no" title="statement not covered" > if (!options) {</span>
|
|
6978
6363
|
<span class="cstat-no" title="statement not covered" > variable = Variable.from(</span>
|
|
@@ -6983,7 +6368,7 @@ export class View extends BaseNode {
|
|
|
6983
6368
|
this,
|
|
6984
6369
|
'variables',
|
|
6985
6370
|
);
|
|
6986
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6371
|
+
} else <span class="cstat-no" title="statement not covered" >if (typeof options === 'string') {</span>
|
|
6987
6372
|
<span class="cstat-no" title="statement not covered" > variable = Variable.from(</span>
|
|
6988
6373
|
{
|
|
6989
6374
|
...variableOptions,
|
|
@@ -6992,8 +6377,8 @@ export class View extends BaseNode {
|
|
|
6992
6377
|
this,
|
|
6993
6378
|
'variables',
|
|
6994
6379
|
);
|
|
6995
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6996
|
-
<span class="cstat-no" title="statement not covered" > options.ensureDelete();
|
|
6380
|
+
} else <span class="cstat-no" title="statement not covered" >if (options instanceof Variable) {</span>
|
|
6381
|
+
<span class="cstat-no" title="statement not covered" > options.ensureDelete(); </span>// 同一实例不支持多处存在
|
|
6997
6382
|
<span class="cstat-no" title="statement not covered" > variable = options;</span>
|
|
6998
6383
|
<span class="cstat-no" title="statement not covered" > Object.assign(variable, relationOptions);</span>
|
|
6999
6384
|
} else {
|
|
@@ -7028,7 +6413,7 @@ export class View extends BaseNode {
|
|
|
7028
6413
|
*/
|
|
7029
6414
|
insertVariableAt(variable: Variable, index: number): Variable;
|
|
7030
6415
|
|
|
7031
|
-
<span class="fstat-no" title="function not covered" > insertVariableAt(
|
|
6416
|
+
<span class="fstat-no" title="function not covered" > insertVariableAt(</span>options: string | Partial<Variable> | Variable, index: number) {
|
|
7032
6417
|
const node = <span class="cstat-no" title="statement not covered" >this._insertVariableAt(options as any, index);</span>
|
|
7033
6418
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
7034
6419
|
index,
|
|
@@ -7059,7 +6444,7 @@ export class View extends BaseNode {
|
|
|
7059
6444
|
*/
|
|
7060
6445
|
_addVariable(variable: Variable): Variable;
|
|
7061
6446
|
|
|
7062
|
-
<span class="fstat-no" title="function not covered" > _addVariable(
|
|
6447
|
+
<span class="fstat-no" title="function not covered" > _addVariable(</span>options?: string | Partial<Variable> | Variable) {
|
|
7063
6448
|
const index = <span class="cstat-no" title="statement not covered" >this.variables.length;</span>
|
|
7064
6449
|
<span class="cstat-no" title="statement not covered" > return this._insertVariableAt(options as any, index);</span>
|
|
7065
6450
|
}
|
|
@@ -7083,7 +6468,7 @@ export class View extends BaseNode {
|
|
|
7083
6468
|
*/
|
|
7084
6469
|
addVariable(variable: Variable): Variable;
|
|
7085
6470
|
|
|
7086
|
-
<span class="fstat-no" title="function not covered" > addVariable(
|
|
6471
|
+
<span class="fstat-no" title="function not covered" > addVariable(</span>options?: string | Partial<Variable> | Variable) {
|
|
7087
6472
|
const node = <span class="cstat-no" title="statement not covered" >this._addVariable(options as any);</span>
|
|
7088
6473
|
const index = <span class="cstat-no" title="statement not covered" >this.variables.indexOf(node);</span>
|
|
7089
6474
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
@@ -7094,7 +6479,7 @@ export class View extends BaseNode {
|
|
|
7094
6479
|
<span class="cstat-no" title="statement not covered" > return node;</span>
|
|
7095
6480
|
}
|
|
7096
6481
|
|
|
7097
|
-
<span class="fstat-no" title="function not covered" > getLogicUniqueName(
|
|
6482
|
+
<span class="fstat-no" title="function not covered" > getLogicUniqueName(</span>name = <span class="branch-0 cbranch-no" title="branch not covered" >'logic1')</span> {
|
|
7098
6483
|
<span class="cstat-no" title="statement not covered" > return utils.unique(name, this.getLogicExistingNames(), undefined, false);</span>
|
|
7099
6484
|
}
|
|
7100
6485
|
|
|
@@ -7119,10 +6504,9 @@ export class View extends BaseNode {
|
|
|
7119
6504
|
*/
|
|
7120
6505
|
_insertLogicAt(logic: Logic, index: number): Logic;
|
|
7121
6506
|
|
|
7122
|
-
<span class="fstat-no" title="function not covered" > _insertLogicAt(
|
|
6507
|
+
<span class="fstat-no" title="function not covered" > _insertLogicAt(</span>options: string | Partial<Logic> | Logic, index: number) {
|
|
7123
6508
|
const logicOptions: any = <span class="cstat-no" title="statement not covered" >{};</span>
|
|
7124
6509
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'logics' };</span>
|
|
7125
|
-
const <span class="cstat-no" title="statement not covered" >Logic = getConceptConstructor('Logic');</span>
|
|
7126
6510
|
let logic: Logic;
|
|
7127
6511
|
<span class="cstat-no" title="statement not covered" > if (!options) {</span>
|
|
7128
6512
|
<span class="cstat-no" title="statement not covered" > logic = Logic.from(</span>
|
|
@@ -7133,7 +6517,7 @@ export class View extends BaseNode {
|
|
|
7133
6517
|
this,
|
|
7134
6518
|
'logics',
|
|
7135
6519
|
);
|
|
7136
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6520
|
+
} else <span class="cstat-no" title="statement not covered" >if (typeof options === 'string') {</span>
|
|
7137
6521
|
<span class="cstat-no" title="statement not covered" > logic = Logic.from(</span>
|
|
7138
6522
|
{
|
|
7139
6523
|
...logicOptions,
|
|
@@ -7142,8 +6526,8 @@ export class View extends BaseNode {
|
|
|
7142
6526
|
this,
|
|
7143
6527
|
'logics',
|
|
7144
6528
|
);
|
|
7145
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7146
|
-
<span class="cstat-no" title="statement not covered" > options.ensureDelete();
|
|
6529
|
+
} else <span class="cstat-no" title="statement not covered" >if (options instanceof Logic) {</span>
|
|
6530
|
+
<span class="cstat-no" title="statement not covered" > options.ensureDelete(); </span>// 同一实例不支持多处存在
|
|
7147
6531
|
<span class="cstat-no" title="statement not covered" > logic = options;</span>
|
|
7148
6532
|
<span class="cstat-no" title="statement not covered" > Object.assign(logic, relationOptions);</span>
|
|
7149
6533
|
} else {
|
|
@@ -7178,7 +6562,7 @@ export class View extends BaseNode {
|
|
|
7178
6562
|
*/
|
|
7179
6563
|
insertLogicAt(logic: Logic, index: number): Logic;
|
|
7180
6564
|
|
|
7181
|
-
<span class="fstat-no" title="function not covered" > insertLogicAt(
|
|
6565
|
+
<span class="fstat-no" title="function not covered" > insertLogicAt(</span>options: string | Partial<Logic> | Logic, index: number) {
|
|
7182
6566
|
const node = <span class="cstat-no" title="statement not covered" >this._insertLogicAt(options as any, index);</span>
|
|
7183
6567
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
7184
6568
|
index,
|
|
@@ -7209,7 +6593,7 @@ export class View extends BaseNode {
|
|
|
7209
6593
|
*/
|
|
7210
6594
|
_addLogic(logic: Logic): Logic;
|
|
7211
6595
|
|
|
7212
|
-
<span class="fstat-no" title="function not covered" > _addLogic(
|
|
6596
|
+
<span class="fstat-no" title="function not covered" > _addLogic(</span>options?: string | Partial<Logic> | Logic) {
|
|
7213
6597
|
const index = <span class="cstat-no" title="statement not covered" >this.logics.length;</span>
|
|
7214
6598
|
<span class="cstat-no" title="statement not covered" > return this._insertLogicAt(options as any, index);</span>
|
|
7215
6599
|
}
|
|
@@ -7233,7 +6617,7 @@ export class View extends BaseNode {
|
|
|
7233
6617
|
*/
|
|
7234
6618
|
addLogic(logic: Logic): Logic;
|
|
7235
6619
|
|
|
7236
|
-
<span class="fstat-no" title="function not covered" > addLogic(
|
|
6620
|
+
<span class="fstat-no" title="function not covered" > addLogic(</span>options?: string | Partial<Logic> | Logic) {
|
|
7237
6621
|
const node = <span class="cstat-no" title="statement not covered" >this._addLogic(options as any);</span>
|
|
7238
6622
|
const index = <span class="cstat-no" title="statement not covered" >this.logics.indexOf(node);</span>
|
|
7239
6623
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
@@ -7244,11 +6628,11 @@ export class View extends BaseNode {
|
|
|
7244
6628
|
<span class="cstat-no" title="statement not covered" > return node;</span>
|
|
7245
6629
|
}
|
|
7246
6630
|
|
|
7247
|
-
<span class="fstat-no" title="function not covered" > getBindEventExistingNames(
|
|
6631
|
+
<span class="fstat-no" title="function not covered" > getBindEventExistingNames(</span>excludedList: Array<BindEvent> = <span class="branch-0 cbranch-no" title="branch not covered" >[])</span> {
|
|
7248
6632
|
const excludedSet = <span class="cstat-no" title="statement not covered" >new Set(excludedList);</span>
|
|
7249
|
-
<span class="cstat-no" title="statement not covered" > return ((this.bindEvents as BindEvent[]) || []).filter(
|
|
6633
|
+
<span class="cstat-no" title="statement not covered" > return ((this.bindEvents as BindEvent[]) || []).filter(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >!excludedSet.has(item))</span>.map(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name)</span>;</span>
|
|
7250
6634
|
}
|
|
7251
|
-
<span class="fstat-no" title="function not covered" > getBindEventUniqueName(
|
|
6635
|
+
<span class="fstat-no" title="function not covered" > getBindEventUniqueName(</span>name = <span class="branch-0 cbranch-no" title="branch not covered" >'bindEvent1')</span> {
|
|
7252
6636
|
<span class="cstat-no" title="statement not covered" > return utils.unique(name, this.getBindEventExistingNames(), undefined, false);</span>
|
|
7253
6637
|
}
|
|
7254
6638
|
|
|
@@ -7273,10 +6657,9 @@ export class View extends BaseNode {
|
|
|
7273
6657
|
*/
|
|
7274
6658
|
_insertBindEventAt(bindEvent: BindEvent, index: number): BindEvent;
|
|
7275
6659
|
|
|
7276
|
-
<span class="fstat-no" title="function not covered" > _insertBindEventAt(
|
|
6660
|
+
<span class="fstat-no" title="function not covered" > _insertBindEventAt(</span>options: string | Partial<BindEvent> | BindEvent, index: number) {
|
|
7277
6661
|
const bindEventOptions: any = <span class="cstat-no" title="statement not covered" >{};</span>
|
|
7278
6662
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'bindEvents' };</span>
|
|
7279
|
-
const <span class="cstat-no" title="statement not covered" >BindEvent = getConceptConstructor('BindEvent');</span>
|
|
7280
6663
|
let bindEvent: BindEvent;
|
|
7281
6664
|
<span class="cstat-no" title="statement not covered" > if (!options) {</span>
|
|
7282
6665
|
<span class="cstat-no" title="statement not covered" > bindEvent = BindEvent.from(</span>
|
|
@@ -7287,7 +6670,7 @@ export class View extends BaseNode {
|
|
|
7287
6670
|
this,
|
|
7288
6671
|
'bindEvents',
|
|
7289
6672
|
);
|
|
7290
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6673
|
+
} else <span class="cstat-no" title="statement not covered" >if (typeof options === 'string') {</span>
|
|
7291
6674
|
<span class="cstat-no" title="statement not covered" > bindEvent = BindEvent.from(</span>
|
|
7292
6675
|
{
|
|
7293
6676
|
...bindEventOptions,
|
|
@@ -7296,8 +6679,8 @@ export class View extends BaseNode {
|
|
|
7296
6679
|
this,
|
|
7297
6680
|
'bindEvents',
|
|
7298
6681
|
);
|
|
7299
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7300
|
-
<span class="cstat-no" title="statement not covered" > options.ensureDelete();
|
|
6682
|
+
} else <span class="cstat-no" title="statement not covered" >if (options instanceof BindEvent) {</span>
|
|
6683
|
+
<span class="cstat-no" title="statement not covered" > options.ensureDelete(); </span>// 同一实例不支持多处存在
|
|
7301
6684
|
<span class="cstat-no" title="statement not covered" > bindEvent = options;</span>
|
|
7302
6685
|
<span class="cstat-no" title="statement not covered" > Object.assign(bindEvent, relationOptions);</span>
|
|
7303
6686
|
} else {
|
|
@@ -7332,7 +6715,7 @@ export class View extends BaseNode {
|
|
|
7332
6715
|
*/
|
|
7333
6716
|
insertBindEventAt(bindEvent: BindEvent, index: number): BindEvent;
|
|
7334
6717
|
|
|
7335
|
-
<span class="fstat-no" title="function not covered" > insertBindEventAt(
|
|
6718
|
+
<span class="fstat-no" title="function not covered" > insertBindEventAt(</span>options: string | Partial<BindEvent> | BindEvent, index: number) {
|
|
7336
6719
|
const node = <span class="cstat-no" title="statement not covered" >this._insertBindEventAt(options as any, index);</span>
|
|
7337
6720
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
7338
6721
|
index,
|
|
@@ -7363,7 +6746,7 @@ export class View extends BaseNode {
|
|
|
7363
6746
|
*/
|
|
7364
6747
|
_addBindEvent(bindEvent: BindEvent): BindEvent;
|
|
7365
6748
|
|
|
7366
|
-
<span class="fstat-no" title="function not covered" > _addBindEvent(
|
|
6749
|
+
<span class="fstat-no" title="function not covered" > _addBindEvent(</span>options?: string | Partial<BindEvent> | BindEvent) {
|
|
7367
6750
|
const index = <span class="cstat-no" title="statement not covered" >this.bindEvents.length;</span>
|
|
7368
6751
|
<span class="cstat-no" title="statement not covered" > return this._insertBindEventAt(options as any, index);</span>
|
|
7369
6752
|
}
|
|
@@ -7387,7 +6770,7 @@ export class View extends BaseNode {
|
|
|
7387
6770
|
*/
|
|
7388
6771
|
addBindEvent(bindEvent: BindEvent): BindEvent;
|
|
7389
6772
|
|
|
7390
|
-
<span class="fstat-no" title="function not covered" > addBindEvent(
|
|
6773
|
+
<span class="fstat-no" title="function not covered" > addBindEvent(</span>options?: string | Partial<BindEvent> | BindEvent) {
|
|
7391
6774
|
const node = <span class="cstat-no" title="statement not covered" >this._addBindEvent(options as any);</span>
|
|
7392
6775
|
const index = <span class="cstat-no" title="statement not covered" >this.bindEvents.indexOf(node);</span>
|
|
7393
6776
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
@@ -7398,11 +6781,11 @@ export class View extends BaseNode {
|
|
|
7398
6781
|
<span class="cstat-no" title="statement not covered" > return node;</span>
|
|
7399
6782
|
}
|
|
7400
6783
|
|
|
7401
|
-
<span class="fstat-no" title="function not covered" > getViewExistingNames(
|
|
6784
|
+
<span class="fstat-no" title="function not covered" > getViewExistingNames(</span>excludedList: Array<View> = <span class="branch-0 cbranch-no" title="branch not covered" >[])</span> {
|
|
7402
6785
|
const excludedSet = <span class="cstat-no" title="statement not covered" >new Set(excludedList);</span>
|
|
7403
|
-
<span class="cstat-no" title="statement not covered" > return ((this.children as View[]) || []).filter(
|
|
6786
|
+
<span class="cstat-no" title="statement not covered" > return ((this.children as View[]) || []).filter(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >!excludedSet.has(item))</span>.map(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name)</span>;</span>
|
|
7404
6787
|
}
|
|
7405
|
-
<span class="fstat-no" title="function not covered" > getViewUniqueName(
|
|
6788
|
+
<span class="fstat-no" title="function not covered" > getViewUniqueName(</span>name = <span class="branch-0 cbranch-no" title="branch not covered" >'view1')</span> {
|
|
7406
6789
|
<span class="cstat-no" title="statement not covered" > return utils.unique(name, this.getViewExistingNames(), undefined, false);</span>
|
|
7407
6790
|
}
|
|
7408
6791
|
|
|
@@ -7427,10 +6810,9 @@ export class View extends BaseNode {
|
|
|
7427
6810
|
*/
|
|
7428
6811
|
_insertViewAt(view: View, index: number): View;
|
|
7429
6812
|
|
|
7430
|
-
<span class="fstat-no" title="function not covered" > _insertViewAt(
|
|
6813
|
+
<span class="fstat-no" title="function not covered" > _insertViewAt(</span>options: string | Partial<View> | View, index: number) {
|
|
7431
6814
|
const viewOptions: any = <span class="cstat-no" title="statement not covered" >{};</span>
|
|
7432
6815
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'children' };</span>
|
|
7433
|
-
const <span class="cstat-no" title="statement not covered" >View = getConceptConstructor('View');</span>
|
|
7434
6816
|
let view: View;
|
|
7435
6817
|
<span class="cstat-no" title="statement not covered" > if (!options) {</span>
|
|
7436
6818
|
<span class="cstat-no" title="statement not covered" > view = View.from(</span>
|
|
@@ -7441,7 +6823,7 @@ export class View extends BaseNode {
|
|
|
7441
6823
|
this,
|
|
7442
6824
|
'children',
|
|
7443
6825
|
);
|
|
7444
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6826
|
+
} else <span class="cstat-no" title="statement not covered" >if (typeof options === 'string') {</span>
|
|
7445
6827
|
<span class="cstat-no" title="statement not covered" > view = View.from(</span>
|
|
7446
6828
|
{
|
|
7447
6829
|
...viewOptions,
|
|
@@ -7450,8 +6832,8 @@ export class View extends BaseNode {
|
|
|
7450
6832
|
this,
|
|
7451
6833
|
'children',
|
|
7452
6834
|
);
|
|
7453
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7454
|
-
<span class="cstat-no" title="statement not covered" > options.ensureDelete();
|
|
6835
|
+
} else <span class="cstat-no" title="statement not covered" >if (options instanceof View) {</span>
|
|
6836
|
+
<span class="cstat-no" title="statement not covered" > options.ensureDelete(); </span>// 同一实例不支持多处存在
|
|
7455
6837
|
<span class="cstat-no" title="statement not covered" > view = options;</span>
|
|
7456
6838
|
<span class="cstat-no" title="statement not covered" > Object.assign(view, relationOptions);</span>
|
|
7457
6839
|
} else {
|
|
@@ -7486,7 +6868,7 @@ export class View extends BaseNode {
|
|
|
7486
6868
|
*/
|
|
7487
6869
|
insertViewAt(view: View, index: number): View;
|
|
7488
6870
|
|
|
7489
|
-
<span class="fstat-no" title="function not covered" > insertViewAt(
|
|
6871
|
+
<span class="fstat-no" title="function not covered" > insertViewAt(</span>options: string | Partial<View> | View, index: number) {
|
|
7490
6872
|
const node = <span class="cstat-no" title="statement not covered" >this._insertViewAt(options as any, index);</span>
|
|
7491
6873
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
7492
6874
|
index,
|
|
@@ -7517,7 +6899,7 @@ export class View extends BaseNode {
|
|
|
7517
6899
|
*/
|
|
7518
6900
|
_addView(view: View): View;
|
|
7519
6901
|
|
|
7520
|
-
<span class="fstat-no" title="function not covered" > _addView(
|
|
6902
|
+
<span class="fstat-no" title="function not covered" > _addView(</span>options?: string | Partial<View> | View) {
|
|
7521
6903
|
const index = <span class="cstat-no" title="statement not covered" >this.children.length;</span>
|
|
7522
6904
|
<span class="cstat-no" title="statement not covered" > return this._insertViewAt(options as any, index);</span>
|
|
7523
6905
|
}
|
|
@@ -7541,7 +6923,7 @@ export class View extends BaseNode {
|
|
|
7541
6923
|
*/
|
|
7542
6924
|
addView(view: View): View;
|
|
7543
6925
|
|
|
7544
|
-
<span class="fstat-no" title="function not covered" > addView(
|
|
6926
|
+
<span class="fstat-no" title="function not covered" > addView(</span>options?: string | Partial<View> | View) {
|
|
7545
6927
|
const node = <span class="cstat-no" title="statement not covered" >this._addView(options as any);</span>
|
|
7546
6928
|
const index = <span class="cstat-no" title="statement not covered" >this.children.indexOf(node);</span>
|
|
7547
6929
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
@@ -7551,62 +6933,6 @@ export class View extends BaseNode {
|
|
|
7551
6933
|
});
|
|
7552
6934
|
<span class="cstat-no" title="statement not covered" > return node;</span>
|
|
7553
6935
|
}
|
|
7554
|
-
|
|
7555
|
-
/**
|
|
7556
|
-
* 删除静态字符串
|
|
7557
|
-
* @param name 静态字符串名称
|
|
7558
|
-
*/
|
|
7559
|
-
removeCrumb(name: string): void;
|
|
7560
|
-
|
|
7561
|
-
/**
|
|
7562
|
-
* 删除静态字符串
|
|
7563
|
-
* @param crumb 已有的静态字符串实例
|
|
7564
|
-
*/
|
|
7565
|
-
removeCrumb(crumb: StaticString): void;
|
|
7566
|
-
|
|
7567
|
-
<span class="fstat-no" title="function not covered" > removeCrumb(o</span>ptions: string | StaticString) {
|
|
7568
|
-
let crumb: StaticString;
|
|
7569
|
-
<span class="cstat-no" title="statement not covered" > if (typeof options === 'string') {</span>
|
|
7570
|
-
<span class="cstat-no" title="statement not covered" > crumb = this.crumb;</span>
|
|
7571
|
-
<span class="cstat-no" title="statement not covered" > if (!crumb) {</span>
|
|
7572
|
-
<span class="cstat-no" title="statement not covered" > throw new Error('找不到静态字符串 ' + options);</span>
|
|
7573
|
-
}
|
|
7574
|
-
} else {
|
|
7575
|
-
<span class="cstat-no" title="statement not covered" > crumb = options;</span>
|
|
7576
|
-
}
|
|
7577
|
-
<span class="cstat-no" title="statement not covered" > return crumb.delete();</span>
|
|
7578
|
-
}
|
|
7579
|
-
|
|
7580
|
-
<span class="fstat-no" title="function not covered" > __removeStaticString(s</span>taticString: StaticString) {
|
|
7581
|
-
const parentKey = <span class="cstat-no" title="statement not covered" >staticString.parentKey;</span>
|
|
7582
|
-
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
7583
|
-
parentNode: this,
|
|
7584
|
-
parentKey,
|
|
7585
|
-
index: -1,
|
|
7586
|
-
object: null,
|
|
7587
|
-
oldObject: staticString,
|
|
7588
|
-
};
|
|
7589
|
-
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
7590
|
-
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
7591
|
-
// @ts-ignore
|
|
7592
|
-
const t = <span class="cstat-no" title="statement not covered" >this.__v_raw || this;</span>
|
|
7593
|
-
// @ts-ignore
|
|
7594
|
-
const n = <span class="cstat-no" title="statement not covered" >staticString.__v_raw || staticString;</span>
|
|
7595
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
7596
|
-
// @ts-ignore
|
|
7597
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
7598
|
-
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
7599
|
-
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
7600
|
-
} else {
|
|
7601
|
-
const q = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey];</span>
|
|
7602
|
-
<span class="cstat-no" title="statement not covered" > if ((q.__v_raw || q) === n) {</span>
|
|
7603
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
7604
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7605
|
-
}
|
|
7606
|
-
}
|
|
7607
|
-
}
|
|
7608
|
-
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
7609
|
-
}
|
|
7610
6936
|
|
|
7611
6937
|
/**
|
|
7612
6938
|
* 删除页面元素
|
|
@@ -7620,10 +6946,10 @@ export class View extends BaseNode {
|
|
|
7620
6946
|
*/
|
|
7621
6947
|
removeViewElement(viewElement: ViewElement): void;
|
|
7622
6948
|
|
|
7623
|
-
<span class="fstat-no" title="function not covered" > removeViewElement(
|
|
6949
|
+
<span class="fstat-no" title="function not covered" > removeViewElement(</span>options: string | ViewElement) {
|
|
7624
6950
|
let viewElement: ViewElement;
|
|
7625
6951
|
<span class="cstat-no" title="statement not covered" > if (typeof options === 'string') {</span>
|
|
7626
|
-
<span class="cstat-no" title="statement not covered" > viewElement = (this.elements as ViewElement[]).find(
|
|
6952
|
+
<span class="cstat-no" title="statement not covered" > viewElement = (this.elements as ViewElement[]).find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name === options)</span>;</span>
|
|
7627
6953
|
<span class="cstat-no" title="statement not covered" > if (!viewElement) {</span>
|
|
7628
6954
|
<span class="cstat-no" title="statement not covered" > throw new Error('找不到页面元素 ' + options);</span>
|
|
7629
6955
|
}
|
|
@@ -7633,7 +6959,7 @@ export class View extends BaseNode {
|
|
|
7633
6959
|
<span class="cstat-no" title="statement not covered" > return viewElement.delete();</span>
|
|
7634
6960
|
}
|
|
7635
6961
|
|
|
7636
|
-
<span class="fstat-no" title="function not covered" > __removeViewElement(
|
|
6962
|
+
<span class="fstat-no" title="function not covered" > __removeViewElement(</span>viewElement: ViewElement) {
|
|
7637
6963
|
const parentKey = <span class="cstat-no" title="statement not covered" >viewElement.parentKey;</span>
|
|
7638
6964
|
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
7639
6965
|
parentNode: this,
|
|
@@ -7644,21 +6970,13 @@ export class View extends BaseNode {
|
|
|
7644
6970
|
};
|
|
7645
6971
|
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
7646
6972
|
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
// @ts-ignore
|
|
7650
|
-
const n = <span class="cstat-no" title="statement not covered" >viewElement.__v_raw || viewElement;</span>
|
|
7651
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
7652
|
-
// @ts-ignore
|
|
7653
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
6973
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray((this as any)[parentKey])) {</span>
|
|
6974
|
+
const index = (<span class="cstat-no" title="statement not covered" >this as any)[parentKey].indexOf(viewElement);</span>
|
|
7654
6975
|
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
7655
6976
|
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
7656
|
-
} else {
|
|
7657
|
-
|
|
7658
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7659
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
7660
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7661
|
-
}
|
|
6977
|
+
} else <span class="cstat-no" title="statement not covered" >if ((this as any)[parentKey] === viewElement) {</span>
|
|
6978
|
+
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6979
|
+
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7662
6980
|
}
|
|
7663
6981
|
}
|
|
7664
6982
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
@@ -7676,10 +6994,10 @@ export class View extends BaseNode {
|
|
|
7676
6994
|
*/
|
|
7677
6995
|
removeParam(param: Param): void;
|
|
7678
6996
|
|
|
7679
|
-
<span class="fstat-no" title="function not covered" > removeParam(
|
|
6997
|
+
<span class="fstat-no" title="function not covered" > removeParam(</span>options: string | Param) {
|
|
7680
6998
|
let param: Param;
|
|
7681
6999
|
<span class="cstat-no" title="statement not covered" > if (typeof options === 'string') {</span>
|
|
7682
|
-
<span class="cstat-no" title="statement not covered" > param = (this.params as Param[]).find(
|
|
7000
|
+
<span class="cstat-no" title="statement not covered" > param = (this.params as Param[]).find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name === options)</span>;</span>
|
|
7683
7001
|
<span class="cstat-no" title="statement not covered" > if (!param) {</span>
|
|
7684
7002
|
<span class="cstat-no" title="statement not covered" > throw new Error('找不到输入参数 ' + options);</span>
|
|
7685
7003
|
}
|
|
@@ -7689,7 +7007,7 @@ export class View extends BaseNode {
|
|
|
7689
7007
|
<span class="cstat-no" title="statement not covered" > return param.delete();</span>
|
|
7690
7008
|
}
|
|
7691
7009
|
|
|
7692
|
-
<span class="fstat-no" title="function not covered" > __removeParam(
|
|
7010
|
+
<span class="fstat-no" title="function not covered" > __removeParam(</span>param: Param) {
|
|
7693
7011
|
const parentKey = <span class="cstat-no" title="statement not covered" >param.parentKey;</span>
|
|
7694
7012
|
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
7695
7013
|
parentNode: this,
|
|
@@ -7700,21 +7018,13 @@ export class View extends BaseNode {
|
|
|
7700
7018
|
};
|
|
7701
7019
|
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
7702
7020
|
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
// @ts-ignore
|
|
7706
|
-
const n = <span class="cstat-no" title="statement not covered" >param.__v_raw || param;</span>
|
|
7707
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
7708
|
-
// @ts-ignore
|
|
7709
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
7021
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray((this as any)[parentKey])) {</span>
|
|
7022
|
+
const index = (<span class="cstat-no" title="statement not covered" >this as any)[parentKey].indexOf(param);</span>
|
|
7710
7023
|
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
7711
7024
|
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
7712
|
-
} else {
|
|
7713
|
-
|
|
7714
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7715
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
7716
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7717
|
-
}
|
|
7025
|
+
} else <span class="cstat-no" title="statement not covered" >if ((this as any)[parentKey] === param) {</span>
|
|
7026
|
+
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
7027
|
+
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7718
7028
|
}
|
|
7719
7029
|
}
|
|
7720
7030
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
@@ -7732,10 +7042,10 @@ export class View extends BaseNode {
|
|
|
7732
7042
|
*/
|
|
7733
7043
|
removeVariable(variable: Variable): void;
|
|
7734
7044
|
|
|
7735
|
-
<span class="fstat-no" title="function not covered" > removeVariable(
|
|
7045
|
+
<span class="fstat-no" title="function not covered" > removeVariable(</span>options: string | Variable) {
|
|
7736
7046
|
let variable: Variable;
|
|
7737
7047
|
<span class="cstat-no" title="statement not covered" > if (typeof options === 'string') {</span>
|
|
7738
|
-
<span class="cstat-no" title="statement not covered" > variable = (this.variables as Variable[]).find(
|
|
7048
|
+
<span class="cstat-no" title="statement not covered" > variable = (this.variables as Variable[]).find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name === options)</span>;</span>
|
|
7739
7049
|
<span class="cstat-no" title="statement not covered" > if (!variable) {</span>
|
|
7740
7050
|
<span class="cstat-no" title="statement not covered" > throw new Error('找不到变量 ' + options);</span>
|
|
7741
7051
|
}
|
|
@@ -7745,7 +7055,7 @@ export class View extends BaseNode {
|
|
|
7745
7055
|
<span class="cstat-no" title="statement not covered" > return variable.delete();</span>
|
|
7746
7056
|
}
|
|
7747
7057
|
|
|
7748
|
-
<span class="fstat-no" title="function not covered" > __removeVariable(
|
|
7058
|
+
<span class="fstat-no" title="function not covered" > __removeVariable(</span>variable: Variable) {
|
|
7749
7059
|
const parentKey = <span class="cstat-no" title="statement not covered" >variable.parentKey;</span>
|
|
7750
7060
|
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
7751
7061
|
parentNode: this,
|
|
@@ -7756,21 +7066,13 @@ export class View extends BaseNode {
|
|
|
7756
7066
|
};
|
|
7757
7067
|
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
7758
7068
|
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
// @ts-ignore
|
|
7762
|
-
const n = <span class="cstat-no" title="statement not covered" >variable.__v_raw || variable;</span>
|
|
7763
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
7764
|
-
// @ts-ignore
|
|
7765
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
7069
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray((this as any)[parentKey])) {</span>
|
|
7070
|
+
const index = (<span class="cstat-no" title="statement not covered" >this as any)[parentKey].indexOf(variable);</span>
|
|
7766
7071
|
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
7767
7072
|
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
7768
|
-
} else {
|
|
7769
|
-
|
|
7770
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7771
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
7772
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7773
|
-
}
|
|
7073
|
+
} else <span class="cstat-no" title="statement not covered" >if ((this as any)[parentKey] === variable) {</span>
|
|
7074
|
+
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
7075
|
+
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7774
7076
|
}
|
|
7775
7077
|
}
|
|
7776
7078
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
@@ -7788,10 +7090,10 @@ export class View extends BaseNode {
|
|
|
7788
7090
|
*/
|
|
7789
7091
|
removeLogic(logic: Logic): void;
|
|
7790
7092
|
|
|
7791
|
-
<span class="fstat-no" title="function not covered" > removeLogic(
|
|
7093
|
+
<span class="fstat-no" title="function not covered" > removeLogic(</span>options: string | Logic) {
|
|
7792
7094
|
let logic: Logic;
|
|
7793
7095
|
<span class="cstat-no" title="statement not covered" > if (typeof options === 'string') {</span>
|
|
7794
|
-
<span class="cstat-no" title="statement not covered" > logic = (this.logics as Logic[]).find(
|
|
7096
|
+
<span class="cstat-no" title="statement not covered" > logic = (this.logics as Logic[]).find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name === options)</span>;</span>
|
|
7795
7097
|
<span class="cstat-no" title="statement not covered" > if (!logic) {</span>
|
|
7796
7098
|
<span class="cstat-no" title="statement not covered" > throw new Error('找不到逻辑 ' + options);</span>
|
|
7797
7099
|
}
|
|
@@ -7801,7 +7103,7 @@ export class View extends BaseNode {
|
|
|
7801
7103
|
<span class="cstat-no" title="statement not covered" > return logic.delete();</span>
|
|
7802
7104
|
}
|
|
7803
7105
|
|
|
7804
|
-
<span class="fstat-no" title="function not covered" > __removeLogic(
|
|
7106
|
+
<span class="fstat-no" title="function not covered" > __removeLogic(</span>logic: Logic) {
|
|
7805
7107
|
const parentKey = <span class="cstat-no" title="statement not covered" >logic.parentKey;</span>
|
|
7806
7108
|
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
7807
7109
|
parentNode: this,
|
|
@@ -7812,21 +7114,13 @@ export class View extends BaseNode {
|
|
|
7812
7114
|
};
|
|
7813
7115
|
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
7814
7116
|
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
// @ts-ignore
|
|
7818
|
-
const n = <span class="cstat-no" title="statement not covered" >logic.__v_raw || logic;</span>
|
|
7819
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
7820
|
-
// @ts-ignore
|
|
7821
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
7117
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray((this as any)[parentKey])) {</span>
|
|
7118
|
+
const index = (<span class="cstat-no" title="statement not covered" >this as any)[parentKey].indexOf(logic);</span>
|
|
7822
7119
|
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
7823
7120
|
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
7824
|
-
} else {
|
|
7825
|
-
|
|
7826
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7827
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
7828
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7829
|
-
}
|
|
7121
|
+
} else <span class="cstat-no" title="statement not covered" >if ((this as any)[parentKey] === logic) {</span>
|
|
7122
|
+
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
7123
|
+
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7830
7124
|
}
|
|
7831
7125
|
}
|
|
7832
7126
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
@@ -7844,10 +7138,10 @@ export class View extends BaseNode {
|
|
|
7844
7138
|
*/
|
|
7845
7139
|
removeBindEvent(bindEvent: BindEvent): void;
|
|
7846
7140
|
|
|
7847
|
-
<span class="fstat-no" title="function not covered" > removeBindEvent(
|
|
7141
|
+
<span class="fstat-no" title="function not covered" > removeBindEvent(</span>options: string | BindEvent) {
|
|
7848
7142
|
let bindEvent: BindEvent;
|
|
7849
7143
|
<span class="cstat-no" title="statement not covered" > if (typeof options === 'string') {</span>
|
|
7850
|
-
<span class="cstat-no" title="statement not covered" > bindEvent = (this.bindEvents as BindEvent[]).find(
|
|
7144
|
+
<span class="cstat-no" title="statement not covered" > bindEvent = (this.bindEvents as BindEvent[]).find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name === options)</span>;</span>
|
|
7851
7145
|
<span class="cstat-no" title="statement not covered" > if (!bindEvent) {</span>
|
|
7852
7146
|
<span class="cstat-no" title="statement not covered" > throw new Error('找不到元素绑定事件 ' + options);</span>
|
|
7853
7147
|
}
|
|
@@ -7857,7 +7151,7 @@ export class View extends BaseNode {
|
|
|
7857
7151
|
<span class="cstat-no" title="statement not covered" > return bindEvent.delete();</span>
|
|
7858
7152
|
}
|
|
7859
7153
|
|
|
7860
|
-
<span class="fstat-no" title="function not covered" > __removeBindEvent(
|
|
7154
|
+
<span class="fstat-no" title="function not covered" > __removeBindEvent(</span>bindEvent: BindEvent) {
|
|
7861
7155
|
const parentKey = <span class="cstat-no" title="statement not covered" >bindEvent.parentKey;</span>
|
|
7862
7156
|
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
7863
7157
|
parentNode: this,
|
|
@@ -7868,21 +7162,13 @@ export class View extends BaseNode {
|
|
|
7868
7162
|
};
|
|
7869
7163
|
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
7870
7164
|
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
// @ts-ignore
|
|
7874
|
-
const n = <span class="cstat-no" title="statement not covered" >bindEvent.__v_raw || bindEvent;</span>
|
|
7875
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
7876
|
-
// @ts-ignore
|
|
7877
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
7165
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray((this as any)[parentKey])) {</span>
|
|
7166
|
+
const index = (<span class="cstat-no" title="statement not covered" >this as any)[parentKey].indexOf(bindEvent);</span>
|
|
7878
7167
|
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
7879
7168
|
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
7880
|
-
} else {
|
|
7881
|
-
|
|
7882
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7883
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
7884
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7885
|
-
}
|
|
7169
|
+
} else <span class="cstat-no" title="statement not covered" >if ((this as any)[parentKey] === bindEvent) {</span>
|
|
7170
|
+
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
7171
|
+
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7886
7172
|
}
|
|
7887
7173
|
}
|
|
7888
7174
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
@@ -7900,10 +7186,10 @@ export class View extends BaseNode {
|
|
|
7900
7186
|
*/
|
|
7901
7187
|
removeView(view: View): void;
|
|
7902
7188
|
|
|
7903
|
-
<span class="fstat-no" title="function not covered" > removeView(
|
|
7189
|
+
<span class="fstat-no" title="function not covered" > removeView(</span>options: string | View) {
|
|
7904
7190
|
let view: View;
|
|
7905
7191
|
<span class="cstat-no" title="statement not covered" > if (typeof options === 'string') {</span>
|
|
7906
|
-
<span class="cstat-no" title="statement not covered" > view = (this.children as View[]).find(
|
|
7192
|
+
<span class="cstat-no" title="statement not covered" > view = (this.children as View[]).find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name === options)</span>;</span>
|
|
7907
7193
|
<span class="cstat-no" title="statement not covered" > if (!view) {</span>
|
|
7908
7194
|
<span class="cstat-no" title="statement not covered" > throw new Error('找不到页面 ' + options);</span>
|
|
7909
7195
|
}
|
|
@@ -7913,7 +7199,7 @@ export class View extends BaseNode {
|
|
|
7913
7199
|
<span class="cstat-no" title="statement not covered" > return view.delete();</span>
|
|
7914
7200
|
}
|
|
7915
7201
|
|
|
7916
|
-
<span class="fstat-no" title="function not covered" > __removeView(
|
|
7202
|
+
<span class="fstat-no" title="function not covered" > __removeView(</span>view: View) {
|
|
7917
7203
|
const parentKey = <span class="cstat-no" title="statement not covered" >view.parentKey;</span>
|
|
7918
7204
|
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
7919
7205
|
parentNode: this,
|
|
@@ -7924,21 +7210,13 @@ export class View extends BaseNode {
|
|
|
7924
7210
|
};
|
|
7925
7211
|
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
7926
7212
|
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
// @ts-ignore
|
|
7930
|
-
const n = <span class="cstat-no" title="statement not covered" >view.__v_raw || view;</span>
|
|
7931
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
7932
|
-
// @ts-ignore
|
|
7933
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
7213
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray((this as any)[parentKey])) {</span>
|
|
7214
|
+
const index = (<span class="cstat-no" title="statement not covered" >this as any)[parentKey].indexOf(view);</span>
|
|
7934
7215
|
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
7935
7216
|
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
7936
|
-
} else {
|
|
7937
|
-
|
|
7938
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7939
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
7940
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7941
|
-
}
|
|
7217
|
+
} else <span class="cstat-no" title="statement not covered" >if ((this as any)[parentKey] === view) {</span>
|
|
7218
|
+
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
7219
|
+
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
7942
7220
|
}
|
|
7943
7221
|
}
|
|
7944
7222
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
@@ -7948,19 +7226,20 @@ export class View extends BaseNode {
|
|
|
7948
7226
|
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|
|
7949
7227
|
// 自动生成的代码已结束。下面可以手动编写。
|
|
7950
7228
|
//================================================================================
|
|
7229
|
+
|
|
7951
7230
|
/* 主页面有没有权限 */
|
|
7952
7231
|
<span class="fstat-no" title="function not covered" > get p</span>arentAuth() {
|
|
7953
7232
|
const _nameSpace = <span class="cstat-no" title="statement not covered" >this.getTsNamespace();</span>
|
|
7954
7233
|
const _nameSpaceArr = <span class="cstat-no" title="statement not covered" >_nameSpace.split('.');</span>
|
|
7955
|
-
const viewsIndex = <span class="cstat-no" title="statement not covered" >_nameSpaceArr.findIndex(
|
|
7234
|
+
const viewsIndex = <span class="cstat-no" title="statement not covered" >_nameSpaceArr.findIndex(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item === 'views')</span>;</span>
|
|
7956
7235
|
const mainViewName = <span class="cstat-no" title="statement not covered" >_nameSpaceArr[viewsIndex + 1];</span>
|
|
7957
|
-
<span class="cstat-no" title="statement not covered" > return mainViewName ? this.frontend.views.find(
|
|
7236
|
+
<span class="cstat-no" title="statement not covered" > return mainViewName ? this.frontend.views.find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name === mainViewName)</span>?.auth : this.auth;</span>
|
|
7958
7237
|
}
|
|
7959
7238
|
|
|
7960
7239
|
/**
|
|
7961
7240
|
* 设置页面权限
|
|
7962
7241
|
*/
|
|
7963
|
-
<span class="fstat-no" title="function not covered" > setBindRoles(
|
|
7242
|
+
<span class="fstat-no" title="function not covered" > setBindRoles(</span>bindRoles: string[]) {
|
|
7964
7243
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
7965
7244
|
bindRoles,
|
|
7966
7245
|
};
|
|
@@ -7969,16 +7248,16 @@ export class View extends BaseNode {
|
|
|
7969
7248
|
});
|
|
7970
7249
|
}
|
|
7971
7250
|
|
|
7972
|
-
<span class="fstat-no" title="function not covered" > findLogicByName(
|
|
7973
|
-
<span class="cstat-no" title="statement not covered" > return this.logics.find(
|
|
7251
|
+
<span class="fstat-no" title="function not covered" > findLogicByName(</span>name: string) {
|
|
7252
|
+
<span class="cstat-no" title="statement not covered" > return this.logics.find(<span class="fstat-no" title="function not covered" >(l</span>ogic) => <span class="cstat-no" title="statement not covered" >logic.name === name)</span>;</span>
|
|
7974
7253
|
}
|
|
7975
7254
|
|
|
7976
7255
|
existingViewElement: Set<string> = new Set<string>();
|
|
7977
7256
|
|
|
7978
7257
|
// 收集已经存在的ViewElement
|
|
7979
|
-
<span class="fstat-no" title="function not covered" > collectExistingViewElementName(
|
|
7258
|
+
<span class="fstat-no" title="function not covered" > collectExistingViewElementName(</span>excludedList: Array<ViewElement> = <span class="branch-0 cbranch-no" title="branch not covered" >[])</span> {
|
|
7980
7259
|
const excludedSet = <span class="cstat-no" title="statement not covered" >new Set(excludedList);</span>
|
|
7981
|
-
<span class="cstat-no" title="statement not covered" > this.elements.forEach(
|
|
7260
|
+
<span class="cstat-no" title="statement not covered" > this.elements.forEach(<span class="fstat-no" title="function not covered" >(e</span>lement) => {</span>
|
|
7982
7261
|
<span class="cstat-no" title="statement not covered" > utils.traverse(</span>
|
|
7983
7262
|
<span class="fstat-no" title="function not covered" > ({</span> node }) => {
|
|
7984
7263
|
<span class="cstat-no" title="statement not covered" > if (!excludedSet.has(node)) {</span>
|
|
@@ -7993,51 +7272,27 @@ export class View extends BaseNode {
|
|
|
7993
7272
|
}
|
|
7994
7273
|
|
|
7995
7274
|
// 获取当前页面的所有组件的名字
|
|
7996
|
-
<span class="fstat-no" title="function not covered" > getViewElementExistingNames(
|
|
7275
|
+
<span class="fstat-no" title="function not covered" > getViewElementExistingNames(</span>excludedList: Array<ViewElement> = <span class="branch-0 cbranch-no" title="branch not covered" >[])</span> {
|
|
7997
7276
|
<span class="cstat-no" title="statement not covered" > if (!this.existingViewElement.size) {</span>
|
|
7998
7277
|
<span class="cstat-no" title="statement not covered" > this.collectExistingViewElementName();</span>
|
|
7999
7278
|
}
|
|
8000
7279
|
<span class="cstat-no" title="statement not covered" > return Array.from(this.existingViewElement);</span>
|
|
8001
7280
|
}
|
|
8002
7281
|
|
|
8003
|
-
<span class="fstat-no" title="function not covered" > getViewElementUniqueName(
|
|
8004
|
-
<span class="cstat-no" title="statement not covered" > this.collectExistingViewElementName();</span>
|
|
8005
|
-
const BranchCopyUniCode = <span class="cstat-no" title="statement not covered" >getBranchCopyUniCode();</span>
|
|
8006
|
-
let newName = <span class="cstat-no" title="statement not covered" >name;</span>
|
|
8007
|
-
const prefix = <span class="cstat-no" title="statement not covered" >name.replace(/\d*$/, '');</span>
|
|
8008
|
-
<span class="cstat-no" title="statement not covered" > if (BranchCopyUniCode && prefix.indexOf(`_${BranchCopyUniCode}_`) === -1) {</span>
|
|
8009
|
-
<span class="cstat-no" title="statement not covered" > newName = name.replace(/\d*$/, (<span class="fstat-no" title="function not covered" >m) => <span class="cstat-no" title="statement not covered" >`</span>_${BranchCopyUniCode}_${m}`)</span>;</span>
|
|
8010
|
-
}
|
|
8011
|
-
// 主分支无 BranchCopyUniCode
|
|
8012
|
-
<span class="cstat-no" title="statement not covered" > if (!BranchCopyUniCode && prefix.at(-1) !== '_') {</span>
|
|
8013
|
-
<span class="cstat-no" title="statement not covered" > newName = name.replace(/\d*$/, (<span class="fstat-no" title="function not covered" >m) => <span class="cstat-no" title="statement not covered" >`</span>_${m}`)</span>;</span>
|
|
8014
|
-
}
|
|
8015
|
-
const newPrefix = <span class="cstat-no" title="statement not covered" >newName.replace(/\d*$/, '');</span>
|
|
8016
|
-
const newPrefixNum = <span class="cstat-no" title="statement not covered" >removedViewElementCache?.[newPrefix] ? removedViewElementCache[newPrefix] : 1;</span>
|
|
8017
|
-
const startNum =
|
|
8018
|
-
<span class="cstat-no" title="statement not covered" > newPrefixNum < Number.MAX_SAFE_INTEGER ? (newPrefixNum as number) + 1 : BigInt(newPrefixNum) + BigInt(1);</span>
|
|
8019
|
-
const viewElementUniqueName = <span class="cstat-no" title="statement not covered" >utils.uniqueMax(</span>
|
|
8020
|
-
newName,
|
|
8021
|
-
this.existingViewElement,
|
|
8022
|
-
removedViewElementCache?.[newPrefix] ? startNum : newPrefixNum,
|
|
8023
|
-
);
|
|
8024
|
-
<span class="cstat-no" title="statement not covered" > this.existingViewElement.add(viewElementUniqueName);</span>
|
|
8025
|
-
<span class="cstat-no" title="statement not covered" > return viewElementUniqueName;</span>
|
|
8026
|
-
}
|
|
8027
|
-
|
|
8028
|
-
<span class="fstat-no" title="function not covered" > getViewElementUniqueNameOld(n</span>ame = <span class="branch-0 cbranch-no" title="branch not covered" >'viewElement1') {</span>
|
|
7282
|
+
<span class="fstat-no" title="function not covered" > getViewElementUniqueName(</span>name = <span class="branch-0 cbranch-no" title="branch not covered" >'viewElement1')</span> {
|
|
8029
7283
|
<span class="cstat-no" title="statement not covered" > this.collectExistingViewElementName();</span>
|
|
8030
7284
|
const viewElementUniqueName = <span class="cstat-no" title="statement not covered" >utils.unique(name, this.existingViewElement);</span>
|
|
8031
7285
|
<span class="cstat-no" title="statement not covered" > this.existingViewElement.add(viewElementUniqueName);</span>
|
|
8032
7286
|
<span class="cstat-no" title="statement not covered" > return viewElementUniqueName;</span>
|
|
8033
7287
|
}
|
|
8034
7288
|
|
|
8035
|
-
<span class="fstat-no" title="function not covered" > getAllViewElementNames(
|
|
7289
|
+
<span class="fstat-no" title="function not covered" > getAllViewElementNames(</span>excludeName: string) {
|
|
8036
7290
|
const res: Array<string> = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
8037
|
-
<span class="cstat-no" title="statement not covered" > this.elements.forEach(
|
|
7291
|
+
<span class="cstat-no" title="statement not covered" > this.elements.forEach(<span class="fstat-no" title="function not covered" >(e</span>lement) => {</span>
|
|
8038
7292
|
<span class="cstat-no" title="statement not covered" > utils.traverse(</span>
|
|
8039
7293
|
<span class="fstat-no" title="function not covered" > ({</span> node }) => {
|
|
8040
|
-
<span class="cstat-no" title="statement not covered" > if (node.name !== excludeName)
|
|
7294
|
+
<span class="cstat-no" title="statement not covered" > if (node.name !== excludeName)</span>
|
|
7295
|
+
<span class="cstat-no" title="statement not covered" > res.push(node.name);</span>
|
|
8041
7296
|
},
|
|
8042
7297
|
{
|
|
8043
7298
|
node: element,
|
|
@@ -8048,21 +7303,16 @@ export class View extends BaseNode {
|
|
|
8048
7303
|
}
|
|
8049
7304
|
|
|
8050
7305
|
// 组件名是否有效
|
|
8051
|
-
<span class="fstat-no" title="function not covered" > isValidElementName(
|
|
7306
|
+
<span class="fstat-no" title="function not covered" > isValidElementName(</span>name: string): boolean {
|
|
8052
7307
|
<span class="cstat-no" title="statement not covered" > if (name) {</span>
|
|
8053
|
-
<span class="cstat-no" title="statement not covered" > return !this.getViewElementExistingNames().find(
|
|
7308
|
+
<span class="cstat-no" title="statement not covered" > return !this.getViewElementExistingNames().find(<span class="fstat-no" title="function not covered" >(e</span>xistingName) => <span class="cstat-no" title="statement not covered" >existingName === name)</span>;</span>
|
|
8054
7309
|
}
|
|
8055
7310
|
<span class="cstat-no" title="statement not covered" > return false;</span>
|
|
8056
7311
|
}
|
|
8057
7312
|
|
|
8058
7313
|
public static readonly TAG_NAME_PREFIX_REG?: RegExp = /^([lieu]|van)[-_]/;
|
|
8059
7314
|
|
|
8060
|
-
<span class="fstat-no" title="function not covered" > mergeBlock(
|
|
8061
|
-
const <span class="cstat-no" title="statement not covered" >ViewElement = getConceptConstructor('ViewElement');</span>
|
|
8062
|
-
const <span class="cstat-no" title="statement not covered" >Logic = getConceptConstructor('Logic');</span>
|
|
8063
|
-
const <span class="cstat-no" title="statement not covered" >Param = getConceptConstructor('Param');</span>
|
|
8064
|
-
const <span class="cstat-no" title="statement not covered" >Variable = getConceptConstructor('Variable');</span>
|
|
8065
|
-
const <span class="cstat-no" title="statement not covered" >BindEvent = getConceptConstructor('BindEvent');</span>
|
|
7315
|
+
<span class="fstat-no" title="function not covered" > mergeBlock(</span>{ code, nodePath, position, cb }: { code: string; nodePath: string; position: string; cb?: Function }) {
|
|
8066
7316
|
const template = <span class="cstat-no" title="statement not covered" >utils.sliceTagContent(code, 'template');</span>
|
|
8067
7317
|
let targetNode = <span class="cstat-no" title="statement not covered" >this.app.findNodeByPath(nodePath);</span>
|
|
8068
7318
|
let parentNode = <span class="cstat-no" title="statement not covered" >position === 'append' ? targetNode : targetNode.parentNode;</span>
|
|
@@ -8070,7 +7320,7 @@ export class View extends BaseNode {
|
|
|
8070
7320
|
<span class="cstat-no" title="statement not covered" > parentNode = targetNode;</span>
|
|
8071
7321
|
<span class="cstat-no" title="statement not covered" > if (position === 'insertBefore') {</span>
|
|
8072
7322
|
<span class="cstat-no" title="statement not covered" > targetNode = parentNode.children[0];</span>
|
|
8073
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7323
|
+
} else <span class="cstat-no" title="statement not covered" >if (position === 'insertAfter') {</span>
|
|
8074
7324
|
const len = <span class="cstat-no" title="statement not covered" >parentNode.children.length;</span>
|
|
8075
7325
|
<span class="cstat-no" title="statement not covered" > targetNode = parentNode.children[len - 1];</span>
|
|
8076
7326
|
}
|
|
@@ -8093,7 +7343,7 @@ export class View extends BaseNode {
|
|
|
8093
7343
|
const index = <span class="cstat-no" title="statement not covered" >targetNode.getIndexOfParent();</span>
|
|
8094
7344
|
<span class="cstat-no" title="statement not covered" > if (position === 'insertBefore') {</span>
|
|
8095
7345
|
<span class="cstat-no" title="statement not covered" > parentNode.insertViewElementAt(node, index);</span>
|
|
8096
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7346
|
+
} else <span class="cstat-no" title="statement not covered" >if (position === 'insertAfter') {</span>
|
|
8097
7347
|
<span class="cstat-no" title="statement not covered" > parentNode.insertViewElementAt(node, index + 1);</span>
|
|
8098
7348
|
}
|
|
8099
7349
|
}
|
|
@@ -8101,7 +7351,7 @@ export class View extends BaseNode {
|
|
|
8101
7351
|
|
|
8102
7352
|
// 服务端逻辑
|
|
8103
7353
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(definition.logics)) {</span>
|
|
8104
|
-
<span class="cstat-no" title="statement not covered" > definition.logics.forEach(
|
|
7354
|
+
<span class="cstat-no" title="statement not covered" > definition.logics.forEach(<span class="fstat-no" title="function not covered" >(l</span>ogicOption: any) => {</span>
|
|
8105
7355
|
const logic = <span class="cstat-no" title="statement not covered" >Logic.from(</span>
|
|
8106
7356
|
{
|
|
8107
7357
|
...logicOption,
|
|
@@ -8115,7 +7365,7 @@ export class View extends BaseNode {
|
|
|
8115
7365
|
|
|
8116
7366
|
// 全局结构体
|
|
8117
7367
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(definition.structures)) {</span>
|
|
8118
|
-
<span class="cstat-no" title="statement not covered" > definition.structures.forEach(
|
|
7368
|
+
<span class="cstat-no" title="statement not covered" > definition.structures.forEach(<span class="fstat-no" title="function not covered" >(s</span>tructureOption: any) => {</span>
|
|
8119
7369
|
const structure = <span class="cstat-no" title="statement not covered" >Structure.from(</span>
|
|
8120
7370
|
{
|
|
8121
7371
|
...structureOption,
|
|
@@ -8129,7 +7379,7 @@ export class View extends BaseNode {
|
|
|
8129
7379
|
|
|
8130
7380
|
// 页面入参
|
|
8131
7381
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(definition.viewParams)) {</span>
|
|
8132
|
-
<span class="cstat-no" title="statement not covered" > definition.viewParams.forEach(
|
|
7382
|
+
<span class="cstat-no" title="statement not covered" > definition.viewParams.forEach(<span class="fstat-no" title="function not covered" >(p</span>aramsOption: any) => {</span>
|
|
8133
7383
|
const param = <span class="cstat-no" title="statement not covered" >Param.from(</span>
|
|
8134
7384
|
{
|
|
8135
7385
|
...paramsOption,
|
|
@@ -8143,7 +7393,7 @@ export class View extends BaseNode {
|
|
|
8143
7393
|
}
|
|
8144
7394
|
// 页面变量
|
|
8145
7395
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(definition.viewVariables)) {</span>
|
|
8146
|
-
<span class="cstat-no" title="statement not covered" > definition.viewVariables.forEach(
|
|
7396
|
+
<span class="cstat-no" title="statement not covered" > definition.viewVariables.forEach(<span class="fstat-no" title="function not covered" >(v</span>ariableOption: any) => {</span>
|
|
8147
7397
|
const variable = <span class="cstat-no" title="statement not covered" >Variable.from(</span>
|
|
8148
7398
|
{
|
|
8149
7399
|
...variableOption,
|
|
@@ -8157,7 +7407,7 @@ export class View extends BaseNode {
|
|
|
8157
7407
|
|
|
8158
7408
|
// 页面逻辑
|
|
8159
7409
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(definition.viewLogics)) {</span>
|
|
8160
|
-
<span class="cstat-no" title="statement not covered" > definition.viewLogics.forEach(
|
|
7410
|
+
<span class="cstat-no" title="statement not covered" > definition.viewLogics.forEach(<span class="fstat-no" title="function not covered" >(l</span>ogicOption: any) => {</span>
|
|
8161
7411
|
// 页面逻辑只有load函数的走之前的逻辑其余不用创建
|
|
8162
7412
|
<span class="cstat-no" title="statement not covered" > if (logicOption.name.startsWith('load')) {</span>
|
|
8163
7413
|
// const logic = Logic.from(
|
|
@@ -8173,9 +7423,9 @@ export class View extends BaseNode {
|
|
|
8173
7423
|
}
|
|
8174
7424
|
// 页面事件
|
|
8175
7425
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(definition.viewBindEvents)) {</span>
|
|
8176
|
-
<span class="cstat-no" title="statement not covered" > definition.viewBindEvents.forEach(
|
|
8177
|
-
const newLogic = <span class="cstat-no" title="statement not covered" >definition.viewLogics.find(
|
|
8178
|
-
const bindEvent = <span class="cstat-no" title="statement not covered" >this.bindEvents.find(
|
|
7426
|
+
<span class="cstat-no" title="statement not covered" > definition.viewBindEvents.forEach(<span class="fstat-no" title="function not covered" >(e</span>ventOption: any) => {</span>
|
|
7427
|
+
const newLogic = <span class="cstat-no" title="statement not covered" >definition.viewLogics.find(<span class="fstat-no" title="function not covered" >(l</span>ogic: Logic) => <span class="cstat-no" title="statement not covered" >eventOption.calleeName === logic.name)</span>;</span>
|
|
7428
|
+
const bindEvent = <span class="cstat-no" title="statement not covered" >this.bindEvents.find(<span class="fstat-no" title="function not covered" >(c</span>urrentEventItem) => <span class="cstat-no" title="statement not covered" >currentEventItem.name === eventOption.name)</span>;</span>
|
|
8179
7429
|
|
|
8180
7430
|
// 如果没有event对象就先新增一个,如果已经有了就在内部添加logic
|
|
8181
7431
|
<span class="cstat-no" title="statement not covered" > if (!bindEvent) {</span>
|
|
@@ -8190,6 +7440,8 @@ export class View extends BaseNode {
|
|
|
8190
7440
|
);
|
|
8191
7441
|
<span class="cstat-no" title="statement not covered" > this.addBindEvent(event);</span>
|
|
8192
7442
|
} else {
|
|
7443
|
+
const index = <span class="cstat-no" title="statement not covered" >bindEvent.logics.length;</span>
|
|
7444
|
+
<span class="cstat-no" title="statement not covered" > newLogic.name += index;</span>
|
|
8193
7445
|
<span class="cstat-no" title="statement not covered" > bindEvent.addLogic(newLogic);</span>
|
|
8194
7446
|
}
|
|
8195
7447
|
});
|
|
@@ -8197,11 +7449,11 @@ export class View extends BaseNode {
|
|
|
8197
7449
|
<span class="cstat-no" title="statement not covered" > return node;</span>
|
|
8198
7450
|
}
|
|
8199
7451
|
|
|
8200
|
-
<span class="fstat-no" title="function not covered" > onChange(
|
|
7452
|
+
<span class="fstat-no" title="function not covered" > onChange(</span>$event?: EventPayload): void {
|
|
8201
7453
|
<span class="cstat-no" title="statement not covered" > this.emit('change', $event);</span>
|
|
8202
7454
|
}
|
|
8203
7455
|
|
|
8204
|
-
<span class="fstat-no" title="function not covered" > getLogicExistingNames(
|
|
7456
|
+
<span class="fstat-no" title="function not covered" > getLogicExistingNames(</span>excludedList: Array<Logic> = <span class="branch-0 cbranch-no" title="branch not covered" >[])</span> {
|
|
8205
7457
|
const excludedSet = <span class="cstat-no" title="statement not covered" >new Set(excludedList);</span>
|
|
8206
7458
|
const varList: any[] = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
8207
7459
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.params)) {</span>
|
|
@@ -8213,17 +7465,10 @@ export class View extends BaseNode {
|
|
|
8213
7465
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.logics)) {</span>
|
|
8214
7466
|
<span class="cstat-no" title="statement not covered" > varList.push(...this.logics);</span>
|
|
8215
7467
|
}
|
|
8216
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8217
|
-
<span class="cstat-no" title="statement not covered" > this.bindEvents.forEach((<span class="fstat-no" title="function not covered" >bindEvent) => {</span></span>
|
|
8218
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray(bindEvent.logics)) {</span>
|
|
8219
|
-
<span class="cstat-no" title="statement not covered" > varList.push(...bindEvent.logics);</span>
|
|
8220
|
-
}
|
|
8221
|
-
});
|
|
8222
|
-
}
|
|
8223
|
-
<span class="cstat-no" title="statement not covered" > return varList.filter((<span class="fstat-no" title="function not covered" >item) => <span class="cstat-no" title="statement not covered" >!</span>excludedSet.has(item))</span>.map((<span class="fstat-no" title="function not covered" >item) => <span class="cstat-no" title="statement not covered" >i</span>tem.name)</span>;</span>
|
|
7468
|
+
<span class="cstat-no" title="statement not covered" > return varList.filter(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >!excludedSet.has(item))</span>.map(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name)</span>;</span>
|
|
8224
7469
|
}
|
|
8225
7470
|
|
|
8226
|
-
<span class="fstat-no" title="function not covered" > getVarExistingNames(
|
|
7471
|
+
<span class="fstat-no" title="function not covered" > getVarExistingNames(</span>excludedList: Array<Param | Variable> = <span class="branch-0 cbranch-no" title="branch not covered" >[])</span> {
|
|
8227
7472
|
const excludedSet = <span class="cstat-no" title="statement not covered" >new Set(excludedList);</span>
|
|
8228
7473
|
const varList: any[] = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
8229
7474
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.params)) {</span>
|
|
@@ -8233,7 +7478,7 @@ export class View extends BaseNode {
|
|
|
8233
7478
|
<span class="cstat-no" title="statement not covered" > varList.push(...this.variables);</span>
|
|
8234
7479
|
}
|
|
8235
7480
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.logics)) {</span>
|
|
8236
|
-
<span class="cstat-no" title="statement not covered" > this.logics.forEach(
|
|
7481
|
+
<span class="cstat-no" title="statement not covered" > this.logics.forEach(<span class="fstat-no" title="function not covered" >(l</span>ogic) => {</span>
|
|
8237
7482
|
<span class="cstat-no" title="statement not covered" > varList.push(logic);</span>
|
|
8238
7483
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(logic.params)) {</span>
|
|
8239
7484
|
<span class="cstat-no" title="statement not covered" > varList.push(...logic.params);</span>
|
|
@@ -8248,41 +7493,34 @@ export class View extends BaseNode {
|
|
|
8248
7493
|
}
|
|
8249
7494
|
// 事件逻辑的变量不允许和页面逻辑下的重复
|
|
8250
7495
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.elementLogicRoot) && this.elementLogicRoot.length) {</span>
|
|
8251
|
-
<span class="cstat-no" title="statement not covered" > this.elementLogicRoot[0]?.children.forEach(
|
|
7496
|
+
<span class="cstat-no" title="statement not covered" > this.elementLogicRoot[0]?.children.forEach(<span class="fstat-no" title="function not covered" >(l</span>ogic: Logic) => {</span>
|
|
8252
7497
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(logic.variables)) {</span>
|
|
8253
7498
|
<span class="cstat-no" title="statement not covered" > varList.push(...logic.variables);</span>
|
|
8254
7499
|
}
|
|
8255
7500
|
});
|
|
8256
7501
|
}
|
|
8257
|
-
<span class="cstat-no" title="statement not covered" > return varList.filter(
|
|
7502
|
+
<span class="cstat-no" title="statement not covered" > return varList.filter(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >!excludedSet.has(item))</span>.map(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name)</span>;</span>
|
|
8258
7503
|
}
|
|
8259
7504
|
|
|
8260
7505
|
/**
|
|
8261
7506
|
* 生成 Vue 中需要的 JS 代码
|
|
8262
7507
|
* @TODO 这一版先做成 componentOptions 式的,后面再美化
|
|
8263
7508
|
*/
|
|
8264
|
-
<span class="fstat-no" title="function not covered" > genScript() {
|
|
7509
|
+
<span class="fstat-no" title="function not covered" > genScript(</span>) {
|
|
8265
7510
|
const componentList: Array<ViewElement> = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
8266
|
-
const componentListExtra: Array<ViewElement> = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
8267
7511
|
<span class="cstat-no" title="statement not covered" > this.elementsAttrs(this.elements, componentList);</span>
|
|
8268
|
-
<span class="cstat-no" title="statement not covered" > this.elementsAttrsAll(this.elements, componentListExtra);</span>
|
|
8269
|
-
|
|
8270
|
-
let crumbI18n = <span class="cstat-no" title="statement not covered" >this.frontend?.i18nInfo?.enabled && this.crumb?.i18nKey ? this.crumb?.i18nKey : undefined;</span>
|
|
8271
|
-
|
|
8272
7512
|
const definition = <span class="cstat-no" title="statement not covered" >{</span>
|
|
8273
7513
|
params: this.params,
|
|
8274
7514
|
variables: this.variables,
|
|
8275
7515
|
logics: this.logics,
|
|
8276
7516
|
events: this.bindEvents,
|
|
8277
7517
|
title: this.title,
|
|
8278
|
-
crumb: this.crumb
|
|
8279
|
-
|
|
8280
|
-
first: this.children.find((<span class="fstat-no" title="function not covered" >child) => <span class="cstat-no" title="statement not covered" >c</span>hild.isIndex)</span>?.name,
|
|
7518
|
+
crumb: this.crumb,
|
|
7519
|
+
first: this.children.find(<span class="fstat-no" title="function not covered" >(c</span>hild) => <span class="cstat-no" title="statement not covered" >child.isIndex)</span>?.name,
|
|
8281
7520
|
auth: this.auth ? 'loginAuth' : undefined,
|
|
8282
7521
|
viewBindEvents: this.getViewBindEvents(),
|
|
8283
7522
|
viewExpressions: this.getViewExpressions(),
|
|
8284
7523
|
elements: componentList,
|
|
8285
|
-
elementsAll: componentListExtra,
|
|
8286
7524
|
};
|
|
8287
7525
|
let code = <span class="cstat-no" title="statement not covered" >'';</span>
|
|
8288
7526
|
let mixin = <span class="cstat-no" title="statement not covered" >'';</span>
|
|
@@ -8298,15 +7536,15 @@ export class View extends BaseNode {
|
|
|
8298
7536
|
methods: {
|
|
8299
7537
|
async onKeyDown(e) {
|
|
8300
7538
|
${this.bindEvents
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
7539
|
+
.filter(<span class="fstat-no" title="function not covered" >(e</span>vent) => <span class="cstat-no" title="statement not covered" >['keydown'].includes(event.name))</span>
|
|
7540
|
+
.map(<span class="fstat-no" title="function not covered" >(e</span>vent) => <span class="cstat-no" title="statement not covered" >`await this.${event.view.name}_${event.name}(e);`)</span>
|
|
7541
|
+
.join('\n')}
|
|
8304
7542
|
},
|
|
8305
7543
|
async onKeyUp(e) {
|
|
8306
7544
|
${this.bindEvents
|
|
8307
|
-
|
|
8308
|
-
|
|
8309
|
-
|
|
7545
|
+
.filter(<span class="fstat-no" title="function not covered" >(e</span>vent) => <span class="cstat-no" title="statement not covered" >['keyup'].includes(event.name))</span>
|
|
7546
|
+
.map(<span class="fstat-no" title="function not covered" >(e</span>vent) => <span class="cstat-no" title="statement not covered" >`await this.${event.view.name}_${event.name}(e);`)</span>
|
|
7547
|
+
.join('\n')}
|
|
8310
7548
|
}
|
|
8311
7549
|
}
|
|
8312
7550
|
};`;
|
|
@@ -8328,19 +7566,20 @@ export class View extends BaseNode {
|
|
|
8328
7566
|
<span class="cstat-no" title="statement not covered" > mixins.push('keyboardEventMixin');</span>
|
|
8329
7567
|
<span class="cstat-no" title="statement not covered" > code += mixins.join(',');</span>
|
|
8330
7568
|
<span class="cstat-no" title="statement not covered" > code += '],';</span>
|
|
8331
|
-
|
|
7569
|
+
|
|
7570
|
+
<span class="cstat-no" title="statement not covered" > code += translator(definition);</span>
|
|
8332
7571
|
<span class="cstat-no" title="statement not covered" > code += '};\n';</span>
|
|
8333
7572
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
8334
7573
|
}
|
|
8335
7574
|
|
|
8336
|
-
<span class="fstat-no" title="function not covered" > genVueTemplate(
|
|
8337
|
-
<span class="cstat-no" title="statement not covered" > return this.elements?.map(
|
|
7575
|
+
<span class="fstat-no" title="function not covered" > genVueTemplate(</span>options?: ElementToVueOptions) {
|
|
7576
|
+
<span class="cstat-no" title="statement not covered" > return this.elements?.map(<span class="fstat-no" title="function not covered" >(e</span>lement) => <span class="cstat-no" title="statement not covered" >`${element?.toVue(options)}\n`)</span>.join('');</span>
|
|
8338
7577
|
}
|
|
8339
7578
|
|
|
8340
7579
|
/**
|
|
8341
7580
|
* 转换成 Vue 文件
|
|
8342
7581
|
*/
|
|
8343
|
-
<span class="fstat-no" title="function not covered" > toVue(
|
|
7582
|
+
<span class="fstat-no" title="function not covered" > toVue(</span>options?: ElementToVueOptions) {
|
|
8344
7583
|
let result = <span class="cstat-no" title="statement not covered" >'';</span>
|
|
8345
7584
|
<span class="cstat-no" title="statement not covered" > result += `<template>\n${this.genVueTemplate(options)}\n</template>\n`;</span>
|
|
8346
7585
|
<span class="cstat-no" title="statement not covered" > result += `<script>\n${this.genScript()}\n</script>\n`;</span>
|
|
@@ -8351,8 +7590,8 @@ export class View extends BaseNode {
|
|
|
8351
7590
|
* 转换成设计器中使用的 Vue template 内容
|
|
8352
7591
|
* @param options
|
|
8353
7592
|
*/
|
|
8354
|
-
<span class="fstat-no" title="function not covered" > genDesignerVueTemplate() {
|
|
8355
|
-
<span class="cstat-no" title="statement not covered" > return this.elements.map(
|
|
7593
|
+
<span class="fstat-no" title="function not covered" > genDesignerVueTemplate(</span>) {
|
|
7594
|
+
<span class="cstat-no" title="statement not covered" > return this.elements.map(<span class="fstat-no" title="function not covered" >(e</span>lement) => <span class="cstat-no" title="statement not covered" >`${element.toDesignerVue()}\n`)</span>.join('');</span>
|
|
8356
7595
|
}
|
|
8357
7596
|
|
|
8358
7597
|
/**
|
|
@@ -8360,7 +7599,7 @@ export class View extends BaseNode {
|
|
|
8360
7599
|
* 目前不需要 script 和 style
|
|
8361
7600
|
* @param options
|
|
8362
7601
|
*/
|
|
8363
|
-
<span class="fstat-no" title="function not covered" > toDesignerVue() {
|
|
7602
|
+
<span class="fstat-no" title="function not covered" > toDesignerVue(</span>) {
|
|
8364
7603
|
<span class="cstat-no" title="statement not covered" > return `<template>\n${this.genDesignerVueTemplate()}</template>`;</span>
|
|
8365
7604
|
}
|
|
8366
7605
|
|
|
@@ -8368,7 +7607,7 @@ export class View extends BaseNode {
|
|
|
8368
7607
|
* 转换成 VueOptions
|
|
8369
7608
|
* @TODO 后面 template 可以优化成 render 函数
|
|
8370
7609
|
*/
|
|
8371
|
-
<span class="fstat-no" title="function not covered" > toVueOptions(
|
|
7610
|
+
<span class="fstat-no" title="function not covered" > toVueOptions(</span>options?: ElementToVueOptions) {
|
|
8372
7611
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
8373
7612
|
template: this.genVueTemplate(options),
|
|
8374
7613
|
script: this.genScript(),
|
|
@@ -8379,11 +7618,11 @@ export class View extends BaseNode {
|
|
|
8379
7618
|
* 生成宿主语言的文件路径
|
|
8380
7619
|
* @param name 一般不用传,用于 rename
|
|
8381
7620
|
*/
|
|
8382
|
-
<span class="fstat-no" title="function not covered" > getEmbeddedFilePath(
|
|
7621
|
+
<span class="fstat-no" title="function not covered" > getEmbeddedFilePath(</span>name = <span class="branch-0 cbranch-no" title="branch not covered" >this.name)</span> {
|
|
8383
7622
|
let pathName = <span class="cstat-no" title="statement not covered" >name;</span>
|
|
8384
7623
|
let parent = <span class="cstat-no" title="statement not covered" >this.parentNode;</span>
|
|
8385
7624
|
<span class="cstat-no" title="statement not covered" > if (parent) {</span>
|
|
8386
|
-
<span class="cstat-no" title="statement not covered" > while (parent &&
|
|
7625
|
+
<span class="cstat-no" title="statement not covered" > while (parent && parent instanceof View) {</span>
|
|
8387
7626
|
<span class="cstat-no" title="statement not covered" > pathName = `${parent.name}/${pathName}`;</span>
|
|
8388
7627
|
<span class="cstat-no" title="statement not covered" > parent = parent.parentNode;</span>
|
|
8389
7628
|
}
|
|
@@ -8391,7 +7630,7 @@ export class View extends BaseNode {
|
|
|
8391
7630
|
<span class="cstat-no" title="statement not covered" > return `/embedded/${this.app.name}/frontends/${this.frontend.name}/views/${pathName}.ts`;</span>
|
|
8392
7631
|
}
|
|
8393
7632
|
|
|
8394
|
-
<span class="fstat-no" title="function not covered" > getNamespace(): string {
|
|
7633
|
+
<span class="fstat-no" title="function not covered" > getNamespace(</span>): string {
|
|
8395
7634
|
<span class="cstat-no" title="statement not covered" > if (this.parentNode && (this.parentNode as Namespace).getNamespace) {</span>
|
|
8396
7635
|
const parentNamespace = (<span class="cstat-no" title="statement not covered" >this.parentNode as Namespace).getNamespace();</span>
|
|
8397
7636
|
const parentName = <span class="cstat-no" title="statement not covered" >this.parentNode.name;</span>
|
|
@@ -8404,19 +7643,19 @@ export class View extends BaseNode {
|
|
|
8404
7643
|
<span class="cstat-no" title="statement not covered" > throw new Error('无法获取命名空间,请设置 parentNode!');</span>
|
|
8405
7644
|
}
|
|
8406
7645
|
|
|
8407
|
-
<span class="fstat-no" title="function not covered" > getTsNamespace() {
|
|
7646
|
+
<span class="fstat-no" title="function not covered" > getTsNamespace(</span>) {
|
|
8408
7647
|
const parentNodeNamespace = <span class="cstat-no" title="statement not covered" >this.getNamespace();</span>
|
|
8409
|
-
let tsCalleeNamespace = <span class="cstat-no" title="statement not covered" >parentNodeNamespace.replace(/\.[0-9]/g,
|
|
7648
|
+
let tsCalleeNamespace = <span class="cstat-no" title="statement not covered" >parentNodeNamespace.replace(/\.[0-9]/g, <span class="fstat-no" title="function not covered" >(m</span>) => <span class="cstat-no" title="statement not covered" >m.replace('.', '.$'))</span>;</span>
|
|
8410
7649
|
<span class="cstat-no" title="statement not covered" > tsCalleeNamespace = tsCalleeNamespace.replace(/-/g, '_');</span>
|
|
8411
7650
|
<span class="cstat-no" title="statement not covered" > return tsCalleeNamespace;</span>
|
|
8412
7651
|
}
|
|
8413
7652
|
|
|
8414
7653
|
// 获取当前element,铺平
|
|
8415
|
-
<span class="fstat-no" title="function not covered" > elementsMethods(
|
|
7654
|
+
<span class="fstat-no" title="function not covered" > elementsMethods(</span>elements: Array<ViewElement>, allMethods: Array<ViewElement>, parentNodeNames: Array<string>) {
|
|
8416
7655
|
<span class="cstat-no" title="statement not covered" > if (elements) {</span>
|
|
8417
|
-
<span class="cstat-no" title="statement not covered" > elements.forEach(
|
|
8418
|
-
const { bindAttrs = <span class="branch-0 cbranch-no" title="branch not covered" >[]
|
|
8419
|
-
const isDataSource = <span class="cstat-no" title="statement not covered" >bindAttrs.some(
|
|
7656
|
+
<span class="cstat-no" title="statement not covered" > elements.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem: ViewElement) => {</span>
|
|
7657
|
+
const { bindAttrs = <span class="branch-0 cbranch-no" title="branch not covered" >[],</span> name } = <span class="cstat-no" title="statement not covered" >item;</span>
|
|
7658
|
+
const isDataSource = <span class="cstat-no" title="statement not covered" >bindAttrs.some(<span class="fstat-no" title="function not covered" >(a</span>ttr) => <span class="cstat-no" title="statement not covered" >attr.name === 'data-source')</span>;</span>
|
|
8420
7659
|
const isInclude = <span class="cstat-no" title="statement not covered" >parentNodeNames.includes(name);</span>
|
|
8421
7660
|
|
|
8422
7661
|
<span class="cstat-no" title="statement not covered" > allMethods.push(item);</span>
|
|
@@ -8434,9 +7673,9 @@ export class View extends BaseNode {
|
|
|
8434
7673
|
}
|
|
8435
7674
|
|
|
8436
7675
|
// 获取当前element,铺平
|
|
8437
|
-
<span class="fstat-no" title="function not covered" > elementsAttrs(
|
|
7676
|
+
<span class="fstat-no" title="function not covered" > elementsAttrs(</span>elements: Array<ViewElement>, componentList: Array<ViewElement>) {
|
|
8438
7677
|
<span class="cstat-no" title="statement not covered" > if (elements) {</span>
|
|
8439
|
-
<span class="cstat-no" title="statement not covered" > elements.forEach(
|
|
7678
|
+
<span class="cstat-no" title="statement not covered" > elements.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem: ViewElement) => {</span>
|
|
8440
7679
|
<span class="cstat-no" title="statement not covered" > if (PAGE_COMPONENT_INCLUDE_TAG_MAP?.[item.tag]) {</span>
|
|
8441
7680
|
<span class="cstat-no" title="statement not covered" > componentList.push(item);</span>
|
|
8442
7681
|
}
|
|
@@ -8447,23 +7686,9 @@ export class View extends BaseNode {
|
|
|
8447
7686
|
}
|
|
8448
7687
|
}
|
|
8449
7688
|
|
|
8450
|
-
|
|
8451
|
-
<span class="
|
|
8452
|
-
|
|
8453
|
-
<span class="cstat-no" title="statement not covered" > if (!PAGE_COMPONENT_INCLUDE_TAG_MAP?.[item.tag]) {</span>
|
|
8454
|
-
<span class="cstat-no" title="statement not covered" > componentListExtra.push(item);</span>
|
|
8455
|
-
}
|
|
8456
|
-
<span class="cstat-no" title="statement not covered" > if (item.children.length > 0) {</span>
|
|
8457
|
-
<span class="cstat-no" title="statement not covered" > this.elementsAttrsAll(item.children, componentListExtra);</span>
|
|
8458
|
-
}
|
|
8459
|
-
});
|
|
8460
|
-
}
|
|
8461
|
-
}
|
|
8462
|
-
|
|
8463
|
-
@withSourceMapGenerator
|
|
8464
|
-
<span class="fstat-no" title="function not covered" > *t</span>oEmbeddedTS(<span class="branch-0 cbranch-no" title="branch not covered" >state = createCompilerState()): TranslatorGenerator {</span>
|
|
8465
|
-
const self = <span class="cstat-no" title="statement not covered" >this;</span>
|
|
8466
|
-
function <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >chineseTsName(n</span></span>ame: string) {
|
|
7689
|
+
@withSourceMap()
|
|
7690
|
+
<span class="fstat-no" title="function not covered" > toEmbeddedTS(</span>state = <span class="branch-0 cbranch-no" title="branch not covered" >createCompilerState())</span>: string {
|
|
7691
|
+
function <span class="fstat-no" title="function not covered" >chineseTsName(</span>name: string) {
|
|
8467
7692
|
let tsName = <span class="cstat-no" title="statement not covered" >name;</span>
|
|
8468
7693
|
// 匹配所有特殊字符都转为_
|
|
8469
7694
|
<span class="cstat-no" title="statement not covered" > tsName = tsName.replace(/[^\u4e00-\u9fa5a-zA-Z0-9]/g, '_');</span>
|
|
@@ -8471,15 +7696,16 @@ export class View extends BaseNode {
|
|
|
8471
7696
|
}
|
|
8472
7697
|
// 获取虚拟logic的参数和内容
|
|
8473
7698
|
// 用作展示和tots查找引用
|
|
8474
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8475
|
-
|
|
7699
|
+
<span class="cstat-no" title="statement not covered" > this.getElementLogicRoot();</span>
|
|
7700
|
+
|
|
7701
|
+
let code = <span class="cstat-no" title="statement not covered" >`export namespace ${this.tsName} {\n`;</span>
|
|
8476
7702
|
// 角色
|
|
8477
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray(
|
|
7703
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.bindRoles) && this.bindRoles.length) {</span>
|
|
8478
7704
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1);</span>
|
|
8479
7705
|
<span class="cstat-no" title="statement not covered" > code += 'export let __bindRoles = [\n';</span>
|
|
8480
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7706
|
+
<span class="cstat-no" title="statement not covered" > this.bindRoles.forEach(<span class="fstat-no" title="function not covered" >(r</span>ole) => {</span>
|
|
8481
7707
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1);</span>
|
|
8482
|
-
<span class="cstat-no" title="statement not covered" > code += `${
|
|
7708
|
+
<span class="cstat-no" title="statement not covered" > code += `${this.app.getNamespace()}.roles.${chineseTsName(role)}.${chineseTsName(role)},`;</span>
|
|
8483
7709
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
8484
7710
|
});
|
|
8485
7711
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
@@ -8488,27 +7714,25 @@ export class View extends BaseNode {
|
|
|
8488
7714
|
}
|
|
8489
7715
|
// 需要类型推导的局部变量/返回值需要调整申明顺序
|
|
8490
7716
|
const advanceMap: Map<Variable, Assignment | BatchAssignment> = <span class="cstat-no" title="statement not covered" >new Map();</span>
|
|
8491
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8492
|
-
<span class="cstat-no" title="statement not covered" > if (el && (
|
|
7717
|
+
<span class="cstat-no" title="statement not covered" > this.traverseChildren(<span class="fstat-no" title="function not covered" >(e</span>l) => {</span>
|
|
7718
|
+
<span class="cstat-no" title="statement not covered" > if (el && (el instanceof BatchAssignment || (el instanceof Assignment && el.left?.name))) {</span>
|
|
8493
7719
|
// 子页面内部逻辑过滤
|
|
8494
|
-
<span class="cstat-no" title="statement not covered" > if (el.view !==
|
|
8495
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
8496
|
-
const advanceVar = <span class="cstat-no" title="statement not covered" >
|
|
8497
|
-
|
|
7720
|
+
<span class="cstat-no" title="statement not covered" > if (el.view !== this) <span class="cstat-no" title="statement not covered" >return;</span></span>
|
|
7721
|
+
<span class="cstat-no" title="statement not covered" > if (el instanceof Assignment) {</span>
|
|
7722
|
+
const advanceVar = <span class="cstat-no" title="statement not covered" >this.variables?.find(</span>
|
|
7723
|
+
<span class="fstat-no" title="function not covered" > (v</span>ariable) => <span class="cstat-no" title="statement not covered" >!variable.typeAnnotation && el.left?.name === variable.name,</span>
|
|
8498
7724
|
);
|
|
8499
7725
|
<span class="cstat-no" title="statement not covered" > if (advanceVar && !advanceMap.get(advanceVar)) {</span>
|
|
8500
7726
|
<span class="cstat-no" title="statement not covered" > advanceMap.set(advanceVar, el);</span>
|
|
8501
7727
|
}
|
|
8502
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8503
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7728
|
+
} else <span class="cstat-no" title="statement not covered" >if (el instanceof BatchAssignment) {</span>
|
|
7729
|
+
<span class="cstat-no" title="statement not covered" > el.assignmentLines.forEach(<span class="fstat-no" title="function not covered" >({</span> leftIndex }) => {</span>
|
|
8504
7730
|
const leftCode =
|
|
8505
7731
|
<span class="cstat-no" title="statement not covered" > leftIndex.length === 1</span>
|
|
8506
|
-
?
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
const advanceVar = <span class="cstat-no" title="statement not covered" >self.variables?.find(</span>
|
|
8511
|
-
(<span class="fstat-no" title="function not covered" >variable) => <span class="cstat-no" title="statement not covered" >!</span>variable.typeAnnotation && leftCode === variable.name,</span>
|
|
7732
|
+
? el.left?.expression?.toEmbeddedTS(shiftState(state, code, { inline: true }))
|
|
7733
|
+
: el.left?.members[leftIndex[1]]?.toEmbeddedTS(shiftState(state, code, { inline: true }));
|
|
7734
|
+
const advanceVar = <span class="cstat-no" title="statement not covered" >this.variables?.find(</span>
|
|
7735
|
+
<span class="fstat-no" title="function not covered" > (v</span>ariable) => <span class="cstat-no" title="statement not covered" >!variable.typeAnnotation && leftCode === variable.name,</span>
|
|
8512
7736
|
);
|
|
8513
7737
|
<span class="cstat-no" title="statement not covered" > if (advanceVar && !advanceMap.get(advanceVar)) {</span>
|
|
8514
7738
|
<span class="cstat-no" title="statement not covered" > advanceMap.set(advanceVar, el);</span>
|
|
@@ -8517,55 +7741,40 @@ export class View extends BaseNode {
|
|
|
8517
7741
|
}
|
|
8518
7742
|
}
|
|
8519
7743
|
});
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
const IDENTIFIERMAP = <span class="cstat-no" title="statement not covered" >new Set<Variable>();</span>
|
|
8523
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray(self.params)) {</span>
|
|
8524
|
-
<span class="cstat-no" title="statement not covered" > yield* wrapForEach(self.params, function* <span class="fstat-no" title="function not covered" >warpForEachGenerator(p</span>aram) {</span>
|
|
7744
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.params)) {</span>
|
|
7745
|
+
<span class="cstat-no" title="statement not covered" > this.params.forEach(<span class="fstat-no" title="function not covered" >(p</span>aram) => {</span>
|
|
8525
7746
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}let `;</span>
|
|
8526
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7747
|
+
<span class="cstat-no" title="statement not covered" > code += param.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
8527
7748
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
8528
7749
|
});
|
|
8529
7750
|
}
|
|
8530
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray(
|
|
8531
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8532
|
-
const ts = <span class="cstat-no" title="statement not covered" >yield* variable.defaultValue?.toEmbeddedTS?.() ?? returnOrigin('');</span>
|
|
8533
|
-
<span class="cstat-no" title="statement not covered" > if (['__IDENTIFIER__', '__IDENTIFIER__()'].includes(ts)) {</span>
|
|
8534
|
-
<span class="cstat-no" title="statement not covered" > IDENTIFIERMAP.add(variable);</span>
|
|
8535
|
-
}
|
|
7751
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.variables)) {</span>
|
|
7752
|
+
<span class="cstat-no" title="statement not covered" > this.variables.forEach(<span class="fstat-no" title="function not covered" >(v</span>ariable) => {</span>
|
|
8536
7753
|
<span class="cstat-no" title="statement not covered" > if (!advanceMap.get(variable)) {</span>
|
|
8537
7754
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}let `;</span>
|
|
8538
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7755
|
+
<span class="cstat-no" title="statement not covered" > code += variable.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
8539
7756
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
8540
7757
|
}
|
|
8541
7758
|
});
|
|
8542
7759
|
}
|
|
8543
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8544
|
-
// 有默认值的用默认值来推导类型, 但是如果是__IDENTIFIER__或者__IDENTIFIER__(),就不需要默认值来推导了
|
|
8545
|
-
<span class="cstat-no" title="statement not covered" > if (variable.defaultValue?.expression && !IDENTIFIERMAP.has(variable)) {</span>
|
|
8546
|
-
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}let `;</span>
|
|
8547
|
-
<span class="cstat-no" title="statement not covered" > code += yield* variable.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
8548
|
-
<span class="cstat-no" title="statement not covered" > return;</span>
|
|
8549
|
-
}
|
|
7760
|
+
<span class="cstat-no" title="statement not covered" > advanceMap.forEach(<span class="fstat-no" title="function not covered" >(a</span>ssignment, variable) => {</span>
|
|
8550
7761
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}// @ts-ignore\n`;</span>
|
|
8551
7762
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}let `;</span>
|
|
8552
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7763
|
+
<span class="cstat-no" title="statement not covered" > code += variable.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
8553
7764
|
<span class="cstat-no" title="statement not covered" > code += ' = ';</span>
|
|
8554
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
8555
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7765
|
+
<span class="cstat-no" title="statement not covered" > if (assignment instanceof BatchAssignment) {</span>
|
|
7766
|
+
<span class="cstat-no" title="statement not covered" > assignment.assignmentLines.forEach(<span class="fstat-no" title="function not covered" >({</span> leftIndex, rightIndex }) => {</span>
|
|
8556
7767
|
const leftCode =
|
|
8557
7768
|
<span class="cstat-no" title="statement not covered" > leftIndex.length === 1</span>
|
|
8558
|
-
?
|
|
8559
|
-
:
|
|
8560
|
-
returnOrigin('');
|
|
7769
|
+
? assignment.left.expression.toEmbeddedTS(shiftState(state, code, { inline: true }))
|
|
7770
|
+
: assignment.left.members[leftIndex[1]]?.toEmbeddedTS(shiftState(state, code, { inline: true }));
|
|
8561
7771
|
<span class="cstat-no" title="statement not covered" > if (leftCode === variable.name) {</span>
|
|
8562
7772
|
const rightNode =
|
|
8563
7773
|
<span class="cstat-no" title="statement not covered" > rightIndex.length === 1</span>
|
|
8564
7774
|
? assignment.rights[rightIndex[0]]?.expression
|
|
8565
7775
|
: assignment.rights[rightIndex[0]]?.members[rightIndex[1]];
|
|
8566
|
-
const rightCode = <span class="cstat-no" title="statement not covered" >
|
|
8567
|
-
|
|
8568
|
-
<span class="cstat-no" title="statement not covered" > code += yield* self.getRightCode(rightCode, assignment, rightNode);</span>
|
|
7776
|
+
const rightCode = <span class="cstat-no" title="statement not covered" >rightNode?.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
7777
|
+
<span class="cstat-no" title="statement not covered" > code += this.getRightCode(rightCode, assignment, rightNode);</span>
|
|
8569
7778
|
}
|
|
8570
7779
|
});
|
|
8571
7780
|
} else {
|
|
@@ -8573,7 +7782,7 @@ export class View extends BaseNode {
|
|
|
8573
7782
|
// 因为右侧枚举要赋值就得new 一下;
|
|
8574
7783
|
<span class="cstat-no" title="statement not covered" > if (</span>
|
|
8575
7784
|
assignment.right &&
|
|
8576
|
-
|
|
7785
|
+
assignment.right instanceof Identifier &&
|
|
8577
7786
|
assignment.right.namespace &&
|
|
8578
7787
|
assignment.right.namespace.endsWith('enums')
|
|
8579
7788
|
) {
|
|
@@ -8581,17 +7790,18 @@ export class View extends BaseNode {
|
|
|
8581
7790
|
}
|
|
8582
7791
|
<span class="cstat-no" title="statement not covered" > rightCode +=</span>
|
|
8583
7792
|
assignment.right && assignment.right.toEmbeddedTS
|
|
8584
|
-
?
|
|
7793
|
+
? assignment.right.toEmbeddedTS(shiftState(state, code, { inline: true }))
|
|
8585
7794
|
: '__RIGHT__';
|
|
8586
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7795
|
+
<span class="cstat-no" title="statement not covered" > code += this.getRightCode(rightCode, assignment, assignment.right);</span>
|
|
8587
7796
|
}
|
|
8588
7797
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
8589
7798
|
});
|
|
7799
|
+
|
|
8590
7800
|
// elements类型声明定义
|
|
8591
7801
|
<span class="cstat-no" title="statement not covered" > code += `interface __elements {\n`;</span>
|
|
8592
7802
|
// 生成所有的name和类型定义
|
|
8593
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8594
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7803
|
+
<span class="cstat-no" title="statement not covered" > this.elements.forEach(<span class="fstat-no" title="function not covered" >(e</span>lement) => {</span>
|
|
7804
|
+
<span class="cstat-no" title="statement not covered" > code += element.toEmbeddedTSDefinition(</span>
|
|
8595
7805
|
shiftState(state, code, {
|
|
8596
7806
|
tabSize: (state?.tabSize || 0) + 1,
|
|
8597
7807
|
}),
|
|
@@ -8599,37 +7809,40 @@ export class View extends BaseNode {
|
|
|
8599
7809
|
});
|
|
8600
7810
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}}\n`;</span>
|
|
8601
7811
|
<span class="cstat-no" title="statement not covered" > code += `let __elements: __elements;\n`;</span>
|
|
8602
|
-
|
|
8603
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7812
|
+
|
|
7813
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.elements)) {</span>
|
|
7814
|
+
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1) }interface `;</span>
|
|
8604
7815
|
<span class="cstat-no" title="statement not covered" > code += `__elements_completionProperty {\n`;</span>
|
|
8605
7816
|
const componentList: Array<ViewElement> = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
8606
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7817
|
+
<span class="cstat-no" title="statement not covered" > this.elementsAttrs(this.elements, componentList);</span>
|
|
8607
7818
|
const variableList: string[] = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
8608
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8609
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7819
|
+
<span class="cstat-no" title="statement not covered" > this.elements.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem) => {</span>
|
|
7820
|
+
<span class="cstat-no" title="statement not covered" > code += item.toEmbeddedTSVariableDefinition(shiftState(state, code, { inline: true }), variableList);</span>
|
|
8610
7821
|
});
|
|
8611
7822
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1) + `}\n`;</span>
|
|
8612
7823
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1);</span>
|
|
8613
7824
|
<span class="cstat-no" title="statement not covered" > code += `let __elements_completionProperty: __elements_completionProperty;\n`;</span>
|
|
7825
|
+
|
|
8614
7826
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1);</span>
|
|
8615
7827
|
<span class="cstat-no" title="statement not covered" > code += `let __elements_variable_function = {\n`;</span>
|
|
8616
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8617
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7828
|
+
<span class="cstat-no" title="statement not covered" > this.elements.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem) => {</span>
|
|
7829
|
+
<span class="cstat-no" title="statement not covered" > code += item.toEmbeddedTSVariableFunctionDefinition(shiftState(state, code, { inline: true }));</span>
|
|
8618
7830
|
});
|
|
8619
7831
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1) + `}\n`;</span>
|
|
7832
|
+
|
|
8620
7833
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1);</span>
|
|
8621
7834
|
<span class="cstat-no" title="statement not covered" > code += `let __elements_stashFunctionVariable = {\n`;</span>
|
|
8622
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7835
|
+
<span class="cstat-no" title="statement not covered" > variableList.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem) => {</span>
|
|
8623
7836
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 2);</span>
|
|
8624
7837
|
<span class="cstat-no" title="statement not covered" > code += `${item}`;</span>
|
|
8625
7838
|
});
|
|
8626
7839
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1) + `}\n`;</span>
|
|
8627
7840
|
}
|
|
8628
7841
|
// 逻辑
|
|
8629
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray(
|
|
7842
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.logics) && this.logics.length) {</span>
|
|
8630
7843
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1);</span>
|
|
8631
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8632
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7844
|
+
<span class="cstat-no" title="statement not covered" > this.logics.forEach(<span class="fstat-no" title="function not covered" >(l</span>ogic) => {</span>
|
|
7845
|
+
<span class="cstat-no" title="statement not covered" > code += logic.toEmbeddedTS(</span>
|
|
8633
7846
|
shiftState(state, code, {
|
|
8634
7847
|
tabSize: (state?.tabSize || 0) + 2,
|
|
8635
7848
|
}),
|
|
@@ -8640,9 +7853,9 @@ export class View extends BaseNode {
|
|
|
8640
7853
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1);</span>
|
|
8641
7854
|
}
|
|
8642
7855
|
// 事件
|
|
8643
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray(
|
|
8644
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8645
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7856
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.bindEvents)) {</span>
|
|
7857
|
+
<span class="cstat-no" title="statement not covered" > this.bindEvents.forEach(<span class="fstat-no" title="function not covered" >(e</span>vent) => {</span>
|
|
7858
|
+
<span class="cstat-no" title="statement not covered" > code += event.toEmbeddedTS(</span>
|
|
8646
7859
|
shiftState(state, code, {
|
|
8647
7860
|
tabSize: state?.tabSize || 0,
|
|
8648
7861
|
}),
|
|
@@ -8651,16 +7864,18 @@ export class View extends BaseNode {
|
|
|
8651
7864
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
8652
7865
|
});
|
|
8653
7866
|
}
|
|
7867
|
+
|
|
8654
7868
|
// render函数
|
|
8655
7869
|
<span class="cstat-no" title="statement not covered" > code += `\n${indent((state?.tabSize || 0) + 1)}`;</span>
|
|
8656
7870
|
<span class="cstat-no" title="statement not covered" > code += `export function __render(`;</span>
|
|
8657
7871
|
<span class="cstat-no" title="statement not covered" > code += `){\n`;</span>
|
|
8658
7872
|
<span class="cstat-no" title="statement not covered" > code += indent(state?.tabSize || 0);</span>
|
|
7873
|
+
|
|
8659
7874
|
// elements 元素
|
|
8660
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray(
|
|
7875
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.elements)) {</span>
|
|
8661
7876
|
// 生成嵌套式的内容
|
|
8662
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8663
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7877
|
+
<span class="cstat-no" title="statement not covered" > this.elements.forEach(<span class="fstat-no" title="function not covered" >(e</span>lement) => {</span>
|
|
7878
|
+
<span class="cstat-no" title="statement not covered" > code += element.toEmbeddedTS(</span>
|
|
8664
7879
|
shiftState(state, code, {
|
|
8665
7880
|
tabSize: (state?.tabSize || 0) + 3,
|
|
8666
7881
|
}),
|
|
@@ -8668,55 +7883,28 @@ export class View extends BaseNode {
|
|
|
8668
7883
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
8669
7884
|
});
|
|
8670
7885
|
}
|
|
7886
|
+
|
|
8671
7887
|
<span class="cstat-no" title="statement not covered" > code += `\n${indent((state?.tabSize || 0) + 1)}}\n`;</span>
|
|
8672
|
-
|
|
7888
|
+
|
|
7889
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.params)) {</span>
|
|
8673
7890
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}export function $destination(options: {`;</span>
|
|
8674
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7891
|
+
<span class="cstat-no" title="statement not covered" > this.params.forEach(<span class="fstat-no" title="function not covered" >(p</span>aram, index) => {</span>
|
|
8675
7892
|
<span class="cstat-no" title="statement not covered" > code += `${param.name}?: `;</span>
|
|
8676
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7893
|
+
<span class="cstat-no" title="statement not covered" > code += param.typeAnnotation.toEmbeddedTS(shiftState(state, code));</span>
|
|
8677
7894
|
<span class="cstat-no" title="statement not covered" > code += ', ';</span>
|
|
8678
7895
|
});
|
|
7896
|
+
|
|
8679
7897
|
// 锚点
|
|
8680
7898
|
<span class="cstat-no" title="statement not covered" > code += `_anchor?: nasl.core.String`;</span>
|
|
8681
|
-
<span class="cstat-no" title="statement not covered" > code += '}){}\n';</span>
|
|
8682
|
-
}
|
|
8683
|
-
|
|
8684
|
-
/* 默认值草稿区 ---------------------------*/
|
|
8685
|
-
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}export function __playground(){\n`;</span>
|
|
8686
|
-
|
|
8687
|
-
/* 参数的默认值是__IDENTIFIER__或者__IDENTIFIER__()时不赋默认值,但是需要ts翻译出来进行报错校验 */
|
|
8688
|
-
<span class="cstat-no" title="statement not covered" > for (const node of IDENTIFIERMAP.values()) {</span>
|
|
8689
|
-
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 2)}`;</span>
|
|
8690
|
-
<span class="cstat-no" title="statement not covered" > code += yield* node.defaultValue.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
8691
|
-
<span class="cstat-no" title="statement not covered" > code += '; ';</span>
|
|
8692
|
-
}
|
|
8693
|
-
|
|
8694
|
-
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
8695
|
-
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 2)}return\n`;</span>
|
|
8696
7899
|
|
|
8697
|
-
|
|
8698
|
-
<span class="cstat-no" title="statement not covered" > if (arr.length) {</span>
|
|
8699
|
-
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}/* -----以下是 ${name} 的默认值草稿------ */\n`;</span>
|
|
8700
|
-
}
|
|
8701
|
-
|
|
8702
|
-
<span class="cstat-no" title="statement not covered" > for (const item1 of arr) {</span>
|
|
8703
|
-
<span class="cstat-no" title="statement not covered" > for (const item of item1.defaultValue?.playground ?? []) {</span>
|
|
8704
|
-
<span class="cstat-no" title="statement not covered" > code += yield* item.toEmbeddedTS(shiftState(state, code, { tabSize: (state?.tabSize || 0) + 1 }));</span>
|
|
8705
|
-
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
8706
|
-
}
|
|
8707
|
-
}
|
|
7900
|
+
<span class="cstat-no" title="statement not covered" > code += '}){}\n';</span>
|
|
8708
7901
|
}
|
|
8709
|
-
|
|
8710
|
-
<span class="cstat-no" title="statement not covered" > yield* setPlaygroundCode(self.variables, 'variables');</span>
|
|
8711
|
-
<span class="cstat-no" title="statement not covered" > yield* setPlaygroundCode(self.params, 'params');</span>
|
|
8712
|
-
|
|
8713
|
-
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}}\n`;</span>
|
|
8714
7902
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state?.tabSize || 0)}}\n`;</span>
|
|
8715
7903
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
8716
7904
|
}
|
|
8717
7905
|
|
|
8718
7906
|
@withSourceMap()
|
|
8719
|
-
<span class="fstat-no" title="function not covered" > toNaturalTS(<span class="branch-0 cbranch-no" title="branch not covered" >
|
|
7907
|
+
<span class="fstat-no" title="function not covered" > toNaturalTS(</span>state = <span class="branch-0 cbranch-no" title="branch not covered" >createCompilerState(),</span> currentNode?: BaseNode, declaration?: boolean): string {
|
|
8720
7908
|
// const isCurrentInThisView = currentNode?.getAncestor('View') === this;
|
|
8721
7909
|
|
|
8722
7910
|
<span class="cstat-no" title="statement not covered" > if (declaration) {</span>
|
|
@@ -8726,12 +7914,13 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
8726
7914
|
<span class="cstat-no" title="statement not covered" > code += '(';</span>
|
|
8727
7915
|
<span class="cstat-no" title="statement not covered" > this.params.forEach(<span class="fstat-no" title="function not covered" >(p</span>aram, index) => {</span>
|
|
8728
7916
|
<span class="cstat-no" title="statement not covered" > code += param.toNaturalTS(shiftState(state, code, { inline: true }));</span>
|
|
8729
|
-
<span class="cstat-no" title="statement not covered" > if (index !== this.params.length - 1)
|
|
7917
|
+
<span class="cstat-no" title="statement not covered" > if (index !== this.params.length - 1)</span>
|
|
7918
|
+
<span class="cstat-no" title="statement not covered" > code += ', ';</span>
|
|
8730
7919
|
});
|
|
8731
7920
|
<span class="cstat-no" title="statement not covered" > code += ') {';</span>
|
|
8732
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8733
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8734
|
-
|
|
7921
|
+
<span class="cstat-no" title="statement not covered" > this.children.forEach(<span class="fstat-no" title="function not covered" >(c</span>hild, index) => {</span>
|
|
7922
|
+
<span class="cstat-no" title="statement not covered" > code += child.toNaturalTS(shiftState(state, code, { tabSize: state.tabSize + 1 }), currentNode, declaration);</span>
|
|
7923
|
+
});
|
|
8735
7924
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state.tabSize)}}`;</span>
|
|
8736
7925
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
8737
7926
|
}
|
|
@@ -8741,14 +7930,14 @@ ${indent(state.tabSize)} * 当前页面
|
|
|
8741
7930
|
${indent(state.tabSize)} */
|
|
8742
7931
|
${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
8743
7932
|
const advanceMap: Map<Variable, Assignment | BatchAssignment> = <span class="cstat-no" title="statement not covered" >new Map();</span>
|
|
8744
|
-
<span class="cstat-no" title="statement not covered" > this.traverseChildren(
|
|
8745
|
-
<span class="cstat-no" title="statement not covered" > if (el && (
|
|
7933
|
+
<span class="cstat-no" title="statement not covered" > this.traverseChildren(<span class="fstat-no" title="function not covered" >(e</span>l) => {</span>
|
|
7934
|
+
<span class="cstat-no" title="statement not covered" > if (el && (el instanceof BatchAssignment || (el instanceof Assignment && el.left?.name))) {</span>
|
|
8746
7935
|
// 子页面内部逻辑过滤
|
|
8747
|
-
<span class="cstat-no" title="statement not covered" > if (el.view !== this)
|
|
7936
|
+
<span class="cstat-no" title="statement not covered" > if (el.view !== this)</span>
|
|
7937
|
+
<span class="cstat-no" title="statement not covered" > return;</span>
|
|
8748
7938
|
const jsCode = <span class="cstat-no" title="statement not covered" >el.toJS();</span>
|
|
8749
|
-
const advanceVar = <span class="cstat-no" title="statement not covered" >this.variables?.find(</span>
|
|
8750
|
-
|
|
8751
|
-
);
|
|
7939
|
+
const advanceVar = <span class="cstat-no" title="statement not covered" >this.variables?.find(<span class="fstat-no" title="function not covered" >(v</span>ariable) =></span>
|
|
7940
|
+
<span class="cstat-no" title="statement not covered" > !variable.typeAnnotation && jsCode.includes(`this.${variable.name} = `))</span>;
|
|
8752
7941
|
<span class="cstat-no" title="statement not covered" > if (advanceVar && !advanceMap.get(advanceVar)) {</span>
|
|
8753
7942
|
<span class="cstat-no" title="statement not covered" > advanceMap.set(advanceVar, el);</span>
|
|
8754
7943
|
}
|
|
@@ -8759,13 +7948,14 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
8759
7948
|
<span class="cstat-no" title="statement not covered" > code += '(';</span>
|
|
8760
7949
|
<span class="cstat-no" title="statement not covered" > this.params.forEach(<span class="fstat-no" title="function not covered" >(p</span>aram, index) => {</span>
|
|
8761
7950
|
<span class="cstat-no" title="statement not covered" > code += param.toNaturalTS(shiftState(state, code, { inline: true }));</span>
|
|
8762
|
-
<span class="cstat-no" title="statement not covered" > if (index !== this.params.length - 1)
|
|
7951
|
+
<span class="cstat-no" title="statement not covered" > if (index !== this.params.length - 1)</span>
|
|
7952
|
+
<span class="cstat-no" title="statement not covered" > code += ', ';</span>
|
|
8763
7953
|
});
|
|
8764
7954
|
<span class="cstat-no" title="statement not covered" > code += ')';</span>
|
|
8765
7955
|
|
|
8766
7956
|
<span class="cstat-no" title="statement not covered" > code += ' {\n';</span>
|
|
8767
7957
|
|
|
8768
|
-
<span class="cstat-no" title="statement not covered" > this.variables.forEach(
|
|
7958
|
+
<span class="cstat-no" title="statement not covered" > this.variables.forEach(<span class="fstat-no" title="function not covered" >(v</span>ariable) => {</span>
|
|
8769
7959
|
<span class="cstat-no" title="statement not covered" > if (!advanceMap.get(variable)) {</span>
|
|
8770
7960
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state.tabSize + 1)}let `;</span>
|
|
8771
7961
|
<span class="cstat-no" title="statement not covered" > code += variable.toNaturalTS(shiftState(state, code, { inline: true }));</span>
|
|
@@ -8774,50 +7964,34 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
8774
7964
|
});
|
|
8775
7965
|
<span class="cstat-no" title="statement not covered" > code += `\n${indent(state.tabSize + 1)}const $refs = {\n`;</span>
|
|
8776
7966
|
// 生成所有的name和类型定义
|
|
8777
|
-
<span class="cstat-no" title="statement not covered" > this.elements.forEach(
|
|
8778
|
-
<span class="cstat-no" title="statement not covered" > code += element.toNaturalTSDefinition(</span>
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
}),
|
|
8782
|
-
);
|
|
7967
|
+
<span class="cstat-no" title="statement not covered" > this.elements.forEach(<span class="fstat-no" title="function not covered" >(e</span>lement) => {</span>
|
|
7968
|
+
<span class="cstat-no" title="statement not covered" > code += element.toNaturalTSDefinition(shiftState(state, code, {</span>
|
|
7969
|
+
tabSize: state.tabSize + 1,
|
|
7970
|
+
}));
|
|
8783
7971
|
});
|
|
8784
7972
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state.tabSize + 1)}}\n`;</span>
|
|
8785
7973
|
// 逻辑
|
|
8786
7974
|
<span class="cstat-no" title="statement not covered" > if (currentNode?.concept === 'Logic') {</span>
|
|
8787
7975
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
8788
|
-
<span class="cstat-no" title="statement not covered" > this.logics.forEach(
|
|
8789
|
-
<span class="cstat-no" title="statement not covered" > if (logic === currentNode)
|
|
8790
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8791
|
-
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
-
'noExport',
|
|
8795
|
-
undefined,
|
|
8796
|
-
currentNode,
|
|
8797
|
-
);
|
|
7976
|
+
<span class="cstat-no" title="statement not covered" > this.logics.forEach(<span class="fstat-no" title="function not covered" >(l</span>ogic) => {</span>
|
|
7977
|
+
<span class="cstat-no" title="statement not covered" > if (logic === currentNode)</span>
|
|
7978
|
+
<span class="cstat-no" title="statement not covered" > return;</span>
|
|
7979
|
+
<span class="cstat-no" title="statement not covered" > code += logic.toNaturalTS(shiftState(state, code, {</span>
|
|
7980
|
+
tabSize: state.tabSize + 1,
|
|
7981
|
+
}), 'noExport', undefined, currentNode);
|
|
8798
7982
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
8799
7983
|
});
|
|
8800
7984
|
// 包含了事件逻辑的处理
|
|
8801
|
-
<span class="cstat-no" title="statement not covered" > code += (currentNode as Logic).toNaturalTS(</span>
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
}),
|
|
8805
|
-
'noExport',
|
|
8806
|
-
undefined,
|
|
8807
|
-
currentNode,
|
|
8808
|
-
);
|
|
7985
|
+
<span class="cstat-no" title="statement not covered" > code += (currentNode as Logic).toNaturalTS(shiftState(state, code, {</span>
|
|
7986
|
+
tabSize: state.tabSize + 1,
|
|
7987
|
+
}), 'noExport', undefined, currentNode);
|
|
8809
7988
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
8810
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7989
|
+
} else <span class="cstat-no" title="statement not covered" >if (this.logics.length) {</span>
|
|
8811
7990
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
8812
|
-
<span class="cstat-no" title="statement not covered" > this.logics.forEach(
|
|
8813
|
-
<span class="cstat-no" title="statement not covered" > code += logic.toNaturalTS(</span>
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
}),
|
|
8817
|
-
'noExport',
|
|
8818
|
-
undefined,
|
|
8819
|
-
currentNode,
|
|
8820
|
-
);
|
|
7991
|
+
<span class="cstat-no" title="statement not covered" > this.logics.forEach(<span class="fstat-no" title="function not covered" >(l</span>ogic) => {</span>
|
|
7992
|
+
<span class="cstat-no" title="statement not covered" > code += logic.toNaturalTS(shiftState(state, code, {</span>
|
|
7993
|
+
tabSize: state.tabSize + 1,
|
|
7994
|
+
}), 'noExport', undefined, currentNode);
|
|
8821
7995
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
8822
7996
|
});
|
|
8823
7997
|
}
|
|
@@ -8826,14 +8000,14 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
8826
8000
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
8827
8001
|
}
|
|
8828
8002
|
|
|
8829
|
-
<span class="fstat-no" title="function not covered" >
|
|
8003
|
+
<span class="fstat-no" title="function not covered" > toEmbeddedTSFile(</span>) {
|
|
8830
8004
|
let code = <span class="cstat-no" title="statement not covered" >`namespace ${this.getTsNamespace()} {\n`;</span>
|
|
8831
|
-
const <span class="cstat-no" title="statement not covered" >
|
|
8005
|
+
const state = <span class="cstat-no" title="statement not covered" >createCompilerState(code, {</span>
|
|
8832
8006
|
tabSize: 1,
|
|
8833
8007
|
});
|
|
8834
8008
|
|
|
8835
8009
|
<span class="cstat-no" title="statement not covered" > try {</span>
|
|
8836
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
8010
|
+
<span class="cstat-no" title="statement not covered" > code += this.toEmbeddedTS(state);</span>
|
|
8837
8011
|
} catch (err) {
|
|
8838
8012
|
<span class="cstat-no" title="statement not covered" > code += '';</span>
|
|
8839
8013
|
<span class="cstat-no" title="statement not covered" > console.log(err);</span>
|
|
@@ -8891,12 +8065,11 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
8891
8065
|
*/
|
|
8892
8066
|
elementLogicRoot: any[] = [];
|
|
8893
8067
|
|
|
8894
|
-
<span class="fstat-no" title="function not covered" > getElementLogicRoot() {
|
|
8895
|
-
const <span class="cstat-no" title="statement not covered" >Param = getConceptConstructor('Param');</span>
|
|
8068
|
+
<span class="fstat-no" title="function not covered" > getElementLogicRoot(</span>) {
|
|
8896
8069
|
const logics: Array<Logic> = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
8897
8070
|
// 页面上的绑定的事件
|
|
8898
|
-
<span class="cstat-no" title="statement not covered" > this.bindEvents.forEach(
|
|
8899
|
-
<span class="cstat-no" title="statement not covered" > bindEvent.logics.forEach(
|
|
8071
|
+
<span class="cstat-no" title="statement not covered" > this.bindEvents.forEach(<span class="fstat-no" title="function not covered" >(b</span>indEvent) => {</span>
|
|
8072
|
+
<span class="cstat-no" title="statement not covered" > bindEvent.logics.forEach(<span class="fstat-no" title="function not covered" >(l</span>ogic) => {</span>
|
|
8900
8073
|
// 键盘事件
|
|
8901
8074
|
<span class="cstat-no" title="statement not covered" > if (['keydown', 'keyup'].includes(bindEvent.name)) {</span>
|
|
8902
8075
|
<span class="cstat-no" title="statement not covered" > logic.virtualParams = [</span>
|
|
@@ -8914,11 +8087,11 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
8914
8087
|
<span class="cstat-no" title="statement not covered" > logics.push(logic);</span>
|
|
8915
8088
|
});
|
|
8916
8089
|
});
|
|
8917
|
-
<span class="cstat-no" title="statement not covered" > this.elements.forEach(
|
|
8090
|
+
<span class="cstat-no" title="statement not covered" > this.elements.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem) => {</span>
|
|
8918
8091
|
<span class="cstat-no" title="statement not covered" > utils.traverse(</span>
|
|
8919
|
-
|
|
8920
|
-
<span class="cstat-no" title="statement not covered" > current.node.bindEvents.forEach(
|
|
8921
|
-
<span class="cstat-no" title="statement not covered" > bindEvent.logics.forEach(
|
|
8092
|
+
<span class="fstat-no" title="function not covered" > (c</span>urrent) => {
|
|
8093
|
+
<span class="cstat-no" title="statement not covered" > current.node.bindEvents.forEach(<span class="fstat-no" title="function not covered" >(b</span>indEvent) => {</span>
|
|
8094
|
+
<span class="cstat-no" title="statement not covered" > bindEvent.logics.forEach(<span class="fstat-no" title="function not covered" >(l</span>ogic) => {</span>
|
|
8922
8095
|
<span class="cstat-no" title="statement not covered" > if (logic.name.startsWith('__')) {</span>
|
|
8923
8096
|
<span class="cstat-no" title="statement not covered" > return;</span>
|
|
8924
8097
|
}
|
|
@@ -8932,7 +8105,7 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
8932
8105
|
);
|
|
8933
8106
|
});
|
|
8934
8107
|
<span class="cstat-no" title="statement not covered" > if (logics.length) {</span>
|
|
8935
|
-
const expanded =
|
|
8108
|
+
const expanded = <span class="cstat-no" title="statement not covered" >(this.elementLogicRoot.length && this.elementLogicRoot[0].expanded) || false;</span>
|
|
8936
8109
|
<span class="cstat-no" title="statement not covered" > this.elementLogicRoot = [</span>
|
|
8937
8110
|
{
|
|
8938
8111
|
concept: 'elementLogicRoot',
|
|
@@ -8945,16 +8118,16 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
8945
8118
|
}
|
|
8946
8119
|
}
|
|
8947
8120
|
|
|
8948
|
-
<span class="fstat-no" title="function not covered" > getViewBindEvents() {
|
|
8121
|
+
<span class="fstat-no" title="function not covered" > getViewBindEvents(</span>) {
|
|
8949
8122
|
const bindEvents: Array<BindEvent> = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
8950
8123
|
// 页面上的绑定的事件
|
|
8951
|
-
<span class="cstat-no" title="statement not covered" > this.bindEvents.forEach(
|
|
8124
|
+
<span class="cstat-no" title="statement not covered" > this.bindEvents.forEach(<span class="fstat-no" title="function not covered" >(b</span>indEvent) => {</span>
|
|
8952
8125
|
<span class="cstat-no" title="statement not covered" > bindEvents.push(bindEvent);</span>
|
|
8953
8126
|
});
|
|
8954
|
-
<span class="cstat-no" title="statement not covered" > this.elements.forEach(
|
|
8127
|
+
<span class="cstat-no" title="statement not covered" > this.elements.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem) => {</span>
|
|
8955
8128
|
<span class="cstat-no" title="statement not covered" > utils.traverse(</span>
|
|
8956
|
-
|
|
8957
|
-
<span class="cstat-no" title="statement not covered" > current.node.bindEvents.forEach(
|
|
8129
|
+
<span class="fstat-no" title="function not covered" > (c</span>urrent) => {
|
|
8130
|
+
<span class="cstat-no" title="statement not covered" > current.node.bindEvents.forEach(<span class="fstat-no" title="function not covered" >(b</span>indEvent) => {</span>
|
|
8958
8131
|
<span class="cstat-no" title="statement not covered" > bindEvents.push(bindEvent);</span>
|
|
8959
8132
|
});
|
|
8960
8133
|
},
|
|
@@ -8965,13 +8138,13 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
8965
8138
|
}
|
|
8966
8139
|
|
|
8967
8140
|
// 获取页面上需要替换的表达式
|
|
8968
|
-
<span class="fstat-no" title="function not covered" > getViewExpressions() {
|
|
8141
|
+
<span class="fstat-no" title="function not covered" > getViewExpressions(</span>) {
|
|
8969
8142
|
const bindExpressions: any[] = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
8970
|
-
<span class="cstat-no" title="statement not covered" > this.elements.forEach(
|
|
8143
|
+
<span class="cstat-no" title="statement not covered" > this.elements.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem) => {</span>
|
|
8971
8144
|
<span class="cstat-no" title="statement not covered" > utils.traverse(</span>
|
|
8972
|
-
|
|
8145
|
+
<span class="fstat-no" title="function not covered" > (c</span>urrent) => {
|
|
8973
8146
|
const { node } = <span class="cstat-no" title="statement not covered" >current as any;</span>
|
|
8974
|
-
const <span class="cstat-no" title="statement not covered" >
|
|
8147
|
+
const playgroundNodePath = <span class="cstat-no" title="statement not covered" >(node?.nodePath || '').split('.').find(<span class="fstat-no" title="function not covered" >(n</span>odePathNode: string) => {</span>
|
|
8975
8148
|
<span class="cstat-no" title="statement not covered" > return nodePathNode.match(/(.+)\[.+\]/)?.[1] === 'playground';</span>
|
|
8976
8149
|
});
|
|
8977
8150
|
<span class="cstat-no" title="statement not covered" > if (!playgroundNodePath) {</span>
|
|
@@ -9016,19 +8189,19 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
9016
8189
|
* 比如当前页面路径为:/dashboard
|
|
9017
8190
|
* path 为要查找子路径:如 /student/list、student/list
|
|
9018
8191
|
*/
|
|
9019
|
-
<span class="fstat-no" title="function not covered" > findViewByPath(
|
|
8192
|
+
<span class="fstat-no" title="function not covered" > findViewByPath(</span>path: string): View {
|
|
9020
8193
|
const arr = <span class="cstat-no" title="statement not covered" >path.split('/');</span>
|
|
9021
8194
|
<span class="cstat-no" title="statement not covered" > if (arr[0] === '') <span class="cstat-no" title="statement not covered" >arr.shift();</span></span>
|
|
9022
8195
|
|
|
9023
8196
|
<span class="cstat-no" title="statement not covered" > if (!arr.length) <span class="cstat-no" title="statement not covered" >return this;</span></span>
|
|
9024
8197
|
const childName = <span class="cstat-no" title="statement not covered" >arr.shift();</span>
|
|
9025
|
-
const subView = <span class="cstat-no" title="statement not covered" >this.children.find(
|
|
8198
|
+
const subView = <span class="cstat-no" title="statement not covered" >this.children.find(<span class="fstat-no" title="function not covered" >(c</span>hild) => <span class="cstat-no" title="statement not covered" >child.name === childName)</span>;</span>
|
|
9026
8199
|
<span class="cstat-no" title="statement not covered" > return arr.length ? subView.findViewByPath(arr.join('/')) : subView;</span>
|
|
9027
8200
|
}
|
|
9028
8201
|
|
|
9029
|
-
<span class="fstat-no" title="function not covered" > findViewByName(
|
|
8202
|
+
<span class="fstat-no" title="function not covered" > findViewByName(</span>name: string): View {
|
|
9030
8203
|
<span class="cstat-no" title="statement not covered" > return utils.traverse(</span>
|
|
9031
|
-
|
|
8204
|
+
<span class="fstat-no" title="function not covered" > (c</span>urrent) => {
|
|
9032
8205
|
<span class="cstat-no" title="statement not covered" > if (current.node.name === name) <span class="cstat-no" title="statement not covered" >return current.node;</span></span>
|
|
9033
8206
|
},
|
|
9034
8207
|
{ node: this },
|
|
@@ -9039,19 +8212,19 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
9039
8212
|
return this.elements[0]?.findElementByName(name);
|
|
9040
8213
|
}
|
|
9041
8214
|
|
|
9042
|
-
<span class="fstat-no" title="function not covered" > findElementByTag(
|
|
8215
|
+
<span class="fstat-no" title="function not covered" > findElementByTag(</span>tag: string): ViewElement {
|
|
9043
8216
|
<span class="cstat-no" title="statement not covered" > return this.elements[0]?.findElementByName(tag);</span>
|
|
9044
8217
|
}
|
|
9045
8218
|
|
|
9046
|
-
<span class="fstat-no" title="function not covered" > findElementByAttr(
|
|
8219
|
+
<span class="fstat-no" title="function not covered" > findElementByAttr(</span>name: string, value: string): ViewElement {
|
|
9047
8220
|
<span class="cstat-no" title="statement not covered" > return this.elements[0]?.findElementByAttr(name, value);</span>
|
|
9048
8221
|
}
|
|
9049
8222
|
|
|
9050
|
-
<span class="fstat-no" title="function not covered" > _setAsIndexView(
|
|
8223
|
+
<span class="fstat-no" title="function not covered" > _setAsIndexView(</span>isIndex: boolean) {
|
|
9051
8224
|
let views: View[] = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
9052
8225
|
<span class="cstat-no" title="statement not covered" > if (this.parentNode.concept !== 'View') {</span>
|
|
9053
8226
|
<span class="cstat-no" title="statement not covered" > views = (this.parentNode as Frontend).views;</span>
|
|
9054
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8227
|
+
} else <span class="cstat-no" title="statement not covered" >if (this.parentNode.concept === 'View') {</span>
|
|
9055
8228
|
<span class="cstat-no" title="statement not covered" > views = (this.parentNode as View).children;</span>
|
|
9056
8229
|
}
|
|
9057
8230
|
<span class="cstat-no" title="statement not covered" > if (views.length) {</span>
|
|
@@ -9060,7 +8233,7 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
9060
8233
|
}
|
|
9061
8234
|
// 设为默认跳转页时,将之前的默认跳转页取消设置
|
|
9062
8235
|
<span class="cstat-no" title="statement not covered" > if (isIndex) {</span>
|
|
9063
|
-
<span class="cstat-no" title="statement not covered" > views.forEach(
|
|
8236
|
+
<span class="cstat-no" title="statement not covered" > views.forEach(<span class="fstat-no" title="function not covered" >(v</span>iew) => {</span>
|
|
9064
8237
|
<span class="cstat-no" title="statement not covered" > if (view !== this && view.id !== this.id && view.isIndex) {</span>
|
|
9065
8238
|
<span class="cstat-no" title="statement not covered" > view.setIsIndex(false);</span>
|
|
9066
8239
|
}
|
|
@@ -9069,7 +8242,7 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
9069
8242
|
}
|
|
9070
8243
|
}
|
|
9071
8244
|
|
|
9072
|
-
<span class="fstat-no" title="function not covered" > setAsIndexView(
|
|
8245
|
+
<span class="fstat-no" title="function not covered" > setAsIndexView(</span>isIndex: boolean) {
|
|
9073
8246
|
let actionMsg = <span class="cstat-no" title="statement not covered" >`设置页面“${this.name}”为默认跳转页`;</span>
|
|
9074
8247
|
<span class="cstat-no" title="statement not covered" > if (this.parentNode.concept !== 'View') {</span>
|
|
9075
8248
|
<span class="cstat-no" title="statement not covered" > actionMsg = `设置页面“${this.name}”为首页`;</span>
|
|
@@ -9081,57 +8254,38 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
9081
8254
|
<span class="cstat-no" title="statement not covered" > this.rootNode.emit('collect:end');</span>
|
|
9082
8255
|
}
|
|
9083
8256
|
|
|
9084
|
-
<span class="fstat-no" title="function not covered" > removeExistingViewElement(
|
|
8257
|
+
<span class="fstat-no" title="function not covered" > removeExistingViewElement(</span>viewElement: ViewElement) {
|
|
9085
8258
|
<span class="cstat-no" title="statement not covered" > if (this.existingViewElement.has(viewElement.name)) {</span>
|
|
9086
8259
|
<span class="cstat-no" title="statement not covered" > this.existingViewElement.delete(viewElement.name);</span>
|
|
9087
8260
|
}
|
|
9088
|
-
|
|
9089
|
-
const prefix = <span class="cstat-no" title="statement not covered" >viewElement?.name.replace(/\d*$/, '');</span>
|
|
9090
|
-
let lastDigit = <span class="cstat-no" title="statement not covered" >viewElement?.name.match(/\d+$/)?.[0];</span>
|
|
9091
|
-
<span class="cstat-no" title="statement not covered" > if (lastDigit === undefined) <span class="cstat-no" title="statement not covered" >return;</span></span>
|
|
9092
|
-
|
|
9093
|
-
//@ts-ignore
|
|
9094
|
-
<span class="cstat-no" title="statement not covered" > lastDigit = lastDigit < Number.MAX_SAFE_INTEGER ? parseInt(lastDigit) : BigInt(lastDigit);</span>
|
|
9095
|
-
|
|
9096
|
-
<span class="cstat-no" title="statement not covered" > if (removedViewElementCache?.[prefix]) {</span>
|
|
9097
|
-
//@ts-ignore
|
|
9098
|
-
<span class="cstat-no" title="statement not covered" > if (lastDigit > removedViewElementCache[prefix])</span>
|
|
9099
|
-
//@ts-ignore
|
|
9100
|
-
<span class="cstat-no" title="statement not covered" > removedViewElementCache[prefix] = lastDigit;</span>
|
|
9101
|
-
} else {
|
|
9102
|
-
//@ts-ignore
|
|
9103
|
-
<span class="cstat-no" title="statement not covered" > removedViewElementCache[prefix] = lastDigit;</span>
|
|
9104
|
-
}
|
|
9105
8261
|
}
|
|
9106
8262
|
|
|
9107
|
-
<span class="fstat-no" title="function not covered" >
|
|
8263
|
+
<span class="fstat-no" title="function not covered" > getRightCode(</span>code: string, assignment: Assignment | BatchAssignment, rightNode: any): string {
|
|
9108
8264
|
<span class="cstat-no" title="statement not covered" > code = code.replaceAll('\n', ' ');</span>
|
|
9109
8265
|
const logic = <span class="cstat-no" title="statement not covered" >assignment.logic;</span>
|
|
9110
8266
|
const logicRtn = <span class="cstat-no" title="statement not covered" >logic?.returns[0];</span>
|
|
9111
8267
|
// 调用接口,参数替换成 null
|
|
9112
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
8268
|
+
<span class="cstat-no" title="statement not covered" > if (rightNode instanceof CallInterface) {</span>
|
|
9113
8269
|
const { _interface } = <span class="cstat-no" title="statement not covered" >rightNode.getModuleInterface();</span>
|
|
9114
|
-
<span class="cstat-no" title="statement not covered" > return _interface</span>
|
|
9115
|
-
? `${rightNode.tsCalleeKey}(${(_interface as Interface).params.map(<span class="fstat-no" title="function not covered" >() => <span class="cstat-no" title="statement not covered" >'</span>null')</span>.join(',')})`
|
|
9116
|
-
: null;
|
|
8270
|
+
<span class="cstat-no" title="statement not covered" > return _interface ? `${rightNode.tsCalleeKey}(${_interface.params.map(<span class="fstat-no" title="function not covered" >() =</span>> <span class="cstat-no" title="statement not covered" >'null')</span>.join(',')})` : null;</span>
|
|
9117
8271
|
}
|
|
9118
8272
|
|
|
9119
8273
|
// 调用服务端逻辑,参数替换成 null
|
|
9120
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
8274
|
+
<span class="cstat-no" title="statement not covered" > if (rightNode instanceof CallLogic && rightNode.calleeNamespace === 'app.logics') {</span>
|
|
9121
8275
|
const calleeName = <span class="cstat-no" title="statement not covered" >rightNode?.calleeName;</span>
|
|
9122
|
-
const calleeLogic = <span class="cstat-no" title="statement not covered" >this.app.logics.find(
|
|
9123
|
-
<span class="cstat-no" title="statement not covered" > return calleeLogic ? `app.logics.${calleeName}(${calleeLogic.params.map(<span class="fstat-no" title="function not covered" >()
|
|
8276
|
+
const calleeLogic = <span class="cstat-no" title="statement not covered" >this.app.logics.find(<span class="fstat-no" title="function not covered" >(l</span>) => <span class="cstat-no" title="statement not covered" >l.name === calleeName)</span>;</span>
|
|
8277
|
+
<span class="cstat-no" title="statement not covered" > return calleeLogic ? `app.logics.${calleeName}(${calleeLogic.params.map(<span class="fstat-no" title="function not covered" >() =</span>> <span class="cstat-no" title="statement not covered" >'null')</span>.join(',')})` : null;</span>
|
|
9124
8278
|
}
|
|
9125
8279
|
|
|
9126
8280
|
// view 局部变量,申明提升前增加判断,使用 logic 内的 result 直接替换成对应 logic,logic 内部变量替换成 null
|
|
9127
8281
|
<span class="cstat-no" title="statement not covered" > if (logicRtn && code.includes(logicRtn.name)) {</span>
|
|
9128
|
-
<span class="cstat-no" title="statement not covered" > if (code === logicRtn.name) <span class="cstat-no" title="statement not covered" >return `${logic.name}(${logic.params.map(<span class="fstat-no" title="function not covered" >()
|
|
8282
|
+
<span class="cstat-no" title="statement not covered" > if (code === logicRtn.name) <span class="cstat-no" title="statement not covered" >return `${logic.name}(${logic.params.map(<span class="fstat-no" title="function not covered" >() =</span>> <span class="cstat-no" title="statement not covered" >'null')</span>.join(',')})`;</span></span>
|
|
9129
8283
|
|
|
9130
|
-
<span class="cstat-no" title="statement not covered" > code = this.handleReplaceCode(code, logicRtn.name, `${logic.name}(${logic.params.map(<span class="fstat-no" title="function not covered" >()
|
|
9131
|
-
<span class="cstat-no" title="statement not covered" > logic.params.forEach(
|
|
8284
|
+
<span class="cstat-no" title="statement not covered" > code = this.handleReplaceCode(code, logicRtn.name, `${logic.name}(${logic.params.map(<span class="fstat-no" title="function not covered" >() =</span>> <span class="cstat-no" title="statement not covered" >'null')</span>.join(',')})`);</span>
|
|
8285
|
+
<span class="cstat-no" title="statement not covered" > logic.params.forEach(<span class="fstat-no" title="function not covered" >(p</span>aram) => {</span>
|
|
9132
8286
|
<span class="cstat-no" title="statement not covered" > if (code.includes(param.name)) <span class="cstat-no" title="statement not covered" >code = this.handleReplaceCode(code, param.name, 'null');</span></span>
|
|
9133
8287
|
});
|
|
9134
|
-
<span class="cstat-no" title="statement not covered" > logic.variables.forEach(
|
|
8288
|
+
<span class="cstat-no" title="statement not covered" > logic.variables.forEach(<span class="fstat-no" title="function not covered" >(v</span>ariable) => {</span>
|
|
9135
8289
|
<span class="cstat-no" title="statement not covered" > if (code.includes(variable.name)) <span class="cstat-no" title="statement not covered" >code = this.handleReplaceCode(code, variable.name, 'null');</span></span>
|
|
9136
8290
|
});
|
|
9137
8291
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
@@ -9139,19 +8293,19 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
9139
8293
|
|
|
9140
8294
|
// 处理 current.item、current1.item 等数据
|
|
9141
8295
|
<span class="cstat-no" title="statement not covered" > if (/current(\d)*\.item/.test(code)) {</span>
|
|
9142
|
-
<span class="cstat-no" title="statement not covered" > code =
|
|
8296
|
+
<span class="cstat-no" title="statement not covered" > code = this.handleCurrentItemCode(code, logic);</span>
|
|
9143
8297
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
9144
8298
|
}
|
|
9145
8299
|
|
|
9146
8300
|
// 直接赋值 logic 内局部变量、输入参数直接提示系统无法推断类型
|
|
9147
8301
|
const useLogicVar =
|
|
9148
|
-
<span class="cstat-no" title="statement not covered" > logic.params.find(
|
|
9149
|
-
logic.variables.find(
|
|
8302
|
+
<span class="cstat-no" title="statement not covered" > logic.params.find(<span class="fstat-no" title="function not covered" >(p</span>aram) => <span class="cstat-no" title="statement not covered" >code.includes(param.name))</span> ||</span>
|
|
8303
|
+
logic.variables.find(<span class="fstat-no" title="function not covered" >(v</span>ariable) => <span class="cstat-no" title="statement not covered" >code.includes(variable.name))</span>;
|
|
9150
8304
|
<span class="cstat-no" title="statement not covered" > return useLogicVar ? 'null' : code;</span>
|
|
9151
8305
|
}
|
|
9152
8306
|
|
|
9153
|
-
<span class="fstat-no" title="function not covered" > handleReplaceCode(
|
|
9154
|
-
<span class="cstat-no" title="statement not covered" > return code.replace(/\S+/g,
|
|
8307
|
+
<span class="fstat-no" title="function not covered" > handleReplaceCode(</span>code: string, variable: string, replaceCode: string) {
|
|
8308
|
+
<span class="cstat-no" title="statement not covered" > return code.replace(/\S+/g, <span class="fstat-no" title="function not covered" >($</span>1) => {</span>
|
|
9155
8309
|
<span class="cstat-no" title="statement not covered" > if ($1 === `${variable},`) <span class="cstat-no" title="statement not covered" >return `${replaceCode},`;</span></span>
|
|
9156
8310
|
<span class="cstat-no" title="statement not covered" > if ($1 === variable) <span class="cstat-no" title="statement not covered" >return replaceCode;</span></span>
|
|
9157
8311
|
|
|
@@ -9168,14 +8322,14 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
9168
8322
|
});
|
|
9169
8323
|
}
|
|
9170
8324
|
|
|
9171
|
-
<span class="fstat-no" title="function not covered" > getAncestorViewElementsWithDataSource(
|
|
9172
|
-
let element:
|
|
8325
|
+
<span class="fstat-no" title="function not covered" > getAncestorViewElementsWithDataSource(</span>logic: Logic): ViewElement[] {
|
|
8326
|
+
let element: BaseNode = <span class="cstat-no" title="statement not covered" >logic;</span>
|
|
9173
8327
|
const viewElements: ViewElement[] = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
9174
8328
|
<span class="cstat-no" title="statement not covered" > while (element) {</span>
|
|
9175
8329
|
<span class="cstat-no" title="statement not covered" > if (</span>
|
|
9176
8330
|
element.concept &&
|
|
9177
8331
|
element.concept === 'ViewElement' &&
|
|
9178
|
-
(element as ViewElement).bindAttrs.find(
|
|
8332
|
+
(element as ViewElement).bindAttrs.find(<span class="fstat-no" title="function not covered" >(b</span>Attr) => <span class="cstat-no" title="statement not covered" >bAttr.name === 'data-source')</span>
|
|
9179
8333
|
) {
|
|
9180
8334
|
<span class="cstat-no" title="statement not covered" > viewElements.push(element as ViewElement);</span>
|
|
9181
8335
|
}
|
|
@@ -9184,24 +8338,24 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
9184
8338
|
<span class="cstat-no" title="statement not covered" > return viewElements;</span>
|
|
9185
8339
|
}
|
|
9186
8340
|
|
|
9187
|
-
<span class="fstat-no" title="function not covered" >
|
|
8341
|
+
<span class="fstat-no" title="function not covered" > handleCurrentItemCode(</span>code: string, logic: Logic): string {
|
|
9188
8342
|
const viewElementsWithDataSource: ViewElement[] = <span class="cstat-no" title="statement not covered" >this.getAncestorViewElementsWithDataSource(logic);</span>
|
|
9189
|
-
<span class="cstat-no" title="statement not covered" >
|
|
8343
|
+
<span class="cstat-no" title="statement not covered" > viewElementsWithDataSource.forEach(<span class="fstat-no" title="function not covered" >(v</span>iewElement, index) => {</span>
|
|
9190
8344
|
const currentIndex = <span class="cstat-no" title="statement not covered" >viewElementsWithDataSource.length - 1 - index;</span>
|
|
9191
8345
|
const currentItemCode = <span class="cstat-no" title="statement not covered" >`current${currentIndex === 0 ? '' : currentIndex}.item`;</span>
|
|
9192
8346
|
<span class="cstat-no" title="statement not covered" > if (code.includes(currentItemCode)) {</span>
|
|
9193
|
-
const dataSource = <span class="cstat-no" title="statement not covered" >viewElement.bindAttrs.find(
|
|
8347
|
+
const dataSource = <span class="cstat-no" title="statement not covered" >viewElement.bindAttrs.find(<span class="fstat-no" title="function not covered" >(b</span>Attr) => <span class="cstat-no" title="statement not covered" >bAttr.name === 'data-source')</span>;</span>
|
|
9194
8348
|
<span class="cstat-no" title="statement not covered" > if (dataSource) {</span>
|
|
9195
8349
|
const view = <span class="cstat-no" title="statement not covered" >viewElement.getAncestor('View') as View;</span>
|
|
9196
|
-
const dataSourceTS = <span class="cstat-no" title="statement not covered" >
|
|
9197
|
-
const logic = <span class="cstat-no" title="statement not covered" >view.logics.find(
|
|
8350
|
+
const dataSourceTS = <span class="cstat-no" title="statement not covered" >dataSource.expression.toEmbeddedTS();</span>
|
|
8351
|
+
const logic = <span class="cstat-no" title="statement not covered" >view.logics.find(<span class="fstat-no" title="function not covered" >(l</span>ogic) => <span class="cstat-no" title="statement not covered" >logic.name === dataSourceTS)</span>;</span>
|
|
9198
8352
|
<span class="cstat-no" title="statement not covered" > if (logic) {</span>
|
|
9199
8353
|
<span class="cstat-no" title="statement not covered" > code = code.replaceAll(</span>
|
|
9200
8354
|
currentItemCode,
|
|
9201
|
-
`nasl.ui.getCurrentItemType(${dataSourceTS}(${logic.params.map(<span class="fstat-no" title="function not covered" >()
|
|
8355
|
+
`nasl.ui.getCurrentItemType(${dataSourceTS}(${logic.params.map(<span class="fstat-no" title="function not covered" >() =</span>> <span class="cstat-no" title="statement not covered" >'null')</span>.join(',')}))`,
|
|
9202
8356
|
);
|
|
9203
8357
|
} else {
|
|
9204
|
-
const variable = <span class="cstat-no" title="statement not covered" >view.variables.find(
|
|
8358
|
+
const variable = <span class="cstat-no" title="statement not covered" >view.variables.find(<span class="fstat-no" title="function not covered" >(v</span>ariable) => <span class="cstat-no" title="statement not covered" >variable.name === dataSourceTS)</span>;</span>
|
|
9205
8359
|
<span class="cstat-no" title="statement not covered" > code = code.replaceAll(</span>
|
|
9206
8360
|
currentItemCode,
|
|
9207
8361
|
`nasl.ui.getCurrentItemType(${variable ? variable.name : dataSourceTS})`,
|
|
@@ -9213,10 +8367,10 @@ ${indent(state.tabSize)}export function ${this.tsName}_view`;
|
|
|
9213
8367
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
9214
8368
|
}
|
|
9215
8369
|
|
|
9216
|
-
<span class="fstat-no" title="function not covered" > getViewCallLogics(): string[] {
|
|
8370
|
+
<span class="fstat-no" title="function not covered" > getViewCallLogics(</span>): string[] {
|
|
9217
8371
|
const callbackLogics: string[] = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
9218
|
-
<span class="cstat-no" title="statement not covered" > this.traverseChildren(
|
|
9219
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
8372
|
+
<span class="cstat-no" title="statement not covered" > this.traverseChildren(<span class="fstat-no" title="function not covered" >(e</span>l) => {</span>
|
|
8373
|
+
<span class="cstat-no" title="statement not covered" > if (el instanceof Identifier && el.namespace?.endsWith('logics')) {</span>
|
|
9220
8374
|
<span class="cstat-no" title="statement not covered" > callbackLogics.push(el.namespace + '.' + el.name);</span>
|
|
9221
8375
|
}
|
|
9222
8376
|
});
|
|
@@ -9451,7 +8605,7 @@ export const PAGE_COMPONENT_INCLUDE_TAG_MAP: Record<string, Record<string,
|
|
|
9451
8605
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
9452
8606
|
Code coverage generated by
|
|
9453
8607
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
9454
|
-
at 2023-
|
|
8608
|
+
at 2023-10-18T11:36:07.885Z
|
|
9455
8609
|
</div>
|
|
9456
8610
|
<script src="../../prettify.js"></script>
|
|
9457
8611
|
<script>
|