This repository has been archived by the owner on Aug 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
20-es5.0806290d073990a1f95d.js
1 lines (1 loc) · 44.3 KB
/
20-es5.0806290d073990a1f95d.js
1
function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{"E+jF":function(e,t,o){"use strict";o.r(t);var d=o("8Y7J"),a=o("0qEG"),n=function e(){_classCallCheck(this,e),this.item={cols:1,urls:{"en-US":"packages/util/docs/getting-started.en-US.md","zh-CN":"packages/util/docs/getting-started.zh-CN.md"},content:{"en-US":{content:'<section class="markdown"><article><p><code>@delon/util</code> is a collection of tool functions.</p><h2 id="Usage">Usage<a onclick="window.location.hash = \'Usage\'" class="anchor">#</a></h2><p>Installing <code>@delon/util</code> dependency package:</p><pre class="hljs language-bash"><code>yarn add @delon/util</code></pre><p>Import the <code>DelonUtilModule</code> in to your root AppModule.</p><pre class="hljs language-typescript"><code>import { DelonUtilModule } from \'@delon/util\';\n\n@NgModule({\n imports: [\n DelonUtilModule\n ]\n})\nexport class AppModule { }</code></pre><h2 id="DelonUtilConfig">DelonUtilConfig<a onclick="window.location.hash = \'DelonUtilConfig\'" class="anchor">#</a></h2><p>Common configuration, such as unifying mapping name for <code>ArrayService</code>.</p><pre class="hljs language-ts"><code>import { DelonUtilConfig } from \'@delon/util\';\nexport function fnDelonUtilConfig(): DelonUtilConfig {\n return Object.assign(new DelonUtilConfig(), <DelonUtilConfig>{\n array: {\n idMapName: \'Id\',\n parentIdMapName: \'ParentId\'\n }\n });\n}\n\n@NgModule({ })\nexport class DelonModule {\n static forRoot(): ModuleWithProviders {\n return {\n ngModule: DelonModule,\n providers: [\n { provide: DelonUtilConfig, useFactory: fnDelonUtilConfig }\n ]\n };\n }\n}</code></pre></article></section>',meta:{order:1,title:"Getting Started",type:"Documents",module:"DelonUtilModule",config:"DelonUtilConfig"},toc:[{id:"Usage",title:"Usage",h:2},{id:"DelonUtilConfig",title:"DelonUtilConfig",h:2}]},"zh-CN":{content:'<section class="markdown"><article><p>@delon/util \u662f\u4e00\u7ec4\u65e5\u5e38\u666e\u901a\u4f7f\u7528\u7684\u5de5\u5177\u51fd\u6570\u7684\u96c6\u5408\u3002</p><h2 id="\u5982\u4f55\u4f7f\u7528">\u5982\u4f55\u4f7f\u7528<a onclick="window.location.hash = \'\u5982\u4f55\u4f7f\u7528\'" class="anchor">#</a></h2><p>\u5b89\u88c5 <code>@delon/util</code> \u4f9d\u8d56\u5305\uff1a</p><pre class="hljs language-bash"><code>yarn add @delon/util</code></pre><p>\u5bfc\u5165 <code>DelonUtilModule</code> \u6a21\u5757\uff1a</p><pre class="hljs language-typescript"><code>import { DelonUtilModule } from \'@delon/util\';\n\n@NgModule({\n imports: [\n DelonUtilModule\n ]\n})\nexport class AppModule { }</code></pre><h2 id="DelonUtilConfig">DelonUtilConfig<a onclick="window.location.hash = \'DelonUtilConfig\'" class="anchor">#</a></h2><p>\u901a\u7528\u914d\u7f6e\u9879\uff0c\u4f8b\u5982\u7edf\u4e00\u5bf9 <code>ArrayService</code> \u8bbe\u7f6e\u6620\u5c04\u540d\u79f0\u3002</p><pre class="hljs language-ts"><code>import { DelonUtilConfig } from \'@delon/util\';\nexport function fnDelonUtilConfig(): DelonUtilConfig {\n return Object.assign(new DelonUtilConfig(), <DelonUtilConfig>{\n array: {\n idMapName: \'Id\',\n parentIdMapName: \'ParentId\'\n }\n });\n}\n\n@NgModule({ })\nexport class DelonModule {\n static forRoot(): ModuleWithProviders {\n return {\n ngModule: DelonModule,\n providers: [\n { provide: DelonUtilConfig, useFactory: fnDelonUtilConfig }\n ]\n };\n }\n}</code></pre></article></section>',meta:{order:1,title:"\u5f00\u59cb\u4f7f\u7528",type:"Documents",module:"DelonUtilModule",config:"DelonUtilConfig"},toc:[{id:"\u5982\u4f55\u4f7f\u7528",title:"\u5982\u4f55\u4f7f\u7528",h:2},{id:"DelonUtilConfig",title:"DelonUtilConfig",h:2}]}},demo:!1},this.codes=[]},c=function e(){_classCallCheck(this,e),this.item={cols:1,urls:{"en-US":"packages/util/src/addon/index.en-US.md","zh-CN":"packages/util/src/addon/index.zh-CN.md"},content:{"en-US":{content:'<section class="markdown"><article><p>Simplify the use of string and embedded view template.</p><h2 id="DEMO">DEMO<a onclick="window.location.hash = \'DEMO\'" class="anchor">#</a></h2><p>Build a <code>page-title</code> component and provide a <code>title</code> property, such as:</p><pre class="hljs language-html"><code><page-title title="Starbucks"></page-title>\n\n<page-title [title]="ptTitleTpl">\n <ng-template #ptTitleTpl>\n <a class="text-success" href="https://www.starbucks.com/" target="_blank">Starbucks</a>\n </ng-template>\n</page-title></code></pre><p>Use <code>stringTemplateOutlet</code> to simplify the <code>title</code> property of the <code>page-title</code> component.</p><pre class="hljs language-ts"><code>@Component({\n selector: \'page-title\',\n template: `\n <ng-template *stringTemplateOutlet="title">{{title}}</ng-template>\n `\n})\nexport class PageTitleComponent {\n @Input() title: string | TemplateRef<void>;\n}</code></pre></article></section>',meta:{title:"stringTemplateOutlet",subtitle:"String Template Outlet",type:"Template"},toc:[{id:"DEMO",title:"DEMO",h:2}]},"zh-CN":{content:'<section class="markdown"><article><p>\u7b80\u5316\u5b57\u7b26\u4e32\u4e0e\u5d4c\u5165\u5f0f\u89c6\u56fe\u6a21\u677f\u7684\u4f7f\u7528\u65b9\u5f0f\u3002</p><h2 id="\u793a\u4f8b">\u793a\u4f8b<a onclick="window.location.hash = \'\u793a\u4f8b\'" class="anchor">#</a></h2><p>\u6784\u5efa\u4e00\u4e2a <code>page-title</code> \u7ec4\u4ef6\uff0c\u5e76\u63d0\u4f9b <code>title</code> \u5c5e\u6027\uff0c\u6bd4\u5982\uff1a</p><pre class="hljs language-html"><code><page-title title="\u661f\u5df4\u514b"></page-title>\n\n<page-title [title]="ptTitleTpl">\n <ng-template #ptTitleTpl>\n <a class="text-success" href="https://www.starbucks.com/" target="_blank">\u661f\u5df4\u514b</a>\n </ng-template>\n</page-title></code></pre><p>\u5229\u7528 <code>stringTemplateOutlet</code> \u53ef\u4ee5\u7b80\u5316\u5b9e\u73b0 <code>page-title</code> \u7ec4\u4ef6\u7684 <code>title</code> \u5c5e\u6027\u3002</p><pre class="hljs language-ts"><code>@Component({\n selector: \'page-title\',\n template: `\n <ng-template *stringTemplateOutlet="title">{{title}}</ng-template>\n `\n})\nexport class PageTitleComponent {\n @Input() title: string | TemplateRef<void>;\n}</code></pre></article></section>',meta:{title:"stringTemplateOutlet",subtitle:"\u5b57\u7b26\u4e32\u6a21\u677f\u5360\u4f4d\u7b26",type:"Template"},toc:[{id:"\u793a\u4f8b",title:"\u793a\u4f8b",h:2}]}},demo:!1},this.codes=[]},l=function e(){_classCallCheck(this,e),this.item={cols:1,urls:{"en-US":"packages/util/src/array/index.en-US.md","zh-CN":"packages/util/src/array/index.zh-CN.md"},content:{"en-US":{content:'<section class="markdown"><article><p>Used for conversion and access between arrays and trees. It is generally used with <code>nz-tree</code>.</p><h2 id="treeToArr">treeToArr<a onclick="window.location.hash = \'treeToArr\'" class="anchor">#</a></h2><p>Convert tree structure to array structure.</p><p><strong>options</strong></p><table><thead><tr><th>Property</th><th>Description</th><th>Type</th><th>Default</th></tr></thead><tbody><tr><td><code>deepMapName</code></td><td>Deep map name</td><td><code>string</code></td><td><code>deep</code></td></tr><tr><td><code>parentMapName</code></td><td>Parent item map name of flat array</td><td><code>string</code></td><td><code>parent</code></td></tr><tr><td><code>childrenMapName</code></td><td>Source data children map name</td><td><code>string</code></td><td><code>children</code></td></tr><tr><td><code>clearChildren</code></td><td>Whether remove <code>children</code> item</td><td><code>boolean</code></td><td><code>true</code></td></tr><tr><td><code>cb</code></td><td>Callback event</td><td><code>(item: any, parent: any, deep: number) => void</code></td><td>-</td></tr></tbody></table><h2 id="arrToTree">arrToTree<a onclick="window.location.hash = \'arrToTree\'" class="anchor">#</a></h2><p>Convert array structure to tree structure.</p><blockquote><p>If <code>parent_id</code> is a string, the root value <strong>Make Sure</strong> is an empty string.</p></blockquote><p><strong>options</strong></p><table><thead><tr><th>Property</th><th>Description</th><th>Type</th><th>Default</th></tr></thead><tbody><tr><td><code>idMapName</code></td><td>Id map name</td><td><code>string</code></td><td><code>id</code></td></tr><tr><td><code>parentIdMapName</code></td><td>Parent id map name</td><td><code>string</code></td><td><code>parent_id</code></td></tr><tr><td><code>childrenMapName</code></td><td>Children map name</td><td><code>string</code></td><td><code>children</code></td></tr><tr><td><code>cb</code></td><td>Callback event</td><td><code>(item: any) => void</code></td><td>-</td></tr></tbody></table><h2 id="arrToTreeNode">arrToTreeNode<a onclick="window.location.hash = \'arrToTreeNode\'" class="anchor">#</a></h2><p>Convert array structure to <code>nz-tree</code> data structure.</p><p><strong>options</strong></p><table><thead><tr><th>Property</th><th>Description</th><th>Type</th><th>Default</th></tr></thead><tbody><tr><td><code>idMapName</code></td><td>Id map name</td><td><code>string</code></td><td><code>id</code></td></tr><tr><td><code>parentIdMapName</code></td><td>Parent id map name</td><td><code>string</code></td><td><code>parent_id</code></td></tr><tr><td><code>titleMapName</code></td><td>Title map name</td><td><code>string</code></td><td><code>title</code></td></tr><tr><td><code>isLeafMapName</code></td><td>isLeaf map name, if value does not exist, include <code>children</code> value to determine whether it\'s a leaf node</td><td><code>string</code></td><td><code>isLeaf</code></td></tr><tr><td><code>checkedMapname</code></td><td>Checked map name</td><td><code>string</code></td><td><code>checked</code></td></tr><tr><td><code>selectedMapname</code></td><td>Selected map name</td><td><code>string</code></td><td><code>selected</code></td></tr><tr><td><code>expandedMapname</code></td><td>Expanded map name (Except leaf nodes)</td><td><code>string</code></td><td><code>expanded</code></td></tr><tr><td><code>disabledMapname</code></td><td>Disabled map name</td><td><code>string</code></td><td><code>disabled</code></td></tr><tr><td><code>cb</code></td><td>Callback event</td><td><code>(item: any, parent: any, deep: number) => void</code></td><td>-</td></tr></tbody></table><h2 id="visitTree">visitTree<a onclick="window.location.hash = \'visitTree\'" class="anchor">#</a></h2><p>Recursive access tree.</p><p><strong>options</strong></p><table><thead><tr><th>Property</th><th>Description</th><th>Type</th><th>Default</th></tr></thead><tbody><tr><td><code>childrenMapName</code></td><td>Children map name</td><td><code>string</code></td><td><code>children</code></td></tr></tbody></table><h2 id="getKeysByTreeNode">getKeysByTreeNode<a onclick="window.location.hash = \'getKeysByTreeNode\'" class="anchor">#</a></h2><p>Get all the selected <code>key</code> values.</p><p><strong>options</strong></p><table><thead><tr><th>Property</th><th>Description</th><th>Type</th><th>Default</th></tr></thead><tbody><tr><td><code>includeHalfChecked</code></td><td>Whether include half-checked</td><td><code>boolean</code></td><td><code>true</code></td></tr><tr><td><code>keyMapName</code></td><td>Whether re-specify <code>key</code> name</td><td><code>string</code></td><td>-</td></tr><tr><td><code>cb</code></td><td>Callback event, return <code>key</code> value</td><td><code>(item: NzTreeNode, parent: NzTreeNode, deep: number) => any</code></td><td>-</td></tr></tbody></table></article></section>',meta:{title:"array",subtitle:"Array",type:"Type"},toc:[{id:"treeToArr",title:"treeToArr",h:2},{id:"arrToTree",title:"arrToTree",h:2},{id:"arrToTreeNode",title:"arrToTreeNode",h:2},{id:"visitTree",title:"visitTree",h:2},{id:"getKeysByTreeNode",title:"getKeysByTreeNode",h:2}]},"zh-CN":{content:'<section class="markdown"><article><p><code>ArrayService</code> \u7528\u4e8e\u6570\u7ec4\u4e0e\u6811\u4e4b\u95f4\u7684\u8f6c\u5316\u3001\u8bbf\u95ee\u7b49\uff0c\u4e00\u822c\u914d\u5408 <code>nz-tree</code> \u4e00\u8d77\u4f7f\u7528\u3002</p><h2 id="treeToArr">treeToArr<a onclick="window.location.hash = \'treeToArr\'" class="anchor">#</a></h2><p>\u5c06\u6811\u7ed3\u6784\u8f6c\u6362\u6210\u6570\u7ec4\u7ed3\u6784\u3002</p><p><strong>options</strong></p><table><thead><tr><th>\u53c2\u6570</th><th>\u8bf4\u660e</th><th>\u7c7b\u578b</th><th>\u9ed8\u8ba4\u503c</th></tr></thead><tbody><tr><td><code>deepMapName</code></td><td>\u6df1\u5ea6\u9879\u540d</td><td><code>string</code></td><td><code>deep</code></td></tr><tr><td><code>parentMapName</code></td><td>\u6241\u5e73\u540e\u6570\u7ec4\u7684\u7236\u6570\u636e\u9879\u540d</td><td><code>string</code></td><td><code>parent</code></td></tr><tr><td><code>childrenMapName</code></td><td>\u6e90\u6570\u636e\u5b50\u9879\u540d</td><td><code>string</code></td><td><code>children</code></td></tr><tr><td><code>clearChildren</code></td><td>\u662f\u5426\u79fb\u9664 <code>children</code> \u8282\u70b9</td><td><code>boolean</code></td><td><code>true</code></td></tr><tr><td><code>cb</code></td><td>\u8f6c\u6362\u6210\u6570\u7ec4\u7ed3\u6784\u65f6\u56de\u8c03</td><td><code>(item: any, parent: any, deep: number) => void</code></td><td>-</td></tr></tbody></table><h2 id="arrToTree">arrToTree<a onclick="window.location.hash = \'arrToTree\'" class="anchor">#</a></h2><p>\u6570\u7ec4\u8f6c\u6362\u6210\u6811\u6570\u636e\u3002</p><blockquote><p>\u82e5 <code>parent_id</code> \u4e3a\u5b57\u7b26\u4e32\uff0c\u5219\u6839\u503c<strong>\u52a1\u5fc5</strong>\u4e3a\u7a7a\u5b57\u7b26\u4e32\u3002</p></blockquote><p><strong>options</strong></p><table><thead><tr><th>\u53c2\u6570</th><th>\u8bf4\u660e</th><th>\u7c7b\u578b</th><th>\u9ed8\u8ba4\u503c</th></tr></thead><tbody><tr><td><code>idMapName</code></td><td>\u7f16\u53f7\u9879\u540d</td><td><code>string</code></td><td><code>id</code></td></tr><tr><td><code>parentIdMapName</code></td><td>\u7236\u7f16\u53f7\u9879\u540d</td><td><code>string</code></td><td><code>parent_id</code></td></tr><tr><td><code>childrenMapName</code></td><td>\u5b50\u9879\u540d</td><td><code>string</code></td><td><code>children</code></td></tr><tr><td><code>cb</code></td><td>\u8f6c\u6362\u6210\u6811\u6570\u636e\u65f6\u56de\u8c03</td><td><code>(item: any) => void</code></td><td>-</td></tr></tbody></table><h2 id="arrToTreeNode">arrToTreeNode<a onclick="window.location.hash = \'arrToTreeNode\'" class="anchor">#</a></h2><p>\u6570\u7ec4\u8f6c\u6362\u6210 <code>nz-tree</code> \u6570\u636e\u6e90\uff0c\u901a\u8fc7 <code>options</code> \u8f6c\u5316\u9879\u540d\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528 <code>options.cb</code> \u66f4\u9ad8\u7ea7\u51b3\u5b9a\u6570\u636e\u9879\u3002</p><p><strong>options</strong></p><table><thead><tr><th>\u53c2\u6570</th><th>\u8bf4\u660e</th><th>\u7c7b\u578b</th><th>\u9ed8\u8ba4\u503c</th></tr></thead><tbody><tr><td><code>idMapName</code></td><td>\u7f16\u53f7\u9879\u540d</td><td><code>string</code></td><td><code>id</code></td></tr><tr><td><code>parentIdMapName</code></td><td>\u7236\u7f16\u53f7\u9879\u540d</td><td><code>string</code></td><td><code>parent_id</code></td></tr><tr><td><code>titleMapName</code></td><td>\u6807\u9898\u9879\u540d</td><td><code>string</code></td><td><code>title</code></td></tr><tr><td><code>isLeafMapName</code></td><td>\u662f\u5426\u53f6\u8282\u70b9\u9879\u540d\uff0c\u82e5\u6570\u636e\u6e90\u4e0d\u5b58\u5728\u65f6\u81ea\u52a8\u6839\u636e <code>children</code> \u503c\u51b3\u5b9a\u662f\u5426\u4e3a\u53f6\u5b50\u8282\u70b9</td><td><code>string</code></td><td><code>isLeaf</code></td></tr><tr><td><code>checkedMapname</code></td><td>\u8282\u70b9 Checkbox \u662f\u5426\u9009\u4e2d\u9879\u540d</td><td><code>string</code></td><td><code>checked</code></td></tr><tr><td><code>selectedMapname</code></td><td>\u8282\u70b9\u672c\u8eab\u662f\u5426\u9009\u4e2d\u9879\u540d</td><td><code>string</code></td><td><code>selected</code></td></tr><tr><td><code>expandedMapname</code></td><td>\u8282\u70b9\u662f\u5426\u5c55\u5f00(\u53f6\u5b50\u8282\u70b9\u65e0\u6548)\u9879\u540d</td><td><code>string</code></td><td><code>expanded</code></td></tr><tr><td><code>disabledMapname</code></td><td>\u8bbe\u7f6e\u662f\u5426\u7981\u7528\u8282\u70b9(\u4e0d\u53ef\u8fdb\u884c\u4efb\u4f55\u64cd\u4f5c)\u9879\u540d</td><td><code>string</code></td><td><code>disabled</code></td></tr><tr><td><code>cb</code></td><td>\u8f6c\u6362\u6210\u6570\u7ec4\u7ed3\u6784\u65f6\u56de\u8c03</td><td><code>(item: any, parent: any, deep: number) => void</code></td><td>-</td></tr></tbody></table><h2 id="visitTree">visitTree<a onclick="window.location.hash = \'visitTree\'" class="anchor">#</a></h2><p>\u9012\u5f52\u8bbf\u95ee\u6574\u4e2a\u6811\u3002</p><p><strong>options</strong></p><table><thead><tr><th>\u53c2\u6570</th><th>\u8bf4\u660e</th><th>\u7c7b\u578b</th><th>\u9ed8\u8ba4\u503c</th></tr></thead><tbody><tr><td><code>childrenMapName</code></td><td>\u5b50\u9879\u540d</td><td><code>string</code></td><td><code>children</code></td></tr></tbody></table><h2 id="getKeysByTreeNode">getKeysByTreeNode<a onclick="window.location.hash = \'getKeysByTreeNode\'" class="anchor">#</a></h2><p>\u83b7\u53d6\u6240\u6709\u5df2\u7ecf\u9009\u4e2d\u7684 <code>key</code> \u503c\u3002</p><p><strong>options</strong></p><table><thead><tr><th>\u53c2\u6570</th><th>\u8bf4\u660e</th><th>\u7c7b\u578b</th><th>\u9ed8\u8ba4\u503c</th></tr></thead><tbody><tr><td><code>includeHalfChecked</code></td><td>\u662f\u5426\u5305\u542b\u534a\u9009\u72b6\u6001\u7684\u503c</td><td><code>boolean</code></td><td><code>true</code></td></tr><tr><td><code>keyMapName</code></td><td>\u662f\u5426\u91cd\u65b0\u6307\u5b9a <code>key</code> \u952e\u540d\uff0c\u82e5\u4e0d\u6307\u5b9a\u8868\u793a\u4f7f\u7528 <code>NzTreeNode.key</code> \u503c</td><td><code>string</code></td><td>-</td></tr><tr><td><code>cb</code></td><td>\u56de\u8c03\uff0c\u8fd4\u56de\u4e00\u4e2a\u503c <code>key</code> \u503c\uff0c\u4f18\u5148\u7ea7\u9ad8\u4e8e\u5176\u4ed6</td><td><code>(item: NzTreeNode, parent: NzTreeNode, deep: number) => any</code></td><td>-</td></tr></tbody></table></article></section>',meta:{title:"array",subtitle:"\u6570\u7ec4",type:"Type"},toc:[{id:"treeToArr",title:"treeToArr",h:2},{id:"arrToTree",title:"arrToTree",h:2},{id:"arrToTreeNode",title:"arrToTreeNode",h:2},{id:"visitTree",title:"visitTree",h:2},{id:"getKeysByTreeNode",title:"getKeysByTreeNode",h:2}]}},demo:!1},this.codes=[]},i=function e(){_classCallCheck(this,e),this.item={cols:1,urls:{"en-US":"packages/util/src/lazy/index.en-US.md","zh-CN":"packages/util/src/lazy/index.zh-CN.md"},content:{"en-US":{content:'<section class="markdown"><article><p><code>LazyService</code> delay loading JS or CSS files.</p><pre class="hljs language-ts"><code>import { LazyService } from \'@delon/util\';\n\nexport class AppComponent {\n constructor(private lazy: LazyService) {}\n\n ngOnInit() {\n this.lazy.load([ `//cdn.bootcss.com/xlsx/0.11.17/xlsx.full.min.js` ]).then(() => {\n // do something\n });\n }\n}</code></pre></article></section>',meta:{title:"lazy",subtitle:"Lazy load",type:"Type"},toc:[]},"zh-CN":{content:'<section class="markdown"><article><p><code>LazyService</code> \u7528\u4e8e\u5ef6\u8fdf\u52a0\u8f7d JS \u6216 CSS \u6587\u4ef6\uff0c\u5bf9\u4e8e\u65e0\u987b\u88ab\u6253\u5305 script.js \u4e14\u53c8\u662f\u7b2c\u4e09\u65b9\u7c7b\u5e93\u6bd4\u8f83\u5927\u65f6\uff0c\u975e\u5e38\u6709\u7528\uff0c\u4e00\u4e2a\u7b80\u5355\u7684\u7528\u6cd5\uff0c\u4f8b\u5982\uff1a</p><pre class="hljs language-ts"><code>import { LazyService } from \'@delon/util\';\n\nexport class AppComponent {\n constructor(private lazy: LazyService) {}\n\n ngOnInit() {\n this.lazy.load([ `//cdn.bootcss.com/xlsx/0.11.17/xlsx.full.min.js` ]).then(() => {\n // do something\n });\n }\n}</code></pre></article></section>',meta:{title:"lazy",subtitle:"\u5ef6\u8fdf\u52a0\u8f7d",type:"Type"},toc:[]}},demo:!1},this.codes=[]},r=function e(){_classCallCheck(this,e),this.item={cols:1,urls:{"en-US":"packages/util/src/other/index.en-US.md","zh-CN":"packages/util/src/other/index.zh-CN.md"},content:{"en-US":{content:'<section class="markdown"><article><h2 id="isEmpty">isEmpty<a onclick="window.location.hash = \'isEmpty\'" class="anchor">#</a></h2><p>Used to verify <code><ng-content></ng-content></code> is empty, useful for custom components.</p><h2 id="toBoolean">toBoolean<a onclick="window.location.hash = \'toBoolean\'" class="anchor">#</a></h2><p>Convert to <code>boolean</code>.</p><h2 id="toNumber">toNumber<a onclick="window.location.hash = \'toNumber\'" class="anchor">#</a></h2><p>Convert to <code>number</code>.</p><h2 id="deepGet">deepGet<a onclick="window.location.hash = \'deepGet\'" class="anchor">#</a></h2><p>Gets the value at <code>path</code> of <code>object</code>, like <code>_.get</code> in lodash.</p><pre class="hljs language-ts"><code>const obj = {\n id: 1,\n user: {\n name: \'cipchk\',\n age: 18\n }\n};\n\ndeepGet(obj, \'id\'); // 1\ndeepGet(obj, \'user.age\'); // 18</code></pre><h2 id="deepCopy">deepCopy<a onclick="window.location.hash = \'deepCopy\'" class="anchor">#</a></h2><p>Base on <a target="_blank" href="https://github.com/justmoon/node-extend" data-url="https://github.com/justmoon/node-extend">extend</a> deep copy.</p><pre class="hljs language-ts"><code>const source = { a: 1, user: { name: \'cipchk\' } };\nconst obj = deepCopy(source);</code></pre><h2 id="deepMerge">deepMerge<a onclick="window.location.hash = \'deepMerge\'" class="anchor">#</a></h2><p>Deep merge object.</p><pre class="hljs language-ts"><code>let original = { a: 1, b: { c: \'c\' } };\ndeepMerge(original, { b: { d: \'d\' }, arr: [ 1 ] });\n// output: { a: 1, b: { c: \'c\', d: \'d\' }, arr: [ 1 ] }</code></pre><h2 id="copy">copy<a onclick="window.location.hash = \'copy\'" class="anchor">#</a></h2><p>Copy text to clipboard.</p><h2 id="updateHostClass">updateHostClass<a onclick="window.location.hash = \'updateHostClass\'" class="anchor">#</a></h2><p>Update host component style <code>class</code>, for example:</p><pre class="hljs language-ts"><code>updateHostClass(\n this.el.nativeElement,\n this.renderer,\n {\n [ \'classname\' ]: true,\n [ \'classname\' ]: this.type === \'1\',\n [ this.cls ]: true,\n [ `a-${this.cls}` ]: true\n }\n)</code></pre></article></section>',meta:{title:"other",subtitle:"Other",type:"Type"},toc:[{id:"isEmpty",title:"isEmpty",h:2},{id:"toBoolean",title:"toBoolean",h:2},{id:"toNumber",title:"toNumber",h:2},{id:"deepGet",title:"deepGet",h:2},{id:"deepCopy",title:"deepCopy",h:2},{id:"deepMerge",title:"deepMerge",h:2},{id:"copy",title:"copy",h:2},{id:"updateHostClass",title:"updateHostClass",h:2}]},"zh-CN":{content:'<section class="markdown"><article><h2 id="isEmpty">isEmpty<a onclick="window.location.hash = \'isEmpty\'" class="anchor">#</a></h2><p>\u7528\u4e8e\u6821\u9a8c <code><ng-content></ng-content></code> \u662f\u5426\u4e3a\u7a7a\uff0c\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u65f6\u86ee\u6709\u7528\u3002</p><h2 id="toBoolean">toBoolean<a onclick="window.location.hash = \'toBoolean\'" class="anchor">#</a></h2><p>\u8f6c\u6362 <code>boolean</code> \u5c5e\u6027</p><h2 id="toNumber">toNumber<a onclick="window.location.hash = \'toNumber\'" class="anchor">#</a></h2><p>\u8f6c\u6362 <code>number</code> \u5c5e\u6027</p><h2 id="deepGet">deepGet<a onclick="window.location.hash = \'deepGet\'" class="anchor">#</a></h2><p>\u7c7b\u4f3c <code>_.get</code>\uff0c\u6839\u636e <code>path</code> \u83b7\u53d6\u5b89\u5168\u503c\u3002</p><pre class="hljs language-ts"><code>const obj = {\n id: 1,\n user: {\n name: \'cipchk\',\n age: 18\n }\n};\n\ndeepGet(obj, \'id\'); // 1\ndeepGet(obj, \'user.age\'); // 18</code></pre><h2 id="deepCopy">deepCopy<a onclick="window.location.hash = \'deepCopy\'" class="anchor">#</a></h2><p>\u57fa\u4e8e <a target="_blank" href="https://github.com/justmoon/node-extend" data-url="https://github.com/justmoon/node-extend">extend</a> \u7684\u6df1\u5ea6\u62f7\u8d1d\u3002</p><pre class="hljs language-ts"><code>const source = { a: 1, user: { name: \'cipchk\' } };\nconst obj = deepCopy(source);</code></pre><h2 id="deepMerge">deepMerge<a onclick="window.location.hash = \'deepMerge\'" class="anchor">#</a></h2><p>\u6df1\u5ea6\u5408\u5e76\u3002</p><pre class="hljs language-ts"><code>let original = { a: 1, b: { c: \'c\' } };\ndeepMerge(original, { b: { d: \'d\' }, arr: [ 1 ] });\n// output: { a: 1, b: { c: \'c\', d: \'d\' }, arr: [ 1 ] }</code></pre><h2 id="copy">copy<a onclick="window.location.hash = \'copy\'" class="anchor">#</a></h2><p>\u590d\u5236\u5b57\u7b26\u4e32\u6587\u6863\u81f3\u526a\u8d34\u677f\u3002</p><h2 id="updateHostClass">updateHostClass<a onclick="window.location.hash = \'updateHostClass\'" class="anchor">#</a></h2><p>\u66f4\u65b0\u5bbf\u4e3b\u7ec4\u4ef6\u6837\u5f0f <code>class</code>\uff0c\u4f8b\u5982\uff1a</p><pre class="hljs language-ts"><code>updateHostClass(\n this.el.nativeElement,\n this.renderer,\n {\n [ \'classname\' ]: true,\n [ \'classname\' ]: this.type === \'1\',\n [ this.cls ]: true,\n [ `a-${this.cls}` ]: true\n }\n)</code></pre></article></section>',meta:{title:"other",subtitle:"\u5176\u4ed6",type:"Type"},toc:[{id:"isEmpty",title:"isEmpty",h:2},{id:"toBoolean",title:"toBoolean",h:2},{id:"toNumber",title:"toNumber",h:2},{id:"deepGet",title:"deepGet",h:2},{id:"deepCopy",title:"deepCopy",h:2},{id:"deepMerge",title:"deepMerge",h:2},{id:"copy",title:"copy",h:2},{id:"updateHostClass",title:"updateHostClass",h:2}]}},demo:!1},this.codes=[]},s=function e(){_classCallCheck(this,e),this.item={cols:1,urls:{"en-US":"packages/util/src/string/index.en-US.md","zh-CN":"packages/util/src/string/index.zh-CN.md"},content:{"en-US":{content:"<section class=\"markdown\"><article><h2 id=\"format\">format<a onclick=\"window.location.hash = 'format'\" class=\"anchor\">#</a></h2><p>String formatting.</p><pre class=\"hljs language-ts\"><code>format('this is ${name}', { name: 'asdf' })\n// output: this is asdf\nformat('this is ${user.name}', { user: { name: 'asdf' } }, true)\n// output: this is asdf</code></pre><p><strong>Parameters</strong></p><ul><li><p><code>str: string</code> Template</p></li><li><p><code>obj: {}</code> Data Object</p></li><li><p><code>needDeepGet = false</code> Whether deep get item, like this: <code>${user.address.city}</code>.</p></li></ul></article></section>",meta:{title:"string",subtitle:"String",type:"Type"},toc:[{id:"format",title:"format",h:2}]},"zh-CN":{content:"<section class=\"markdown\"><article><h2 id=\"format\">format<a onclick=\"window.location.hash = 'format'\" class=\"anchor\">#</a></h2><p>\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u3002</p><pre class=\"hljs language-ts\"><code>format('this is ${name}', { name: 'asdf' })\n// output: this is asdf\nformat('this is ${user.name}', { user: { name: 'asdf' } }, true)\n// output: this is asdf</code></pre><p><strong>\u53c2\u6570</strong></p><ul><li><p><code>str: string</code> \u6a21\u677f</p></li><li><p><code>obj: {}</code> \u6570\u636e\u5bf9\u8c61</p></li><li><p><code>needDeepGet = false</code> \u662f\u5426\u9700\u8981\u6df1\u5ea6\u83b7\u53d6\uff0c\u652f\u6301 <code>${user.address.city}</code> \u5199\u6cd5\u3002</p></li></ul></article></section>",meta:{title:"string",subtitle:"\u5b57\u7b26\u4e32",type:"Type"},toc:[{id:"format",title:"format",h:2}]}},demo:!1},this.codes=[]},p=function e(){_classCallCheck(this,e),this.item={cols:1,urls:{"en-US":"packages/util/src/time/index.en-US.md","zh-CN":"packages/util/src/time/index.zh-CN.md"},content:{"en-US":{content:'<section class="markdown"><article><h2 id="getTimeDistance">getTimeDistance<a onclick="window.location.hash = \'getTimeDistance\'" class="anchor">#</a></h2><p>Get the time range, return <code>[ Date, Date]</code> for the start and end dates, for example: Get this week time:</p><pre class="hljs language-ts"><code>getTimeDistance(\'week\')</code></pre><p><strong>Parameters</strong></p><ul><li><p><code>type</code> Shortcut type, with <code>-</code> for last time, if specified <code>number</code> type for days</p><ul><li><p><code>today</code>, <code>-today</code> Today or yesterday</p></li><li><p><code>week</code>, <code>-week</code> This week or last week</p></li><li><p><code>month</code>, <code>-month</code> This month or last month</p></li><li><p><code>year</code>, <code>-year</code> This year or last year</p></li></ul></li><li><p><code>time</code> Specify start time, default is <code>now</code></p></li></ul></article></section>',meta:{title:"time",subtitle:"Date-Time",type:"Type"},toc:[{id:"getTimeDistance",title:"getTimeDistance",h:2}]},"zh-CN":{content:'<section class="markdown"><article><h2 id="getTimeDistance">getTimeDistance<a onclick="window.location.hash = \'getTimeDistance\'" class="anchor">#</a></h2><p>\u83b7\u53d6\u65f6\u95f4\u8303\u56f4\uff0c\u8fd4\u56de <code>[ Date, Date]</code> \u8868\u793a\u5f00\u59cb\u4e0e\u7ed3\u675f\u65e5\u671f\uff0c\u4f8b\u5982\uff1a\u83b7\u53d6\u672c\u5468\u65f6\u95f4\uff1a</p><pre class="hljs language-ts"><code>getTimeDistance(\'week\')</code></pre><p><strong>\u53c2\u6570</strong></p><ul><li><p><code>type</code> \u5feb\u6377\u7c7b\u578b\uff0c\u5e26 <code>-</code> \u8868\u793a\u8fc7\u53bb\u4e00\u4e2a\u65f6\u95f4\uff0c\u82e5\u6307\u5b9a <code>number</code> \u8868\u793a\u5929\u6570</p><ul><li><p><code>today</code>\u3001<code>-today</code> \u4eca\u5929\u6216\u6628\u5929</p></li><li><p><code>week</code>\u3001<code>-week</code> \u672c\u5468\u6216\u4e0a\u5468</p></li><li><p><code>month</code>\u3001<code>-month</code> \u672c\u5468\u6216\u4e0a\u6708</p></li><li><p><code>year</code>\u3001<code>-year</code> \u4eca\u5e74\u6216\u53bb\u5e74</p></li></ul></li><li><p><code>time</code> \u6307\u5b9a\u5f00\u59cb\u65f6\u95f4\uff0c\u9ed8\u8ba4\u4e3a\uff1a<code>now</code></p></li></ul></article></section>',meta:{title:"time",subtitle:"\u65e5\u671f",type:"Type"},toc:[{id:"getTimeDistance",title:"getTimeDistance",h:2}]}},demo:!1},this.codes=[]},h=function e(){_classCallCheck(this,e),this.item={cols:1,urls:{"en-US":"packages/util/src/validate/index.en-US.md","zh-CN":"packages/util/src/validate/index.zh-CN.md"},content:{"en-US":{content:'<section class="markdown"></section>',api:'<h2 id="API">API<a onclick="window.location.hash = \'API\'" class="anchor">#</a></h2><table><thead><tr><th>Method</th><th>Description</th></tr></thead><tbody><tr><td><code>isNum</code></td><td>Whether number</td></tr><tr><td><code>isInt</code></td><td>Whether integer</td></tr><tr><td><code>isDecimal</code></td><td>Whether decimal</td></tr><tr><td><code>isIdCard</code></td><td>Whether IDCard(Chinese User)</td></tr><tr><td><code>isMobile</code></td><td>Whether mobile(Chinese User)</td></tr><tr><td><code>isUrl</code></td><td>Whether URL Address</td></tr></tbody></table><p>Every method has a corresponding form validation:</p><pre class="hljs language-ts"><code>this.valForm = fb.group({\n // is mobile\n mobile: [null, Validators.compose([Validators.required, _Validators.mobile])]\n});</code></pre>',meta:{title:"Validate",type:"Type"},toc:[{id:"API",title:"API",h:2}]},"zh-CN":{content:'<section class="markdown"></section>',api:'<h2 id="API">API<a onclick="window.location.hash = \'API\'" class="anchor">#</a></h2><table><thead><tr><th>\u65b9\u6cd5\u540d</th><th>\u8bf4\u660e</th></tr></thead><tbody><tr><td><code>isNum</code></td><td>\u662f\u5426\u4e3a\u6570\u5b57</td></tr><tr><td><code>isInt</code></td><td>\u662f\u5426\u4e3a\u6574\u6570</td></tr><tr><td><code>isDecimal</code></td><td>\u662f\u5426\u4e3a\u5c0f\u6570</td></tr><tr><td><code>isIdCard</code></td><td>\u662f\u5426\u4e3a\u8eab\u4efd\u8bc1</td></tr><tr><td><code>isMobile</code></td><td>\u662f\u5426\u4e3a\u624b\u673a\u53f7</td></tr><tr><td><code>isUrl</code></td><td>\u662f\u5426URL\u5730\u5740</td></tr></tbody></table><p>\u6bcf\u4e00\u4e2a\u9a8c\u8bc1\u578b\u90fd\u5305\u62ec\u7740\u7528\u4e8e\u8868\u5355\u9a8c\u8bc1\u5668\uff1a</p><pre class="hljs language-ts"><code>this.valForm = fb.group({\n // \u624b\u673a\u53f7\n mobile: [null, Validators.compose([Validators.required, _Validators.mobile])]\n});</code></pre>',meta:{title:"\u6821\u9a8c",type:"Type"},toc:[{id:"API",title:"API",h:2}]}},demo:!1},this.codes=[]},u=function e(){_classCallCheck(this,e)},b=o("pMnS"),m=o("EdU/"),g=o("/Yna"),y=o("JRKe"),G=o("Ed4d"),f=o("8WaK"),T=o("QfCi"),k=o("CghO"),w=o("Sq/J"),C=o("GYi0"),v=o("EXx9"),N=o("R6D3"),M=o("WP5L"),D=o("71F0"),z=o("fE+l"),S=o("0RMT"),U=o("QcbP"),j=o("0D9X"),x=o("SpJI"),P=o("hBP+"),I=o("QPFe"),A=o("RdGh"),O=o("D9vs"),B=o("DyZ0"),E=o("TY3c"),_=o("u+Cy"),F=o("8+8K"),H=o("YVZs"),R=o("F/j7"),q=o("/EOF"),V=o("ZKYL"),W=o("SZk1"),Y=o("5eO6"),K=o("9BMt"),L=o("kRch"),J=o("QkPN"),Q=o("vBNu"),Z=o("Z7t+"),X=o("II6v"),$=o("MRB6"),ee=o("uU7u"),te=o("iInd"),oe=o("cUpR"),de=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function ae(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-docs",[],null,null,null,Z.b,Z.a)),d.vb(1,245760,null,0,X.a,[$.a,ee.a,te.p,oe.b],{codes:[0,"codes"],item:[1,"item"]},null)],(function(e,t){var o=t.component;e(t,1,0,o.codes,o.item)}),null)}var ne=d.sb("app-util-getting-started",n,(function(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-getting-started",[],null,null,null,ae,de)),d.vb(1,49152,null,0,n,[],null,null)],null,null)}),{},{},[]),ce=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function le(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-docs",[],null,null,null,Z.b,Z.a)),d.vb(1,245760,null,0,X.a,[$.a,ee.a,te.p,oe.b],{codes:[0,"codes"],item:[1,"item"]},null)],(function(e,t){var o=t.component;e(t,1,0,o.codes,o.item)}),null)}var ie=d.sb("app-util-addon",c,(function(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-addon",[],null,null,null,le,ce)),d.vb(1,49152,null,0,c,[],null,null)],null,null)}),{},{},[]),re=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function se(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-docs",[],null,null,null,Z.b,Z.a)),d.vb(1,245760,null,0,X.a,[$.a,ee.a,te.p,oe.b],{codes:[0,"codes"],item:[1,"item"]},null)],(function(e,t){var o=t.component;e(t,1,0,o.codes,o.item)}),null)}var pe=d.sb("app-util-array",l,(function(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-array",[],null,null,null,se,re)),d.vb(1,49152,null,0,l,[],null,null)],null,null)}),{},{},[]),he=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function ue(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-docs",[],null,null,null,Z.b,Z.a)),d.vb(1,245760,null,0,X.a,[$.a,ee.a,te.p,oe.b],{codes:[0,"codes"],item:[1,"item"]},null)],(function(e,t){var o=t.component;e(t,1,0,o.codes,o.item)}),null)}var be=d.sb("app-util-lazy",i,(function(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-lazy",[],null,null,null,ue,he)),d.vb(1,49152,null,0,i,[],null,null)],null,null)}),{},{},[]),me=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function ge(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-docs",[],null,null,null,Z.b,Z.a)),d.vb(1,245760,null,0,X.a,[$.a,ee.a,te.p,oe.b],{codes:[0,"codes"],item:[1,"item"]},null)],(function(e,t){var o=t.component;e(t,1,0,o.codes,o.item)}),null)}var ye=d.sb("app-util-other",r,(function(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-other",[],null,null,null,ge,me)),d.vb(1,49152,null,0,r,[],null,null)],null,null)}),{},{},[]),Ge=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function fe(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-docs",[],null,null,null,Z.b,Z.a)),d.vb(1,245760,null,0,X.a,[$.a,ee.a,te.p,oe.b],{codes:[0,"codes"],item:[1,"item"]},null)],(function(e,t){var o=t.component;e(t,1,0,o.codes,o.item)}),null)}var Te=d.sb("app-util-string",s,(function(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-string",[],null,null,null,fe,Ge)),d.vb(1,49152,null,0,s,[],null,null)],null,null)}),{},{},[]),ke=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function we(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-docs",[],null,null,null,Z.b,Z.a)),d.vb(1,245760,null,0,X.a,[$.a,ee.a,te.p,oe.b],{codes:[0,"codes"],item:[1,"item"]},null)],(function(e,t){var o=t.component;e(t,1,0,o.codes,o.item)}),null)}var Ce=d.sb("app-util-time",p,(function(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-time",[],null,null,null,we,ke)),d.vb(1,49152,null,0,p,[],null,null)],null,null)}),{},{},[]),ve=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function Ne(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-docs",[],null,null,null,Z.b,Z.a)),d.vb(1,245760,null,0,X.a,[$.a,ee.a,te.p,oe.b],{codes:[0,"codes"],item:[1,"item"]},null)],(function(e,t){var o=t.component;e(t,1,0,o.codes,o.item)}),null)}var Me=d.sb("app-util-validate",h,(function(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-validate",[],null,null,null,Ne,ve)),d.vb(1,49152,null,0,h,[],null,null)],null,null)}),{},{},[]),De=o("SVse"),ze=o("s7LF"),Se=o("5VGP"),Ue=o("QQfA"),je=o("IP0z"),xe=o("POq0"),Pe=o("sAdM"),Ie=o("ekcc"),Ae=o("pQl/"),Oe=o("g+Fz"),Be=o("Ybye"),Ee=o("NFMk"),_e=o("10Ig"),Fe=o("iC8E"),He=o("/HVE"),Re=o("v1Dh"),qe=o("66zS"),Ve=o("5Izy"),We=o("yTpB"),Ye=o("zMNK"),Ke=o("hOhj"),Le=o("r19J"),Je=o("anqq"),Qe=o("IYs4"),Ze=o("EcpC"),Xe=o("GaVp"),$e=o("/L1H"),et=o("phDe"),tt=o("rJp6"),ot=o("Rgb0"),dt=o("kS4m"),at=o("mW00"),nt=o("jTf7"),ct=o("WPSl"),lt=o("YdS3"),it=o("wQFA"),rt=o("px0D"),st=o("3ZFI"),pt=o("CYS+"),ht=o("oBm0"),ut=o("A7zk"),bt=o("YRt3"),mt=o("lAiz"),gt=o("ce6n"),yt=o("SBNi"),Gt=o("7QIX"),ft=o("tYkK"),Tt=o("wf2+"),kt=o("eCGT"),wt=o("nHXS"),Ct=o("fb/r"),vt=o("zTFG"),Nt=o("JK0T"),Mt=o("JXeA"),Dt=o("0CZq"),zt=o("qU0y"),St=o("vZsH"),Ut=o("W4B1"),jt=o("SHEi"),xt=o("FPpa"),Pt=o("RVNi"),It=o("NDed"),At=o("5A4h"),Ot=o("N2O2"),Bt=o("ozKM"),Et=o("OvZZ"),_t=o("z+yo"),Ft=o("DQmg"),Ht=o("haRT"),Rt=o("1+nf"),qt=o("XFzh"),Vt=o("p+Sl"),Wt=o("HhpN"),Yt=o("SN7N"),Kt=o("fwnu"),Lt=o("VbP7"),Jt=o("gaRz"),Qt=o("e15G"),Zt=o("+YBk"),Xt=o("9J0+"),$t=o("vIiB"),eo=o("CGSU"),to=o("5CFV"),oo=o("GTZx"),ao=o("hS58"),no=o("+ndR"),co=o("EWQH"),lo=o("aq9g"),io=o("7Dpl"),ro=o("ekmu"),so=o("vjj7"),po=o("l/Xz"),ho=o("sRo1"),uo=o("BQzg"),bo=o("YQXl"),mo=o("dZIx"),go=o("9bzR"),yo=o("WNQ9"),Go=o("5Oon"),fo=o("lM9c"),To=o("OSVY"),ko=o("MNSj"),wo=o("MZBU"),Co=o("ev4S"),vo=o("G1y0"),No=o("5sGc"),Mo=o("4/RT"),Do=o("Q1qs"),zo=o("k5cy"),So=o("ceoF"),Uo=o("gQlp"),jo=o("XYAa"),xo=o("vrge"),Po=o("nMAq"),Io=o("5PV9"),Ao=o("nIn3"),Oo=o("xo13"),Bo=o("CnVV"),Eo=o("5p8d"),_o=o("qYUw"),Fo=o("JpOc"),Ho=o("VRoF"),Ro=o("Uto7"),qo=o("/p+U"),Vo=o("ye40"),Wo=o("qcxY"),Yo=o("T+Em"),Ko=o("ucmY"),Lo=o("sbFH"),Jo=o("76lH"),Qo=o("TSSN"),Zo=o("Fg/6"),Xo=o("kzz5"),$o=o("SqF5"),ed=o("Wl7g"),td=o("+TYD"),od=o("PCNd");o.d(t,"UtilModuleNgFactory",(function(){return dd}));var dd=d.tb(u,[],(function(e){return d.Fb([d.Gb(512,d.j,d.db,[[8,[b.a,m.a,m.b,g.a,y.a,G.a,f.a,T.a,k.a,w.a,C.a,v.a,N.a,M.a,D.a,z.a,S.a,U.a,j.a,x.a,P.a,I.a,A.a,O.a,B.a,E.a,_.a,F.a,H.a,R.a,q.a,V.a,W.a,Y.a,K.a,L.a,J.a,Q.a,ne,ie,pe,be,ye,Te,Ce,Me]],[3,d.j],d.w]),d.Gb(4608,De.p,De.o,[d.t,[2,De.K]]),d.Gb(4608,ze.x,ze.x,[]),d.Gb(4608,ze.e,ze.e,[]),d.Gb(5120,Se.z,Se.M,[De.e,[3,Se.z]]),d.Gb(4608,Ue.d,Ue.d,[Ue.k,Ue.f,d.j,Ue.i,Ue.g,d.q,d.y,De.e,je.b,[2,De.j]]),d.Gb(5120,Ue.l,Ue.m,[Ue.d]),d.Gb(4608,xe.c,xe.c,[]),d.Gb(5120,Pe.b,Pe.a,[[3,Pe.b],Ie.a]),d.Gb(4608,Ae.d,Ae.d,[d.y]),d.Gb(4608,Oe.d,Oe.d,[De.e]),d.Gb(4608,Be.a,Be.a,[Ee.g]),d.Gb(4608,_e.a,_e.a,[Fe.d]),d.Gb(1073742336,De.c,De.c,[]),d.Gb(1073742336,ze.w,ze.w,[]),d.Gb(1073742336,ze.j,ze.j,[]),d.Gb(1073742336,te.t,te.t,[[2,te.y],[2,te.p]]),d.Gb(1073742336,ze.t,ze.t,[]),d.Gb(1073742336,He.b,He.b,[]),d.Gb(1073742336,Re.b,Re.b,[]),d.Gb(1073742336,qe.b,qe.b,[]),d.Gb(1073742336,Se.j,Se.j,[]),d.Gb(1073742336,Ve.b,Ve.b,[]),d.Gb(1073742336,We.a,We.a,[]),d.Gb(1073742336,je.a,je.a,[]),d.Gb(1073742336,Ye.e,Ye.e,[]),d.Gb(1073742336,Ke.g,Ke.g,[]),d.Gb(1073742336,Ue.h,Ue.h,[]),d.Gb(1073742336,Se.w,Se.w,[]),d.Gb(1073742336,Le.b,Le.b,[]),d.Gb(1073742336,Je.b,Je.b,[]),d.Gb(1073742336,Qe.b,Qe.b,[]),d.Gb(1073742336,xe.d,xe.d,[]),d.Gb(1073742336,Ze.b,Ze.b,[]),d.Gb(1073742336,Se.J,Se.J,[]),d.Gb(1073742336,Xe.c,Xe.c,[]),d.Gb(1073742336,Se.x,Se.x,[]),d.Gb(1073742336,$e.e,$e.e,[]),d.Gb(1073742336,et.i,et.i,[]),d.Gb(1073742336,et.a,et.a,[]),d.Gb(1073742336,et.f,et.f,[]),d.Gb(1073742336,tt.c,tt.c,[]),d.Gb(1073742336,ot.b,ot.b,[]),d.Gb(1073742336,dt.d,dt.d,[]),d.Gb(1073742336,at.c,at.c,[]),d.Gb(1073742336,nt.h,nt.h,[]),d.Gb(1073742336,ct.f,ct.f,[]),d.Gb(1073742336,lt.d,lt.d,[]),d.Gb(1073742336,it.d,it.d,[]),d.Gb(1073742336,Se.s,Se.s,[]),d.Gb(1073742336,rt.d,rt.d,[]),d.Gb(1073742336,st.b,st.b,[]),d.Gb(1073742336,pt.c,pt.c,[]),d.Gb(1073742336,ht.a,ht.a,[]),d.Gb(1073742336,ut.a,ut.a,[]),d.Gb(1073742336,bt.b,bt.b,[]),d.Gb(1073742336,mt.g,mt.g,[]),d.Gb(1073742336,mt.b,mt.b,[]),d.Gb(1073742336,gt.a,gt.a,[]),d.Gb(1073742336,yt.b,yt.b,[]),d.Gb(1073742336,Fe.e,Fe.e,[]),d.Gb(1073742336,Fe.b,Fe.b,[]),d.Gb(1073742336,Gt.b,Gt.b,[]),d.Gb(1073742336,ft.b,ft.b,[]),d.Gb(1073742336,Tt.g,Tt.g,[]),d.Gb(1073742336,kt.b,kt.b,[]),d.Gb(1073742336,wt.a,wt.a,[]),d.Gb(1073742336,Ct.b,Ct.b,[]),d.Gb(1073742336,vt.d,vt.d,[]),d.Gb(1073742336,Nt.b,Nt.b,[]),d.Gb(1073742336,Mt.h,Mt.h,[]),d.Gb(1073742336,Mt.f,Mt.f,[]),d.Gb(1073742336,Se.y,Se.y,[]),d.Gb(1073742336,Ee.h,Ee.h,[]),d.Gb(1073742336,Ee.d,Ee.d,[]),d.Gb(1073742336,Ee.e,Ee.e,[]),d.Gb(1073742336,Dt.f,Dt.f,[]),d.Gb(1073742336,Dt.e,Dt.e,[]),d.Gb(1073742336,zt.a,zt.a,[]),d.Gb(1073742336,St.b,St.b,[]),d.Gb(1073742336,Ut.b,Ut.b,[]),d.Gb(1073742336,jt.c,jt.c,[]),d.Gb(1073742336,xt.c,xt.c,[]),d.Gb(1073742336,Pt.b,Pt.b,[]),d.Gb(1073742336,It.c,It.c,[]),d.Gb(1073742336,At.a,At.a,[]),d.Gb(1073742336,Ot.b,Ot.b,[]),d.Gb(1073742336,Bt.d,Bt.d,[]),d.Gb(1073742336,Et.a,Et.a,[]),d.Gb(1073742336,_t.c,_t.c,[]),d.Gb(1073742336,Ft.b,Ft.b,[]),d.Gb(1073742336,Ht.b,Ht.b,[]),d.Gb(1073742336,Rt.f,Rt.f,[]),d.Gb(1073742336,qt.b,qt.b,[]),d.Gb(1073742336,Vt.a,Vt.a,[]),d.Gb(1073742336,Se.D,Se.D,[]),d.Gb(1073742336,Wt.c,Wt.c,[]),d.Gb(1073742336,Yt.b,Yt.b,[]),d.Gb(1073742336,Kt.b,Kt.b,[]),d.Gb(1073742336,Se.o,Se.o,[]),d.Gb(1073742336,Lt.a,Lt.a,[]),d.Gb(1073742336,Jt.d,Jt.d,[]),d.Gb(1073742336,Qt.a,Qt.a,[]),d.Gb(1073742336,Zt.a,Zt.a,[]),d.Gb(1073742336,Xt.a,Xt.a,[qe.c]),d.Gb(1073742336,$t.a,$t.a,[]),d.Gb(1073742336,eo.a,eo.a,[]),d.Gb(1073742336,to.a,to.a,[]),d.Gb(1073742336,oo.a,oo.a,[]),d.Gb(1073742336,ao.a,ao.a,[]),d.Gb(1073742336,no.a,no.a,[]),d.Gb(1073742336,co.a,co.a,[]),d.Gb(1073742336,lo.a,lo.a,[]),d.Gb(1073742336,io.a,io.a,[]),d.Gb(1073742336,ro.a,ro.a,[]),d.Gb(1073742336,so.a,so.a,[]),d.Gb(1073742336,po.a,po.a,[]),d.Gb(1073742336,ho.a,ho.a,[]),d.Gb(1073742336,uo.a,uo.a,[]),d.Gb(1073742336,Ae.c,Ae.c,[]),d.Gb(1073742336,bo.a,bo.a,[]),d.Gb(1073742336,mo.a,mo.a,[]),d.Gb(1073742336,go.a,go.a,[]),d.Gb(1073742336,yo.a,yo.a,[]),d.Gb(1073742336,Go.a,Go.a,[]),d.Gb(1073742336,fo.a,fo.a,[]),d.Gb(1073742336,To.a,To.a,[]),d.Gb(1073742336,ko.a,ko.a,[]),d.Gb(1073742336,wo.a,wo.a,[]),d.Gb(1073742336,Co.a,Co.a,[]),d.Gb(1073742336,vo.a,vo.a,[]),d.Gb(1073742336,No.a,No.a,[]),d.Gb(1073742336,Mo.a,Mo.a,[]),d.Gb(1073742336,Do.a,Do.a,[]),d.Gb(1073742336,zo.a,zo.a,[]),d.Gb(1073742336,So.a,So.a,[]),d.Gb(1073742336,Uo.a,Uo.a,[]),d.Gb(1073742336,jo.a,jo.a,[]),d.Gb(1073742336,xo.a,xo.a,[]),d.Gb(1073742336,Po.a,Po.a,[]),d.Gb(1073742336,Io.a,Io.a,[]),d.Gb(1073742336,Ao.a,Ao.a,[]),d.Gb(1073742336,Oo.a,Oo.a,[]),d.Gb(1073742336,Bo.a,Bo.a,[]),d.Gb(1073742336,Eo.a,Eo.a,[]),d.Gb(1073742336,_o.a,_o.a,[]),d.Gb(1073742336,Fo.a,Fo.a,[]),d.Gb(1073742336,Ho.a,Ho.a,[]),d.Gb(1073742336,Ro.a,Ro.a,[]),d.Gb(1073742336,qo.a,qo.a,[]),d.Gb(1073742336,Vo.a,Vo.a,[]),d.Gb(1073742336,Wo.a,Wo.a,[]),d.Gb(1073742336,Yo.a,Yo.a,[]),d.Gb(1073742336,Ko.a,Ko.a,[]),d.Gb(1073742336,Lo.a,Lo.a,[]),d.Gb(1073742336,Jo.a,Jo.a,[]),d.Gb(1073742336,Qo.h,Qo.h,[]),d.Gb(1073742336,Zo.b,Zo.b,[]),d.Gb(1073742336,Xo.a,Xo.a,[]),d.Gb(1073742336,Oe.c,Oe.c,[]),d.Gb(1073742336,$o.c,$o.c,[]),d.Gb(1073742336,ed.d,ed.d,[]),d.Gb(1073742336,ed.h,ed.h,[]),d.Gb(1073742336,ed.b,ed.b,[]),d.Gb(1073742336,ed.j,ed.j,[]),d.Gb(1073742336,ed.l,ed.l,[]),d.Gb(1073742336,ed.p,ed.p,[]),d.Gb(1073742336,ed.t,ed.t,[]),d.Gb(1073742336,td.a,td.a,[]),d.Gb(1073742336,od.a,od.a,[]),d.Gb(1073742336,u,u,[]),d.Gb(256,Mt.b,{nzAnimate:!0,nzDuration:3e3,nzMaxStack:7,nzPauseOnHover:!0,nzTop:24},[]),d.Gb(256,Dt.b,{nzTop:"24px",nzBottom:"24px",nzPlacement:"topRight",nzDuration:4500,nzMaxStack:7,nzPauseOnHover:!0,nzAnimate:!0},[]),d.Gb(256,Ie.a,Zt.b,[]),d.Gb(1024,te.n,(function(){return[[{path:"",component:a.a,children:[{path:"",redirectTo:"getting-started/zh",pathMatch:"full"},{path:"getting-started",redirectTo:"getting-started/zh",pathMatch:"full"},{path:"getting-started/:lang",component:n},{path:"addon",redirectTo:"addon/zh",pathMatch:"full"},{path:"addon/:lang",component:c},{path:"array",redirectTo:"array/zh",pathMatch:"full"},{path:"array/:lang",component:l},{path:"lazy",redirectTo:"lazy/zh",pathMatch:"full"},{path:"lazy/:lang",component:i},{path:"other",redirectTo:"other/zh",pathMatch:"full"},{path:"other/:lang",component:r},{path:"string",redirectTo:"string/zh",pathMatch:"full"},{path:"string/:lang",component:s},{path:"time",redirectTo:"time/zh",pathMatch:"full"},{path:"time/:lang",component:p},{path:"validate",redirectTo:"validate/zh",pathMatch:"full"},{path:"validate/:lang",component:h}]}]]}),[])])}))}}]);