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-es2015.0806290d073990a1f95d.js
1 lines (1 loc) · 44.1 KB
/
20-es2015.0806290d073990a1f95d.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{"E+jF":function(e,t,o){"use strict";o.r(t);var d=o("8Y7J"),a=o("0qEG");class n{constructor(){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=[]}}class c{constructor(){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=[]}}class l{constructor(){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=[]}}class i{constructor(){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=[]}}class r{constructor(){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=[]}}class s{constructor(){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=[]}}class p{constructor(){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=[]}}class h{constructor(){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=[]}}class u{}var b=o("pMnS"),m=o("EdU/"),g=o("/Yna"),y=o("JRKe"),G=o("Ed4d"),f=o("8WaK"),T=o("QfCi"),w=o("CghO"),k=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"),F=o("u+Cy"),H=o("8+8K"),R=o("YVZs"),_=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)}function ne(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)}var ce=d.sb("app-util-getting-started",n,ne,{},{},[]),le=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function ie(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)}function re(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-addon",[],null,null,null,ie,le)),d.vb(1,49152,null,0,c,[],null,null)],null,null)}var se=d.sb("app-util-addon",c,re,{},{},[]),pe=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function he(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)}function ue(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-array",[],null,null,null,he,pe)),d.vb(1,49152,null,0,l,[],null,null)],null,null)}var be=d.sb("app-util-array",l,ue,{},{},[]),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)}function ye(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-lazy",[],null,null,null,ge,me)),d.vb(1,49152,null,0,i,[],null,null)],null,null)}var Ge=d.sb("app-util-lazy",i,ye,{},{},[]),fe=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function Te(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)}function we(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-other",[],null,null,null,Te,fe)),d.vb(1,49152,null,0,r,[],null,null)],null,null)}var ke=d.sb("app-util-other",r,we,{},{},[]),Ce=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function ve(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)}function Ne(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-string",[],null,null,null,ve,Ce)),d.vb(1,49152,null,0,s,[],null,null)],null,null)}var Me=d.sb("app-util-string",s,Ne,{},{},[]),De=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function ze(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)}function Se(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-time",[],null,null,null,ze,De)),d.vb(1,49152,null,0,p,[],null,null)],null,null)}var Ue=d.sb("app-util-time",p,Se,{},{},[]),je=d.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function xe(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)}function Pe(e){return d.Sb(0,[(e()(),d.wb(0,0,null,null,1,"app-util-validate",[],null,null,null,xe,je)),d.vb(1,49152,null,0,h,[],null,null)],null,null)}var Ie=d.sb("app-util-validate",h,Pe,{},{},[]),Ae=o("SVse"),Oe=o("s7LF"),Be=o("5VGP"),Ee=o("QQfA"),Fe=o("IP0z"),He=o("POq0"),Re=o("sAdM"),_e=o("ekcc"),qe=o("pQl/"),Ve=o("g+Fz"),We=o("Ybye"),Ye=o("NFMk"),Ke=o("10Ig"),Le=o("iC8E"),Je=o("/HVE"),Qe=o("v1Dh"),Ze=o("66zS"),Xe=o("5Izy"),$e=o("yTpB"),et=o("zMNK"),tt=o("hOhj"),ot=o("r19J"),dt=o("anqq"),at=o("IYs4"),nt=o("EcpC"),ct=o("GaVp"),lt=o("/L1H"),it=o("phDe"),rt=o("rJp6"),st=o("Rgb0"),pt=o("kS4m"),ht=o("mW00"),ut=o("jTf7"),bt=o("WPSl"),mt=o("YdS3"),gt=o("wQFA"),yt=o("px0D"),Gt=o("3ZFI"),ft=o("CYS+"),Tt=o("oBm0"),wt=o("A7zk"),kt=o("YRt3"),Ct=o("lAiz"),vt=o("ce6n"),Nt=o("SBNi"),Mt=o("7QIX"),Dt=o("tYkK"),zt=o("wf2+"),St=o("eCGT"),Ut=o("nHXS"),jt=o("fb/r"),xt=o("zTFG"),Pt=o("JK0T"),It=o("JXeA"),At=o("0CZq"),Ot=o("qU0y"),Bt=o("vZsH"),Et=o("W4B1"),Ft=o("SHEi"),Ht=o("FPpa"),Rt=o("RVNi"),_t=o("NDed"),qt=o("5A4h"),Vt=o("N2O2"),Wt=o("ozKM"),Yt=o("OvZZ"),Kt=o("z+yo"),Lt=o("DQmg"),Jt=o("haRT"),Qt=o("1+nf"),Zt=o("XFzh"),Xt=o("p+Sl"),$t=o("HhpN"),eo=o("SN7N"),to=o("fwnu"),oo=o("VbP7"),ao=o("gaRz"),no=o("e15G"),co=o("+YBk"),lo=o("9J0+"),io=o("vIiB"),ro=o("CGSU"),so=o("5CFV"),po=o("GTZx"),ho=o("hS58"),uo=o("+ndR"),bo=o("EWQH"),mo=o("aq9g"),go=o("7Dpl"),yo=o("ekmu"),Go=o("vjj7"),fo=o("l/Xz"),To=o("sRo1"),wo=o("BQzg"),ko=o("YQXl"),Co=o("dZIx"),vo=o("9bzR"),No=o("WNQ9"),Mo=o("5Oon"),Do=o("lM9c"),zo=o("OSVY"),So=o("MNSj"),Uo=o("MZBU"),jo=o("ev4S"),xo=o("G1y0"),Po=o("5sGc"),Io=o("4/RT"),Ao=o("Q1qs"),Oo=o("k5cy"),Bo=o("ceoF"),Eo=o("gQlp"),Fo=o("XYAa"),Ho=o("vrge"),Ro=o("nMAq"),_o=o("5PV9"),qo=o("nIn3"),Vo=o("xo13"),Wo=o("CnVV"),Yo=o("5p8d"),Ko=o("qYUw"),Lo=o("JpOc"),Jo=o("VRoF"),Qo=o("Uto7"),Zo=o("/p+U"),Xo=o("ye40"),$o=o("qcxY"),ed=o("T+Em"),td=o("ucmY"),od=o("sbFH"),dd=o("76lH"),ad=o("TSSN"),nd=o("Fg/6"),cd=o("kzz5"),ld=o("SqF5"),id=o("Wl7g"),rd=o("+TYD"),sd=o("PCNd");o.d(t,"UtilModuleNgFactory",(function(){return pd}));var pd=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,w.a,k.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,F.a,H.a,R.a,_.a,q.a,V.a,W.a,Y.a,K.a,L.a,J.a,Q.a,ce,se,be,Ge,ke,Me,Ue,Ie]],[3,d.j],d.w]),d.Gb(4608,Ae.p,Ae.o,[d.t,[2,Ae.K]]),d.Gb(4608,Oe.x,Oe.x,[]),d.Gb(4608,Oe.e,Oe.e,[]),d.Gb(5120,Be.z,Be.M,[Ae.e,[3,Be.z]]),d.Gb(4608,Ee.d,Ee.d,[Ee.k,Ee.f,d.j,Ee.i,Ee.g,d.q,d.y,Ae.e,Fe.b,[2,Ae.j]]),d.Gb(5120,Ee.l,Ee.m,[Ee.d]),d.Gb(4608,He.c,He.c,[]),d.Gb(5120,Re.b,Re.a,[[3,Re.b],_e.a]),d.Gb(4608,qe.d,qe.d,[d.y]),d.Gb(4608,Ve.d,Ve.d,[Ae.e]),d.Gb(4608,We.a,We.a,[Ye.g]),d.Gb(4608,Ke.a,Ke.a,[Le.d]),d.Gb(1073742336,Ae.c,Ae.c,[]),d.Gb(1073742336,Oe.w,Oe.w,[]),d.Gb(1073742336,Oe.j,Oe.j,[]),d.Gb(1073742336,te.t,te.t,[[2,te.y],[2,te.p]]),d.Gb(1073742336,Oe.t,Oe.t,[]),d.Gb(1073742336,Je.b,Je.b,[]),d.Gb(1073742336,Qe.b,Qe.b,[]),d.Gb(1073742336,Ze.b,Ze.b,[]),d.Gb(1073742336,Be.j,Be.j,[]),d.Gb(1073742336,Xe.b,Xe.b,[]),d.Gb(1073742336,$e.a,$e.a,[]),d.Gb(1073742336,Fe.a,Fe.a,[]),d.Gb(1073742336,et.e,et.e,[]),d.Gb(1073742336,tt.g,tt.g,[]),d.Gb(1073742336,Ee.h,Ee.h,[]),d.Gb(1073742336,Be.w,Be.w,[]),d.Gb(1073742336,ot.b,ot.b,[]),d.Gb(1073742336,dt.b,dt.b,[]),d.Gb(1073742336,at.b,at.b,[]),d.Gb(1073742336,He.d,He.d,[]),d.Gb(1073742336,nt.b,nt.b,[]),d.Gb(1073742336,Be.J,Be.J,[]),d.Gb(1073742336,ct.c,ct.c,[]),d.Gb(1073742336,Be.x,Be.x,[]),d.Gb(1073742336,lt.e,lt.e,[]),d.Gb(1073742336,it.i,it.i,[]),d.Gb(1073742336,it.a,it.a,[]),d.Gb(1073742336,it.f,it.f,[]),d.Gb(1073742336,rt.c,rt.c,[]),d.Gb(1073742336,st.b,st.b,[]),d.Gb(1073742336,pt.d,pt.d,[]),d.Gb(1073742336,ht.c,ht.c,[]),d.Gb(1073742336,ut.h,ut.h,[]),d.Gb(1073742336,bt.f,bt.f,[]),d.Gb(1073742336,mt.d,mt.d,[]),d.Gb(1073742336,gt.d,gt.d,[]),d.Gb(1073742336,Be.s,Be.s,[]),d.Gb(1073742336,yt.d,yt.d,[]),d.Gb(1073742336,Gt.b,Gt.b,[]),d.Gb(1073742336,ft.c,ft.c,[]),d.Gb(1073742336,Tt.a,Tt.a,[]),d.Gb(1073742336,wt.a,wt.a,[]),d.Gb(1073742336,kt.b,kt.b,[]),d.Gb(1073742336,Ct.g,Ct.g,[]),d.Gb(1073742336,Ct.b,Ct.b,[]),d.Gb(1073742336,vt.a,vt.a,[]),d.Gb(1073742336,Nt.b,Nt.b,[]),d.Gb(1073742336,Le.e,Le.e,[]),d.Gb(1073742336,Le.b,Le.b,[]),d.Gb(1073742336,Mt.b,Mt.b,[]),d.Gb(1073742336,Dt.b,Dt.b,[]),d.Gb(1073742336,zt.g,zt.g,[]),d.Gb(1073742336,St.b,St.b,[]),d.Gb(1073742336,Ut.a,Ut.a,[]),d.Gb(1073742336,jt.b,jt.b,[]),d.Gb(1073742336,xt.d,xt.d,[]),d.Gb(1073742336,Pt.b,Pt.b,[]),d.Gb(1073742336,It.h,It.h,[]),d.Gb(1073742336,It.f,It.f,[]),d.Gb(1073742336,Be.y,Be.y,[]),d.Gb(1073742336,Ye.h,Ye.h,[]),d.Gb(1073742336,Ye.d,Ye.d,[]),d.Gb(1073742336,Ye.e,Ye.e,[]),d.Gb(1073742336,At.f,At.f,[]),d.Gb(1073742336,At.e,At.e,[]),d.Gb(1073742336,Ot.a,Ot.a,[]),d.Gb(1073742336,Bt.b,Bt.b,[]),d.Gb(1073742336,Et.b,Et.b,[]),d.Gb(1073742336,Ft.c,Ft.c,[]),d.Gb(1073742336,Ht.c,Ht.c,[]),d.Gb(1073742336,Rt.b,Rt.b,[]),d.Gb(1073742336,_t.c,_t.c,[]),d.Gb(1073742336,qt.a,qt.a,[]),d.Gb(1073742336,Vt.b,Vt.b,[]),d.Gb(1073742336,Wt.d,Wt.d,[]),d.Gb(1073742336,Yt.a,Yt.a,[]),d.Gb(1073742336,Kt.c,Kt.c,[]),d.Gb(1073742336,Lt.b,Lt.b,[]),d.Gb(1073742336,Jt.b,Jt.b,[]),d.Gb(1073742336,Qt.f,Qt.f,[]),d.Gb(1073742336,Zt.b,Zt.b,[]),d.Gb(1073742336,Xt.a,Xt.a,[]),d.Gb(1073742336,Be.D,Be.D,[]),d.Gb(1073742336,$t.c,$t.c,[]),d.Gb(1073742336,eo.b,eo.b,[]),d.Gb(1073742336,to.b,to.b,[]),d.Gb(1073742336,Be.o,Be.o,[]),d.Gb(1073742336,oo.a,oo.a,[]),d.Gb(1073742336,ao.d,ao.d,[]),d.Gb(1073742336,no.a,no.a,[]),d.Gb(1073742336,co.a,co.a,[]),d.Gb(1073742336,lo.a,lo.a,[Ze.c]),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,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,wo.a,wo.a,[]),d.Gb(1073742336,qe.c,qe.c,[]),d.Gb(1073742336,ko.a,ko.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,Fo.a,Fo.a,[]),d.Gb(1073742336,Ho.a,Ho.a,[]),d.Gb(1073742336,Ro.a,Ro.a,[]),d.Gb(1073742336,_o.a,_o.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.a,Qo.a,[]),d.Gb(1073742336,Zo.a,Zo.a,[]),d.Gb(1073742336,Xo.a,Xo.a,[]),d.Gb(1073742336,$o.a,$o.a,[]),d.Gb(1073742336,ed.a,ed.a,[]),d.Gb(1073742336,td.a,td.a,[]),d.Gb(1073742336,od.a,od.a,[]),d.Gb(1073742336,dd.a,dd.a,[]),d.Gb(1073742336,ad.h,ad.h,[]),d.Gb(1073742336,nd.b,nd.b,[]),d.Gb(1073742336,cd.a,cd.a,[]),d.Gb(1073742336,Ve.c,Ve.c,[]),d.Gb(1073742336,ld.c,ld.c,[]),d.Gb(1073742336,id.d,id.d,[]),d.Gb(1073742336,id.h,id.h,[]),d.Gb(1073742336,id.b,id.b,[]),d.Gb(1073742336,id.j,id.j,[]),d.Gb(1073742336,id.l,id.l,[]),d.Gb(1073742336,id.p,id.p,[]),d.Gb(1073742336,id.t,id.t,[]),d.Gb(1073742336,rd.a,rd.a,[]),d.Gb(1073742336,sd.a,sd.a,[]),d.Gb(1073742336,u,u,[]),d.Gb(256,It.b,{nzAnimate:!0,nzDuration:3e3,nzMaxStack:7,nzPauseOnHover:!0,nzTop:24},[]),d.Gb(256,At.b,{nzTop:"24px",nzBottom:"24px",nzPlacement:"topRight",nzDuration:4500,nzMaxStack:7,nzPauseOnHover:!0,nzAnimate:!0},[]),d.Gb(256,_e.a,co.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}]}]]}),[])])}))}}]);