@lcap/nasl 2.22.0-beta.5 → 3.0.0-beta.1
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/README.md +13 -0
- package/docs/classes/Module.html +15 -15
- package/docs/classes/Namespace.html +15 -15
- package/docs/classes/ViewComponent.html +19 -19
- package/out/automate/engine/utils.js +4 -0
- package/out/automate/engine/utils.js.map +1 -1
- package/out/breakpoint/generator/AfterStartNode.d.ts +7 -0
- package/out/breakpoint/generator/AfterStartNode.js +27 -0
- package/out/breakpoint/generator/AfterStartNode.js.map +1 -0
- package/out/breakpoint/generator/BeforeEndNode.d.ts +7 -0
- package/out/breakpoint/generator/BeforeEndNode.js +27 -0
- package/out/breakpoint/generator/BeforeEndNode.js.map +1 -0
- package/out/breakpoint/generator/BreakpointNode.d.ts +14 -0
- package/out/breakpoint/generator/BreakpointNode.js +166 -0
- package/out/breakpoint/generator/BreakpointNode.js.map +1 -0
- package/out/breakpoint/generator/index.d.ts +4 -0
- package/out/breakpoint/generator/index.js +98 -0
- package/out/breakpoint/generator/index.js.map +1 -0
- package/out/breakpoint/index.d.ts +3 -0
- package/out/breakpoint/index.js +20 -0
- package/out/breakpoint/index.js.map +1 -0
- package/out/breakpoint/shared/constants.d.ts +30 -0
- package/out/breakpoint/shared/constants.js +87 -0
- package/out/breakpoint/shared/constants.js.map +1 -0
- package/out/breakpoint/shared/index.d.ts +3 -0
- package/out/breakpoint/shared/index.js +33 -0
- package/out/breakpoint/shared/index.js.map +1 -0
- package/out/breakpoint/shared/operations.d.ts +10 -0
- package/out/breakpoint/shared/operations.js +25 -0
- package/out/breakpoint/shared/operations.js.map +1 -0
- package/out/breakpoint/shared/socket.d.ts +47 -0
- package/out/breakpoint/shared/socket.js +210 -0
- package/out/breakpoint/shared/socket.js.map +1 -0
- package/out/breakpoint/shared/utils.d.ts +20 -0
- package/out/breakpoint/shared/utils.js +133 -0
- package/out/breakpoint/shared/utils.js.map +1 -0
- package/out/breakpoint/store/core.d.ts +30 -0
- package/out/breakpoint/store/core.js +341 -0
- package/out/breakpoint/store/core.js.map +1 -0
- package/out/breakpoint/store/dock.d.ts +1 -0
- package/out/breakpoint/store/dock.js +127 -0
- package/out/breakpoint/store/dock.js.map +1 -0
- package/out/breakpoint/store/index.d.ts +2 -0
- package/out/breakpoint/store/index.js +19 -0
- package/out/breakpoint/store/index.js.map +1 -0
- package/out/common/BaseNode.d.ts +8 -0
- package/out/common/BaseNode.js +19 -0
- package/out/common/BaseNode.js.map +1 -1
- package/out/concepts/App__.d.ts +365 -16
- package/out/concepts/App__.js +431 -10
- package/out/concepts/App__.js.map +1 -1
- package/out/concepts/Assignment__.js +1 -1
- package/out/concepts/Assignment__.js.map +1 -1
- package/out/concepts/AuthInterface__.d.ts +37 -0
- package/out/concepts/AuthInterface__.js +141 -0
- package/out/concepts/AuthInterface__.js.map +1 -0
- package/out/concepts/AuthLogicForCallInterface__.d.ts +138 -0
- package/out/concepts/AuthLogicForCallInterface__.js +493 -0
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -0
- package/out/concepts/AuthLogic__.d.ts +66 -0
- package/out/concepts/AuthLogic__.js +206 -0
- package/out/concepts/AuthLogic__.js.map +1 -0
- package/out/concepts/BackendVariable__.d.ts +137 -0
- package/out/concepts/BackendVariable__.js +422 -0
- package/out/concepts/BackendVariable__.js.map +1 -0
- package/out/concepts/Backend__.d.ts +134 -0
- package/out/concepts/Backend__.js +274 -0
- package/out/concepts/Backend__.js.map +1 -0
- package/out/concepts/BindAttribute__.d.ts +1 -1
- package/out/concepts/BindAttribute__.js +3 -1
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/BindEvent__.d.ts +12 -0
- package/out/concepts/BindEvent__.js +68 -0
- package/out/concepts/BindEvent__.js.map +1 -1
- package/out/concepts/CallAuthInterface__.d.ts +126 -0
- package/out/concepts/CallAuthInterface__.js +408 -0
- package/out/concepts/CallAuthInterface__.js.map +1 -0
- package/out/concepts/CallInterface__.d.ts +6 -1
- package/out/concepts/CallInterface__.js +9 -1
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.js +3 -1
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/CallQueryComponent__.js +9 -7
- package/out/concepts/CallQueryComponent__.js.map +1 -1
- package/out/concepts/Destination__.js +1 -1
- package/out/concepts/Destination__.js.map +1 -1
- package/out/concepts/End__.js +29 -2
- package/out/concepts/End__.js.map +1 -1
- package/out/concepts/EntityProperty__.js.map +1 -1
- package/out/concepts/Entity__.d.ts +1 -2
- package/out/concepts/Entity__.js +1 -31
- package/out/concepts/Entity__.js.map +1 -1
- package/out/concepts/ForEachStatement__.js +9 -4
- package/out/concepts/ForEachStatement__.js.map +1 -1
- package/out/concepts/FrontendLibrary__.d.ts +29 -29
- package/out/concepts/FrontendLibrary__.js +2 -2
- package/out/concepts/FrontendVariable__.d.ts +21 -0
- package/out/concepts/FrontendVariable__.js +64 -0
- package/out/concepts/FrontendVariable__.js.map +1 -0
- package/out/concepts/Frontend__.d.ts +151 -47
- package/out/concepts/Frontend__.js +188 -32
- package/out/concepts/Frontend__.js.map +1 -1
- package/out/concepts/Function__.js +1 -1
- package/out/concepts/Function__.js.map +1 -1
- package/out/concepts/Identifier__.js +1 -1
- package/out/concepts/Identifier__.js.map +1 -1
- package/out/concepts/Interface__.d.ts +1 -1
- package/out/concepts/Interface__.js.map +1 -1
- package/out/concepts/LogicItem__.d.ts +18 -3
- package/out/concepts/LogicItem__.js +22 -4
- package/out/concepts/LogicItem__.js.map +1 -1
- package/out/concepts/Logic__.d.ts +14 -9
- package/out/concepts/Logic__.js +43 -5
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/Module__.js.map +1 -1
- package/out/concepts/Namespace__.d.ts +29 -29
- package/out/concepts/Namespace__.js +2 -2
- package/out/concepts/NewComposite__.js +2 -2
- package/out/concepts/NewComposite__.js.map +1 -1
- package/out/concepts/OverriddenLogic__.d.ts +643 -0
- package/out/concepts/OverriddenLogic__.js +1602 -0
- package/out/concepts/OverriddenLogic__.js.map +1 -0
- package/out/concepts/Param__.d.ts +6 -0
- package/out/concepts/Param__.js +10 -0
- package/out/concepts/Param__.js.map +1 -1
- package/out/concepts/QueryFieldExpression__.d.ts +2 -0
- package/out/concepts/QueryFieldExpression__.js +9 -0
- package/out/concepts/QueryFieldExpression__.js.map +1 -1
- package/out/concepts/QuerySelectExpression__.d.ts +2 -2
- package/out/concepts/QuerySelectExpression__.js +2 -2
- package/out/concepts/QuerySelectExpression__.js.map +1 -1
- package/out/concepts/TypeAnnotation__.js +6 -6
- package/out/concepts/TypeAnnotation__.js.map +1 -1
- package/out/concepts/Variable__.d.ts +10 -0
- package/out/concepts/Variable__.js +12 -0
- package/out/concepts/Variable__.js.map +1 -1
- package/out/concepts/ViewComponent__.d.ts +33 -33
- package/out/concepts/ViewComponent__.js +7 -7
- package/out/concepts/ViewElement__.d.ts +6 -0
- package/out/concepts/ViewElement__.js +104 -1
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.js +2 -2
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/basics/stdlib/index.js +2 -1
- package/out/concepts/basics/stdlib/index.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.auth.js +24 -0
- package/out/concepts/basics/stdlib/nasl.auth.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.http.d.ts +7 -0
- package/out/concepts/basics/stdlib/nasl.http.js +167 -0
- package/out/concepts/basics/stdlib/nasl.http.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.process.js +68 -0
- package/out/concepts/basics/stdlib/nasl.process.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.ui.js +4 -19
- package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.util.js +83 -17
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
- package/out/concepts/basics/types/index.d.ts +1 -0
- package/out/concepts/basics/types/index.js +4 -1
- package/out/concepts/basics/types/index.js.map +1 -1
- package/out/concepts/index__.d.ts +8 -0
- package/out/concepts/index__.js +8 -0
- package/out/concepts/index__.js.map +1 -1
- package/out/enums/KEYWORDS.js +0 -1
- package/out/enums/KEYWORDS.js.map +1 -1
- package/out/generator/genBundleFiles.d.ts +1 -0
- package/out/generator/genBundleFiles.js +27 -0
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/genMetaData.d.ts +4 -1
- package/out/generator/genMetaData.js +14 -0
- package/out/generator/genMetaData.js.map +1 -1
- package/out/generator/genReleaseBody.d.ts +2 -1
- package/out/generator/genReleaseBody.js +2 -1
- package/out/generator/genReleaseBody.js.map +1 -1
- package/out/index.d.ts +2 -1
- package/out/index.js +3 -1
- package/out/index.js.map +1 -1
- package/out/server/extendBaseNode.js +16 -4
- package/out/server/extendBaseNode.js.map +1 -1
- package/out/server/formatTsUtils.d.ts +2 -1
- package/out/server/formatTsUtils.js +39 -4
- package/out/server/formatTsUtils.js.map +1 -1
- package/out/server/getExtensionModules.d.ts +2 -2
- package/out/server/getExtensionModules.js +16 -2
- package/out/server/getExtensionModules.js.map +1 -1
- package/out/server/getLogics.js +5 -5
- package/out/server/getLogics.js.map +1 -1
- package/out/server/getMemberIdentifier.d.ts +1 -0
- package/out/server/getMemberIdentifier.js +34 -7
- package/out/server/getMemberIdentifier.js.map +1 -1
- package/out/server/naslServer.d.ts +64 -64
- package/out/server/naslServer.js +249 -121
- package/out/server/naslServer.js.map +1 -1
- package/out/server/naslStdlibMap.js +2 -0
- package/out/server/naslStdlibMap.js.map +1 -1
- package/out/server/translator.d.ts +1 -0
- package/out/server/translator.js +67 -2
- package/out/server/translator.js.map +1 -1
- package/out/service/defaultErrorMessage.json +1 -0
- package/out/service/storage/api.d.ts +10 -1
- package/out/service/storage/api.js +6 -0
- package/out/service/storage/api.js.map +1 -1
- package/out/service/storage/init.d.ts +4 -0
- package/out/service/storage/init.js +55 -35
- package/out/service/storage/init.js.map +1 -1
- package/out/service/storage/service.d.ts +3 -0
- package/out/service/storage/service.js +14 -0
- package/out/service/storage/service.js.map +1 -1
- package/out/utils/sortTsString.d.ts +1 -0
- package/out/utils/sortTsString.js +36 -0
- package/out/utils/sortTsString.js.map +1 -0
- package/out/utils/traverse.js +2 -2
- package/out/utils/traverse.js.map +1 -1
- package/package.json +7 -2
- package/sandbox/stdlib/nasl.auth.ts +8 -4
- package/sandbox/stdlib/nasl.core.d.ts +206 -0
- package/sandbox/stdlib/nasl.core.js +1 -0
- package/sandbox/stdlib/nasl.core.js.map +1 -0
- package/sandbox/stdlib/nasl.http.ts +35 -0
- package/sandbox/stdlib/nasl.process.ts +13 -0
- package/sandbox/stdlib/nasl.ui.ts +0 -5
- package/src/automate/engine/utils.js +4 -1
- package/src/breakpoint/generator/AfterStartNode.ts +27 -0
- package/src/breakpoint/generator/BeforeEndNode.ts +27 -0
- package/src/breakpoint/generator/BreakpointNode.ts +228 -0
- package/src/breakpoint/generator/index.ts +114 -0
- package/src/breakpoint/index.ts +3 -0
- package/src/breakpoint/shared/constants.ts +95 -0
- package/src/breakpoint/shared/index.ts +3 -0
- package/src/breakpoint/shared/operations.ts +25 -0
- package/src/breakpoint/shared/socket.ts +326 -0
- package/src/breakpoint/shared/utils.ts +195 -0
- package/src/breakpoint/store/core.ts +411 -0
- package/src/breakpoint/store/dock.ts +166 -0
- package/src/breakpoint/store/index.ts +2 -0
- package/src/breakpoint/types/index.d.ts +19 -0
- package/src/common/BaseNode.ts +19 -1
- package/src/concepts/App__.ts +828 -26
- package/src/concepts/Assignment__.ts +1 -1
- package/src/concepts/AuthInterface__.ts +148 -0
- package/src/concepts/AuthLogicForCallInterface__.ts +573 -0
- package/src/concepts/AuthLogic__.ts +225 -0
- package/src/concepts/BackendVariable__.ts +466 -0
- package/src/concepts/Backend__.ts +347 -0
- package/src/concepts/BindAttribute__.ts +4 -3
- package/src/concepts/BindEvent__.ts +71 -2
- package/src/concepts/CallAuthInterface__.ts +490 -0
- package/src/concepts/CallInterface__.ts +10 -2
- package/src/concepts/CallLogic__.ts +3 -1
- package/src/concepts/CallQueryComponent__.ts +67 -7
- package/src/concepts/Destination__.ts +19 -1
- package/src/concepts/End__.ts +31 -3
- package/src/concepts/EntityProperty__.ts +6 -0
- package/src/concepts/Entity__.ts +8 -31
- package/src/concepts/ForEachStatement__.ts +9 -4
- package/src/concepts/FrontendLibrary__.ts +30 -30
- package/src/concepts/FrontendVariable__.ts +76 -0
- package/src/concepts/Frontend__.ts +352 -89
- package/src/concepts/Function__.ts +1 -1
- package/src/concepts/Identifier__.ts +5 -5
- package/src/concepts/Interface__.ts +1 -1
- package/src/concepts/LogicItem__.ts +26 -6
- package/src/concepts/Logic__.ts +86 -8
- package/src/concepts/Module__.ts +32 -2
- package/src/concepts/Namespace__.ts +30 -30
- package/src/concepts/NewComposite__.ts +2 -3
- package/src/concepts/OverriddenLogic__.ts +2165 -0
- package/src/concepts/Param__.ts +13 -3
- package/src/concepts/QueryFieldExpression__.ts +18 -0
- package/src/concepts/QuerySelectExpression__.ts +11 -3
- package/src/concepts/TypeAnnotation__.ts +45 -6
- package/src/concepts/Variable__.ts +14 -0
- package/src/concepts/ViewComponent__.ts +35 -35
- package/src/concepts/ViewElement__.ts +104 -1
- package/src/concepts/View__.ts +24 -2
- package/src/concepts/basics/stdlib/index.ts +2 -1
- package/src/concepts/basics/stdlib/nasl.auth.ts +24 -0
- package/src/concepts/basics/stdlib/nasl.http.ts +166 -0
- package/src/concepts/basics/stdlib/nasl.process.ts +68 -0
- package/src/concepts/basics/stdlib/nasl.ui.ts +4 -19
- package/src/concepts/basics/stdlib/nasl.util.ts +83 -17
- package/src/concepts/basics/types/index.ts +5 -4
- package/src/concepts/index__.ts +8 -0
- package/src/enums/KEYWORDS.ts +0 -1
- package/src/generator/genBundleFiles.ts +36 -2
- package/src/generator/genMetaData.ts +16 -1
- package/src/generator/genReleaseBody.ts +4 -1
- package/src/index.ts +2 -1
- package/src/server/extendBaseNode.ts +18 -7
- package/src/server/formatTsUtils.ts +37 -5
- package/src/server/getExtensionModules.ts +18 -3
- package/src/server/getLogics.ts +6 -6
- package/src/server/getMemberIdentifier.ts +35 -9
- package/src/server/naslServer.ts +250 -124
- package/src/server/naslStdlibMap.ts +2 -0
- package/src/server/translator.ts +67 -1
- package/src/service/defaultErrorMessage.json +1 -0
- package/src/service/storage/api.js +7 -1
- package/src/service/storage/init.ts +66 -35
- package/src/service/storage/service.ts +18 -2
- package/src/utils/sortTsString.ts +32 -0
- package/src/utils/traverse.ts +2 -2
- package/test/examples/app-simple.json +73635 -0
- package/ts-worker/lib/tsserver.js +3 -3
- package/ts-worker/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,4 +81,17 @@ start();
|
|
|
81
81
|
### 测试一个文件
|
|
82
82
|
```bash
|
|
83
83
|
npm run test:one -- src/test/integration/connect-file.ts
|
|
84
|
+
|
|
84
85
|
```
|
|
86
|
+
|
|
87
|
+
## IDE 兼容性更新
|
|
88
|
+
|
|
89
|
+
目录 packages/nasl/src/automate/upgrader
|
|
90
|
+
新增 x.xx.js 标识需要在那个版本触发
|
|
91
|
+
举个例子 🌰 比如我是从 2.20 升级到 2.23 则需要创建 2.23.js
|
|
92
|
+
当点击面板 更新 IDE 版本
|
|
93
|
+
|
|
94
|
+

|
|
95
|
+
|
|
96
|
+
点击升级就会依次触发对应的 升级脚本 类似 loader 如果中间还存在 2.21.js 2.22.js 的话
|
|
97
|
+
|
package/docs/classes/Module.html
CHANGED
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="version" class="tsd-anchor"></a><h3 class="tsd-anchor-link">version<a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = undefined</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
80
80
|
<p>version</p>
|
|
81
81
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="viewComponents" class="tsd-anchor"></a><h3 class="tsd-anchor-link">view<wbr/>Components<a href="#viewComponents" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">view<wbr/>Components<span class="tsd-signature-symbol">:</span> <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
82
|
-
<p
|
|
82
|
+
<p>平台类型列表</p>
|
|
83
83
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="views" class="tsd-anchor"></a><h3 class="tsd-anchor-link">views<a href="#views" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">views<span class="tsd-signature-symbol">:</span> <a href="View.html" class="tsd-signature-type" data-tsd-kind="Class">View</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
84
84
|
<p>页面列表</p>
|
|
85
85
|
</div></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Accessors</h2><section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class"><a id="app" class="tsd-anchor"></a><h3 class="tsd-anchor-link">app<a href="#app" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> app<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="App.html" class="tsd-signature-type" data-tsd-kind="Class">App</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
@@ -150,13 +150,13 @@
|
|
|
150
150
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>view: <a href="View.html" class="tsd-signature-type" data-tsd-kind="Class">View</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
151
151
|
<p>已有的页面实例</p>
|
|
152
152
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="View.html" class="tsd-signature-type" data-tsd-kind="Class">View</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addViewComponent" class="tsd-anchor"></a><h3 class="tsd-anchor-link">add<wbr/>View<wbr/>Component<a href="#addViewComponent" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">add<wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>viewComponentOptions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li><li class="tsd-signature tsd-kind-icon">add<wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>viewComponent<span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
153
|
-
<p
|
|
153
|
+
<p>添加平台类型</p>
|
|
154
154
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponentOptions: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
155
|
-
<p
|
|
155
|
+
<p>平台类型参数</p>
|
|
156
156
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
157
|
-
<p
|
|
157
|
+
<p>添加平台类型</p>
|
|
158
158
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponent: <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
159
|
-
<p
|
|
159
|
+
<p>已有的平台类型实例</p>
|
|
160
160
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="changeName" class="tsd-anchor"></a><h3 class="tsd-anchor-link">change<wbr/>Name<a href="#changeName" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">change<wbr/>Name<span class="tsd-signature-symbol">(</span>newValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#changeName">changeName</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
161
161
|
<p>重命名</p>
|
|
162
162
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>newValue: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="create" class="tsd-anchor"></a><h3 class="tsd-anchor-link">create<a href="#create" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<span class="tsd-signature-symbol">(</span>parentParams<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Params</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#create">create</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
@@ -273,17 +273,17 @@
|
|
|
273
273
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>view: <a href="View.html" class="tsd-signature-type" data-tsd-kind="Class">View</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
274
274
|
<p>已有的页面实例</p>
|
|
275
275
|
</div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="View.html" class="tsd-signature-type" data-tsd-kind="Class">View</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="insertViewComponentAt" class="tsd-anchor"></a><h3 class="tsd-anchor-link">insert<wbr/>View<wbr/>Component<wbr/>At<a href="#insertViewComponentAt" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">insert<wbr/>View<wbr/>Component<wbr/>At<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li><li class="tsd-signature tsd-kind-icon">insert<wbr/>View<wbr/>Component<wbr/>At<span class="tsd-signature-symbol">(</span>viewComponentOptions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li><li class="tsd-signature tsd-kind-icon">insert<wbr/>View<wbr/>Component<wbr/>At<span class="tsd-signature-symbol">(</span>viewComponent<span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
276
|
-
<p
|
|
276
|
+
<p>插入平台类型</p>
|
|
277
277
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
278
|
-
<p
|
|
278
|
+
<p>平台类型名称,如果不填会自动生成一个唯一名称</p>
|
|
279
279
|
</div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
280
|
-
<p
|
|
280
|
+
<p>插入平台类型</p>
|
|
281
281
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponentOptions: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
282
|
-
<p
|
|
282
|
+
<p>平台类型参数</p>
|
|
283
283
|
</div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
284
|
-
<p
|
|
284
|
+
<p>插入平台类型</p>
|
|
285
285
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponent: <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
286
|
-
<p
|
|
286
|
+
<p>已有的平台类型实例</p>
|
|
287
287
|
</div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="instantiate" class="tsd-anchor"></a><h3 class="tsd-anchor-link">instantiate<a href="#instantiate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">instantiate<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, parentNode<span class="tsd-signature-symbol">: </span><a href="BaseNode.html" class="tsd-signature-type" data-tsd-kind="Class">BaseNode</a>, parentKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#instantiate">instantiate</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
288
288
|
<p>实例化一个 JSON
|
|
289
289
|
由于有 from,只能先实例化父级,再实例化子级</p>
|
|
@@ -364,13 +364,13 @@
|
|
|
364
364
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>view: <a href="View.html" class="tsd-signature-type" data-tsd-kind="Class">View</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
365
365
|
<p>已有的页面实例</p>
|
|
366
366
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeViewComponent" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>View<wbr/>Component<a href="#removeViewComponent" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">remove<wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-signature tsd-kind-icon">remove<wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>viewComponent<span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
367
|
-
<p
|
|
367
|
+
<p>删除平台类型</p>
|
|
368
368
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
369
|
-
<p
|
|
369
|
+
<p>平台类型名称</p>
|
|
370
370
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
371
|
-
<p
|
|
371
|
+
<p>删除平台类型</p>
|
|
372
372
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponent: <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
373
|
-
<p
|
|
373
|
+
<p>已有的平台类型实例</p>
|
|
374
374
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="toJSON" class="tsd-anchor"></a><h3 class="tsd-anchor-link">toJSON<a href="#toJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">toJSON<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#toJSON">toJSON</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
375
375
|
<p>去除循环依赖,转为纯 JSON</p>
|
|
376
376
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{}</span></h4><ul class="tsd-parameters"></ul></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="toPlainJSON" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>PlainJSON<a href="#toPlainJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">to<wbr/>PlainJSON<span class="tsd-signature-symbol">(</span>parentKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, excludedKeys<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#toPlainJSON">toPlainJSON</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="variables" class="tsd-anchor"></a><h3 class="tsd-anchor-link">variables<a href="#variables" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">variables<span class="tsd-signature-symbol">:</span> <a href="Variable.html" class="tsd-signature-type" data-tsd-kind="Class">Variable</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
84
84
|
<p>局部变量列表</p>
|
|
85
85
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="viewComponents" class="tsd-anchor"></a><h3 class="tsd-anchor-link">view<wbr/>Components<a href="#viewComponents" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">view<wbr/>Components<span class="tsd-signature-symbol">:</span> <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
86
|
-
<p
|
|
86
|
+
<p>平台类型列表</p>
|
|
87
87
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="views" class="tsd-anchor"></a><h3 class="tsd-anchor-link">views<a href="#views" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">views<span class="tsd-signature-symbol">:</span> <a href="View.html" class="tsd-signature-type" data-tsd-kind="Class">View</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
88
88
|
<p>页面列表</p>
|
|
89
89
|
</div></div></section></section><section class="tsd-panel-group tsd-member-group tsd-is-inherited"><h2>Accessors</h2><section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a id="rootNode" class="tsd-anchor"></a><h3 class="tsd-anchor-link">root<wbr/>Node<a href="#rootNode" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> rootNode<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BaseNode.html" class="tsd-signature-type" data-tsd-kind="Class">BaseNode</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from BaseNode.rootNode</p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
@@ -184,13 +184,13 @@
|
|
|
184
184
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>view: <a href="View.html" class="tsd-signature-type" data-tsd-kind="Class">View</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
185
185
|
<p>已有的页面实例</p>
|
|
186
186
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="View.html" class="tsd-signature-type" data-tsd-kind="Class">View</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addViewComponent" class="tsd-anchor"></a><h3 class="tsd-anchor-link">add<wbr/>View<wbr/>Component<a href="#addViewComponent" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">add<wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>viewComponentOptions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li><li class="tsd-signature tsd-kind-icon">add<wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>viewComponent<span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
187
|
-
<p
|
|
187
|
+
<p>添加平台类型</p>
|
|
188
188
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponentOptions: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
189
|
-
<p
|
|
189
|
+
<p>平台类型参数</p>
|
|
190
190
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
191
|
-
<p
|
|
191
|
+
<p>添加平台类型</p>
|
|
192
192
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponent: <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
193
|
-
<p
|
|
193
|
+
<p>已有的平台类型实例</p>
|
|
194
194
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="changeName" class="tsd-anchor"></a><h3 class="tsd-anchor-link">change<wbr/>Name<a href="#changeName" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">change<wbr/>Name<span class="tsd-signature-symbol">(</span>newValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#changeName">changeName</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
195
195
|
<p>重命名</p>
|
|
196
196
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>newValue: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="create" class="tsd-anchor"></a><h3 class="tsd-anchor-link">create<a href="#create" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<span class="tsd-signature-symbol">(</span>parentParams<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Params</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#create">create</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
@@ -352,17 +352,17 @@
|
|
|
352
352
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>view: <a href="View.html" class="tsd-signature-type" data-tsd-kind="Class">View</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
353
353
|
<p>已有的页面实例</p>
|
|
354
354
|
</div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="View.html" class="tsd-signature-type" data-tsd-kind="Class">View</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="insertViewComponentAt" class="tsd-anchor"></a><h3 class="tsd-anchor-link">insert<wbr/>View<wbr/>Component<wbr/>At<a href="#insertViewComponentAt" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">insert<wbr/>View<wbr/>Component<wbr/>At<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li><li class="tsd-signature tsd-kind-icon">insert<wbr/>View<wbr/>Component<wbr/>At<span class="tsd-signature-symbol">(</span>viewComponentOptions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li><li class="tsd-signature tsd-kind-icon">insert<wbr/>View<wbr/>Component<wbr/>At<span class="tsd-signature-symbol">(</span>viewComponent<span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
355
|
-
<p
|
|
355
|
+
<p>插入平台类型</p>
|
|
356
356
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
357
|
-
<p
|
|
357
|
+
<p>平台类型名称,如果不填会自动生成一个唯一名称</p>
|
|
358
358
|
</div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
359
|
-
<p
|
|
359
|
+
<p>插入平台类型</p>
|
|
360
360
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponentOptions: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
361
|
-
<p
|
|
361
|
+
<p>平台类型参数</p>
|
|
362
362
|
</div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
363
|
-
<p
|
|
363
|
+
<p>插入平台类型</p>
|
|
364
364
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponent: <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
365
|
-
<p
|
|
365
|
+
<p>已有的平台类型实例</p>
|
|
366
366
|
</div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="instantiate" class="tsd-anchor"></a><h3 class="tsd-anchor-link">instantiate<a href="#instantiate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">instantiate<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, parentNode<span class="tsd-signature-symbol">: </span><a href="BaseNode.html" class="tsd-signature-type" data-tsd-kind="Class">BaseNode</a>, parentKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#instantiate">instantiate</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
367
367
|
<p>实例化一个 JSON
|
|
368
368
|
由于有 from,只能先实例化父级,再实例化子级</p>
|
|
@@ -475,13 +475,13 @@
|
|
|
475
475
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>view: <a href="View.html" class="tsd-signature-type" data-tsd-kind="Class">View</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
476
476
|
<p>已有的页面实例</p>
|
|
477
477
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeViewComponent" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>View<wbr/>Component<a href="#removeViewComponent" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">remove<wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-signature tsd-kind-icon">remove<wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>viewComponent<span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
478
|
-
<p
|
|
478
|
+
<p>删除平台类型</p>
|
|
479
479
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
480
|
-
<p
|
|
480
|
+
<p>平台类型名称</p>
|
|
481
481
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
482
|
-
<p
|
|
482
|
+
<p>删除平台类型</p>
|
|
483
483
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponent: <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
484
|
-
<p
|
|
484
|
+
<p>已有的平台类型实例</p>
|
|
485
485
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="toJSON" class="tsd-anchor"></a><h3 class="tsd-anchor-link">toJSON<a href="#toJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">toJSON<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#toJSON">toJSON</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
486
486
|
<p>去除循环依赖,转为纯 JSON</p>
|
|
487
487
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{}</span></h4><ul class="tsd-parameters"></ul></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="toPlainJSON" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>PlainJSON<a href="#toPlainJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">to<wbr/>PlainJSON<span class="tsd-signature-symbol">(</span>parentKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, excludedKeys<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#toPlainJSON">toPlainJSON</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ViewComponent | @lcap/nasl</title><meta name="description" content="Documentation for @lcap/nasl"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/css/main.css"/></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@lcap/nasl</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@lcap/nasl</a></li><li><a href="ViewComponent.html">ViewComponent</a></li></ul><h1>Class ViewComponent </h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
2
|
-
<p
|
|
2
|
+
<p>平台类型</p>
|
|
3
3
|
</div></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><a href="BaseNode.html" class="tsd-signature-type" data-tsd-kind="Class">BaseNode</a><ul class="tsd-hierarchy"><li><span class="target">ViewComponent</span></li></ul></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="ViewComponent.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#JSON_EXCLUDED_KEYS" class="tsd-kind-icon">JSON_<wbr/>EXCLUDED_<wbr/>KEYS</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#_mutable" class="tsd-kind-icon">_mutable</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="ViewComponent.html#attrs" class="tsd-kind-icon">attrs</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#branchName" class="tsd-kind-icon">branch<wbr/>Name</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="ViewComponent.html#category" class="tsd-kind-icon">category</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#changedTime" class="tsd-kind-icon">changed<wbr/>Time</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="ViewComponent.html#children" class="tsd-kind-icon">children</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-overwrite"><a href="ViewComponent.html#concept" class="tsd-kind-icon">concept</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#dataTreeNodeHidden" class="tsd-kind-icon">data<wbr/>Tree<wbr/>Node<wbr/>Hidden</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="ViewComponent.html#description" class="tsd-kind-icon">description</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#editable" class="tsd-kind-icon">editable</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#editing" class="tsd-kind-icon">editing</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="ViewComponent.html#events" class="tsd-kind-icon">events</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#expanded" class="tsd-kind-icon">expanded</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#hidden" class="tsd-kind-icon">hidden</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#id" class="tsd-kind-icon">id</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#isLeaf" class="tsd-kind-icon">is<wbr/>Leaf</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#loading" class="tsd-kind-icon">loading</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#logicTreeNodeExpanded" class="tsd-kind-icon">logic<wbr/>Tree<wbr/>Node<wbr/>Expanded</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#logicTreeNodeHidden" class="tsd-kind-icon">logic<wbr/>Tree<wbr/>Node<wbr/>Hidden</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="ViewComponent.html#methods" class="tsd-kind-icon">methods</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-overwrite"><a href="ViewComponent.html#name" class="tsd-kind-icon">name</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#pageTreeNodeHidden" class="tsd-kind-icon">page<wbr/>Tree<wbr/>Node<wbr/>Hidden</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#parentNode" class="tsd-kind-icon">parent<wbr/>Node</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#removable" class="tsd-kind-icon">removable</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="ViewComponent.html#slots" class="tsd-kind-icon">slots</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#sourceMap" class="tsd-kind-icon">source<wbr/>Map</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="ViewComponent.html#title" class="tsd-kind-icon">title</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#tsErrorDetail" class="tsd-kind-icon">ts<wbr/>Error<wbr/>Detail</a></li></ul></section><section class="tsd-index-section "><h3>Accessors</h3><ul class="tsd-index-list"><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="ViewComponent.html#app" class="tsd-kind-icon">app</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="ViewComponent.html#module" class="tsd-kind-icon">module</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#rootNode" class="tsd-kind-icon">root<wbr/>Node</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#upperNode" class="tsd-kind-icon">upper<wbr/>Node</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#activeInside" class="tsd-kind-icon">active<wbr/>Inside</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#addAttribute" class="tsd-kind-icon">add<wbr/>Attribute</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#addEvent" class="tsd-kind-icon">add<wbr/>Event</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#addLogic" class="tsd-kind-icon">add<wbr/>Logic</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#addParamsPrepare" class="tsd-kind-icon">add<wbr/>Params<wbr/>Prepare</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#addSlot" class="tsd-kind-icon">add<wbr/>Slot</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#addViewComponent" class="tsd-kind-icon">add<wbr/>View<wbr/>Component</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#changeName" class="tsd-kind-icon">change<wbr/>Name</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#create" class="tsd-kind-icon">create</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#deepPick" class="tsd-kind-icon">deep<wbr/>Pick</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#delete" class="tsd-kind-icon">delete</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#destroy" class="tsd-kind-icon">destroy</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#emit" class="tsd-kind-icon">emit</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#findUsage" class="tsd-kind-icon">find<wbr/>Usage</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#genActionListener" class="tsd-kind-icon">gen<wbr/>Action<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#genSources" class="tsd-kind-icon">gen<wbr/>Sources</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#getAncestor" class="tsd-kind-icon">get<wbr/>Ancestor</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#insertAttributeAt" class="tsd-kind-icon">insert<wbr/>Attribute<wbr/>At</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#insertEventAt" class="tsd-kind-icon">insert<wbr/>Event<wbr/>At</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#insertLogicAt" class="tsd-kind-icon">insert<wbr/>Logic<wbr/>At</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#insertSlotAt" class="tsd-kind-icon">insert<wbr/>Slot<wbr/>At</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#insertViewComponentAt" class="tsd-kind-icon">insert<wbr/>View<wbr/>Component<wbr/>At</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#instantiate" class="tsd-kind-icon">instantiate</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#off" class="tsd-kind-icon">off</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#on" class="tsd-kind-icon">on</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#once" class="tsd-kind-icon">once</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#prepareDelete" class="tsd-kind-icon">prepare<wbr/>Delete</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#removeAttribute" class="tsd-kind-icon">remove<wbr/>Attribute</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#removeEvent" class="tsd-kind-icon">remove<wbr/>Event</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#removeLogic" class="tsd-kind-icon">remove<wbr/>Logic</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#removeSlot" class="tsd-kind-icon">remove<wbr/>Slot</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ViewComponent.html#removeViewComponent" class="tsd-kind-icon">remove<wbr/>View<wbr/>Component</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#toJSON" class="tsd-kind-icon">toJSON</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#toPlainJSON" class="tsd-kind-icon">to<wbr/>PlainJSON</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ViewComponent.html#update" class="tsd-kind-icon">update</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="ViewComponent.html#getDefaultOptions" class="tsd-kind-icon">get<wbr/>Default<wbr/>Options</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">new <wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#constructor">constructor</a></p></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> source: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
4
4
|
<p>需要合并的部分参数</p>
|
|
5
5
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="JSON_EXCLUDED_KEYS" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagReadonly">Readonly</span> JSON_<wbr/>EXCLUDED_<wbr/>KEYS<a href="#JSON_EXCLUDED_KEYS" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">JSON_<wbr/>EXCLUDED_<wbr/>KEYS<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Set</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#JSON_EXCLUDED_KEYS">JSON_EXCLUDED_KEYS</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="changedTime" class="tsd-anchor"></a><h3 class="tsd-anchor-link">changed<wbr/>Time<a href="#changedTime" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">changed<wbr/>Time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = undefined</span></div><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#changedTime">changedTime</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
17
17
|
<p>变动时间</p>
|
|
18
18
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="children" class="tsd-anchor"></a><h3 class="tsd-anchor-link">children<a href="#children" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">children<span class="tsd-signature-symbol">:</span> <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
19
|
-
<p
|
|
19
|
+
<p>平台类型列表</p>
|
|
20
20
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-overwrite"><a id="concept" class="tsd-anchor"></a><h3 class="tsd-anchor-link">concept<a href="#concept" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">concept<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"ViewComponent"</span><span class="tsd-signature-symbol"> = 'ViewComponent'</span></div><aside class="tsd-sources"><p>Overrides <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#concept">concept</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
21
21
|
<p>产品概念</p>
|
|
22
22
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="dataTreeNodeHidden" class="tsd-anchor"></a><h3 class="tsd-anchor-link">data<wbr/>Tree<wbr/>Node<wbr/>Hidden<a href="#dataTreeNodeHidden" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">data<wbr/>Tree<wbr/>Node<wbr/>Hidden<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#dataTreeNodeHidden">dataTreeNodeHidden</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
23
23
|
<p>数据树节点是否显示
|
|
24
24
|
前端 UI 状态</p>
|
|
25
25
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="description" class="tsd-anchor"></a><h3 class="tsd-anchor-link">description<a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">description<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = undefined</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
26
|
-
<p
|
|
26
|
+
<p>平台类型描述</p>
|
|
27
27
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="editable" class="tsd-anchor"></a><h3 class="tsd-anchor-link">editable<a href="#editable" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">editable<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = undefined</span></div><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#editable">editable</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
28
28
|
<p>是否正在编辑
|
|
29
29
|
前端 UI 状态</p>
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="methods" class="tsd-anchor"></a><h3 class="tsd-anchor-link">methods<a href="#methods" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">methods<span class="tsd-signature-symbol">:</span> <a href="Logic.html" class="tsd-signature-type" data-tsd-kind="Class">Logic</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
56
56
|
<p>逻辑列表</p>
|
|
57
57
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-overwrite"><a id="name" class="tsd-anchor"></a><h3 class="tsd-anchor-link">name<a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = undefined</span></div><aside class="tsd-sources"><p>Overrides BaseNode.name</p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
58
|
-
<p
|
|
58
|
+
<p>平台类型名称</p>
|
|
59
59
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="pageTreeNodeHidden" class="tsd-anchor"></a><h3 class="tsd-anchor-link">page<wbr/>Tree<wbr/>Node<wbr/>Hidden<a href="#pageTreeNodeHidden" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">page<wbr/>Tree<wbr/>Node<wbr/>Hidden<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#pageTreeNodeHidden">pageTreeNodeHidden</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
60
60
|
<p>页面树节点是否显示
|
|
61
61
|
前端 UI 状态</p>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="sourceMap" class="tsd-anchor"></a><h3 class="tsd-anchor-link">source<wbr/>Map<a href="#sourceMap" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">source<wbr/>Map<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">SourceMap</span><span class="tsd-signature-symbol"> = undefined</span></div><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#sourceMap">sourceMap</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
70
70
|
<p>用于挂 embeddedTS 的 sourceMap</p>
|
|
71
71
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="title" class="tsd-anchor"></a><h3 class="tsd-anchor-link">title<a href="#title" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">title<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = undefined</span></div><div class="tsd-comment tsd-typography"><div class="lead">
|
|
72
|
-
<p
|
|
72
|
+
<p>平台类型标题</p>
|
|
73
73
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="tsErrorDetail" class="tsd-anchor"></a><h3 class="tsd-anchor-link">ts<wbr/>Error<wbr/>Detail<a href="#tsErrorDetail" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">ts<wbr/>Error<wbr/>Detail<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Diagnostic</span><span class="tsd-signature-symbol"> = undefined</span></div><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#tsErrorDetail">tsErrorDetail</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
74
74
|
<p>当前节点上报错详细信息</p>
|
|
75
75
|
</div></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Accessors</h2><section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class"><a id="app" class="tsd-anchor"></a><h3 class="tsd-anchor-link">app<a href="#app" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> app<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="App.html" class="tsd-signature-type" data-tsd-kind="Class">App</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
@@ -118,13 +118,13 @@
|
|
|
118
118
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>slot: <a href="Slot.html" class="tsd-signature-type" data-tsd-kind="Class">Slot</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
119
119
|
<p>已有的插槽实例</p>
|
|
120
120
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Slot.html" class="tsd-signature-type" data-tsd-kind="Class">Slot</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addViewComponent" class="tsd-anchor"></a><h3 class="tsd-anchor-link">add<wbr/>View<wbr/>Component<a href="#addViewComponent" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">add<wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>viewComponentOptions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li><li class="tsd-signature tsd-kind-icon">add<wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>viewComponent<span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
121
|
-
<p
|
|
121
|
+
<p>添加平台类型</p>
|
|
122
122
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponentOptions: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
123
|
-
<p
|
|
123
|
+
<p>平台类型参数</p>
|
|
124
124
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
125
|
-
<p
|
|
125
|
+
<p>添加平台类型</p>
|
|
126
126
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponent: <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
127
|
-
<p
|
|
127
|
+
<p>已有的平台类型实例</p>
|
|
128
128
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="changeName" class="tsd-anchor"></a><h3 class="tsd-anchor-link">change<wbr/>Name<a href="#changeName" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">change<wbr/>Name<span class="tsd-signature-symbol">(</span>newValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#changeName">changeName</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
129
129
|
<p>重命名</p>
|
|
130
130
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>newValue: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="create" class="tsd-anchor"></a><h3 class="tsd-anchor-link">create<a href="#create" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<span class="tsd-signature-symbol">(</span>parentParams<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Params</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#create">create</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
@@ -200,17 +200,17 @@
|
|
|
200
200
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>slot: <a href="Slot.html" class="tsd-signature-type" data-tsd-kind="Class">Slot</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
201
201
|
<p>已有的插槽实例</p>
|
|
202
202
|
</div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Slot.html" class="tsd-signature-type" data-tsd-kind="Class">Slot</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="insertViewComponentAt" class="tsd-anchor"></a><h3 class="tsd-anchor-link">insert<wbr/>View<wbr/>Component<wbr/>At<a href="#insertViewComponentAt" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">insert<wbr/>View<wbr/>Component<wbr/>At<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li><li class="tsd-signature tsd-kind-icon">insert<wbr/>View<wbr/>Component<wbr/>At<span class="tsd-signature-symbol">(</span>viewComponentOptions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li><li class="tsd-signature tsd-kind-icon">insert<wbr/>View<wbr/>Component<wbr/>At<span class="tsd-signature-symbol">(</span>viewComponent<span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
203
|
-
<p
|
|
203
|
+
<p>插入平台类型</p>
|
|
204
204
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
205
|
-
<p
|
|
205
|
+
<p>平台类型名称,如果不填会自动生成一个唯一名称</p>
|
|
206
206
|
</div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
207
|
-
<p
|
|
207
|
+
<p>插入平台类型</p>
|
|
208
208
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponentOptions: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">></span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
209
|
-
<p
|
|
209
|
+
<p>平台类型参数</p>
|
|
210
210
|
</div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
211
|
-
<p
|
|
211
|
+
<p>插入平台类型</p>
|
|
212
212
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponent: <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
213
|
-
<p
|
|
213
|
+
<p>已有的平台类型实例</p>
|
|
214
214
|
</div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="instantiate" class="tsd-anchor"></a><h3 class="tsd-anchor-link">instantiate<a href="#instantiate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">instantiate<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, parentNode<span class="tsd-signature-symbol">: </span><a href="BaseNode.html" class="tsd-signature-type" data-tsd-kind="Class">BaseNode</a>, parentKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#instantiate">instantiate</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
215
215
|
<p>实例化一个 JSON
|
|
216
216
|
由于有 from,只能先实例化父级,再实例化子级</p>
|
|
@@ -267,13 +267,13 @@
|
|
|
267
267
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>slot: <a href="Slot.html" class="tsd-signature-type" data-tsd-kind="Class">Slot</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
268
268
|
<p>已有的插槽实例</p>
|
|
269
269
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeViewComponent" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>View<wbr/>Component<a href="#removeViewComponent" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">remove<wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-signature tsd-kind-icon">remove<wbr/>View<wbr/>Component<span class="tsd-signature-symbol">(</span>viewComponent<span class="tsd-signature-symbol">: </span><a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
270
|
-
<p
|
|
270
|
+
<p>删除平台类型</p>
|
|
271
271
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
272
|
-
<p
|
|
272
|
+
<p>平台类型名称</p>
|
|
273
273
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
274
|
-
<p
|
|
274
|
+
<p>删除平台类型</p>
|
|
275
275
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>viewComponent: <a href="ViewComponent.html" class="tsd-signature-type" data-tsd-kind="Class">ViewComponent</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
276
|
-
<p
|
|
276
|
+
<p>已有的平台类型实例</p>
|
|
277
277
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="toJSON" class="tsd-anchor"></a><h3 class="tsd-anchor-link">toJSON<a href="#toJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">toJSON<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#toJSON">toJSON</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
278
278
|
<p>去除循环依赖,转为纯 JSON</p>
|
|
279
279
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{}</span></h4><ul class="tsd-parameters"></ul></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="toPlainJSON" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>PlainJSON<a href="#toPlainJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">to<wbr/>PlainJSON<span class="tsd-signature-symbol">(</span>parentKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, excludedKeys<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="BaseNode.html">BaseNode</a>.<a href="BaseNode.html#toPlainJSON">toPlainJSON</a></p></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
@@ -44,6 +44,7 @@ function getNodeByNodeCallee(AppInstance, namespace, callback) {
|
|
|
44
44
|
continue;
|
|
45
45
|
}
|
|
46
46
|
const { propertyMap } = (0, index_1.getConceptMeta)(tempPoint.concept);
|
|
47
|
+
// 这里的问题是 ns "app.logics.getUserInfo" 传进来 就去 logics 下边找了 应该是overriddenLogics 下去找
|
|
47
48
|
if (propertyMap.has(key)) {
|
|
48
49
|
const property = tempPoint[key];
|
|
49
50
|
if (Array.isArray(property)) {
|
|
@@ -95,6 +96,9 @@ function getNaslNodeByNodeCallee(namespace, typeName) {
|
|
|
95
96
|
else if (namespace === 'nasl.core') {
|
|
96
97
|
return concepts_1.coreStructures.find((item) => item.name === typeName);
|
|
97
98
|
}
|
|
99
|
+
else if (namespace === 'nasl.http') {
|
|
100
|
+
return concepts_1.httpStructures.find((item) => item.name === typeName);
|
|
101
|
+
}
|
|
98
102
|
else if (namespace === 'nasl.auth') {
|
|
99
103
|
if (authLogic.find((item) => item.name === typeName)) {
|
|
100
104
|
return authLogic.find((item) => item.name === typeName);
|