Skip to content

Commit

Permalink
chore(release): 2.2.4 [skip ci]
Browse files Browse the repository at this point in the history
## [2.2.4](v2.2.3...v2.2.4) (2020-07-31)

### Bug Fixes

* 输入为 TypeScript 时不调用构造函数 ([40bf654](40bf654))
  • Loading branch information
semantic-release-bot committed Jul 31, 2020
1 parent 40bf654 commit 4d1cff7
Show file tree
Hide file tree
Showing 60 changed files with 1,695 additions and 719 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [2.2.4](https://github.com/baidu/san-ssr/compare/v2.2.3...v2.2.4) (2020-07-31)


### Bug Fixes

* 输入为 TypeScript 时不调用构造函数 ([40bf654](https://github.com/baidu/san-ssr/commit/40bf654054f75b25e6a9782dea55f23644602662))

## [2.2.3](https://github.com/baidu/san-ssr/compare/v2.2.2...v2.2.3) (2020-07-27)


Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/classes/_models_component_info_.componentinfoimpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L15">models/component-info.ts:15</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L16">models/component-info.ts:16</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -186,7 +186,7 @@ <h3>child<wbr>Components</h3>
<div class="tsd-signature tsd-kind-icon">child<wbr>Components<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_models_component_info_.html#tagname" class="tsd-signature-type">TagName</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ANode</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">R</span><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L29">models/component-info.ts:29</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L30">models/component-info.ts:30</a></li>
</ul>
</aside>
</section>
Expand All @@ -196,7 +196,7 @@ <h3>id</h3>
<div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L26">models/component-info.ts:26</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L27">models/component-info.ts:27</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -211,7 +211,7 @@ <h3>root</h3>
<div class="tsd-signature tsd-kind-icon">root<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ANode</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L28">models/component-info.ts:28</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L29">models/component-info.ts:29</a></li>
</ul>
</aside>
</section>
Expand All @@ -221,7 +221,7 @@ <h3>template</h3>
<div class="tsd-signature tsd-kind-icon">template<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L27">models/component-info.ts:27</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L28">models/component-info.ts:28</a></li>
</ul>
</aside>
</section>
Expand All @@ -238,7 +238,7 @@ <h3>get<wbr>Child<wbr>Component<wbr>Renference</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L36">models/component-info.ts:36</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L37">models/component-info.ts:37</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -264,7 +264,7 @@ <h3><span class="tsd-flag ts-flagAbstract">Abstract</span> get<wbr>Computed<wbr>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L33">models/component-info.ts:33</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L34">models/component-info.ts:34</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4>
Expand All @@ -281,7 +281,7 @@ <h3><span class="tsd-flag ts-flagAbstract">Abstract</span> get<wbr>Filter<wbr>Na
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L34">models/component-info.ts:34</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L35">models/component-info.ts:35</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4>
Expand All @@ -298,7 +298,7 @@ <h3><span class="tsd-flag ts-flagAbstract">Abstract</span> has<wbr>Method</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L32">models/component-info.ts:32</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L33">models/component-info.ts:33</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
28 changes: 14 additions & 14 deletions docs/classes/_models_component_info_.dynamiccomponentinfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,14 @@ <h2>Constructors</h2>
<a name="constructor" class="tsd-anchor"></a>
<h3>constructor</h3>
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
<li class="tsd-signature tsd-kind-icon">new <wbr>Dynamic<wbr>Component<wbr>Info<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, template<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, root<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ANode</span>, childComponents<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_models_component_info_.html#tagname" class="tsd-signature-type">TagName</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ANode</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/_models_component_reference_.dynamiccomponentreference.html" class="tsd-signature-type">DynamicComponentReference</a><span class="tsd-signature-symbol">&gt;</span>, componentClass<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ComponentConstructor</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">__type</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">__type</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_models_component_info_.dynamiccomponentinfo.html" class="tsd-signature-type">DynamicComponentInfo</a></li>
<li class="tsd-signature tsd-kind-icon">new <wbr>Dynamic<wbr>Component<wbr>Info<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, template<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, root<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ANode</span>, childComponents<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_models_component_info_.html#tagname" class="tsd-signature-type">TagName</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ANode</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/_models_component_reference_.dynamiccomponentreference.html" class="tsd-signature-type">DynamicComponentReference</a><span class="tsd-signature-symbol">&gt;</span>, componentClass<span class="tsd-signature-symbol">: </span><a href="../modules/_models_component_.html#componentclass" class="tsd-signature-type">ComponentClass</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_models_component_info_.dynamiccomponentinfo.html" class="tsd-signature-type">DynamicComponentInfo</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Overrides <a href="_models_component_info_.componentinfoimpl.html">ComponentInfoImpl</a>.<a href="_models_component_info_.componentinfoimpl.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L42">models/component-info.ts:42</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L43">models/component-info.ts:43</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -146,7 +146,7 @@ <h5>root: <span class="tsd-signature-type">ANode</span></h5>
<h5>childComponents: <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_models_component_info_.html#tagname" class="tsd-signature-type">TagName</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ANode</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/_models_component_reference_.dynamiccomponentreference.html" class="tsd-signature-type">DynamicComponentReference</a><span class="tsd-signature-symbol">&gt;</span></h5>
</li>
<li>
<h5>componentClass: <span class="tsd-signature-type">ComponentConstructor</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">__type</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">__type</span><span class="tsd-signature-symbol">&gt;</span></h5>
<h5>componentClass: <a href="../modules/_models_component_.html#componentclass" class="tsd-signature-type">ComponentClass</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="_models_component_info_.dynamiccomponentinfo.html" class="tsd-signature-type">DynamicComponentInfo</a></h4>
Expand All @@ -163,17 +163,17 @@ <h3>child<wbr>Components</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="_models_component_info_.componentinfoimpl.html">ComponentInfoImpl</a>.<a href="_models_component_info_.componentinfoimpl.html#childcomponents">childComponents</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L29">models/component-info.ts:29</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L30">models/component-info.ts:30</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="componentclass" class="tsd-anchor"></a>
<h3>component<wbr>Class</h3>
<div class="tsd-signature tsd-kind-icon">component<wbr>Class<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ComponentConstructor</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">__type</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">__type</span><span class="tsd-signature-symbol">&gt;</span></div>
<div class="tsd-signature tsd-kind-icon">component<wbr>Class<span class="tsd-signature-symbol">:</span> <a href="../modules/_models_component_.html#componentclass" class="tsd-signature-type">ComponentClass</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L48">models/component-info.ts:48</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L49">models/component-info.ts:49</a></li>
</ul>
</aside>
</section>
Expand All @@ -184,7 +184,7 @@ <h3>id</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="_models_component_info_.componentinfoimpl.html">ComponentInfoImpl</a>.<a href="_models_component_info_.componentinfoimpl.html#id">id</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L26">models/component-info.ts:26</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L27">models/component-info.ts:27</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -199,7 +199,7 @@ <h3>proto</h3>
<div class="tsd-signature tsd-kind-icon">proto<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">SanComponent</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">__type</span><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L42">models/component-info.ts:42</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L43">models/component-info.ts:43</a></li>
</ul>
</aside>
</section>
Expand All @@ -210,7 +210,7 @@ <h3>root</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="_models_component_info_.componentinfoimpl.html">ComponentInfoImpl</a>.<a href="_models_component_info_.componentinfoimpl.html#root">root</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L28">models/component-info.ts:28</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L29">models/component-info.ts:29</a></li>
</ul>
</aside>
</section>
Expand All @@ -221,7 +221,7 @@ <h3>template</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="_models_component_info_.componentinfoimpl.html">ComponentInfoImpl</a>.<a href="_models_component_info_.componentinfoimpl.html#template">template</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L27">models/component-info.ts:27</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L28">models/component-info.ts:28</a></li>
</ul>
</aside>
</section>
Expand All @@ -239,7 +239,7 @@ <h3>get<wbr>Child<wbr>Component<wbr>Renference</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="_models_component_info_.componentinfoimpl.html">ComponentInfoImpl</a>.<a href="_models_component_info_.componentinfoimpl.html#getchildcomponentrenference">getChildComponentRenference</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L36">models/component-info.ts:36</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L37">models/component-info.ts:37</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -266,7 +266,7 @@ <h3>get<wbr>Computed<wbr>Names</h3>
<aside class="tsd-sources">
<p>Overrides <a href="_models_component_info_.componentinfoimpl.html">ComponentInfoImpl</a>.<a href="_models_component_info_.componentinfoimpl.html#getcomputednames">getComputedNames</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L56">models/component-info.ts:56</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L57">models/component-info.ts:57</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4>
Expand All @@ -284,7 +284,7 @@ <h3>get<wbr>Filter<wbr>Names</h3>
<aside class="tsd-sources">
<p>Overrides <a href="_models_component_info_.componentinfoimpl.html">ComponentInfoImpl</a>.<a href="_models_component_info_.componentinfoimpl.html#getfilternames">getFilterNames</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L59">models/component-info.ts:59</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L60">models/component-info.ts:60</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4>
Expand All @@ -302,7 +302,7 @@ <h3>has<wbr>Method</h3>
<aside class="tsd-sources">
<p>Overrides <a href="_models_component_info_.componentinfoimpl.html">ComponentInfoImpl</a>.<a href="_models_component_info_.componentinfoimpl.html#hasmethod">hasMethod</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ab0b036/src/models/component-info.ts#L53">models/component-info.ts:53</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/40bf654/src/models/component-info.ts#L54">models/component-info.ts:54</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
Loading

0 comments on commit 4d1cff7

Please sign in to comment.