PageSourceSearch

https://preview-8478-ng-zorro-antd.surge.sh/chunk-CGAK6EKM.js

js preview-8478-ng-zorro-antd.surge.sh collected 2026-10-03 14:58:19 UTC 39,517 bytes, 11 lines download raw bytes

1import{a as De,c as Fe}from"./chunk-ARHWFVAC.js";import{c as k,g as I,l as w,n as be,o as P,p as A,r as ve}from"./chunk-AOZMJ6N5.js";import"./chunk-5CEUOCPC.js";import{a as Be,b as Ne}from"./chunk-KY4M2XYF.js";import"./chunk-MQBVDA5J.js";import{a as xe,b as Ee,c as Se,d as ge,e as fe,f as he,g as Ce,h as ye}from"./chunk-UQUY4BXF.js";import"./chunk-WSATBI53.js";import"./chunk-OOS2JEDE.js";import"./chunk-XRYHXPIP.js";import"./chunk-JEDQOTK6.js";import"./chunk-TRRMIKLR.js";import"./chunk-5S2WMXFF.js";import"./chunk-2AEMF5JJ.js";import"./chunk-6UXGUGBT.js";import{a as W,f as ze}from"./chunk-ZUFRYLU6.js";import"./chunk-KYMNYIG3.js";import"./chunk-VQQABQOG.js";import"./chunk-TTU2SWWN.js";import"./chunk-PWPKGBNX.js";import{f as q,g as j,i as C,j as ce}from"./chunk-EWCMTUML.js";import{$c as N,Ab as G,Bb as oe,Cb as e,Db as x,Ea as le,Hb as b,Ia as a,Ib as v,Jb as B,Jd as pe,Mb as M,Rb as p,Sb as f,Ta as re,Tb as g,Ub as _,Va as r,Vb as se,Wa as O,Xc as U,Ye as Z,ca as ae,dd as D,gb as n,ha as c,hb as t,ia as me,ib as s,lg as Q,oc as de,pa as u,pb as y,qa as z,qf as V,sf as F,tf as T,uf as ue,yb as L,zb as R}from"./chunk-BPHN4FUK.js";var Te=[ye,ve,Ne,ze,Fe,ue];var J=()=>[7,8,2,3],K=(()=>{let i=class i{};i.\u0275fac=function(m){return new(m||i)},i.\u0275cmp=c({type:i,selectors:[["nz-demo-pipes-aggregate"]],decls:13,vars:29,consts:[[3,"nzGutter"],[3,"nzSpan"],[3,"nzValue","nzTitle"]],template:function(m,o){m&1&&(n(0,"nz-row",0)(1,"nz-col",1),s(2,"nz-statistic",2),p(3,"nzAggregate"),t(),n(4,"nz-col",1),s(5,"nz-statistic",2),p(6,"nzAggregate"),t(),n(7,"nz-col",1),s(8,"nz-statistic",2),p(9,"nzAggregate"),t(),n(10,"nz-col",1),s(11,"nz-statistic",2),p(12,"nzAggregate"),t()()),m&2&&(r("nzGutter",16),a(),r("nzSpan",6),a(),r("nzValue",g(3,13,M(25,J),"max"))("nzTitle","Max [7, 8, 2, 3]"),a(2),r("nzSpan",6),a(),r("nzValue",g(6,16,M(26,J),"min"))("nzTitle","Min [7, 8, 2, 3]"),a(2),r("nzSpan",6),a(),r("nzValue",g(9,19,M(27,J),"sum"))("nzTitle","Sum [7, 8, 2, 3]"),a(2),r("nzSpan",6),a(),r("nzValue",g(12,22,M(28,J),"avg"))("nzTitle","Avg [7, 8, 2, 3]"))},dependencies:[T,F,De,xe],encapsulation:2});let l=i;return l})();var X=(()=>{let i=class i{};i.\u0275fac=function(m){return new(m||i)},i.\u0275cmp=c({type:i,selectors:[["nz-demo-pipes-bytes"]],decls:22,vars:26,template:function(m,o){m&1&&(n(0,"ul")(1,"li"),e(2),p(3,"nzBytes"),t(),n(4,"li"),e(5),p(6,"nzBytes"),t(),n(7,"li"),e(8),p(9,"nzBytes"),t(),n(10,"li"),e(11),p(12,"nzBytes"),t(),n(13,"li"),e(14),p(15,"nzBytes"),t(),n(16,"li"),e(17),p(18,"nzBytes"),t(),n(19,"li"),e(20),p(21,"nzBytes"),t()()),m&2&&(a(2),x(f(3,7,200)),a(3),x(f(6,9,1024)),a(3),x(f(9,11,1048576)),a(3),x(_(12,13,1024,0,"KB")),a(3),x(f(15,17,1073741824)),a(3),x(f(18,19,1099511627776)),a(3),x(se(21,21,1073741824,0,"B","MB")))},dependencies:[Ee],encapsulation:2});let l=i;return l})();var Y=(()=>{let i=class i{constructor(){this.radiusValue=0}};i.\u0275fac=function(m){return new(m||i)},i.\u0275cmp=c({type:i,selectors:[["nz-demo-pipes-css-unit"]],decls:11,vars:17,consts:[[3,"ngModelChange","ngModel","nzMax","nzMin"],[1,"wrap"],[1,"box"]],template:function(m,o){m&1&&(n(0,"nz-slider",0),B("ngModelChange",function(E){return v(o.radiusValue,E)||(o.radiusValue=E),E}),t(),n(1,"div",1)(2,"div",2),p(3,"nzToCssUnit"),e(4,"Default"),t(),n(5,"div",2),p(6,"nzToCssUnit"),e(7,"%"),t(),n(8,"div",2),p(9,"nzToCssUnit"),e(10,"rem"),t()()),m&2&&(b("ngModel",o.radiusValue),r("nzMax",100)("nzMin",0),a(2),O("border-radius",f(3,9,o.radiusValue)),a(3),O("border-radius",g(6,11,o.radiusValue,"%")),a(3),O("border-radius",g(9,14,o.radiusValue,"rem")))},dependencies:[N,D,Be,Se],styles:[".wrap[_ngcontent-%COMP%]{display:flex}.box[_ngcontent-%COMP%]{margin-top:20px;margin-right:20px;text-align:center;line-height:50px;color:#fff;width:50px;height:50px;background:#4183c4}"]});let l=i;return l})();var $=(()=>{let i=class i{constructor(){this.str="Ant Design, a design language for background applications"}};i.\u0275fac=function(m){return new(m||i)},i.\u0275cmp=c({type:i,selectors:[["nz-demo-pipes-ellipsis"]],decls:5,vars:6,consts:[["type","text","nz-input","",3,"ngModelChange","ngModel"]],template:function(m,o){m&1&&(n(0,"input",0),B("ngModelChange",function(E){return v(o.str,E)||(o.str=E),E}),t(),s(1,"br"),n(2,"p"),e(3),p(4,"nzEllipsis"),t()),m&2&&(b("ngModel",o.str),a(3),x(_(4,2,o.str,36,"...")))},dependencies:[U,N,D,W,ge],styles:["p[_ngcontent-%COMP%]{padding:8px 12px}"]});let l=i;return l})();function Ze(l,i){if(l&1&&(n(0,"tr")(1,"td"),e(2),t(),n(3,"td"),e(4),t(),n(5,"td"),e(6),p(7,"nzSafeNull"),t()()),l&2){let ie=i.$implicit;a(2),x(ie.name),a(2),x(ie.age),a(2),x(g(7,3,ie.address,"-"))}}var ee=(()=>{let i=class i{constructor(){this.listOfData=[{name:"John Brown",age:32},{name:"Jim Green",age:42},{name:"Joe Black",age:32,address:"Sidney No. 1 Lake Park"}]}};i.\u0275fac=function(m){return new(m||i)},i.\u0275cmp=c({type:i,selectors:[["nz-demo-pipes-safe-null"]],decls:12,vars:2,consts:[["basicTable",""],[3,"nzData"],[4,"ngFor","ngForOf"]],template:function(m,o){if(m&1&&
1(n(0,"nz-table",1,0)(2,"thead")(3,"tr")(4,"th"),e(5,"Name"),t(),n(6,"th"),e(7,"Age"),t(),n(8,"th"),e(9,"Address"),t()()(),n(10,"tbody"),re(11,Ze,8,6,"tr",2),t()()),m&2){let S=oe(1);r("nzData",o.listOfData),a(11),r("ngForOf",S.data)}},dependencies:[de,be,k,I,A,w,P,fe],encapsulation:2});let l=i;return l})();var te=(()=>{let i=class i{constructor(){this.html="<span>I am <code>innerHTML</code></span>"}};i.\u0275fac=function(m){return new(m||i)},i.\u0275cmp=c({type:i,selectors:[["nz-demo-pipes-sanitizer"]],decls:2,vars:4,consts:[[3,"innerHTML"]],template:function(m,o){m&1&&(s(0,"div",0),p(1,"nzSanitizer")),m&2&&r("innerHTML",g(1,1,o.html,"html"),le)},dependencies:[he],encapsulation:2});let l=i;return l})();var ne=(()=>{let i=class i{constructor(){this.str=" Ant Design "}};i.\u0275fac=function(m){return new(m||i)},i.\u0275cmp=c({type:i,selectors:[["nz-demo-pipes-trim"]],decls:9,vars:5,consts:[["type","text","nz-input","",3,"ngModelChange","ngModel"]],template:function(m,o){m&1&&(n(0,"input",0),B("ngModelChange",function(E){return v(o.str,E)||(o.str=E),E}),t(),s(1,"br"),n(2,"div")(3,"pre"),e(4),t()(),n(5,"div")(6,"pre"),e(7),p(8,"nzTrim"),t()()),m&2&&(b("ngModel",o.str),a(4),x(o.str),a(3),x(f(8,3,o.str)))},dependencies:[U,N,D,W,Ce],styles:["div[_ngcontent-%COMP%]{padding:8px 12px}pre[_ngcontent-%COMP%]{display:inline-block;background:#eee}"]});let l=i;return l})();var Ge=(()=>{let i=class i{constructor(){this.expanded=!1}goLink(d){window&&(window.location.hash=d)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(d=>{d.nzExpanded=this.expanded,d.expandCode(this.expanded),d.check()})}};i.\u0275fac=function(m){return new(m||i)},i.\u0275cmp=c({type:i,selectors:[["nz-demo-pipes"]],viewQuery:function(m,o){if(m&1&&L(C,5),m&2){let S;R(S=G())&&(o.codeBoxes=S)}},decls:540,vars:32,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-pipes-demo-bytes","nzTitle","nzBytes"],["nzHref","#components-pipes-demo-css-unit","nzTitle","nzToCssUnit"],["nzHref","#components-pipes-demo-ellipsis","nzTitle","nzEllipsis"],["nzHref","#components-pipes-demo-aggregate","nzTitle","nzAggregate"],["nzHref","#components-pipes-demo-safe-null","nzTitle","nzSafeNull"],["nzHref","#components-pipes-demo-sanitizer","nzTitle","nzSanitizer"],["nzHref","#components-pipes-demo-trim","nzTitle","nzTrim"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nz-icon","","nzType","edit"],[2,"border-color","#faad14"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["nz-icon","","nzType","appstore","nz-tooltip","","nzTooltipTitle","\u5C55\u5F00\u5168\u90E8\u4EE3\u7801",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan"],["nzTitle","nzBytes","nzSelector","nz-demo-pipes-bytes","nzGenerateCommand","ng g ng-zorro-antd:pipes-bytes <name>","nzComponentName","NzDemoPipesBytesComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","nzToCssUnit","nzSelector","nz-demo-pipes-css-unit","nzGenerateCommand","ng g ng-zorro-antd:pipes-css-unit <name>","nzComponentName","NzDemoPipesCssUnitComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],["nzTitle","nzEllipsis","nzSelector","nz-demo-pipes-ellipsis","nzGenerateCommand","ng g ng-zorro-antd:pipes-ellipsis <name>","nzComponentName","NzDemoPipesEllipsisComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","nzAggregate","nzSelector","nz-demo-pipes-aggregate","nzGenerateCommand","ng g ng-zorro-antd:pipes-aggregate <name>","nzComponentName","NzDemoPipesAggregateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","nzSafeNull","nzSelector","nz-demo-pipes-safe-null","nzGenerateCommand","ng g ng-zorro-antd:pipes-safe-null <name>","nzComponentName","NzDemoPipesSafeNullComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"token","operator"],["nzTitle","nzSanitizer","nzSelector","nz-demo-pipes-sanitizer","nzGenerateCommand","ng g ng-zorro-antd:pipes-sanitizer <name>","nzComponentName","NzDemoPipesSanitizerComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","nzTrim","nzSelector","nz-demo-pipes-trim","nzGenerateCommand","ng g ng-zorro-antd:pipes-trim <name>","nzComponentName","NzDemoPipesTrimComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","<strong>nzsafenull</strong>:standalone"],[1,"api-type-label","standalone"],["onclick","window.location.hash = '<strong>nzsafenull</strong>:standalone'",1,"anchor"],["id","<strong>nzbytes</strong>:standalone"],["onclick","window.location.hash = '<strong>nzbytes</strong>:standalone'",1,"anchor"],["id","<strong>nztocssunit</strong>:standalone"],["onclick","window.location.hash = '<strong>nztocssunit</strong>:standalone'",1,"anchor"],["id","<strong>nzellipsis</strong>:standalone"],["onclick","window.location.hash = '<strong>nzellipsis</strong>:standalone'",1,"anchor"],["id","<strong>nzaggregate</strong>:standalone"],["onclick","window.location.hash = '<strong>nzaggregate</strong>:standalone'",1,"anchor"],["id","<strong>nzsanitizer</strong>:standalone"],["onclick","window.location.hash = '<strong>nzsanitizer</strong>:standalone'",1,"anchor"]],template:function(m,o){m&1&&(n(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),y("nzClick",function(E){return o.goLink(E)}),s(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9),t()(),n(11,"section",10)(12,"h1"),e(13,"Pipes"),s(14,"span",11)(15,"span",12),n(16,"a",13),s(17,"span",14),t()(),n(18,"section",10),z(),n(19,"blockquote",15)(20,"p"),e(21,"NG-ZORRO \u5B9E\u9A8C\u6027\u529F\u80FD\u662F\u6307\u5DF2\u53D1\u5E03\u4F46\u4E0D\u7A33\u5B9A\u6216\u8005\u8FD8\u672A\u51C6\u5907\u597D\u7528\u4E8E\u751F\u4EA7\u73AF\u5883\u7684\u529F\u80FD\u3002"),t(),n(22,"p"),e(23,"\u5F00\u53D1\u8005\u6216\u7528\u6237\u53EF\u4EE5\u9009\u62E9\u5728\u6B63\u5F0F\u53D1\u5E03\u524D\u4F7F\u7528\u8FD9\u4E9B\u529F\u80FD\uFF0C\u4F46\u662F\u6BCF\u6B21\u53D1\u5E03\u7248\u672C\u65F6\u90FD\u53EF\u80FD\u5B58\u5728 "),n(24,"strong"),e(25,"breaking changes"),t(),e(26,"\u3002"),t()(),n(27,"p"),e(28,"\u9879\u76EE\u4E2D\u5E38\u7528 Pipe \u96C6\u5408"),t(),n(29,"h2",16)(30,"span"),e(31,"\u4F55\u65F6\u4F7F\u7528"),t(),n(32,"a",17),e(33,"#"),t()(),n(34,"ul")(35,"li"),e(36,"\u5F15\u5165 Pipe \u540E\uFF0C\u50CF angular \u7684\u9ED8\u8BA4 Pipe \u4E00\u6837\u4F7F\u7528"),t()(),n(37,"pre",18)(38,"code")(39,"span",19),e(40,"import"),t(),e(41," "),n(42,"span",20),e(43,"{"),t(),e(44," NzPipesModule "),n(45,"span",20),e(46,"}"),t(),e(47," "),n(48,"span",19),e(49,"from"),t(),e(50," "),n(51,"span",21),e(52,"'ng-zorro-antd/pipes'"),t(),n(53,"span",20),e(54,";"),t()()(),u(),t(),n(55,"h2")(56,"span"),e(57,"\u4EE3\u7801\u6F14\u793A"),t(),n(58,"span",22),y("click",function(){return o.expandAllCode()}),t()()(),n(59,"div",23)(60,"div",24)(61,"nz-code-box",25),s(62,"nz-demo-pipes-bytes",26),n(63,"div",27),z(),n(64,"p"),e(65,"\u5B58\u50A8\u5355\u4F4D\u7684\u6362\u7B97\uFF0C\u589E\u52A0\u53EF\u8BFB\u6027"),t(),u(),t()(),n(66,"nz-code-box",28),s(67,"nz-demo-pipes-css-unit",26),n(68,"div",27),z(),n(69,"p"),e(70,"Css \u5355\u4F4D"),t(),n(71,"p"),e(72,"\u63D0\u793A\uFF1A\u5982\u679C\u6761\u4EF6\u5141\u8BB8\uFF0C\u6211\u4EEC\u66F4\u63A8\u8350\u4F7F\u7528 Angular \u5185\u7F6E\u8BED\u6CD5\uFF0C\u4F8B\u5982\uFF1A"),t(),n(73,"pre",29)(74,"code")(75,"span",30)(76,"span",30)(77,"span",20),e(78,"<"),t(),e(79,"div"),t(),e(80," "),n(81,"span",31),e(82,"[style.border-radius.px]"),t(),n(83,"span",32)(84,"span",20),e(85,"="),t(),n(86,"span",20),e(87,'"'),t(),e(88,"1"),n(89,"span",20),e(90,'"'),t()(),n(91,"span",20),e(92,">"),t()(),e(93,"px"),n(94,"span",30)(95,"span",30)(96,"span",20),e(97,"</"),t(),e(98,"div"),t(),n(99,"span",20),e(100,">"),t()(),e(101,`
2`),n(102,"span",30)(103,"span",30)(104,"span",20),e(105,"<"),t(),e(106,"div"),t(),e(107," "),n(108,"span",31),e(109,"[style.border-radius.%]"),t(),n(110,"span",32)(111,"span",20),e(112,"="),t(),n(113,"span",20),e(114,'"'),t(),e(115,"1"),n(116,"span",20),e(117,'"'),t()(),n(118,"span",20),e(119,">"),t()(),e(120,"%"),n(121,"span",30)(122,"span",30)(123,"span",20),e(124,"</"),t(),e(125,"div"),t(),n(126,"span",20),e(127,">"),t()(),e(128,`
3`),n(129,"span",30)(130,"span",30)(131,"span",20),e(132,"<"),t(),e(133,"div"),t(),e(134," "),n(135,"span",31),e(136,"[style.border-radius.rem]"),t(),n(137,"span",32)(138,"span",20),e(139,"="),t(),n(140,"span",20),e(141,'"'),t(),e(142,"1"),n(143,"
3span",20),e(144,'"'),t()(),n(145,"span",20),e(146,">"),t()(),e(147,"rem"),n(148,"span",30)(149,"span",30)(150,"span",20),e(151,"</"),t(),e(152,"div"),t(),n(153,"span",20),e(154,">"),t()()()(),u(),t()(),n(155,"nz-code-box",33),s(156,"nz-demo-pipes-ellipsis",26),n(157,"div",27),z(),n(158,"p"),e(159,"\u622A\u65AD\u5B57\u7B26\u4E32\uFF0C\u7528\u6307\u5B9A\u7684\u5B57\u7B26\u4E32\u7ED3\u5C3E"),t(),u(),t()(),n(160,"nz-code-box",34),s(161,"nz-demo-pipes-aggregate",26),n(162,"div",27),z(),n(163,"p"),e(164,"\u6570\u7EC4\u7684Sum\u3001Min\u3001Max\u3001Average\u7B49\u805A\u5408\u64CD\u4F5C"),t(),u(),t()(),n(165,"nz-code-box",35),s(166,"nz-demo-pipes-safe-null",26),n(167,"div",27),z(),n(168,"p"),e(169,"\u8F6C\u6362 Null \u548C Undefined \u4E3A\u6307\u5B9A\u5B57\u7B26\u4E32"),t(),n(170,"p"),e(171,"\u8B66\u544A\uFF1A\u5728 "),n(172,"code"),e(173,"v17.0.0"),t(),e(174," \u4E2D\u88AB\u5F03\u7528\uFF0C\u8BF7\u4F7F\u7528\u7A7A\u7F6E\u5408\u5E76\u8FD0\u7B97\u7B26\uFF08??\uFF09\u66FF\u4EE3\uFF0C\u4F8B\u5982\uFF1A"),t(),n(175,"pre")(176,"code"),e(177,"{{ value "),n(178,"span",36),e(179,"?"),t(),n(180,"span",36),e(181,"?"),t(),e(182," "),n(183,"span",21),e(184,"'-'"),t(),e(185," }}"),t()(),u(),t()(),n(186,"nz-code-box",37),s(187,"nz-demo-pipes-sanitizer",26),n(188,"div",27),z(),n(189,"p"),e(190,"DomSanitizer \u7684 Pipe \u5B9E\u73B0"),t(),n(191,"pre",29)(192,"code")(193,"span",30)(194,"span",30)(195,"span",20),e(196,"<"),t(),e(197,"div"),t(),e(198," "),n(199,"span",31),e(200,"[innerHTML]"),t(),n(201,"span",32)(202,"span",20),e(203,"="),t(),n(204,"span",20),e(205,'"'),t(),e(206,"html | nzSanitizer: "),n(207,"span",20),e(208,"'"),t(),e(209,"html"),n(210,"span",20),e(211,"'"),t(),n(212,"span",20),e(213,'"'),t()(),n(214,"span",20),e(215,">"),t()(),n(216,"span",30)(217,"span",30)(218,"span",20),e(219,"</"),t(),e(220,"div"),t(),n(221,"span",20),e(222,">"),t()(),e(223,`
4`),n(224,"span",30)(225,"span",30)(226,"span",20),e(227,"<"),t(),e(228,"div"),t(),e(229," "),n(230,"span",31),e(231,"[style]"),t(),n(232,"span",32)(233,"span",20),e(234,"="),t(),n(235,"span",20),e(236,'"'),t(),e(237,"style | nzSanitizer: "),n(238,"span",20),e(239,"'"),t(),e(240,"style"),n(241,"span",20),e(242,"'"),t(),n(243,"span",20),e(244,'"'),t()(),n(245,"span",20),e(246,">"),t()(),n(247,"span",30)(248,"span",30)(249,"span",20),e(250,"</"),t(),e(251,"div"),t(),n(252,"span",20),e(253,">"),t()(),e(254,`
5`),n(255,"span",30)(256,"span",30)(257,"span",20),e(258,"<"),t(),e(259,"img"),t(),e(260," "),n(261,"span",31),e(262,"[src]"),t(),n(263,"span",32)(264,"span",20),e(265,"="),t(),n(266,"span",20),e(267,'"'),t(),e(268,"url | nzSanitizer: "),n(269,"span",20),e(270,"'"),t(),e(271,"url"),n(272,"span",20),e(273,"'"),t(),n(274,"span",20),e(275,'"'),t()(),e(276," "),n(277,"span",20),e(278,"/>"),t()(),e(279,`
6`),n(280,"span",30)(281,"span",30)(282,"span",20),e(283,"<"),t(),e(284,"iframe"),t(),e(285," "),n(286,"span",31),e(287,"[src]"),t(),n(288,"span",32)(289,"span",20),e(290,"="),t(),n(291,"span",20),e(292,'"'),t(),e(293,"resourceUrl | nzSanitizer: "),n(294,"span",20),e(295,"'"),t(),e(296,"resourceUrl"),n(297,"span",20),e(298,"'"),t(),n(299,"span",20),e(300,'"'),t()(),n(301,"span",20),e(302,">"),t()(),n(303,"span",30)(304,"span",30)(305,"span",20),e(306,"</"),t(),e(307,"iframe"),t(),n(308,"span",20),e(309,">"),t()()()(),u(),t()(),n(310,"nz-code-box",38),s(311,"nz-demo-pipes-trim",26),n(312,"div",27),z(),n(313,"p"),e(314,"\u53BB\u9664\u5B57\u7B26\u4E32\u5DE6\u53F3\u7A7A\u5B57\u7B26\u4E32"),t(),u(),t()()()(),n(315,"section",39),z(),n(316,"h2",40)(317,"span"),e(318,"API"),t(),n(319,"a",41),e(320,"#"),t()(),n(321,"h3",42)(322,"span")(323,"strong"),e(324,"nzSafeNull"),t()(),n(325,"label",43),e(326,"standalone"),t(),n(327,"a",44),e(328,"#"),t()(),n(329,"table")(330,"thead")(331,"tr")(332,"th"),e(333,"\u53C2\u6570"),t(),n(334,"th"),e(335,"\u8BF4\u660E"),t(),n(336,"th"),e(337,"\u7C7B\u578B"),t(),n(338,"th"),e(339,"\u9ED8\u8BA4\u503C"),t()()(),n(340,"tbody")(341,"tr")(342,"td")(343,"code"),e(344,"replace"),t()(),n(345,"td"),e(346,"\u66FF\u6362\u5B57\u7B26"),t(),n(347,"td")(348,"code"),e(349,"string"),t()(),n(350,"td"),e(351,"''"),t()()()(),n(352,"h3",45)(353,"span")(354,"strong"),e(355,"nzBytes"),t()(),n(356,"label",43),e(357,"standalone"),t(),n(358,"a",46),e(359,"#"),t()(),n(360,"table")(361,"thead")(362,"tr")(363,"th"),e(364,"\u53C2\u6570"),t(),n(365,"th"),e(366,"\u8B
6F4\u660E"),t(),n(367,"th"),e(368,"\u7C7B\u578B"),t(),n(369,"th"),e(370,"\u9ED8\u8BA4\u503C"),t()()(),n(371,"tbody")(372,"tr")(373,"td")(374,"code"),e(375,"decimal"),t()(),n(376,"td"),e(377,"\u4FDD\u7559\u5C0F\u6570\u4F4D"),t(),n(378,"td")(379,"code"),e(380,"number"),t()(),n(381,"td"),e(382,"'0'"),t()(),n(383,"tr")(384,"td")(385,"code"),e(386,"from"),t()(),n(387,"td"),e(388,"\u5F53\u524D\u503C\u7684\u5355\u4F4D"),t(),n(389,"td")(390,"code"),e(391,"string"),t()(),n(392,"td"),e(393,"'B'"),t()(),n(394,"tr")(395,"td")(396,"code"),e(397,"to"),t()(),n(398,"td"),e(399,"\u8F6C\u6362\u5230\u76EE\u6807\u503C\u7684\u5355\u4F4D"),t(),n(400,"td")(401,"code"),e(402,"string"),t()(),n(403,"td"),e(404,"''"),t()()()(),n(405,"h3",47)(406,"span")(407,"strong"),e(408,"nzToCssUnit"),t()(),n(409,"label",43),e(410,"standalone"),t(),n(411,"a",48),e(412,"#"),t()(),n(413,"table")(414,"thead")(415,"tr")(416,"th"),e(417,"\u53C2\u6570"),t(),n(418,"th"),e(419,"\u8BF4\u660E"),t(),n(420,"th"),e(421,"\u7C7B\u578B"),t(),n(422,"th"),e(423,"\u9ED8\u8BA4\u503C"),t()()(),n(424,"tbody")(425,"tr")(426,"td")(427,"code"),e(428,"defaultUnit"),t()(),n(429,"td"),e(430,"\u9ED8\u8BA4\u5355\u4F4D"),t(),n(431,"td")(432,"code"),e(433,"string"),t()(),n(434,"td"),e(435,"'px'"),t()()()(),n(436,"h3",49)(437,"span")(438,"strong"),e(439,"nzEllipsis"),t()(),n(440,"label",43),e(441,"standalone"),t(),n(442,"a",50),e(443,"#"),t()(),n(444,"table")(445,"thead")(446,"tr")(447,"th"),e(448,"\u53C2\u6570"),t(),n(449,"th"),e(450,"\u8BF4\u660E"),t(),n(451,"th"),e(452,"\u7C7B\u578B"),t(),n(453,"th"),e(454,"\u9ED8\u8BA4\u503C"),t()()(),n(455,"tbody")(456,"tr")(457,"td")(458,"code"),e(459,"length"),t()(),n(460,"td"),e(461,"\u622A\u53D6\u957F\u5EA6"),t(),n(462,"td")(463,"code"),e(464,"number"),t()(),n(465,"td"),e(466,"''"),t()(),n(467,"tr")(468,"td")(469,"code"),e(470,"suffix"),t()(),n(471,"td"),e(472,"\u66FF\u6362\u5B57\u7B26"),t(),n(473,"td")(474,"code"),e(475,"string"),t()(),n(476,"td"),e(477,"''"),t()()()(),n(478,"h3",51)(479,"span")(480,"strong"),e(481,"nzAggregate"),t()(),n(482,"label",43),e(483,"standalone"),t(),n(484,"a",52),e(485,"#"),t()(),n(486,"table")(487,"thead")(488,"tr")(489,"th"),e(490,"\u53C2\u6570"),t(),n(491,"th"),e(492,"\u8BF4\u660E"),t(),n(493,"th"),e(494,"\u7C7B\u578B"),t(),n(495,"th"),e(496,"\u9ED8\u8BA4\u503C"),t()()(),n(497,"tbody")(498,"tr")(499,"td")(500,"code"),e(501,"method"),t()(),n(502,"td"),e(503,"\u805A\u5408\u65B9\u5F0F"),t(),n(504,"td")(505,"code"),e(506,"'sum' | 'max' | 'min' | 'avg'"),t()(),n(507,"td"),e(508,"''"),t()()()(),n(509,"h3",53)(510,"span")(511,"strong"),e(512,"nzSanitizer"),t()(),n(513,"label",43),e(514,"standalone"),t(),n(515,"a",54),e(516,"#"),t()(),n(517,"table")(518,"thead")(519,"tr")(520,"th"),e(521,"\u53C2\u6570"),t(),n(522,"th"),e(523,"\u8BF4\u660E"),t(),n(524,"th"),e(525,"\u7C7B\u578B"),t(),n(526,"th"),e(527,"\u9ED8\u8BA4\u503C"),t()()(),n(528,"tbody")(529,"tr")(530,"td")(531,"code"),e(532,"type"),t()(),n(533,"td"),e(534,"sanitizer \u7C7B\u578B"),t(),n(535,"td")(536,"code"),e(537,"string"),t()(),n(538,"td"),e(539,"'html'"),t()()()(),u(),t()()),m&2&&(a(),r("nzOffsetTop",16),a(),r("nzAffix",!1),a(57),r("nzGutter",8),a(),r("nzSpan",24),a(),r("nzId","components-pipes-demo-bytes")("nzLink","components-pipes-demo-bytes")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/bytes.md"),a(5),r("nzId","components-pipes-demo-css-unit")("nzLink","components-pipes-demo-css-unit")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/css-unit.md"),a(89),r("nzId","components-pipes-demo-ellipsis")("nzLink","components-pipes-demo-ellipsis")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/ellipsis.md"),a(5),r("nzId","components-pipes-demo-aggregate")("nzLink","components-pipes-demo-aggregate")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/aggregate.md"),a(5),r("nzId","components-pipes-demo-safe-null")("nzLink","components-pipes-demo-safe-null")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/safe-null.md"),a(21),r("nzId","components-pipes-demo-sanitizer")("nzLink","components-pipes-demo-sanitizer")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/sanitizer.md"),a(124),r("nzId","components-pipes-demo-trim")("nzLink","components-pipes-demo-trim")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/trim.md"))},dependencies:[C,q,j,Z,T,F,Q,V,k,I,A,w,P,K,X,Y,$,ee,te,ne],encapsulation:2});let l=i;return l})();var _e=(()=>{let i=class i{constructor(){this.expanded=!1}goLink(d){window&&(window.location.hash=d)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEac
6h(d=>{d.nzExpanded=this.expanded,d.expandCode(this.expanded),d.check()})}};i.\u0275fac=function(m){return new(m||i)},i.\u0275cmp=c({type:i,selectors:[["nz-demo-pipes"]],viewQuery:function(m,o){if(m&1&&L(C,5),m&2){let S;R(S=G())&&(o.codeBoxes=S)}},decls:540,vars:32,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-pipes-demo-bytes","nzTitle","nzBytes"],["nzHref","#components-pipes-demo-css-unit","nzTitle","nzToCssUnit"],["nzHref","#components-pipes-demo-ellipsis","nzTitle","nzEllipsis"],["nzHref","#components-pipes-demo-aggregate","nzTitle","nzAggregate"],["nzHref","#components-pipes-demo-safe-null","nzTitle","nzSafeNull"],["nzHref","#components-pipes-demo-sanitizer","nzTitle","nzSanitizer"],["nzHref","#components-pipes-demo-trim","nzTitle","nzTrim"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nz-icon","","nzType","edit"],[2,"border-color","#faad14"],["id","when-to-use"],["onclick","window.location.hash = 'when-to-use'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["nz-icon","","nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan"],["nzTitle","nzBytes","nzSelector","nz-demo-pipes-bytes","nzGenerateCommand","ng g ng-zorro-antd:pipes-bytes <name>","nzComponentName","NzDemoPipesBytesComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","nzToCssUnit","nzSelector","nz-demo-pipes-css-unit","nzGenerateCommand","ng g ng-zorro-antd:pipes-css-unit <name>","nzComponentName","NzDemoPipesCssUnitComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],["nzTitle","nzEllipsis","nzSelector","nz-demo-pipes-ellipsis","nzGenerateCommand","ng g ng-zorro-antd:pipes-ellipsis <name>","nzComponentName","NzDemoPipesEllipsisComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","nzAggregate","nzSelector","nz-demo-pipes-aggregate","nzGenerateCommand","ng g ng-zorro-antd:pipes-aggregate <name>","nzComponentName","NzDemoPipesAggregateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","nzSafeNull","nzSelector","nz-demo-pipes-safe-null","nzGenerateCommand","ng g ng-zorro-antd:pipes-safe-null <name>","nzComponentName","NzDemoPipesSafeNullComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"token","operator"],["nzTitle","nzSanitizer","nzSelector","nz-demo-pipes-sanitizer","nzGenerateCommand","ng g ng-zorro-antd:pipes-sanitizer <name>","nzComponentName","NzDemoPipesSanitizerComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","nzTrim","nzSelector","nz-demo-pipes-trim","nzGenerateCommand","ng g ng-zorro-antd:pipes-trim <name>","nzComponentName","NzDemoPipesTrimComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","<strong>nzsafenull</strong>:standalone"],[1,"api-type-label","standalone"],["onclick","window.location.hash = '<strong>nzsafenull</strong>:standalone'",1,"anchor"],["id","<strong>nzbytes</strong>:standalone"],["onclick","window.location.hash = '<strong>nzbytes</strong>:standalone'",1,"anchor"],["id","<strong>nztocssunit</strong>:standalone"],["onclick","window.location.hash = '<strong>nztocssunit</strong>:standalone'",1,"anchor"],["id","<strong>nzellipsis</strong>:standalone"],["onclick","window.location.hash = '<strong>nzellipsis</strong>:standalone'",1,"anchor"],["id","<strong>nzaggregate</strong>:standalone"],["onclick","window.location.hash = '<strong>nzaggregate</strong>:standalone'",1,"anchor"],["id","<strong>nzsanitizer</strong>:standalone"],["onclick","window.location.hash = '<strong>nzsanitizer</strong>:standalone'",1,"anchor"]],template:function(m,o){m&1&&(n(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),y("nzClick",function(E){return o.goLink(E)}),s(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9),t()(),n(11,"section",10)(12,"h1"),e(13,"Pipes"),s(14,"span",11)(15,"span",12),n(16,"a",13),s(17,"span",14),t()(),n(18,"section",10),z(),n(19,"blockquote",15)(20,"p"),e(21,"NG-ZORRO experiments are features that are released but not yet considered stable or production ready"),t(),n(22,"p"),e(23,"Developers and users can opt-in into these features before they are fully released. But "),n(24,"strong"),e(25,"breaking changes"),t(),e(26," may occur with any release."),t()(),n(27,"p"),e(28,"Common Pipe Collections in Projects"),t(),n(29,"h2",16)(30,"span"),e(31,"When To Use"),t(),n(32,"a",17),e(33,"#"),t()(),n(34,"ul")(35,"li"),e(36,"After introducing Pipe, use it like angular's default Pipe"),t()(),n(37,"pre",18)(38,"code")(39,"span",19),e(40,"import"),t(),e(41," "),n(42,"span",20),e(43,"{"),t(),e(44," NzPipesModule "),n(45,"span",20),e(46,"}"),t(),e(47," "),n(48,"span",19),e(49,"from"),t(),e(50," "),n(51,"span",21),e(52,"'ng-zorro-antd/pipes'"),t(),n(53,"span",20),e(54,";"),t()()(),u(),t(),n(55,"h2")(56,"span"),e(57,"Examples"),t(),n(58,"span",22),y("click",function(){return o.expandAllCode()}),t()()(),n(59,"div",23)(60,"div",24)(61,"nz-code-box",25),s(62,"nz-demo-pipes-bytes",26),n(63,"div",27),z(),n(64,"p"),e(65,"Conversion of storage units to increase readability"),t(),u(),t()(),n(66,"nz-code-box",28),s(67,"nz-demo-pipes-css-unit",26),n(68,"div",27),z(),n(69,"p"),e(70,"Css unit"),t(),n(71,"p"),e(72,"Tip: If possible, we prefer to use Angular's built-in syntax, for example:"),t(),n(73,"pre",29)(74,"code")(75,"span",30)(76,"span",30)(77,"span",20),e(78,"<"),t(),e(79,"div"),t(),e(80," "),n(81,"span",31),e(82,"[style.border-radius.px]"),t(),n(83,"span",32)(84,"span",20),e(85,"="),t(),n(86,"span",20),e(87,'"'),t(),e(88,"1"),n(89,"span",20),e(90,'"'),t()(),n(91,"span",20),e(92,">"),t()(),e(93,"px"),n(94,"span",30)(95,"span",30)(96,"span",20),e(97,"</"),t(),e(98,"div"),t(),n(99,"span",20),e(100,">"),t()(),e(101,`
7`),n(102,"span",30)(103,"span",30)(104,"span",20),e(105,"<"),t(),e(106,"div"),t(),e(107," "),n(108,"span",31),e(109,"[style.border-radius.%]"),t(),n(110,"span",32)(111,"span",20),e(112,"="),t(),n(113,"span",20),e(114,'"'),t(),e(115,"1"),n(116,"span",20),e(117,'"'),t()(),n(118,"span",20),e(119,">"),t()(),e(120,"%"),n(121,"span",30)(122,"span",30)(123,"span",20),e(124,"</"),t(),e(125,"div"),t(),n(126,"span",20),e(127,">"),t()(),e(128,`
8`),n(129,"span",30)(130,"span",30)(131,"span",20),e(132,"<"),t(),e(133,"div"),t(),e(134," "),n(135,"span",31),e(136,"[style.border-radius.rem]"),t(),n(137,"span",32)(138,"span",20),e(139,"="),t(),n(140,"span",20),e(141,'"'),t(),e(142,"1"),n(143,"
8span",20),e(144,'"'),t()(),n(145,"span",20),e(146,">"),t()(),e(147,"rem"),n(148,"span",30)(149,"span",30)(150,"span",20),e(151,"</"),t(),e(152,"div"),t(),n(153,"span",20),e(154,">"),t()()()(),u(),t()(),n(155,"nz-code-box",33),s(156,"nz-demo-pipes-ellipsis",26),n(157,"div",27),z(),n(158,"p"),e(159,"Truncate the string, ending with the specified string"),t(),u(),t()(),n(160,"nz-code-box",34),s(161,"nz-demo-pipes-aggregate",26),n(162,"div",27),z(),n(163,"p"),e(164,"Sum, Min, Max, Average and other operations on arrays"),t(),u(),t()(),n(165,"nz-code-box",35),s(166,"nz-demo-pipes-safe-null",26),n(167,"div",27),z(),n(168,"p"),e(169,"Convert Null and Undefined to the specified string"),t(),n(170,"p"),e(171,"WARNING: Deprecated in "),n(172,"code"),e(173,"v17.0.0"),t(),e(174,", please use the nullish coalescing operator (??) instead, eg:"),t(),n(175,"pre")(176,"code"),e(177,"{{ value "),n(178,"span",36),e(179,"?"),t(),n(180,"span",36),e(181,"?"),t(),e(182," "),n(183,"span",21),e(184,"'-'"),t(),e(185," }}"),t()(),u(),t()(),n(186,"nz-code-box",37),s(187,"nz-demo-pipes-sanitizer",26),n(188,"div",27),z(),n(189,"p"),e(190,"Pipe implementation of DomSanitizer"),t(),n(191,"pre",29)(192,"code")(193,"span",30)(194,"span",30)(195,"span",20),e(196,"<"),t(),e(197,"div"),t(),e(198," "),n(199,"span",31),e(200,"[innerHTML]"),t(),n(201,"span",32)(202,"span",20),e(203,"="),t(),n(204,"span",20),e(205,'"'),t(),e(206,"html | nzSanitizer: "),n(207,"span",20),e(208,"'"),t(),e(209,"html"),n(210,"span",20),e(211,"'"),t(),n(212,"span",20),e(213,'"'),t()(),n(214,"span",20),e(215,">"),t()(),n(216,"span",30)(217,"span",30)(218,"span",20),e(219,"</"),t(),e(220,"div"),t(),n(221,"span",20),e(222,">"),t()(),e(223,`
9`),n(224,"span",30)(225,"span",30)(226,"span",20),e(227,"<"),t(),e(228,"div"),t(),e(229," "),n(230,"span",31),e(231,"[style]"),t(),n(232,"span",32)(233,"span",20),e(234,"="),t(),n(235,"span",20),e(236,'"'),t(),e(237,"style | nzSanitizer: "),n(238,"span",20),e(239,"'"),t(),e(240,"style"),n(241,"span",20),e(242,"'"),t(),n(243,"span",20),e(244,'"'),t()(),n(245,"span",20),e(246,">"),t()(),n(247,"span",30)(248,"span",30)(249,"span",20),e(250,"</"),t(),e(251,"div"),t(),n(252,"span",20),e(253,">"),t()(),e(254,`
10`),n(255,"span",30)(256,"span",30)(257,"span",20),e(258,"<"),t(),e(259,"img"),t(),e(260," "),n(261,"span",31),e(262,"[src]"),t(),n(263,"span",32)(264,"span",20),e(265,"="),t(),n(266,"span",20),e(267,'"'),t(),e(268,"url | nzSanitizer: "),n(269,"span",20),e(270,"'"),t(),e(271,"url"),n(272,"span",20),e(273,"'"),t(),n(274,"span",20),e(275,'"'),t()(),e(276," "),n(277,"span",20),e(278,"/>"),t()(),e(279,`
11`),n(280,"span",30)(281,"span",30)(282,"span",20),e(283,"<"),t(),e(284,"iframe"),t(),e(285," "),n(286,"span",31),e(287,"[src]"),t(),n(288,"span",32)(289,"span",20),e(290,"="),t(),n(291,"span",20),e(292,'"'),t(),e(293,"resourceUrl | nzSanitizer: "),n(294,"span",20),e(295,"'"),t(),e(296,"resourceUrl"),n(297,"span",20),e(298,"'"),t(),n(299,"span",20),e(300,'"'),t()(),n(301,"span",20),e(302,">"),t()(),n(303,"span",30)(304,"span",30)(305,"span",20),e(306,"</"),t(),e(307,"iframe"),t(),n(308,"span",20),e(309,">"),t()()()(),u(),t()(),n(310,"nz-code-box",38),s(311,"nz-demo-pipes-trim",26),n(312,"div",27),z(),n(313,"p"),e(314,"Strip left and right empty string"),t(),u(),t()()()(),n(315,"section",39),z(),n(316,"h2",40)(317,"span"),e(318,"API"),t(),n(319,"a",41),e(320,"#"),t()(),n(321,"h3",42)(322,"span")(323,"strong"),e(324,"nzSafeNull"),t()(),n(325,"label",43),e(326,"standalone"),t(),n(327,"a",44),e(328,"#"),t()(),n(329,"table")(330,"thead")(331,"tr")(332,"th"),e(333,"Property"),t(),n(334,"th"),e(335,"Description"),t(),n(336,"th"),e(337,"Type"),t(),n(338,"th"),e(339,"Default"),t()()(),n(340,"tbody")(341,"tr")(342,"td")(343,"code"),e(344,"replace"),t()(),n(345,"td"),e(346,"Replace character"),t(),n(347,"td")(348,"code"),e(349,"string"),t()(),n(350,"td"),e(351,"''"),t()()()(),n(352,"h3",45)(353,"span")(354,"strong"),e(355,"nzBytes"),t()(),n(356,"label",43),e(357,"standalone"),t(),n(358,"a",46),e(359,"#"),t()(),n(360,"table")(361,"thead")(362,"tr")(363,"th"),e(364,"Property"),t(),n(365,"th"),e(366,"Description"),t(),n(367,"th"),e(368,"Type"),t(),n(369,"th"),e(370,"Default"),t()()(),n(371,"tbody")(372,"tr")(373,"td")(374,"code"),e(375,"decimal"),t()(),n(376,"td"),e(377,"Decimal"),t(),n(378,"td")(379,"code"),e(380,"number"),t()(),n(381,"td"),e(382,"'0'"),t()(),n(383,"tr")(384,"td")(385,"code"),e(386,"from"),t()(),n(387,"td"),e(388,"Unit of current value"),t(),n(389,"td")(390,"code"),e(391,"string"),t()(),n(392,"td"),e(393,"'B'"),t()(),n(394,"tr")(395,"td")(396,"code"),e(397,"to"),t()(),n(398,"td"),e(399,"Units converted to target value"),t(),n(400,"td")(401,"code"),e(402,"string"),t()(),n(403,"td"),e(404,"''"),t()()()(),n(405,"h3",47)(406,"span")(407,"strong"),e(408,"nzToCssUnit"),t()(),n(409,"label",43),e(410,"standalone"),t(),n(411,"a",48),e(412,"#"),t()(),n(413,"table")(414,"thead")(415,"tr")(416,"th"),e(417,"Property"),t(),n(418,"th"),e(419,"Description"),t(),n(420,"th"),e(421,"Type"),t(),n(422,"th"),e(423,"Default"),t()()(),n(424,"tbody")(425,"tr")(426,"td")(427,"code"),e(428,"defaultUnit"),t()(),n(429,"td"),e(430,"Default Unit"),t(),n(431,"td")(432,"code"),e(433,"string"),t()(),n(434,"td"),e(435,"'px'"),t()()()(),n(436,"h3",49)(437,"span")(438,"
11strong"),e(439,"nzEllipsis"),t()(),n(440,"label",43),e(441,"standalone"),t(),n(442,"a",50),e(443,"#"),t()(),n(444,"table")(445,"thead")(446,"tr")(447,"th"),e(448,"Property"),t(),n(449,"th"),e(450,"Description"),t(),n(451,"th"),e(452,"Type"),t(),n(453,"th"),e(454,"Default"),t()()(),n(455,"tbody")(456,"tr")(457,"td")(458,"code"),e(459,"length"),t()(),n(460,"td"),e(461,"Truncate length"),t(),n(462,"td")(463,"code"),e(464,"number"),t()(),n(465,"td"),e(466,"''"),t()(),n(467,"tr")(468,"td")(469,"code"),e(470,"suffix"),t()(),n(471,"td"),e(472,"Replace character"),t(),n(473,"td")(474,"code"),e(475,"string"),t()(),n(476,"td"),e(477,"''"),t()()()(),n(478,"h3",51)(479,"span")(480,"strong"),e(481,"nzAggregate"),t()(),n(482,"label",43),e(483,"standalone"),t(),n(484,"a",52),e(485,"#"),t()(),n(486,"table")(487,"thead")(488,"tr")(489,"th"),e(490,"Property"),t(),n(491,"th"),e(492,"Description"),t(),n(493,"th"),e(494,"Type"),t(),n(495,"th"),e(496,"Default"),t()()(),n(497,"tbody")(498,"tr")(499,"td")(500,"code"),e(501,"method"),t()(),n(502,"td"),e(503,"Aggregation"),t(),n(504,"td")(505,"code"),e(506,"'sum' | 'max' | 'min' | 'avg'"),t()(),n(507,"td"),e(508,"''"),t()()()(),n(509,"h3",53)(510,"span")(511,"strong"),e(512,"nzSanitizer"),t()(),n(513,"label",43),e(514,"standalone"),t(),n(515,"a",54),e(516,"#"),t()(),n(517,"table")(518,"thead")(519,"tr")(520,"th"),e(521,"Property"),t(),n(522,"th"),e(523,"Description"),t(),n(524,"th"),e(525,"Type"),t(),n(526,"th"),e(527,"Default"),t()()(),n(528,"tbody")(529,"tr")(530,"td")(531,"code"),e(532,"type"),t()(),n(533,"td"),e(534,"sanitizer type"),t(),n(535,"td")(536,"code"),e(537,"string"),t()(),n(538,"td"),e(539,"'html'"),t()()()(),u(),t()()),m&2&&(a(),r("nzOffsetTop",16),a(),r("nzAffix",!1),a(57),r("nzGutter",8),a(),r("nzSpan",24),a(),r("nzId","components-pipes-demo-bytes")("nzLink","components-pipes-demo-bytes")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/bytes.md"),a(5),r("nzId","components-pipes-demo-css-unit")("nzLink","components-pipes-demo-css-unit")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/css-unit.md"),a(89),r("nzId","components-pipes-demo-ellipsis")("nzLink","components-pipes-demo-ellipsis")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/ellipsis.md"),a(5),r("nzId","components-pipes-demo-aggregate")("nzLink","components-pipes-demo-aggregate")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/aggregate.md"),a(5),r("nzId","components-pipes-demo-safe-null")("nzLink","components-pipes-demo-safe-null")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/safe-null.md"),a(21),r("nzId","components-pipes-demo-sanitizer")("nzLink","components-pipes-demo-sanitizer")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/sanitizer.md"),a(124),r("nzId","components-pipes-demo-trim")("nzLink","components-pipes-demo-trim")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/pipes/demo/trim.md"))},dependencies:[C,q,j,Z,T,F,Q,V,k,I,A,w,P,K,X,Y,$,ee,te,ne],encapsulation:2});let l=i;return l})();var Ft=(()=>{let i=class i{};i.\u0275fac=function(m){return new(m||i)},i.\u0275mod=me({type:i}),i.\u0275inj=ae({imports:[ce,Te,pe.forChild([{path:"en",component:_e},{path:"zh",component:Ge}])]});let l=i;return l})();export{Ft as NzDemoPipesModule};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.