PageSourceSearch

https://preview-8460-ng-zorro-antd.surge.sh/244.79f9c7bc2b2e9f3c.js

js preview-8460-ng-zorro-antd.surge.sh collected 2026-10-03 14:56:38 UTC 110,886 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkng_zorro_antd_doc=self.webpackChunkng_zorro_antd_doc||[]).push([[244],{244:(S,y,l)=>{l.r(y),l.d(y,{NzDemoDatePickerModule:()=>ke});var m=l(9072),u=l(2928),k=l(9380),g=l(9656),Y=l(8352),f=l(5712),E=l(1160),h=l(4860);const M=[k.fO,g.sn,Y.EV,f.VL,E.I$,h.K6];var $=l(6056),e=l(4496),R=l(8700),b=l(8656),_=l(3172),I=l(9100),w=l(5120),F=l(28),C=l(3984),p=l(372),z=l(6504),i=l(7324);let s=(()=>{class o{constructor(d){this.i18n=d,this.date=null,this.isEnglish=!1}onChange(d){console.log("onChange: ",d)}getWeek(d){console.log("week: ",(0,C.c)(d))}changeLanguage(){this.i18n.setLocale(this.isEnglish?p.QH:p.wl),this.isEnglish=!this.isEnglish}static#e=this.\u0275fac=function(a){return new(a||o)(e.GI1(p.Sc))};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-basic"]],decls:10,vars:4,consts:[[3,"ngModel","ngModelChange"],["nzMode","week",3,"ngModel","ngModelChange"],["nzMode","month",3,"ngModel","ngModelChange"],["nzMode","year",3,"ngModel","ngModelChange"],["nz-button","","nzType","default",3,"click"]],template:function(a,n){1&a&&(e.I0R(0,"nz-date-picker",0),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y(),e.wR5(1,"br"),e.I0R(2,"nz-date-picker",1),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.getWeek(t)}),e.C$Y(),e.wR5(3,"br"),e.I0R(4,"nz-date-picker",2),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y(),e.wR5(5,"br"),e.I0R(6,"nz-date-picker",3),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y(),e.wR5(7,"br"),e.I0R(8,"button",4),e.qCj("click",function(){return n.changeLanguage()}),e.OEk(9,"Switch language for all pickers"),e.C$Y()),2&a&&(e.OKB("ngModel",n.date),e.yG2(2),e.OKB("ngModel",n.date),e.yG2(2),e.OKB("ngModel",n.date),e.yG2(2),e.OKB("ngModel",n.date))},dependencies:[z.ue,z._G,k.iO,Y.Ez,F.k,i.o9],styles:["nz-date-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})(),c=(()=>{class o{static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-bordered"]],decls:4,vars:0,consts:[["nzBorderless",""]],template:function(a,n){1&a&&e.wR5(0,"nz-date-picker",0)(1,"br")(2,"nz-range-picker",0)(3,"br")},dependencies:[k.iO,k.u2],styles:["nz-date-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})();function O(o,D){if(1&o&&(e.I0R(0,"div",2),e.OEk(1),e.C$Y()),2&o){const d=D.$implicit;e.eAK("border",1===d.getDate()),e.yG2(),e.oRS(" ",d.getDate()," ")}}let N=(()=>{class o{static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-date-render"]],decls:4,vars:2,consts:[[3,"nzDateRender"],["tplRender",""],[1,"ant-picker-cell-inner"]],template:function(a,n){if(1&a&&(e.wR5(0,"nz-date-picker",0)(1,"nz-range-picker",0),e.yuY(2,O,2,3,"ng-template",null,1,e.gJz)),2&a){const r=e.Gew(3);e.E7m("nzDateRender",r),e.yG2(),e.E7m("nzDateRender",r)}},dependencies:[k.iO,k.u2],styles:["nz-date-picker[_ngcontent-%COMP%], nz-range-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}.border[_ngcontent-%COMP%]{border:1px solid #1890ff;border-radius:50%}"]})}return o})();var T=l(5924),P=l(9704),X=l(8764),q=l(568);const ee=o=>({nzDefaultOpenValue:o}),ne=o=>({nzHideDisabledOptions:!0,nzDefaultOpenValue:o});let A=(()=>{class o{constructor(){this.today=new Date,this.timeDefaultValue=function J(o,D){(0,X.c)(2,arguments);var d=(0,P.c)(o),a=(0,T.c)(D);return d.setHours(a),d}(new Date,0),this.disabledDate=d=>(0,q.c)(d,this.today)>0,this.disabledDateTime=()=>({nzDisabledHours:()=>this.range(0,24).splice(4,20),nzDisabledMinutes:()=>this.range(30,60),nzDisabledSeconds:()=>[55,56]}),this.disabledRangeTime=(d,a)=>"start"===a?{nzDisabledHours:()=>this.range(0,60).splice(4,20),nzDisabledMinutes:()=>this.range(30,60),nzDisabledSeconds:()=>[55,56]}:{nzDisabledHours:()=>this.range(0,60).splice(20,4),nzDisabledMinutes:()=>this.range(0,31),nzDisabledSeconds:()=>[55,56]}}range(d,a){const n=[];
1for(let r=d;r<a;r++)n.push(r);return n}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-disabled-date"]],decls:7,vars:12,consts:[["nzFormat","yyyy-MM-dd HH:mm:ss",3,"nzDisabledDate","nzDisabledTime","nzShowTime"],["nzMode","month",3,"nzDisabledDate"],["nzMode","year",3,"nzDisabledDate"]],template:function(a,n){1&a&&e.wR5(0,"nz-date-picker",0)(1,"br")(2,"nz-date-picker",1)(3,"br")(4,"nz-date-picker",2)(5,"br")(6,"nz-range-picker",0),2&a&&(e.E7m("nzDisabledDate",n.disabledDate)("nzDisabledTime",n.disabledDateTime)("nzShowTime",e.S45(8,ee,n.timeDefaultValue)),e.yG2(2),e.E7m("nzDisabledDate",n.disabledDate),e.yG2(2),e.E7m("nzDisabledDate",n.disabledDate),e.yG2(2),e.E7m("nzDisabledDate",n.disabledDate)("nzDisabledTime",n.disabledRangeTime)("nzShowTime",e.S45(10,ne,n.timeDefaultValue)))},dependencies:[k.iO,k.u2],styles:["nz-date-picker[_ngcontent-%COMP%], nz-range-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})(),B=(()=>{class o{static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-disabled"]],decls:5,vars:0,consts:[["nzDisabled",""],["nzMode","month","nzDisabled",""]],template:function(a,n){1&a&&e.wR5(0,"nz-date-picker",0)(1,"br")(2,"nz-date-picker",1)(3,"br")(4,"nz-range-picker",0)},dependencies:[k.iO,k.u2],styles:["nz-date-picker[_ngcontent-%COMP%], nz-range-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})(),H=(()=>{class o{constructor(){this.plainFooter="plain extra footer",this.footerRender=()=>"extra footer"}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-extra-footer"]],decls:6,vars:5,consts:[[3,"nzRenderExtraFooter"],["nzShowTime","",3,"nzRenderExtraFooter"],["nzMode","month",3,"nzRenderExtraFooter"]],template:function(a,n){1&a&&e.wR5(0,"nz-date-picker",0)(1,"br")(2,"nz-date-picker",1)(3,"nz-range-picker",0)(4,"nz-range-picker",1)(5,"nz-date-picker",2),2&a&&(e.E7m("nzRenderExtraFooter",n.footerRender),e.yG2(2),e.E7m("nzRenderExtraFooter",n.plainFooter),e.yG2(),e.E7m("nzRenderExtraFooter",n.footerRender),e.yG2(),e.E7m("nzRenderExtraFooter",n.plainFooter),e.yG2(),e.E7m("nzRenderExtraFooter",n.footerRender))},dependencies:[k.iO,k.u2],styles:["nz-date-picker[_ngcontent-%COMP%], nz-range-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})(),G=(()=>{class o{constructor(){this.dateFormat="yyyy/MM/dd",this.monthFormat="yyyy/MM"}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-format"]],decls:5,vars:3,consts:[[3,"nzFormat"],["nzMode","month",3,"nzFormat"]],template:function(a,n){1&a&&e.wR5(0,"nz-date-picker",0)(1,"br")(2,"nz-date-picker",1)(3,"br")(4,"nz-range-picker",0),2&a&&(e.E7m("nzFormat",n.dateFormat),e.yG2(2),e.E7m("nzFormat",n.monthFormat),e.yG2(2),e.E7m("nzFormat",n.dateFormat))},dependencies:[k.iO,k.u2],styles:["nz-date-picker[_ngcontent-%COMP%], nz-range-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})(),v=(()=>{class o{constructor(){this.date=null,this.rangeDate=null}onChange(d){console.log("onChange: ",d)}getWeek(d){console.log("week: ",(0,C.c)(d))}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-inline"]],decls:19,vars:9,consts:[["nzTitle","Default"],["nzInline","",3,"ngModel","ngModelChange"],["nzTitle","Week"],["nzInline","","nzMode","week",3,"ngModel","ngModelChange"],["nzTitle","Month"],["nzInline","","nzMode","month",3,"ngModel","ngModelChange"],["nzTitle","Year"],["nzInline","","nzMode","year",3,"ngModel","ngModelChange"],["nzTitle","Range"],["nzTitle","Range Time"],["nzInline","","nzShowTime","",3,"ngModel","ngModelChange"],["nzTitle","Range Week"],["nzTitle","Range Month"],["nzTitle","Range Year"]],template:function(a,n){1&a&&(e.I0R(0,"nz-tabset")(1,"nz-tab",0)(2,"nz-date-picker",1),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}
1),e.C$Y()(),e.I0R(3,"nz-tab",2)(4,"nz-date-picker",3),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.getWeek(t)}),e.C$Y()(),e.I0R(5,"nz-tab",4)(6,"nz-date-picker",5),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y()(),e.I0R(7,"nz-tab",6)(8,"nz-date-picker",7),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y()(),e.I0R(9,"nz-tab",8)(10,"nz-range-picker",1),e.iHE("ngModelChange",function(t){return e.kNx(n.rangeDate,t)||(n.rangeDate=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y()(),e.I0R(11,"nz-tab",9)(12,"nz-range-picker",10),e.iHE("ngModelChange",function(t){return e.kNx(n.rangeDate,t)||(n.rangeDate=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y()(),e.I0R(13,"nz-tab",11)(14,"nz-range-picker",3),e.iHE("ngModelChange",function(t){return e.kNx(n.rangeDate,t)||(n.rangeDate=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y()(),e.I0R(15,"nz-tab",12)(16,"nz-range-picker",5),e.iHE("ngModelChange",function(t){return e.kNx(n.rangeDate,t)||(n.rangeDate=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y()(),e.I0R(17,"nz-tab",13)(18,"nz-range-picker",7),e.iHE("ngModelChange",function(t){return e.kNx(n.rangeDate,t)||(n.rangeDate=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y()()()),2&a&&(e.yG2(2),e.OKB("ngModel",n.date),e.yG2(2),e.OKB("ngModel",n.date),e.yG2(2),e.OKB("ngModel",n.date),e.yG2(2),e.OKB("ngModel",n.date),e.yG2(2),e.OKB("ngModel",n.rangeDate),e.yG2(2),e.OKB("ngModel",n.rangeDate),e.yG2(2),e.OKB("ngModel",n.rangeDate),e.yG2(2),e.OKB("ngModel",n.rangeDate),e.yG2(2),e.OKB("ngModel",n.rangeDate))},dependencies:[z.ue,z._G,k.iO,k.u2,h.g1,h.Yh],styles:["[_nghost-%COMP%]     .ant-tabs-tabpane{padding:24px;overflow:auto}"]})}return o})(),L=(()=>{class o{constructor(){this.placement="bottomLeft"}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-placement"]],decls:14,vars:3,consts:[[3,"ngModel","ngModelChange"],["nz-radio-button","","nzValue","bottomLeft"],["nz-radio-button","","nzValue","bottomRight"],["nz-radio-button","","nzValue","topLeft"],["nz-radio-button","","nzValue","topRight"],[3,"nzPlacement"]],template:function(a,n){1&a&&(e.I0R(0,"nz-radio-group",0),e.iHE("ngModelChange",function(t){return e.kNx(n.placement,t)||(n.placement=t),t}),e.I0R(1,"label",1),e.OEk(2,"bottomLeft"),e.C$Y(),e.I0R(3,"label",2),e.OEk(4,"bottomRight"),e.C$Y(),e.I0R(5,"label",3),e.OEk(6,"topLeft"),e.C$Y(),e.I0R(7,"label",4),e.OEk(8,"topRight"),e.C$Y()(),e.wR5(9,"br")(10,"br")(11,"nz-date-picker",5)(12,"br")(13,"nz-range-picker",5)),2&a&&(e.OKB("ngModel",n.placement),e.yG2(11),e.E7m("nzPlacement",n.placement),e.yG2(2),e.E7m("nzPlacement",n.placement))},dependencies:[z.ue,z._G,k.iO,k.u2,g.es,g.uw],styles:["nz-date-picker[_ngcontent-%COMP%], nz-range-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})();var te=l(644);let x=(()=>{class o{constructor(){this.ranges={Today:[new Date,new Date],"This Month":[new Date,(0,te.c)(new Date)]}}onChange(d){console.log("From: ",d[0],", to: ",d[1])}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-presetted-ranges"]],decls:3,vars:2,consts:[["ngModel","",3,"nzRanges","ngModelChange"],["nzShowTime","","nzFormat","yyyy/MM/dd HH:mm:ss","ngModel","",3,"nzRanges","ngModelChange"]],template:function(a,n){1&a&&(e.I0R(0,"nz-range-picker",0),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y(),e.wR5(1,"br"),e.I0R(2,"nz-range-picker",1),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y()),2&a&&(e.E7m("nzRanges",n.ranges),e.yG2(2),e.E7m("nzRanges",n.ranges))},dependencies:[z.ue,z._G,k.iO,k.u2],styles:["nz-date-picker[_ngcontent-%COMP%], nz-range-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})(),W=(()=>{class o{constructor(){this.date=null}onChange(d){console.log("onChange: ",d)}getWeek(d){console.log("week: ",d.map(C.c))}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-range-picker"]],decls:9,vars:6,consts:[[3,"ngModel","ngModelChange"],[3,"nzShowTime","ngModel","ngModelChange"],["nzMode","week",3,"ngModel","ngModelChange"],["nzMode","month",3,"ngModel","ngModelChange"],["nzMode","year",3,"ngModel","ngModelChange"]],template:function(a,n){1&a&&(e.I0R(0,"nz-range-picker",0),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}
1),e.C$Y(),e.wR5(1,"br"),e.I0R(2,"nz-range-picker",1),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y(),e.wR5(3,"br"),e.I0R(4,"nz-range-picker",2),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.getWeek(t)}),e.C$Y(),e.wR5(5,"br"),e.I0R(6,"nz-range-picker",3),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y(),e.wR5(7,"br"),e.I0R(8,"nz-range-picker",4),e.iHE("ngModelChange",function(t){return e.kNx(n.date,t)||(n.date=t),t}),e.qCj("ngModelChange",function(t){return n.onChange(t)}),e.C$Y()),2&a&&(e.OKB("ngModel",n.date),e.yG2(2),e.E7m("nzShowTime",!0),e.OKB("ngModel",n.date),e.yG2(2),e.OKB("ngModel",n.date),e.yG2(2),e.OKB("ngModel",n.date),e.yG2(2),e.OKB("ngModel",n.date))},dependencies:[z.ue,z._G,k.iO,k.u2],styles:["nz-range-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})(),K=(()=>{class o{constructor(){this.size="default"}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-size"]],decls:16,vars:5,consts:[[3,"ngModel","ngModelChange"],["nz-radio-button","","nzValue","large"],["nz-radio-button","","nzValue","default"],["nz-radio-button","","nzValue","small"],[3,"nzSize"],["nzMode","week",3,"nzSize"],["nzMode","month",3,"nzSize"]],template:function(a,n){1&a&&(e.I0R(0,"nz-radio-group",0),e.iHE("ngModelChange",function(t){return e.kNx(n.size,t)||(n.size=t),t}),e.I0R(1,"label",1),e.OEk(2,"large"),e.C$Y(),e.I0R(3,"label",2),e.OEk(4,"default"),e.C$Y(),e.I0R(5,"label",3),e.OEk(6,"small"),e.C$Y()(),e.wR5(7,"br")(8,"br")(9,"nz-date-picker",4)(10,"br")(11,"nz-date-picker",5)(12,"br")(13,"nz-date-picker",6)(14,"br")(15,"nz-range-picker",4)),2&a&&(e.OKB("ngModel",n.size),e.yG2(9),e.E7m("nzSize",n.size),e.yG2(2),e.E7m("nzSize",n.size),e.yG2(2),e.E7m("nzSize",n.size),e.yG2(2),e.E7m("nzSize",n.size))},dependencies:[z.ue,z._G,k.iO,k.u2,g.es,g.uw],styles:["nz-date-picker[_ngcontent-%COMP%], nz-range-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})();const oe=["endDatePicker"];let j=(()=>{class o{constructor(){this.startValue=null,this.endValue=null,this.disabledStartDate=d=>!(!d||!this.endValue)&&d.getTime()>this.endValue.getTime(),this.disabledEndDate=d=>!(!d||!this.startValue)&&d.getTime()<=this.startValue.getTime()}handleStartOpenChange(d){d||this.endDatePicker.open(),console.log("handleStartOpenChange",d)}handleEndOpenChange(d){console.log("handleEndOpenChange",d)}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-start-end"]],viewQuery:function(a,n){if(1&a&&e.CC$(oe,5),2&a){let r;e.wto(r=e.Gqi())&&(n.endDatePicker=r.first)}},decls:3,vars:4,consts:[["nzShowTime","","nzFormat","yyyy-MM-dd HH:mm:ss","nzPlaceHolder","Start",3,"nzDisabledDate","ngModel","ngModelChange","nzOnOpenChange"],["nzShowTime","","nzFormat","yyyy-MM-dd HH:mm:ss","nzPlaceHolder","End",3,"nzDisabledDate","ngModel","ngModelChange","nzOnOpenChange"],["endDatePicker",""]],template:function(a,n){1&a&&(e.I0R(0,"nz-date-picker",0),e.iHE("ngModelChange",function(t){return e.kNx(n.startValue,t)||(n.startValue=t),t}),e.qCj("nzOnOpenChange",function(t){return n.handleStartOpenChange(t)}),e.C$Y(),e.I0R(1,"nz-date-picker",1,2),e.iHE("ngModelChange",function(t){return e.kNx(n.endValue,t)||(n.endValue=t),t}),e.qCj("nzOnOpenChange",function(t){return n.handleEndOpenChange(t)}),e.C$Y()),2&a&&(e.E7m("nzDisabledDate",n.disabledStartDate),e.OKB("ngModel",n.startValue),e.yG2(),e.E7m("nzDisabledDate",n.disabledEndDate),e.OKB("ngModel",n.endValue))},dependencies:[z.ue,z._G,k.iO],styles:["nz-date-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})();function ae(o,D){1&o&&e.wR5(0,"nz-date-picker",3)}function de(o,D){1&o&&e.wR5(0,"nz-date-picker",4)}function ie(o,D){1&o&&e.wR5(0,"nz-range-picker",3)}function re(o,D){1&o&&e.wR5(0,"nz-range-picker",4)}let Z=(()=>{class o{static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-status"]],decls:5,vars:0,consts:[["nzDirection","vertical",2,"width","100%"],["nzStatus","error","style","width: 100%",4,"nzSpaceItem"],["nzStatus","warning","style","width: 100%",4,"nzSpaceItem"],["nzStatus","error",2,"width","100%"],["nzStatus","warning",2,"width","100%"]],template:function(a,n){1&a&&(e.I0R(0,"nz-space",0),e.yuY(1,ae,1,0,"nz-date-picker",1)(2,de,1,0,"nz-date-picker",2)(3,ie,1,0,"nz-range-picker",1)(4,re,1,0,"nz-range-picker",2),e.C$Y())},dependencies:[k.iO,k.u2,E.Ud,E.UH],encapsulation:2})}return o}
1)();function ce(o,D){if(1&o){const d=e.KQA();e.I0R(0,"nz-select",2),e.iHE("ngModelChange",function(n){e.usT(d);const r=e.GaO();return e.kNx(r.mode,n)||(r.mode=n),e.CGJ(n)}),e.wR5(1,"nz-option",3)(2,"nz-option",4)(3,"nz-option",5)(4,"nz-option",6),e.C$Y()}if(2&o){const d=e.GaO();e.OKB("ngModel",d.mode)}}function ue(o,D){if(1&o&&e.wR5(0,"nz-date-picker",7),2&o){const d=e.GaO();e.E7m("nzMode",d.mode)}}let V=(()=>{class o{constructor(){this.mode="date"}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-switch"]],decls:3,vars:0,consts:[[3,"ngModel","ngModelChange",4,"nzSpaceItem"],[3,"nzMode",4,"nzSpaceItem"],[3,"ngModel","ngModelChange"],["nzValue","date","nzLabel","Date"],["nzValue","week","nzLabel","Week"],["nzValue","month","nzLabel","Month"],["nzValue","year","nzLabel","Year"],[3,"nzMode"]],template:function(a,n){1&a&&(e.I0R(0,"nz-space"),e.yuY(1,ce,5,1,"nz-select",0)(2,ue,1,1,"nz-date-picker",1),e.C$Y())},dependencies:[z.ue,z._G,k.iO,f.eE,f.Mh,E.Ud,E.UH],encapsulation:2})}return o})();const se=()=>({nzFormat:"HH:mm"});let U=(()=>{class o{onChange(d){console.log("Selected Time: ",d)}onOk(d){console.log("onOk",d)}onCalendarChange(d){console.log("onCalendarChange",d)}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-time"]],decls:3,vars:2,consts:[["nzShowTime","","nzFormat","yyyy-MM-dd HH:mm:ss","ngModel","",3,"ngModelChange","nzOnOk"],["nzFormat","yyyy-MM-dd HH:mm","ngModel","",3,"nzShowTime","ngModelChange","nzOnCalendarChange","nzOnOk"]],template:function(a,n){1&a&&(e.I0R(0,"nz-date-picker",0),e.qCj("ngModelChange",function(t){return n.onChange(t)})("nzOnOk",function(t){return n.onOk(t)}),e.C$Y(),e.wR5(1,"br"),e.I0R(2,"nz-range-picker",1),e.qCj("ngModelChange",function(t){return n.onChange(t)})("nzOnCalendarChange",function(t){return n.onCalendarChange(t)})("nzOnOk",function(t){return n.onOk(t)}),e.C$Y()),2&a&&(e.yG2(2),e.E7m("nzShowTime",e.q4q(1,se)))},dependencies:[z.ue,z._G,k.iO,k.u2],styles:["nz-date-picker[_ngcontent-%COMP%], nz-range-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})(),Q=(()=>{class o{constructor(){this.showWeekNumber=!1}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker-week-number"]],decls:10,vars:5,consts:[[3,"ngModel","ngModelChange"],["nz-radio-button","",3,"nzValue"],[3,"nzShowWeekNumber"]],template:function(a,n){1&a&&(e.I0R(0,"nz-radio-group",0),e.iHE("ngModelChange",function(t){return e.kNx(n.showWeekNumber,t)||(n.showWeekNumber=t),t}),e.I0R(1,"label",1),e.OEk(2,"true"),e.C$Y(),e.I0R(3,"label",1),e.OEk(4,"false"),e.C$Y()(),e.wR5(5,"br")(6,"br")(7,"nz-date-picker",2)(8,"br")(9,"nz-range-picker",2)),2&a&&(e.OKB("ngModel",n.showWeekNumber),e.yG2(),e.E7m("nzValue",!0),e.yG2(2),e.E7m("nzValue",!1),e.yG2(4),e.E7m("nzShowWeekNumber",n.showWeekNumber),e.yG2(2),e.E7m("nzShowWeekNumber",n.showWeekNumber))},dependencies:[z.ue,z._G,k.iO,k.u2,g.es,g.uw],styles:["nz-date-picker[_ngcontent-%COMP%], nz-range-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}return o})(),le=(()=>{class o{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()})}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker"]],viewQuery:function(a,n){if(1&a&&e.CC$($.A,5),2&a){let r;e.wto(r=e.Gqi())&&(n.codeBoxes=r)}},decls:965,vars:75,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["nzHref","#components-date-picker-demo-basic","nzTitle","\u57fa\u672c"],["nzHref","#components-date-picker-demo-range-picker","nzTitle","\u8303\u56f4\u9009\u62e9\u5668"],["nzHref","#components-date-picker-demo-switch","nzTitle","\u5207\u6362\u4e0d\u540c\u7684\u9009\u62e9\u5668"],["nzHref","#components-date-picker-demo-format","nzTitle","\u65e5\u671f\u683c\u5f0f"],["nzHref","#components-date-picker-demo-size","nzTitle","\u4e09\u79cd\u5927\u5c0f"],["nzHref","#components-date-picker-demo-time","nzTitle","\u65e5\u671f\u65f6\u95f4\u9009\u62e9"],["nzHref","#components-date-picker-demo-disabled","nzTitle","\u7981\u7528"],["nzHref","#components-date-picker-demo-disabled-date","nzTitle","\u4e0d\u53ef\u9009\u62e9\u65e5\u671f\u548c\u65f6\u95f4"],["nzHref","#components-date-picker-demo-start-end","nzTitle","\u81ea\u5b9a\u4e49\u65e5\u671f\u8303\u56f4\u9009\u62e9"],["nzHref","#components-date-picker-demo-presetted-ranges","nzTitle","\u9884\u8bbe\u8303\u56f4"],["nzHref","#components-date-picker-demo-extra-footer","nzTitle","\u989d\u5916\u7684\u9875\u811a"],["nzHref","#components-date-picker-demo-date-render","nzTitle","\u5b9a\u5236\u65e5\u671f\u5355\u5143\u683c"],["nzHref","#components-date-picker-demo-bordered","nzTitle","\u65e0\u8fb9\u6846"],["nzHref","#components-date-picker-demo-inline","nzTitle","\u5185\u8054\u6a21\u5f0f"],["nzHref","#components-date-picker-demo-status","nzTitle","\u81ea\u5b9a\u4e49\u72b6\u6001"],["nzHref","#components-date-picker-demo-placement","nzTitle","\u81ea\u5b9a\u4e49\u4f4d\u7f6e"],["nzHref","#components-date-picker-demo-week-number","nzTitle","\u663e\u793a\u5468\u6570"],["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/date-picker/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nz-icon","","nzType","edit"],["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,"nzXl","nzSpan"],["nzTitle","\u57fa\u672c","nzSelector","nz-demo-date-picker-basic","nzGenerateCommand","ng g ng-zorro-antd:date-picker-basic <name>","nzComponentName","NzDemoDatePickerBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u5207\u6362\u4e0d\u540c\u7684\u9009\u62e9\u5668","nzSelector","nz-demo-date-picker-switch","nzGenerateCommand","ng g ng-zorro-antd:date-picker-switch <name>","nzComponentName","NzDemoDatePickerSwitchComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u4e09\u79cd\u5927\u5c0f","nzSelector","nz-demo-date-picker-size","nzGenerateCommand","ng g ng-zorro-antd:date-picker-size <name>","nzComponentName","NzDemoDatePickerSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u7981\u7528","nzSelector","nz-demo-date-picker-disabled","nzGenerateCommand","ng g ng-zorro-antd:date-picker-disabled <name>","nzComponentName","NzDemoDatePickerDisabledComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u81ea\u5b9a\u4e49\u65e5\u671f\u8303\u56f4\u9009\u62e9","nzSelector","nz-demo-date-picker-start-end","nzGenerateCommand","ng g ng-zorro-antd:date-picker-start-end <name>","nzComponentName","NzDemoDatePickerStartEndComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u989d\u5916\u7684\u9875\u811a","nzSelector","nz-demo-date-picker-extra-footer","nzGenerateCommand","ng g ng-zorro-antd:date-picker-extra-footer <name>","nzComponentName","NzDemoDatePickerExtraFooterComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u65e0\u8fb9\u6846","nzSelector","nz-demo-date-picker-bordered","nzGenerateCommand","ng g ng-zorro-antd:date-picker-bordered <name>","nzComponentName","NzDemoDatePickerBorderedComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u81ea\u5b9a\u4e49\u72b6\u6001","nzSelector","nz-demo-date-picker-status","nzGenerateCommand","ng g ng-zorro-antd:date-picker-status <name>","nzComponentName","NzDemoDatePickerStatusComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u663e\u793a\u5468\u6570","nzSelector","nz-demo-date-picker-week-number","nzGenerateCommand","ng g ng-zorro-antd:date-picker-week-number <name>","nzComponentName","NzDemoDatePickerWeekNumberComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u8303\u56f4\u9009\u62e9\u5668","nzSelector","nz-demo-date-picker-range-picker","nzGenerateCommand","ng g ng-zorro-antd:date-picker-range-picker <name>","nzComponentName","NzDemoDatePickerRangePickerComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u65e5\u671f\u683c\u5f0f","nzSelector","nz-demo-date-picker-format","nzGenerateCommand","ng g ng-zorro-antd:date-picker-format <name>","nzComponentName","NzDemoDatePickerFormatComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u65e5\u671f\u65f6\u95f4\u9009\u62e9","nzSelector","nz-demo-date-picker-time","nzGenerateCommand","ng g ng-zorro-antd:date-picker-time <name>","nzComponentName","NzDemoDatePickerTimeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u4e0d\u53ef\u9009\u62e9\u65e5\u671f\u548c\u65f6\u95f4","nzSelector","nz-demo-date-picker-disabled-date","nzGenerateCommand","ng g ng-zorro-antd:date-picker-disabled-date <name>","nzComponentName","NzDemoDatePickerDisabledDateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u9884\u8bbe\u8303\u56f4","nzSelector","nz-demo-date-picker-presetted-ranges","nzGenerateCommand","ng g ng-zorro-antd:date-picker-presetted-ranges <name>","nzComponentName","NzDemoDatePickerPresettedRangesComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5b9a\u5236\u65e5\u671f\u5355\u5143\u683c","nzSelector","nz-demo-date-picker-date-render","nzGenerateCommand","ng g ng-zorro-antd:date-picker-date-render <name>","nzComponentName","NzDemoDatePickerDateRenderComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5185\u8054\u6a21\u5f0f","nzSelector","nz-demo-date-picker-inline","nzGenerateCommand","ng g ng-zorro-antd:date-picker-inline <name>","nzComponentName","NzDemoDatePickerInlineComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u81ea\u5b9a\u4e49\u4f4d\u7f6e","nzSelector","nz-demo-date-picker-placement","nzGenerateCommand","ng g ng-zorro-antd:date-picker-placement <name>","nzComponentName","NzDemoDatePickerPlacementComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["href","https://angular.io/guide/i18n","target","_blank","rel","noopener"],[1,"language-typescript"],[1,"token","function"],["href","https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date","target","_blank","rel","noopener"],["href","https://date-fns.org/","target","_blank","rel","noopener"],["id","\u5171\u540c\u7684-api"],["onclick","window.location.hash = '\u5171\u540c\u7684-api'",1,"anchor"],["href","https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json","target","_blank","rel","noopener"],["id","\u5171\u540c\u7684\u65b9\u6cd5"],["onclick","window.location.hash = '\u5171\u540c\u7684\u65b9\u6cd5'",1,"anchor"],["id","nz-date-picker:standalone"],[1,"api-type-label","component"],[1,"api-type-label","standalone"],["onclick","window.location.hash = 'nz-date-picker:standalone'",1,"anchor"],["id",'nz-date-picker[nzmode="date"]:standalone'],["onclick","window.location.hash = 'nz-date-picker[nzmode=\"date\"]:standalone'",1,"anchor"],["href","/components/time-picker/zh#api"],["id","nz-range-picker:standalone"],["onclick","window.location.hash = 'nz-range-picker:standalone'",1,"anchor"],["id",'nz-range-picker[nzmode="date"]:standalone'],["onclick","window.location.hash = 'nz-range-picker[nzmode=\"date\"]:standalone'",1,"anchor"],["id","faq"],["onclick","window.location.hash = 'faq'",1,"anchor"],["id",'\u4e3a\u4f55\u5728\u8bbe\u7f6e-<code>nzformat="dd/mm/yyyy"</code>-\u540e\u624b\u52a8\u8f93\u5165\u4e0d\u751f\u6548'],["onclick","window.location.hash = '\u4e3a\u4f55\u5728\u8bbe\u7f6e-<code>nzformat=\"dd/mm/yyyy\"</code>-\u540e\u624b\u52a8\u8f93\u5165\u4e0d\u751f\u6548'",1,"anchor"],["href","https://angular.io/api/common/DatePipe","target","_blank","rel","noopener"],["href","/docs/i18n/zh#%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8Date-fns%E8%BF%9B%E8%A1%8C%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F%E5%8C%96"]],template:function(a,n){1&a&&(e.I0R(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),e.qCj("nzClick",function(t){return n.goLink(t)}),e.wR5(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)(11,"nz-link",10)(12,"nz-link",11)(13,"nz-link",12)(14,"nz-link",13)(15,"nz-link",14)(16,"nz-link",15)(17,"nz-link",16)(18,"nz-link",17)(19,"nz-link",18)(20,"nz-link",19),e.C$Y()(),e.I0R(21,"section",20)(22,"h1"),e.OEk(23,"DatePicker"),e.I0R(24,"span",21),e.OEk(25,"\u65e5\u671f\u9009\u62e9\u6846"),e.C$Y(),e.wR5(26,"span",22),e.I0R(27,"a",23),e.wR5(28,"span",24),e.C$Y()(),e.I0R(29,"section",20),e.EdD(),e.I0R(30,"p"),e.OEk(31,"\u8f93\u5165\u6216\u9009\u62e9\u65e5\u671f\u7684\u63a7\u4ef6\u3002"),e.C$Y(),e.I0R(32,"h2",25)(33,"span"),e.OEk(34,"\u4f55\u65f6\u4f7f\u7528"),e.C$Y(),e.I0R(35,"a",26),e.OEk(36,"#"),e.C$Y()(),e.I0R(37,"p"),e.OEk(38,"\u5f53\u7528\u6237\u9700\u8981\u8f93\u5165\u4e00\u4e2a\u65e5\u671f\uff0c\u53ef\u4ee5\u70b9\u51fb\u6807\u51c6\u8f93\u5165\u6846\uff0c\u5f39\u51fa\u65e5\u671f\u9762\u677f\u8fdb\u884c\u9009\u62e9\u3002"),e.C$Y(),e.I0R(39,"pre",27)(40,"code")(41,"span",28),e.OEk(42,"import"),e.C$Y(),e.OEk(43," "),e.I0R(44,"span",29),e.OEk(45,"{"),e.C$Y(),e.OEk(46," NzDatePickerModule "),e.I0R(47,"span",29),e.OEk(48,"}"),e.C$Y(),e.OEk(49," "),e.I0R(50,"span",28),e.OEk(51,"from"),e.C$Y(),e.OEk(52," "),e.I0R(53,"span",30),e.OEk(54,"'ng-zorro-antd/date-picker'"),e.C$Y(),e.I0R(55,"span",29),e.OEk(56,";"),e.C$Y()()(),e.eAF(),e.C$Y(),e.I0R(57,"h2")(58,"span"),e.OEk(59,"\u4ee3\u7801\u6f14\u793a"),e.C$Y(),e.I0R(60,"span",31),e.qCj("click",function(){return n.expandAllCode()}),e.C$Y()()(),e.I0R(61,"div",32)(62,"div",33)(63,"nz-code-box",34),e.wR5(64,"nz-demo-date-picker-basic",35),e.I0R(65,"div",36),e.EdD(),e.I0R(66,"p"),e.OEk(67,"\u6700\u7b80\u5355\u7684\u7528\u6cd5\uff0c\u5728\u6d6e\u5c42\u4e2d\u53ef\u4ee5\u9009\u62e9\u6216\u8005\u8f93\u5165\u65e5\u671f\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(68,"nz-code-box",37),e.wR5(69,"nz-demo-date-picker-switch",35),e.I0R(70,"div",36),e.EdD(),e.I0R(71,"p"),e.OEk(72,"\u63d0\u4f9b\u9009\u62e9\u5668\uff0c\u81ea\u7531\u5207\u6362\u4e0d\u540c\u7c7b\u578b\u7684\u65e5\u671f\u9009\u62e9\u5668\uff0c\u5e38\u7528\u4e8e\u65e5\u671f\u7b5b\u9
1009\u573a\u5408\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(73,"nz-code-box",38),e.wR5(74,"nz-demo-date-picker-size",35),e.I0R(75,"div",36),e.EdD(),e.I0R(76,"p"),e.OEk(77,"\u4e09\u79cd\u5927\u5c0f\u7684\u8f93\u5165\u6846\uff0c\u82e5\u4e0d\u8bbe\u7f6e\uff0c\u5219\u4e3a "),e.I0R(78,"code"),e.OEk(79,"default"),e.C$Y(),e.OEk(80,"\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(81,"nz-code-box",39),e.wR5(82,"nz-demo-date-picker-disabled",35),e.I0R(83,"div",36),e.EdD(),e.I0R(84,"p"),e.OEk(85,"\u9009\u62e9\u6846\u7684\u4e0d\u53ef\u7528\u72b6\u6001\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(86,"nz-code-box",40),e.wR5(87,"nz-demo-date-picker-start-end",35),e.I0R(88,"div",36),e.EdD(),e.I0R(89,"p"),e.OEk(90,"\u5f53 "),e.I0R(91,"code"),e.OEk(92,"RangePicker"),e.C$Y(),e.OEk(93," \u65e0\u6cd5\u6ee1\u8db3\u4e1a\u52a1\u9700\u6c42\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e24\u4e2a "),e.I0R(94,"code"),e.OEk(95,"DatePicker"),e.C$Y(),e.OEk(96," \u5b9e\u73b0\u7c7b\u4f3c\u7684\u529f\u80fd\u3002"),e.C$Y(),e.I0R(97,"blockquote")(98,"ul")(99,"li"),e.OEk(100,"\u901a\u8fc7\u8bbe\u7f6e "),e.I0R(101,"code"),e.OEk(102,"nzDisabledDate"),e.C$Y(),e.OEk(103," \u65b9\u6cd5\uff0c\u6765\u7ea6\u675f\u5f00\u59cb\u548c\u7ed3\u675f\u65e5\u671f\u3002"),e.C$Y(),e.I0R(104,"li"),e.OEk(105,"\u901a\u8fc7 "),e.I0R(106,"code"),e.OEk(107,"open()"),e.C$Y(),e.OEk(108," \u6765\u4f18\u5316\u4ea4\u4e92\u3002"),e.C$Y()()(),e.eAF(),e.C$Y()(),e.I0R(109,"nz-code-box",41),e.wR5(110,"nz-demo-date-picker-extra-footer",35),e.I0R(111,"div",36),e.EdD(),e.I0R(112,"p"),e.OEk(113,"\u5728\u6d6e\u5c42\u4e2d\u52a0\u5165\u989d\u5916\u7684\u9875\u811a\uff0c\u4ee5\u6ee1\u8db3\u67d0\u4e9b\u5b9a\u5236\u4fe1\u606f\u7684\u9700\u6c42\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(114,"nz-code-box",42),e.wR5(115,"nz-demo-date-picker-bordered",35),e.I0R(116,"div",36),e.EdD(),e.I0R(117,"p"),e.OEk(118,"\u65e0\u8fb9\u6846\u6837\u5f0f\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(119,"nz-code-box",43),e.wR5(120,"nz-demo-date-picker-status",35),e.I0R(121,"div",36),e.EdD(),e.I0R(122,"p"),e.OEk(123,"\u4f7f\u7528 "),e.I0R(124,"code"),e.OEk(125,"nzStatus"),e.C$Y(),e.OEk(126," \u4e3a DatePicker \u6dfb\u52a0\u72b6\u6001\uff0c\u53ef\u9009 "),e.I0R(127,"code"),e.OEk(128,"error"),e.C$Y(),e.OEk(129," \u6216\u8005 "),e.I0R(130,"code"),e.OEk(131,"warning"),e.C$Y(),e.OEk(132,"\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(133,"nz-code-box",44),e.wR5(134,"nz-demo-date-picker-week-number",35),e.I0R(135,"div",36),e.EdD(),e.I0R(136,"p"),e.OEk(137,"\u4f7f\u7528 "),e.I0R(138,"code"),e.OEk(139,"nzShowWeekNumber"),e.C$Y(),e.OEk(140," \u663e\u793a\u5468\u6570"),e.C$Y(),e.eAF(),e.C$Y()()(),e.I0R(141,"div",33)(142,"nz-code-box",45),e.wR5(143,"nz-demo-date-picker-range-picker",35),e.I0R(144,"div",36),e.EdD(),e.I0R(145,"p"),e.OEk(146,"\u901a\u8fc7\u8bbe\u7f6e "),e.I0R(147,"code"),e.OEk(148,"nzMode"),e.C$Y(),e.OEk(149," \u5c5e\u6027\uff0c\u6307\u5b9a\u8303\u56f4\u9009\u62e9\u5668\u7c7b\u578b\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(150,"nz-code-box",46),e.wR5(151,"nz-demo-date-picker-format",35),e.I0R(152,"div",36),e.EdD(),e.I0R(153,"p"),e.OEk(154,"\u4f7f\u7528 "),e.I0R(155,"code"),e.OEk(156,"nzFormat"),e.C$Y(),e.OEk(157," \u5c5e\u6027\uff0c\u53ef\u4ee5\u81ea\u5b9a\u4e49\u65e5\u671f\u663e\u793a\u683c\u5f0f\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(158,"nz-code-box",47),e.wR5(159,"nz-demo-date-picker-time",35),e.I0R(160,"div",36),e.EdD(),e.I0R(161,"p"),e.OEk(162,"\u589e\u52a0\u9009\u62e9\u65f6\u95f4\u529f\u80fd\uff0c\u5f53 "),e.I0R(163,"code"),e.OEk(164,"nzShowTime"),e.C$Y(),e.OEk(165," \u4e3a\u4e00\u4e2a\u5bf9\u8c61\u65f6\uff0c\u5176\u5c5e\u6027\u4f1a\u4f20\u9012\u7ed9\u5185\u5efa\u7684 "),e.I0R(166,"code"),e.OEk(167,"TimePicker"),e.C$Y(),e.OEk(168,"\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(169,"nz-code-box",48),e.wR5(170,"nz-demo-date-picker-disabled-date",35),e.I0R(171,"div",36),e.EdD(),e.I0R(172,"p"),e.OEk(173,"\u53ef\u7528 "),e.I0R(174,"code"),e.OEk(175,"nzDisabledDate"),e.C$Y(),e.OEk(176," \u548c "),e.I0R(177,"code"),e.OEk(178,"nzDisabledTime"),e.C$Y(),e.OEk(179," \u5206\u522b\u7981\u6b62\u9009\u62e9\u90e8\u5206\u65e5\u671f\u548c\u65f6\u95f4\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(180,"nz-code-box",49),e.wR5(181,"nz-demo-date-picker-presetted-ranges",35),e.I0R(182,"div",36),e.EdD(),e.I0R(183,"p"),e.OEk(184,"RangePicker \u53ef\u4ee5\u8bbe\u7f6e\u5e38\u7528\u7684 \u9884\u8bbe\u8303\u56f4 \u63d0\u9ad8\u7528\u6237\u4f53\u9a8c\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(185,"nz-code-box",50),e.
1wR5(186,"nz-demo-date-picker-date-render",35),e.I0R(187,"div",36),e.EdD(),e.I0R(188,"p"),e.OEk(189,"\u4f7f\u7528 "),e.I0R(190,"code"),e.OEk(191,"nzDateRender"),e.C$Y(),e.OEk(192," \u53ef\u4ee5\u81ea\u5b9a\u4e49\u65e5\u671f\u5355\u5143\u683c\u7684\u5185\u5bb9\u548c\u6837\u5f0f\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(193,"nz-code-box",51),e.wR5(194,"nz-demo-date-picker-inline",35),e.I0R(195,"div",36),e.EdD(),e.I0R(196,"p"),e.OEk(197,"\u4f7f\u7528 "),e.I0R(198,"code"),e.OEk(199,"nzInline"),e.C$Y(),e.OEk(200," \u5c5e\u6027\uff0c\u53ef\u4ee5\u6e32\u67d3\u4e3a\u5185\u8054\u6a21\u5f0f\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(201,"nz-code-box",52),e.wR5(202,"nz-demo-date-picker-placement",35),e.I0R(203,"div",36),e.EdD(),e.I0R(204,"p"),e.OEk(205,"\u53ef\u4ee5\u901a\u8fc7 "),e.I0R(206,"code"),e.OEk(207,"nzPlacement"),e.C$Y(),e.OEk(208," \u624b\u52a8\u6307\u5b9a\u5f39\u51fa\u7684\u4f4d\u7f6e\u3002"),e.C$Y(),e.eAF(),e.C$Y()()()(),e.I0R(209,"section",53),e.EdD(),e.I0R(210,"h2",54)(211,"span"),e.OEk(212,"API"),e.C$Y(),e.I0R(213,"a",55),e.OEk(214,"#"),e.C$Y()(),e.I0R(215,"p")(216,"strong"),e.OEk(217,"\u6ce8\u610f\uff1a"),e.C$Y(),e.OEk(218," nz-date-picker \u7684\u90e8\u5206 locale \u6765\u81ea\u4e8e Angular \u81ea\u8eab\u7684"),e.I0R(219,"a",56),e.OEk(220,"\u56fd\u9645\u5316\u652f\u6301"),e.C$Y(),e.OEk(221,"\uff0c\u9700\u8981\u5728 "),e.I0R(222,"code"),e.OEk(223,"app.module.ts"),e.C$Y(),e.OEk(224," \u6587\u4ef6\u4e2d \u5f15\u5165\u76f8\u5e94\u7684 Angular \u8bed\u8a00\u5305\u3002\n\u4f8b\u5982\uff1a"),e.C$Y(),e.I0R(225,"pre",57)(226,"code")(227,"span",28),e.OEk(228,"import"),e.C$Y(),e.OEk(229," "),e.I0R(230,"span",29),e.OEk(231,"{"),e.C$Y(),e.OEk(232," registerLocaleData "),e.I0R(233,"span",29),e.OEk(234,"}"),e.C$Y(),e.OEk(235," "),e.I0R(236,"span",28),e.OEk(237,"from"),e.C$Y(),e.OEk(238," "),e.I0R(239,"span",30),e.OEk(240,"'@angular/common'"),e.C$Y(),e.I0R(241,"span",29),e.OEk(242,";"),e.C$Y(),e.OEk(243,"\n"),e.I0R(244,"span",28),e.OEk(245,"import"),e.C$Y(),e.OEk(246," zh "),e.I0R(247,"span",28),e.OEk(248,"from"),e.C$Y(),e.OEk(249," "),e.I0R(250,"span",30),e.OEk(251,"'@angular/common/locales/zh'"),e.C$Y(),e.I0R(252,"span",29),e.OEk(253,";"),e.C$Y(),e.OEk(254,"\n"),e.I0R(255,"span",58),e.OEk(256,"registerLocaleData"),e.C$Y(),e.I0R(257,"span",29),e.OEk(258,"("),e.C$Y(),e.OEk(259,"zh"),e.I0R(260,"span",29),e.OEk(261,")"),e.C$Y(),e.I0R(262,"span",29),e.OEk(263,";"),e.C$Y()()(),e.I0R(264,"p")(265,"strong"),e.OEk(266,"\u6ce8\u610f\uff1a"),e.C$Y(),e.OEk(267," \u6240\u6709\u8f93\u5165\u8f93\u51fa\u65e5\u671f\u5bf9\u8c61\u5747\u4e3a "),e.I0R(268,"a",59),e.OEk(269,"Date"),e.C$Y(),e.OEk(270,"\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7 "),e.I0R(271,"a",60),e.OEk(272,"date-fns"),e.C$Y(),e.OEk(273," \u5de5\u5177\u5e93\u83b7\u5f97\u4f60\u9700\u8981\u7684\u6570\u636e\u3002"),e.C$Y(),e.I0R(274,"h3",61)(275,"span"),e.OEk(276,"\u5171\u540c\u7684 API"),e.C$Y(),e.I0R(277,"a",62),e.OEk(278,"#"),e.C$Y()(),e.I0R(279,"p"),e.OEk(280,"\u4ee5\u4e0b API \u4e3a nz-date-picker\u3001nz-range-picker \u5171\u4eab\u7684 API\u3002"),e.C$Y(),e.I0R(281,"table")(282,"thead")(283,"tr")(284,"th"),e.OEk(285,"\u53c2\u6570"),e.C$Y(),e.I0R(286,"th"),e.OEk(287,"\u8bf4\u660e"),e.C$Y(),e.I0R(288,"th"),e.OEk(289,"\u7c7b\u578b"),e.C$Y(),e.I0R(290,"th"),e.OEk(291,"\u9ed8\u8ba4\u503c"),e.C$Y(),e.I0R(292,"th"),e.OEk(293,"\u5168\u5c40\u914d\u7f6e"),e.C$Y()()(),e.I0R(294,"tbody")(295,"tr")(296,"td")(297,"code"),e.OEk(298,"[nzId]"),e.C$Y()(),e.I0R(299,"td"),e.OEk(300,"\u7ec4\u4ef6\u5185\u90e8 input \u7684 id \u503c"),e.C$Y(),e.I0R(301,"td")(302,"code"),e.OEk(303,"string"),e.C$Y()(),e.I0R(304,"td"),e.OEk(305,"-"),e.C$Y(),e.wR5(306,"td"),e.C$Y(),e.I0R(307,"tr")(308,"td")(309,"code"),e.OEk(310,"[nzAllowClear]"),e.C$Y()(),e.I0R(311,"td"),e.OEk(312,"\u662f\u5426\u663e\u793a\u6e05\u9664\u6309\u94ae"),e.C$Y(),e.I0R(313,"td")(314,"code"),e.OEk(315,"boolean"),e.C$Y()(),e.I0R(316,"td")(317,"code"),e.OEk(318,"true"),e.C$Y()(),e.I0R(319,"td"),e.OEk(320,"-"),e.C$Y()(),e.I0R(321,"tr")(322,"td")(323,"code"),e.OEk(324,"[nzAutoFocus]"),e.C$Y()(),e.I0R(325,"td"),e.OEk(326,"\u81ea\u52a8\u83b7\u53d6\u7126\u70b9"),e.C$Y(),e.I0R(327,"td")(328,"code"),e.OEk(329,"boolean"),e.C$Y()(),e.I0R(330,"td")(331,"code"),e.OEk(332,"false"),e.C$Y()(),e.I0R(333,"td"),e.OEk(334,"-"),e.C$Y()(),e.I0R(335,"tr")(336,"td")(337,"code"),e.OEk(338,"[nzBackdrop]"),e.C$Y()(),e.I0R(339,"td"),e.OEk(340,"\u6d6e\u5c42\u662f\u5426\u5e94\u5e26\u6709\u80cc\u666f\u677f"),e.C$Y(),e.I0R(341,"td")(342,"code"),e.OEk(343,"boolean"),e.C$Y()(),e.I0R(344,"td")(345,"code"),e.OEk(346,"false"),e.C$Y()(),e.wR5(347,"td"),e.C$Y(),e.I0R(348,"tr")(349,"td")(350,"code"),e.OEk(351,"[nzDefaultPickerValue]"),e.C$Y()(),e.I0R(352,"td"),e.OEk(353,"\u9ed8\u8ba4\u9762\u677f\u65e5\u671f"),e.C$Y(),e.I0R(354,"td")(355,"code"),e.OEk(356,"Date"),e.C$Y()(),e.I0R(357,"td")(358,"code"),e.OEk(359,"Date[]"),e.C$Y()(),e.I0R(360,"td"),e.OEk(361,"-"),e.C$Y()(),e.I0R(362,"tr")(363,"td")(364,"code"),e.OEk(365,"[nzDisabled]"),e.C$Y()(),e.I0R(366,"td"),e.OEk(367,"\u7981\u7528"),e.C$Y(),e.I0R(368,"td")(369,"code"),e.OEk(370,"boolean"),e.C$Y()(),e.I0R(371,"td")(372,"code"),e.OEk(373,"false"),e.C$Y()(),e.I0R(374,"td"),e.OEk(375,"-"),e.C$Y()(),e.I0R(376,"tr")(377,"td")(378,"code"),e.OEk(379,"[nzDisabledDate]"),e.C$Y()(),e.I0R(380,"td"),e.OEk(381,"\u4e0d\u53ef\u9009\u62e9\u7684\u65e5\u671f"),e.C$Y(),e.I0R(382,"td")(383,"code"),e.OEk(384,"(current: Date) => boolean"),e.C$Y()(),e.I0R(385,"td"),e.OEk(386,"-"),e.C$Y(),e.I0R(387,"td"),e.OEk(388,"-"),e.C$Y()(),e.I0R(389,"tr")(390,"td")(391,"code"),e.OEk(392,"[nzDropdownClassName]"),e.C$Y()(),e.I0R(393,"td"),e.OEk(394,"\u989d\u5916\u7684\u5f39\u51fa\u65e5\u5386 className"),e.C$Y(),e.I0R(395,"td")(396,"code"),e.OEk(397,"string"),e.C$Y()(),e.I0R(398,"td"),e.OEk(399,"-"),e.C$Y(),e.I0R(400,"td"),e.OEk(401,"-"),e.C$Y()(),e.I0R(402,"tr")(403,"td")(404,"code"),e.OEk(405,"[nzFormat]"),e.C$Y()(),e.I0R(406,"td"),e.OEk(407,"\u5c55\u793a\u7684\u65e5\u671f\u683c\u5f0f\uff0c\u89c1"),e.I0R(408,"code"),e.OEk(409,"nzFormat\u7279\u522b\u8bf4\u660e"),e.C$Y()(),e.I0R(410,"td")(411,"code"),e.OEk(412,"string"),e.C$Y()(),e.I0R(413,"td"),e.OEk(414,"-"),e.C$Y(),e.wR5(415,"td"),e.C$Y(),e.I0R(416,"tr")(417,"td")(418,"code"),e.OEk(419,"[nzInputReadOnly]"),e.C$Y()(),e.I0R(420,"td"),e.OEk(421,"\u4e3a input \u6807\u7b7e\u8bbe\u7f6e\u53ea\u8bfb\u5c5e\u6027\uff08\u907f\u514d\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u89e6\u53d1\u5c0f\u952e\u76d8\uff09"),e.C$Y(),e.I0R(422,"td")(423,"code"),e.OEk(424,"boolean"),e.C$Y()(),e.I0R(425,"td")(426,"code"),e.OEk(427,"false"),e.C$Y()(),e.I0R(428,"td"),e.OEk(429,"-"),e.C$Y()(),e.I0R(430,"tr")(431,"td")(432,"code"),e.OEk(433,"[nzLocale]"),e.C$Y()(),e.I0R(434,"td"),e.OEk(435,"\u56fd\u9645\u5316\u914d\u7f6e"),e.C$Y(),e.I0R(436,"td")(437,"code"),e.OEk(438,"object"),e.C$Y()(),e.I0R(439,"td")(440,"a",63),e.OEk(441,"\u9ed8\u8ba4\u914d\u7f6e"),e.C$Y()(),e.I0R(442,"td"),e.OEk(443,"-"),e.C$Y()(),e.I0R(444,"tr")(445,"td")(446,"code"),e.OEk(447,"[nzMode]"),e.C$Y()(),e.I0R(448,"td"),e.OEk(449,"\u9009\u62e9\u6a21\u5f0f"),e.C$Y(),e.I0R(450,"td")(451,"code"),e.OEk(452,"'date'"),e.C$Y()(),e.I0R(453,"td")(454,"code"),e.OEk(455,"'week'"),e.C$Y()(),e.I0R(456,"td")(457,"code"),e.OEk(458,"'month'"),e.C$Y()()(),e.I0R(459,"tr")(460,"td")(461,"code"),e.OEk(462,"[nzPlaceHolder]"),e.C$Y()(),e.I0R(463,"td"),e.OEk(464,"\u8f93\u5165\u6846\u63d0\u793a\u6587\u5b57"),e.C$Y(),e.I0R(465,"td")(466,"code"),e.OEk(467,"string | string[]"),e.C$Y()(),e.I0R(468,"td"),e.OEk(469,"-"),e.C$Y(),e.I0R(470,"td"),e.OEk(471,"-"),e.C$Y()(),e.I0R(472,"tr")(473,"td")(474,"code"),e.OEk(475,"[nzPopupStyle]"),e.C$Y()(),e.I0R(476,"td"),e.OEk(477,"\u989d\u5916\u7684\u5f39\u51fa\u65e5\u5386\u6837\u5f0f"),e.C$Y(),e.I0R(478,"td")(479,"code"),e.OEk(480,"object"),e.C$Y()(),e.I0R(481,"td")(482,"code"),e.OEk(483,"{}"),e.C$Y()(),e.I0R(484,"td"),e.OEk(485,"-"),e.C$Y()(),e.I0R(486,"tr")(487,"td")(488,"code"),e.OEk(489,"[nzRenderExtraFooter]"),e.C$Y()(),e.I0R(490,"td"),e.OEk(491,"\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a"),e.C$Y(),e.I0R(492,"td")(493,"code"),e.OEk(494,"TemplateRef | string | (() => TemplateRef | string)"),e.C$Y()(),e.I0R(495,"td"),e.OEk(496,"-"),e.C$Y(),e.wR5(497,"td"),e.C$Y(),e.I0R(498,"tr")(499,"td")(500,"code"),e.OEk(501,"[nzSize]"),e.C$Y()(),e.I0R(502,"td"),e.OEk(503,"\u8f93\u5165\u6846\u5927\u5c0f\uff0c"),e.I0R(504,"code"),e.OEk(505,"large"),e.C$Y(),e.OEk(506," \u9ad8\u5ea6\u4e3a 40px\uff0c"),e.I0R(507,"code"),e.OEk(508,"small"),e.C$Y(),e.OEk(509," \u4e3a 24px\uff0c\u9ed8\u8ba4\u662f 32px"),e.C$Y(),e.I0R(510,"td")(511,"code"),e.OEk(512,"'large' | 'small'"),e.C$Y()(),e.I0R(513,"td"),e.OEk(514,"-"),e.C$Y(),e.I0R(515,"td"),e.OEk(516,"-"),e.C$Y()(),e.I0R(517,"tr")(518,"td")(519,"code"),e.OEk(520,"[nzStatus]"),e.C$Y()(),e.I0R(52
11,"td"),e.OEk(522,"\u8bbe\u7f6e\u6821\u9a8c\u72b6\u6001"),e.C$Y(),e.I0R(523,"td")(524,"code"),e.OEk(525,"'error' | 'warning'"),e.C$Y()(),e.I0R(526,"td"),e.OEk(527,"-"),e.C$Y(),e.wR5(528,"td"),e.C$Y(),e.I0R(529,"tr")(530,"td")(531,"code"),e.OEk(532,"[nzPlacement]"),e.C$Y()(),e.I0R(533,"td"),e.OEk(534,"\u9009\u62e9\u6846\u5f39\u51fa\u7684\u4f4d\u7f6e"),e.C$Y(),e.I0R(535,"td")(536,"code"),e.OEk(537,"'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight'"),e.C$Y()(),e.I0R(538,"td")(539,"code"),e.OEk(540,"'bottomLeft'"),e.C$Y()(),e.wR5(541,"td"),e.C$Y(),e.I0R(542,"tr")(543,"td")(544,"code"),e.OEk(545,"[nzSuffixIcon]"),e.C$Y()(),e.I0R(546,"td"),e.OEk(547,"\u81ea\u5b9a\u4e49\u7684\u540e\u7f00\u56fe\u6807"),e.C$Y(),e.I0R(548,"td")(549,"code"),e.OEk(550,"string"),e.C$Y()(),e.I0R(551,"td")(552,"code"),e.OEk(553,"TemplateRef"),e.C$Y()(),e.I0R(554,"td"),e.OEk(555,"-"),e.C$Y()(),e.I0R(556,"tr")(557,"td")(558,"code"),e.OEk(559,"[nzBorderless]"),e.C$Y()(),e.I0R(560,"td"),e.OEk(561,"\u79fb\u9664\u8fb9\u6846"),e.C$Y(),e.I0R(562,"td")(563,"code"),e.OEk(564,"boolean"),e.C$Y()(),e.I0R(565,"td")(566,"code"),e.OEk(567,"false"),e.C$Y()(),e.I0R(568,"td"),e.OEk(569,"-"),e.C$Y()(),e.I0R(570,"tr")(571,"td")(572,"code"),e.OEk(573,"[nzInline]"),e.C$Y()(),e.I0R(574,"td"),e.OEk(575,"\u5185\u8054\u6a21\u5f0f"),e.C$Y(),e.I0R(576,"td")(577,"code"),e.OEk(578,"boolean"),e.C$Y()(),e.I0R(579,"td")(580,"code"),e.OEk(581,"false"),e.C$Y()(),e.I0R(582,"td"),e.OEk(583,"-"),e.C$Y()(),e.I0R(584,"tr")(585,"td")(586,"code"),e.OEk(587,"(nzOnOpenChange)"),e.C$Y()(),e.I0R(588,"td"),e.OEk(589,"\u5f39\u51fa\u65e5\u5386\u548c\u5173\u95ed\u65e5\u5386\u7684\u56de\u8c03"),e.C$Y(),e.I0R(590,"td")(591,"code"),e.OEk(592,"EventEmitter<boolean>"),e.C$Y()(),e.I0R(593,"td"),e.OEk(594,"-"),e.C$Y(),e.I0R(595,"td"),e.OEk(596,"-"),e.C$Y()()()(),e.I0R(597,"h3",64)(598,"span"),e.OEk(599,"\u5171\u540c\u7684\u65b9\u6cd5"),e.C$Y(),e.I0R(600,"a",65),e.OEk(601,"#"),e.C$Y()(),e.I0R(602,"table")(603,"thead")(604,"tr")(605,"th"),e.OEk(606,"\u540d\u79f0"),e.C$Y(),e.I0R(607,"th"),e.OEk(608,"\u63cf\u8ff0"),e.C$Y()()(),e.I0R(609,"tbody")(610,"tr")(611,"td")(612,"code"),e.OEk(613,"open()"),e.C$Y()(),e.I0R(614,"td"),e.OEk(615,"\u6253\u5f00\u65e5\u5386\u5f39\u5c42"),e.C$Y()(),e.I0R(616,"tr")(617,"td")(618,"code"),e.OEk(619,"close()"),e.C$Y()(),e.I0R(620,"td"),e.OEk(621,"\u5173\u95ed\u65e5\u5386\u5f39\u5c42"),e.C$Y()()()(),e.I0R(622,"h3",66)(623,"span"),e.OEk(624,"nz-date-picker"),e.C$Y(),e.I0R(625,"label",67),e.OEk(626,"component"),e.C$Y(),e.I0R(627,"label",68),e.OEk(628,"standalone"),e.C$Y(),e.I0R(629,"a",69),e.OEk(630,"#"),e.C$Y()(),e.I0R(631,"table")(632,"thead")(633,"tr")(634,"th"),e.OEk(635,"\u53c2\u6570"),e.C$Y(),e.I0R(636,"th"),e.OEk(637,"\u8bf4\u660e"),e.C$Y(),e.I0R(638,"th"),e.OEk(639,"\u7c7b\u578b"),e.C$Y(),e.I0R(640,"th"),e.OEk(641,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(642,"tbody")(643,"tr")(644,"td")(645,"code"),e.OEk(646,"[(ngModel)]"),e.C$Y()(),e.I0R(647,"td"),e.OEk(648,"\u65e5\u671f"),e.C$Y(),e.I0R(649,"td")(650,"code"),e.OEk(651,"Date"),e.C$Y()(),e.I0R(652,"td"),e.OEk(653,"-"),e.C$Y()()()(),e.I0R(654,"h3",70)(655,"span"),e.OEk(656,'nz-date-picker[nzMode="date"]'),e.C$Y(),e.I0R(657,"label",67),e.OEk(658,"component"),e.C$Y(),e.I0R(659,"label",68),e.OEk(660,"standalone"),e.C$Y(),e.I0R(661,"a",71),e.OEk(662,"#"),e.C$Y()(),e.I0R(663,"table")(664,"thead")(665,"tr")(666,"th"),e.OEk(667,"\u53c2\u6570"),e.C$Y(),e.I0R(668,"th"),e.OEk(669,"\u8bf4\u660e"),e.C$Y(),e.I0R(670,"th"),e.OEk(671,"\u7c7b\u578b"),e.C$Y(),e.I0R(672,"th"),e.OEk(673,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(674,"tbody")(675,"tr")(676,"td")(677,"code"),e.OEk(678,"[nzDateRender]"),e.C$Y()(),e.I0R(679,"td"),e.OEk(680,"\u81ea\u5b9a\u4e49\u65e5\u671f\u5355\u5143\u683c\u7684\u5185\u5bb9\uff08month-picker/year-picker \u4e0d\u652f\u6301\uff09"),e.C$Y(),e.I0R(681,"td")(682,"code"),e.OEk(683,"TemplateRef<Date> | string | ((d: Date) => TemplateRef<Date> | string)"),e.C$Y()(),e.I0R(684,"td"),e.OEk(685,"-"),e.C$Y()(),e.I0R(686,"tr")(687,"td")(688,"code"),e.OEk(689,"[nzDisabledTime]"),e.C$Y()(),e.I0R(690,"td"),e.OEk(691,"\u4e0d\u53ef\u9009\u62e9\u7684\u65f6\u95f4"),e.C$Y(),e.I0R(692,"td")(693,"code"),e.OEk(694,"(current: Date) => { nzDisabledHours, nzDisabledMinutes, nzDisabledSeconds }"),e.C$Y()(),e.I0R(695,"td"),e.OEk(696,"-"),e.C$Y()(),e.I0R(697,"tr")(698,"td")(699,"code"),e.OEk(700,"[nzShowTime]"),e.C$Y()(),e.I0R(701,"td"),e.OEk(702,"\u589e\u52a0\u65f6\u95f4\u9009\u62e9\u529f\u80fd"),e.C$Y(),e.I0R(703,"td")(704,"code"),e.OEk(705,"object | boolean"),e.C$Y()(),e.I0R(706,"td")(707,"a",72),e.OEk(708,"TimePicker Options"),e.C$Y()()(),e.I0R(709,"tr")(710,"td")(711,"code"),e.OEk(712,"[nzShowToday]"),e.C$Y()(),e.I0R(713,"td"),e.OEk(714,"\u662f\u5426\u5c55\u793a\u201c\u4eca\u5929\u201d\u6309\u94ae"),e.C$Y(),e.I0R(715,"td")(716,"code"),e.OEk(717,"boolean"),e.C$Y()(),e.I0R(718,"td")(719,"code"),e.OEk(720,"true"),e.C$Y()()(),e.I0R(721,"tr")(722,"td")(723,"code"),e.OEk(724,"[nzShowNow]"),e.C$Y()(),e.I0R(725,"td"),e.OEk(726,"\u5f53\u8bbe\u5b9a\u4e86"),e.I0R(727,"code"),e.OEk(728,"nzShowTime"),e.C$Y(),e.OEk(729,"\u7684\u65f6\u5019\uff0c\u9762\u677f\u662f\u5426\u663e\u793a\u201c\u6b
164\u523b\u201d\u6309\u94ae"),e.C$Y(),e.I0R(730,"td")(731,"code"),e.OEk(732,"boolean"),e.C$Y()(),e.I0R(733,"td")(734,"code"),e.OEk(735,"true"),e.C$Y()()(),e.I0R(736,"tr")(737,"td")(738,"code"),e.OEk(739,"[nzShowWeekNumber]"),e.C$Y()(),e.I0R(740,"td"),e.OEk(741,"\u662f\u5426\u5728\u6bcf\u4e00\u884c\u663e\u793a\u5468\u6570\uff08\u4ec5\u65e5\u671f\u9009\u62e9\u5668\u652f\u6301\u3002\u5468\u9009\u62e9\u5668\u59cb\u7ec8\u663e\u793a\u5468\u6570\uff09"),e.C$Y(),e.I0R(742,"td")(743,"code"),e.OEk(744,"boolean"),e.C$Y()(),e.I0R(745,"td")(746,"code"),e.OEk(747,"false"),e.C$Y()()(),e.I0R(748,"tr")(749,"td")(750,"code"),e.OEk(751,"(nzOnOk)"),e.C$Y()(),e.I0R(752,"td"),e.OEk(753,"\u70b9\u51fb\u786e\u5b9a\u6309\u94ae\u7684\u56de\u8c03"),e.C$Y(),e.I0R(754,"td")(755,"code"),e.OEk(756,"EventEmitter<Date>"),e.C$Y()(),e.I0R(757,"td"),e.OEk(758,"-"),e.C$Y()()()(),e.I0R(759,"h3",73)(760,"span"),e.OEk(761,"nz-range-picker"),e.C$Y(),e.I0R(762,"label",67),e.OEk(763,"component"),e.C$Y(),e.I0R(764,"label",68),e.OEk(765,"standalone"),e.C$Y(),e.I0R(766,"a",74),e.OEk(767,"#"),e.C$Y()(),e.I0R(768,"table")(769,"thead")(770,"tr")(771,"th"),e.OEk(772,"\u53c2\u6570"),e.C$Y(),e.I0R(773,"th"),e.OEk(774,"\u8bf4\u660e"),e.C$Y(),e.I0R(775,"th"),e.OEk(776,"\u7c7b\u578b"),e.C$Y(),e.I0R(777,"th"),e.OEk(778,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(779,"tbody")(780,"tr")(781,"td")(782,"code"),e.OEk(783,"[(ngModel)]"),e.C$Y()(),e.I0R(784,"td"),e.OEk(785,"\u65e5\u671f"),e.C$Y(),e.I0R(786,"td")(787,"code"),e.OEk(788,"Date[]"),e.C$Y()(),e.I0R(789,"td"),e.OEk(790,"-"),e.C$Y()(),e.I0R(791,"tr")(792,"td")(793,"code"),e.OEk(794,"[nzRanges]"),e.C$Y()(),e.I0R(795,"td"),e.OEk(796,"\u9884\u8bbe\u65f6\u95f4\u8303\u56f4\u5feb\u6377\u9009\u62e9"),e.C$Y(),e.I0R(797,"td")(798,"code"),e.OEk(799,"{ [ key: string ]: Date[] } | { [ key: string ]: () => Date[] }"),e.C$Y()(),e.I0R(800,"td"),e.OEk(801,"-"),e.C$Y()(),e.I0R(802,"tr")(803,"td")(804,"code"),e.OEk(805,"[nzSeparator]"),e.C$Y()(),e.I0R(806,"td"),e.OEk(807,"\u5206\u9694\u7b26"),e.C$Y(),e.I0R(808,"td")(809,"code"),e.OEk(810,"string | TemplateRef"),e.C$Y()(),e.I0R(811,"td")(812,"code"),e.OEk(813,"'~'"),e.C$Y()()(),e.I0R(814,"tr")(815,"td")(816,"code"),e.OEk(817,"(nzOnCalendarChange)"),e.C$Y()(),e.I0R(818,"td"),e.OEk(819,"\u5f85\u9009\u65e5\u671f\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03"),e.C$Y(),e.I0R(820,"td")(821,"code"),e.OEk(822,"EventEmitter<Date[]>"),e.C$Y()(),e.I0R(823,"td"),e.OEk(824,"-"),e.C$Y()()()(),e.I0R(825,"h3",75)(826,"span"),e.OEk(827,'nz-range-picker[nzMode="date"]'),e.C$Y(),e.I0R(828,"label",67),e.OEk(829,"component"),e.C$Y(),e.I0R(830,"label",68),e.OEk(831,"standalone"),e.C$Y(),e.I0R(832,"a",76),e.OEk(833,"#"),e.C$Y()(),e.I0R(834,"table")(835,"thead")(836,"tr")(837,"th"),e.OEk(838,"\u53c2\u6570"),e.C$Y(),e.I0R(839,"th"),e.OEk(840,"\u8bf4\u660e"),e.C$Y(),e.I0R(841,"th"),e.OEk(842,"\u7c7b\u578b"),e.C$Y(),e.I0R(843,"th"),e.OEk(844,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(845,"tbody")(846,"tr")(847,"td")(848,"code"),e.OEk(849,"[nzShowTime]"),e.C$Y()(),e.I0R(850,"td"),e.OEk(851,"\u589e\u52a0\u65f6\u95f4\u9009\u62e9\u529f\u80fd"),e.C$Y(),e.I0R(852,"td")(853,"code"),e.OEk(854,"object | boolean"),e.C$Y()(),e.I0R(855,"td")(856,"a",72),e.OEk(857,"TimePicker Options"),e.C$Y()()(),e.I0R(858,"tr")(859,"td")(860,"code"),e.OEk(861,"[nzDisabledTime]"),e.C$Y()(),e.I0R(862,"td"),e.OEk(863,"\u4e0d\u53ef\u9009\u62e9\u7684\u65f6\u95f4"),e.C$Y(),e.I0R(864,"td")(865,"code"),e.OEk(866,"(current: Date, partial: 'start' | 'end') => { nzDisabledHours, nzDisabledMinutes, nzDisabledSeconds }"),e.C$Y()(),e.I0R(867,"td"),e.OEk(868,"-"),e.C$Y()(),e.I0R(869,"tr")(870,"td")(871,"code"),e.OEk(872,"[nzShowWeekNumber]"),e.C$Y()(),e.I0R(873,"td"),e.OEk(874,"\u662f\u5426\u5728\u6bcf\u4e00\u884c\u663e\u793a\u5468\u6570\uff08\u4ec5\u65e5\u671f\u9009\u62e9\u5668\u652f\u6301\u3002\u5468\u9009\u62e9\u5668\u59cb\u7ec8\u663e\u793a\u5468\u6570\uff09"),e.C$Y(),e.I0R(875,"td")(876,"code"),e.OEk(877,"boolean"),e.C$Y()(),e.I0R(878,"td")(879,"code"),e.OEk(880,"false"),e.C$Y()()(),e.I0R(881,"tr")(882,"td")(883,"code"),e.OEk(884,"(nzOnOk)"),e.C$Y()(),e.I0R(885,"td"),e.OEk(886,"\u70b9\u51fb\u786e\u5b9a\u6309\u94ae\u7684\u56de\u8c03"),e.C$Y(),e.I0R(887,"td")(888,"code"),e.OEk(889,"EventEmitter<Date[]>"),e.C$Y()(),e.I0R(890,"td"),e.OEk(891,"-"),e.C$Y()()()(),e.I0R(892,"blockquote")(893,"p")(894,"code"),e.OEk(895,"nzShowTime"),e.C$Y(),e.OEk(896," \u4e2d\u5f53\u524d\u652f\u6301\u7684 "),e.I0R(897,"code"),e.OEk(898,"nz-time-picker"),e.C$Y(),e.OEk(899," \u53c2\u6570\u6709\uff1a"),e.I0R(900,"code"),e.OEk(901,"nzFormat"),e.C$Y(),e.OEk(902,", "),e.I0R(903,"code"),e.OEk(904,"nzHourStep"),e.C$Y(),e.OEk(905,", "),e.I0R(906,"code"),e.OEk(907,"nzMinuteStep"),e.C$Y(),e.OEk(908,", "),e.I0R(909,"code"),e.OEk(910,"nzSecondStep"),e.C$Y(),e.OEk(911,", "),e.I0R(912,"code"),e.OEk(913,"nzDisabledHours"),e.C$Y(),e.OEk(914,", "),e.I0R(915,"code"),e.OEk(916,"nzDisabledMinutes"),e.C$Y(),e.OEk(917,", "),e.I0R(918,"code"),e.OEk(919,"nzDisabledSeconds"),e.C$Y(),e.OEk(920,", "),e.I0R(921,"code"),e.OEk(922,"nzHideDisabledOptions"),e.C$Y(),e.OEk(923,", "),e.I0R(924,"code"),e.OEk(925,"nzDefaultOpenValue"),e.C$Y(),e.OEk(926,", "),e.I0R(927,"code"),e.OEk(928,"nzAddOn"),e.C$Y()()(),e.I0R(929,"h2",77)(930,"span"),e.OEk(931,"FAQ"),e.C$Y(),e.I0R(932,"a",78),e.OEk(933,"#"),e.C$Y()(),e.I0R(934,"h3",79)(935,"span"),e.OEk(936,"\u4e3a\u4f55\u5728\u8bbe\u7f6e "),e.I0R(937,"code"),e.OEk(938,'nzFormat="dd/MM/yyyy"'),e.C$Y(),e.OEk(939," \u540e\u624b\u52a8\u8f93\u5165\u4e0d\u751f\u6548"),e.C$Y(),e.I0R(940,"a",80),e.OEk(941,"#"),e.C$Y()(),e.I0R(942,"p"),e.OEk(943,"\u9700\u8981\u5f15\u5165 "),e.I0R(944,"code"),e.OEk(945,"date-fns"),e.C$Y(),e.OEk(946," \u3002\u65e5\u671f\u683c\u5f0f\u5316\u76ee\u524d\u540c\u65f6\u652f\u6301\u4e24\u79cd\u65b9\u5f0f\uff1a"),e.I0R(947,"code"),e.OEk(948,"DatePipe"),e.C$Y(),e.OEk(949,"\uff08\u9ed8\u8ba4\uff0c"),e.I0R(950,"a",81),e.OEk(951,"\u8bed\u6cd5\u53c2\u8003"),e.C$Y(),e.OEk(952,"\uff09 \u548c "),e.I0R(953,"code"),e.OEk(954,"date-fns"),e.C$Y(),e.OEk(955,"\uff08\u89c1"),e.I0R(956,"a",82),e.OEk(957,"\u5982\u4f55\u4f7f\u7528 "),e.I0R(958,"code"),e.OEk(959,"date-fns"),e.C$Y(),e.OEk(960," \u8fdb\u884c\u65e5\u671f\u683c\u5f0f\u5316"),e.C$Y(),e.OEk(961,"\uff09\u3002\u5f53\u4f60\u5f15\u5165 "),e.I0R(962,"code"),e.OEk(963,"date-fns"),e.C$Y(),e.OEk(964," \u540e\uff0cNG-ZORRO \u4f1a\u4f7f\u7528\u5b83\u63d0\u4f9b\u7684 API \u6765\u8fdb\u884c\u53cd\u5e8f\u5217\u5316\u3002"),e.C$Y(),e.eAF(),e.C$Y()()),2&a&&(e.yG2(),e.E7m("nzOffsetTop",16),e.yG2(),e.E7m("nzAffix",!1),e.yG2(59),e.E7m("nzGutter",16),e.yG2(),e.E7m("nzXl",12)("nzSpan",24),e.yG2(),e.E7m("nzId","components-date-picker-demo-basic")("nzLink","components-date-picker-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/basic.md"),e.yG2(5),e.E7m("nzId","components-date-picker-demo-switch")("nzLink","components-date-picker-demo-switch")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/switch.md"),e.yG2(5),e.E7m("nzId","components-date-picker-demo-size")("nzLink","components-date-picker-demo-size")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/size.md"),e.yG2(8),e.E7m("nzId","components-date-picker-demo-disabled")("nzLink","components-date-picker-demo-disabled")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/disabled.md"),e.yG2(5),e.E7m("nzId","components-date-picker-demo-start-end")("nzLink","components-date-picker-demo-start-end")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/start-end.md"),e.yG2(23),e.E7m("nzId","components-date-picker-demo-extra-footer")("nzLink","components-date-picker-demo-extra-footer")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/extra-footer.md"),e.yG2(5),e.E7m("nzId","components-date-picker-demo-bordered")("nzLink","components-date-picker-demo-bordered")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/bordered.md"),e.yG2(5),e.E7m("nzId","components-date-picker-demo-status")("nzLink","components-date-picker-demo-status")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/status.md"),e.yG2(14),e.E7m("nzId","components-date-picker-demo-week-number")("nzLink","components-date-picker-demo-week-number")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/week-number.md"),e.yG2(8),e.E7m("nzXl",12)("nzSpan",24),e.yG2(),e.E7m("nzId","components-date-picker-demo-range-picker")("nzLink","components-date-picker-demo-range-picker")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/range-picker.md"),e.yG2(8),e.E7m("nzId","components-date-picker-demo-format")("nzLink","components-date-picker-demo-format")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/format.md"),e.yG2(8),e.E7m("nzId","components-date-picker-demo-time")("nzLink","components-date-picker-demo-time")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/time.md"),e.yG2(11),e.E7m("nzId","components-date-picker-demo-disabled-date")("nzLink","components-date-picker-demo-disabled-date")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/disabled-date.md"),e.yG2(11),e.E7m("nzId","components-date-picker-demo-presetted-ranges")("nzLink","components-date-picker-demo-presetted-ranges")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/presetted-ranges.md"),e.yG2(5),e.E7m("nzId","components-date-picker-demo-date-render")("nzLink","components-date-picker-demo-date-render")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/d
1ate-render.md"),e.yG2(8),e.E7m("nzId","components-date-picker-demo-inline")("nzLink","components-date-picker-demo-inline")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/inline.md"),e.yG2(8),e.E7m("nzId","components-date-picker-demo-placement")("nzLink","components-date-picker-demo-placement")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/placement.md"))},dependencies:[$.A,R.s9,R.mK,b.g,_.QD,_.ox,I.qG,w.If,F.k,s,c,N,A,B,H,G,v,L,x,W,K,j,Z,V,U,Q],encapsulation:2})}return o})(),me=(()=>{class o{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()})}static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275cmp=e.In1({type:o,selectors:[["nz-demo-date-picker"]],viewQuery:function(a,n){if(1&a&&e.CC$($.A,5),2&a){let r;e.wto(r=e.Gqi())&&(n.codeBoxes=r)}},decls:974,vars:75,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["nzHref","#components-date-picker-demo-basic","nzTitle","Basic"],["nzHref","#components-date-picker-demo-range-picker","nzTitle","Range Picker"],["nzHref","#components-date-picker-demo-switch","nzTitle","Switchable picker"],["nzHref","#components-date-picker-demo-format","nzTitle","Date Format"],["nzHref","#components-date-picker-demo-size","nzTitle","Three Sizes"],["nzHref","#components-date-picker-demo-time","nzTitle","Choose Time"],["nzHref","#components-date-picker-demo-disabled","nzTitle","Disabled"],["nzHref","#components-date-picker-demo-disabled-date","nzTitle","Disabled Date & Time"],["nzHref","#components-date-picker-demo-start-end","nzTitle","Customized Range Picker"],["nzHref","#components-date-picker-demo-presetted-ranges","nzTitle","Presetted Ranges"],["nzHref","#components-date-picker-demo-extra-footer","nzTitle","Extra Footer"],["nzHref","#components-date-picker-demo-date-render","nzTitle","Customized Date Rendering"],["nzHref","#components-date-picker-demo-bordered","nzTitle","Bordered-less"],["nzHref","#components-date-picker-demo-inline","nzTitle","Inline mode"],["nzHref","#components-date-picker-demo-status","nzTitle","Status"],["nzHref","#components-date-picker-demo-placement","nzTitle","Placement"],["nzHref","#components-date-picker-demo-week-number","nzTitle","Week Number"],["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/date-picker/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nz-icon","","nzType","edit"],["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,"nzXl","nzSpan"],["nzTitle","Basic","nzSelector","nz-demo-date-picker-basic","nzGenerateCommand","ng g ng-zorro-antd:date-picker-basic <name>","nzComponentName","NzDemoDatePickerBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Switchable picker","nzSelector","nz-demo-date-picker-switch","nzGenerateCommand","ng g ng-zorro-antd:date-picker-switch <name>","nzComponentName","NzDemoDatePickerSwitchComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Three Sizes","nzSelector","nz-demo-date-picker-size","nzGenerateCommand","ng g ng-zorro-antd:date-picker-size <name>","nzComponentName","NzDemoDatePickerSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Disabled","nzSelector","nz-demo-date-picker-disabled","nzGenerateCommand","ng g ng-zorro-antd:date-picker-disabled <name>","nzComponentName","NzDemoDatePickerDisabledComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Customized Range Picker","nzSelector","nz-demo-date-picker-start-end","nzGenerateCommand","ng g ng-zorro-antd:date-picker-start-end <name>","nzComponentName","NzDemoDatePickerStartEndComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Extra Footer","nzSelector","nz-demo-date-picker-extra-footer","nzGenerateCommand","ng g ng-zorro-antd:date-picker-extra-footer <name>","nzComponentName","NzDemoDatePickerExtraFooterComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Bordered-less","nzSelector","nz-demo-date-picker-bordered","nzGenerateCommand","ng g ng-zorro-antd:date-picker-bordered <name>","nzComponentName","NzDemoDatePickerBorderedComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Status","nzSelector","nz-demo-date-picker-status","nzGenerateCommand","ng g ng-zorro-antd:date-picker-status <name>","nzComponentName","NzDemoDatePickerStatusComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Week Number","nzSelector","nz-demo-date-picker-week-number","nzGenerateCommand","ng g ng-zorro-antd:date-picker-week-number <name>","nzComponentName","NzDemoDatePickerWeekNumberComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Range Picker","nzSelector","nz-demo-date-picker-range-picker","nzGenerateCommand","ng g ng-zorro-antd:date-picker-range-picker <name>","nzComponentName","NzDemoDatePickerRangePickerComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Date Format","nzSelector","nz-demo-date-picker-format","nzGenerateCommand","ng g ng-zorro-antd:date-picker-format <name>","nzComponentName","NzDemoDatePickerFormatComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Choose Time","nzSelector","nz-demo-date-picker-time","nzGenerateCommand","ng g ng-zorro-antd:date-picker-time <name>","nzComponentName","NzDemoDatePickerTimeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Disabled Date & Time","nzSelector","nz-demo-date-picker-disabled-date","nzGenerateCommand","ng g ng-zorro-antd:date-picker-disabled-date <name>","nzComponentName","NzDemoDatePickerDisabledDateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Presetted Ranges","nzSelector","nz-demo-date-picker-presetted-ranges","nzGenerateCommand","ng g ng-zorro-antd:date-picker-presetted-ranges <name>","nzComponentName","NzDemoDatePickerPresettedRangesComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Customized Date Rendering","nzSelector","nz-demo-date-picker-date-render","nzGenerateCommand","ng g ng-zorro-antd:date-picker-date-render <name>","nzComponentName","NzDemoDatePickerDateRenderComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Inline mode","nzSelector","nz-demo-date-picker-inline","nzGenerateCommand","ng g ng-zorro-antd:date-picker-inline <name>","nzComponentName","NzDemoDatePickerInlineComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Placement","nzSelector","nz-demo-date-picker-placement","nzGenerateCommand","ng g ng-zorro-antd:date-picker-placement <name>","nzComponentName","NzDemoDatePickerPlacementComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["href","https://angular.io/guide/i18n","target","_blank","rel","noopener"],[1,"language-typescript"],[1,"token","function"],["href","https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date","target","_blank","rel","noopener"],["href","https://date-fns.org/","target","_blank","rel","noopener"],["id","common-api"],["onclick","window.location.hash = 'common-api'",1,"anchor"],["href","https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json","target","_blank","rel","noopener"],["id","common-methods"],["onclick","window.location.hash = 'common-methods'",1,"anchor"],["id","nz-date-picker:standalone"],[1,"api-type-label","component"],[1,"api-type-label","standalone"],["onclick","window.location.hash = 'nz-date-picker:standalone'",1,"anchor"],["id",'nz-date-picker[nzmode="date"]:standalone'],["onclick","window.location.hash = 'nz-date-picker[nzmode=\"date\"]:standalone'",1,"anchor"],["href","/components/time-picker/en#api"],["id","nz-range-picker:standalone"],["onclick","window.location.hash = 'nz-range-picker:standalone'",1,"anchor"],["id",'nz-range-picker[nzmode="date"]:standalone'],["onclick","window.location.hash = 'nz-range-picker[nzmode=\"date\"]:standalone'",1,"anchor"],["id","faq"],["onclick","window.location.hash = 'faq'",1,"anchor"],["id",'why-does-manual-input-not-take-effect-after-setting-<code>nzformat="dd/mm/yyyy"</code>'],["onclick","window.location.hash = 'why-does-manual-input-not-take-effect-after-setting-<code>nzformat=\"dd/mm/yyyy\"</code>'",1,"anchor"],["href","https://angular.io/api/common/DatePipe","target","_blank","rel","noopener"],["href","/docs/i18n/en#How%20to%20format%20a%20date%20using%20Date-fns"]],template:function(a,n){1&a&&(e.I0R(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),e.qCj("nzClick",function(t){return n.goLink(t)}),e.wR5(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)(11,"nz-link",10)(12,"nz-link",11)(13,"nz-link",12)(14,"nz-link",13)(15,"nz-link",14)(16,"nz-link",15)(17,"nz-link",16)(18,"nz-link",17)(19,"nz-link",18)(20,"nz-link",19),e.C$Y()(),e.I0R(21,"section",20)(22,"h1"),e.OEk(23,"DatePicker"),e.wR5(24,"span",21)(25,"span",22),e.I0R(26,"a",23),e.wR5(27,"span",24),e.C$Y()(),e.I0R(28,"
1section",20),e.EdD(),e.I0R(29,"p"),e.OEk(30,"To select or input a date."),e.C$Y(),e.I0R(31,"h2",25)(32,"span"),e.OEk(33,"When To Use"),e.C$Y(),e.I0R(34,"a",26),e.OEk(35,"#"),e.C$Y()(),e.I0R(36,"p"),e.OEk(37,"By clicking the input box, you can select a date from a popup calendar."),e.C$Y(),e.I0R(38,"pre",27)(39,"code")(40,"span",28),e.OEk(41,"import"),e.C$Y(),e.OEk(42," "),e.I0R(43,"span",29),e.OEk(44,"{"),e.C$Y(),e.OEk(45," NzDatePickerModule "),e.I0R(46,"span",29),e.OEk(47,"}"),e.C$Y(),e.OEk(48," "),e.I0R(49,"span",28),e.OEk(50,"from"),e.C$Y(),e.OEk(51," "),e.I0R(52,"span",30),e.OEk(53,"'ng-zorro-antd/date-picker'"),e.C$Y(),e.I0R(54,"span",29),e.OEk(55,";"),e.C$Y()()(),e.eAF(),e.C$Y(),e.I0R(56,"h2")(57,"span"),e.OEk(58,"Examples"),e.C$Y(),e.I0R(59,"span",31),e.qCj("click",function(){return n.expandAllCode()}),e.C$Y()()(),e.I0R(60,"div",32)(61,"div",33)(62,"nz-code-box",34),e.wR5(63,"nz-demo-date-picker-basic",35),e.I0R(64,"div",36),e.EdD(),e.I0R(65,"p"),e.OEk(66,"Basic use case. Users can select or input a date in panel."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(67,"nz-code-box",37),e.wR5(68,"nz-demo-date-picker-switch",35),e.I0R(69,"div",36),e.EdD(),e.I0R(70,"p"),e.OEk(71,"Switch in different types of pickers by Select."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(72,"nz-code-box",38),e.wR5(73,"nz-demo-date-picker-size",35),e.I0R(74,"div",36),e.EdD(),e.I0R(75,"p"),e.OEk(76,"The input box comes in three sizes. "),e.I0R(77,"code"),e.OEk(78,"default"),e.C$Y(),e.OEk(79," will be used if "),e.I0R(80,"code"),e.OEk(81,"nzSize"),e.C$Y(),e.OEk(82," is omitted."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(83,"nz-code-box",39),e.wR5(84,"nz-demo-date-picker-disabled",35),e.I0R(85,"div",36),e.EdD(),e.I0R(86,"p"),e.OEk(87,"A disabled state of the "),e.I0R(88,"code"),e.OEk(89,"DatePicker"),e.C$Y(),e.OEk(90,"."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(91,"nz-code-box",40),e.wR5(92,"nz-demo-date-picker-start-end",35),e.I0R(93,"div",36),e.EdD(),e.I0R(94,"p"),e.OEk(95,"When "),e.I0R(96,"code"),e.OEk(97,"RangePicker"),e.C$Y(),e.OEk(98," does not satisfied your requirements, try to implement similar functionality with two "),e.I0R(99,"code"),e.OEk(100,"DatePicker"),e.C$Y(),e.OEk(101,"."),e.C$Y(),e.I0R(102,"blockquote")(103,"ul")(104,"li"),e.OEk(105,"Use the "),e.I0R(106,"code"),e.OEk(107,"nzDisabledDate"),e.C$Y(),e.OEk(108," property to limit the start and end dates."),e.C$Y(),e.I0R(109,"li"),e.OEk(110,"Improve user experience with "),e.I0R(111,"code"),e.OEk(112,"open()"),e.C$Y(),e.OEk(113,"."),e.C$Y()()(),e.eAF(),e.C$Y()(),e.I0R(114,"nz-code-box",41),e.wR5(115,"nz-demo-date-picker-extra-footer",35),e.I0R(116,"div",36),e.EdD(),e.I0R(117,"p"),e.OEk(118,"Render extra footer in panel for customized requirements."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(119,"nz-code-box",42),e.wR5(120,"nz-demo-date-picker-bordered",35),e.I0R(121,"div",36),e.EdD(),e.I0R(122,"p"),e.OEk(123,"Bordered-less style component."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(124,"nz-code-box",43),e.wR5(125,"nz-demo-date-picker-status",35),e.I0R(126,"div",36),e.EdD(),e.I0R(127,"p"),e.OEk(128,"Add status to DatePicker with "),e.I0R(129,"code"),e.OEk(130,"nzStatus"),e.C$Y(),e.OEk(131,", which could be "),e.I0R(132,"code"),e.OEk(133,"error"),e.C$Y(),e.OEk(134," or "),e.I0R(135,"code"),e.OEk(136,"warning"),e.C$Y(),e.OEk(137,"."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(138,"nz-code-box",44),e.wR5(139,"nz-demo-date-picker-week-number",35),e.I0R(140,"div",36),e.EdD(),e.I0R(141,"p"),e.OEk(142,"Display week numbers with "),e.I0R(143,"code"),e.OEk(144,"nzShowWeekNumber"),e.C$Y(),e.OEk(145,"."),e.C$Y(),e.eAF(),e.C$Y()()(),e.I0R(146,"div",33)(147,"nz-code-box",45),e.wR5(148,"nz-demo-date-picker-range-picker",35),e.I0R(149,"div",36),e.EdD(),e.I0R(150,"p"),e.OEk(151,"Set range picker type by "),e.I0R(152,"code"),e.OEk(153,"nzMode"),e.C$Y(),e.OEk(154," prop."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(155,"nz-code-box",46),e.wR5(156,"nz-demo-date-picker-format",35),e.I0R(157,"div",36),e.EdD(),e.I0R(158,"p"),e.OEk(159,"We can set the date format by "),e.I0R(160,"code"),e.OEk(161,"nzFormat"),e.C$Y(),e.OEk(162,"."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(163,"nz-code-box",47),e.wR5(164,"nz-demo-date-picker-time",35),e.I0R(165,"div",36),e.EdD(),e.I0R(166,"p"),e.OEk(167,"This property provide an additional time selection. When "),e.I0R(168,"code"),e.OEk(169,"nzShowTime"),e.C$Y(),e.OEk(170," is an Object, its properties will be passed on to built-in "),e.I0R(171,"code"),e.OEk(172,"TimePicker"),e.C$Y(),e.OEk(173,"."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(174,"nz-code-box",48),e.wR5(175,"nz-demo-date-picker-disabled-date",35),e.I0R(176,"div",36),e.EdD(),e.I0R(177,"p"),e.OEk(178,"Disabled part of dates and time by "),e.I0R(179,"code"),e.OEk(180,"nzDisabledDate"),e.C$Y(),e.OEk(181," and "),e.I0R(182,"code"),e.OEk(183,"nzDisabledTime"),e.C$Y(),e.OEk(184," respectively."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(185,"nz-code-box",49),e.wR5(186,"nz-demo-date-picker-presetted-ranges",35),e.I0R(187,"div",36),e.EdD(),e.I0R(188,"p"),e.OEk(189,"We can set presetted ranges to RangePicker to improve user experience."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(190,"nz-code-box",50),e.
1wR5(191,"nz-demo-date-picker-date-render",35),e.I0R(192,"div",36),e.EdD(),e.I0R(193,"p"),e.OEk(194,"We can customize the rendering of date cells in the calendar by providing a "),e.I0R(195,"code"),e.OEk(196,"nzDateRender"),e.C$Y(),e.OEk(197," function to "),e.I0R(198,"code"),e.OEk(199,"DatePicker"),e.C$Y(),e.OEk(200,"."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(201,"nz-code-box",51),e.wR5(202,"nz-demo-date-picker-inline",35),e.I0R(203,"div",36),e.EdD(),e.I0R(204,"p"),e.OEk(205,"We can set the inline mode by "),e.I0R(206,"code"),e.OEk(207,"nzInline"),e.C$Y(),e.OEk(208,"."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(209,"nz-code-box",52),e.wR5(210,"nz-demo-date-picker-placement",35),e.I0R(211,"div",36),e.EdD(),e.I0R(212,"p"),e.OEk(213,"You can manually specify the position of the popup via "),e.I0R(214,"code"),e.OEk(215,"nzPlacement"),e.C$Y(),e.OEk(216,"."),e.C$Y(),e.eAF(),e.C$Y()()()(),e.I0R(217,"section",53),e.EdD(),e.I0R(218,"h2",54)(219,"span"),e.OEk(220,"API"),e.C$Y(),e.I0R(221,"a",55),e.OEk(222,"#"),e.C$Y()(),e.I0R(223,"p")(224,"strong"),e.OEk(225,"Note:"),e.C$Y(),e.OEk(226," Some of nz-date-picker's locale are coming from "),e.I0R(227,"a",56),e.OEk(228,"Angular i18n"),e.C$Y(),e.OEk(229,", that should be provided in the file of "),e.I0R(230,"code"),e.OEk(231,"app.module.ts"),e.C$Y(),e.OEk(232,"."),e.C$Y(),e.I0R(233,"p"),e.OEk(234,"For example:"),e.C$Y(),e.I0R(235,"pre",57)(236,"code")(237,"span",28),e.OEk(238,"import"),e.C$Y(),e.OEk(239," "),e.I0R(240,"span",29),e.OEk(241,"{"),e.C$Y(),e.OEk(242," registerLocaleData "),e.I0R(243,"span",29),e.OEk(244,"}"),e.C$Y(),e.OEk(245," "),e.I0R(246,"span",28),e.OEk(247,"from"),e.C$Y(),e.OEk(248," "),e.I0R(249,"span",30),e.OEk(250,"'@angular/common'"),e.C$Y(),e.I0R(251,"span",29),e.OEk(252,";"),e.C$Y(),e.OEk(253,"\n"),e.I0R(254,"span",28),e.OEk(255,"import"),e.C$Y(),e.OEk(256," en "),e.I0R(257,"span",28),e.OEk(258,"from"),e.C$Y(),e.OEk(259," "),e.I0R(260,"span",30),e.OEk(261,"'@angular/common/locales/en'"),e.C$Y(),e.I0R(262,"span",29),e.OEk(263,";"),e.C$Y(),e.OEk(264,"\n"),e.I0R(265,"span",58),e.OEk(266,"registerLocaleData"),e.C$Y(),e.I0R(267,"span",29),e.OEk(268,"("),e.C$Y(),e.OEk(269,"en"),e.I0R(270,"span",29),e.OEk(271,")"),e.C$Y(),e.I0R(272,"span",29),e.OEk(273,";"),e.C$Y()()(),e.I0R(274,"p")(275,"strong"),e.OEk(276,"Note:"),e.C$Y(),e.OEk(277," All input and output date objects are "),e.I0R(278,"a",59),e.OEk(279,"Date"),e.C$Y(),e.OEk(280,", you can manipulate it with "),e.I0R(281,"a",60),e.OEk(282,"date-fns"),e.C$Y(),e.OEk(283,"."),e.C$Y(),e.I0R(284,"h3",61)(285,"span"),e.OEk(286,"Common API"),e.C$Y(),e.I0R(287,"a",62),e.OEk(288,"#"),e.C$Y()(),e.I0R(289,"p"),e.OEk(290,"The following APIs are shared by nz-date-picker, nz-range-picker."),e.C$Y(),e.I0R(291,"table")(292,"thead")(293,"tr")(294,"th"),e.OEk(295,"Property"),e.C$Y(),e.I0R(296,"th"),e.OEk(297,"Description"),e.C$Y(),e.I0R(298,"th"),e.OEk(299,"Type"),e.C$Y(),e.I0R(300,"th"),e.OEk(301,"Default"),e.C$Y(),e.I0R(302,"th"),e.OEk(303,"Global Config"),e.C$Y()()(),e.I0R(304,"tbody")(305,"tr")(306,"td")(307,"code"),e.OEk(308,"[nzId]"),e.C$Y()(),e.I0R(309,"td"),e.OEk(310,"input id attribute inside the component"),e.C$Y(),e.I0R(311,"td")(312,"code"),e.OEk(313,"string"),e.C$Y()(),e.I0R(314,"td"),e.OEk(315,"-"),e.C$Y(),e.wR5(316,"td"),e.C$Y(),e.I0R(317,"tr")(318,"td")(319,"code"),e.OEk(320,"[nzAllowClear]"),e.C$Y()(),e.I0R(321,"td"),e.OEk(322,"Whether to show clear button"),e.C$Y(),e.I0R(323,"td")(324,"code"),e.OEk(325,"boolean"),e.C$Y()(),e.I0R(326,"td")(327,"code"),e.OEk(328,"true"),e.C$Y()(),e.I0R(329,"td"),e.OEk(330,"-"),e.C$Y()(),e.I0R(331,"tr")(332,"td")(333,"code"),e.OEk(334,"[nzAutoFocus]"),e.C$Y()(),e.I0R(335,"td"),e.OEk(336,"get focus when component mounted"),e.C$Y(),e.I0R(337,"td")(338,"code"),e.OEk(339,"boolean"),e.C$Y()(),e.I0R(340,"td")(341,"code"),e.OEk(342,"false"),e.C$Y()(),e.I0R(343,"td"),e.OEk(344,"-"),e.C$Y()(),e.I0R(345,"tr")(346,"td")(347,"code"),e.OEk(348,"[nzBackdrop]"),e.C$Y()(),e.I0R(349,"td"),e.OEk(350,"whether or not the overlay should attach a backdrop"),e.C$Y(),e.I0R(351,"td")(352,"code"),e.OEk(353,"boolean"),e.C$Y()(),e.I0R(354,"td")(355,"code"),e.OEk(356,"false"),e.C$Y()(),e.wR5(357,"td"),e.C$Y(),e.I0R(358,"tr")(359,"td")(360,"code"),e.OEk(361,"[nzDefaultPickerValue]"),e.C$Y()(),e.I0R(362,"td"),e.OEk(363,"default picker date"),e.C$Y(),e.I0R(364,"td")(365,"code"),e.OEk(366,"Date"),e.C$Y()(),e.I0R(367,"td")(368,"code"),e.OEk(369,"Date[]"),e.C$Y()(),e.I0R(370,"td"),e.OEk(371,"-"),e.C$Y()(),e.I0R(372,"tr")(373,"td")(374,"code"),e.OEk(375,"[nzDisabled]"),e.C$Y()(),e.I0R(376,"td"),e.OEk(377,"determine whether the nz-date-picker is disabled"),e.C$Y(),e.I0R(378,"td")(379,"code"),e.OEk(380,"boolean"),e.C$Y()(),e.I0R(381,"td")(382,"code"),e.OEk(383,"false"),e.C$Y()(),e.I0R(384,"td"),e.OEk(385,"-"),e.C$Y()(),e.I0R(386,"tr")(387,"td")(388,"code"),e.OEk(389,"[nzDisabledDate]"),e.C$Y()(),e.I0R(390,"td"),e.OEk(391,"specify the date that cannot be selected"),e.C$Y(),e.I0R(392,"td")(393,"code"),e.OEk(394,"(current: Date) => boolean"),e.C$Y()(),e.I0R(395,"td"),e.OEk(396,"-"),e.C$Y(),e.I0R(397,"td"),e.OEk(398,"-"),e.C$Y()(),e.I0R(399,"tr")(400,"td")(401,"code"),e.OEk(402,"[nzDropdownClassName]"),e.C$Y()(),e.I0R(403,"td"),e.OEk(404,"to customize the className of the popup calendar"),e.C$Y(),e.I0R(405,"td")(406,"code"),e.OEk(407,"string"),e.C$Y()(),e.I0R(408,"td"),e.OEk(409,"-"),e.C$Y(),e.I0R(410,"td"),e.OEk(411,"-"),e.C$Y()(),e.I0R(412,"tr")(413,"td")(414,"code"),e.OEk(415,"[nzFormat]"),e.C$Y()(),e.I0R(416,"td"),e.OEk(417,"to set the date format, see "),e.I0R(418,"code"),e.OEk(419,"nzFormat special instructions"),e.C$Y()(),e.I0R(420,"td")(421,"code"),e.OEk(422,"string"),e.C$Y()(),e.I0R(423,"td"),e.OEk(424,"-"),e.C$Y(),e.wR5(425,"td"),e.C$Y(),e.I0R(426,"tr")(427,"td")(428,"code"),e.OEk(429,"[nzInputReadOnly]"),e.C$Y()(),e.I0R(430,"td"),e.OEk(431,"set the readonly attribute of the input tag (avoids virtual keyboard on touch devices)"),e.C$Y(),e.I0R(432,"td")(433,"code"),e.OEk(434,"boolean"),e.C$Y()(),e.I0R(435,"td")(436,"code"),e.OEk(437,"false"),e.C$Y()(),e.I0R(438,"td"),e.OEk(439,"-"),e.C$Y()(),e.I0R(440,"tr")(441,"td")(442,"code"),e.OEk(443,"[nzLocale]"),e.C$Y()(),e.I0R(444,"td"),e.OEk(445,"localization configuration"),e.C$Y(),e.I0R(446,"td")(447,"code"),e.OEk(448,"object"),e.C$Y()(),e.I0R(449,"td")(450,"a",63),e.OEk(451,"default"),e.C$Y()(),e.I0R(452,"td"),e.OEk(453,"-"),e.C$Y()(),e.I0R(454,"tr")(455,"td")(456,"code"),e.OEk(457,"[nzMode]"),e.C$Y()(),e.I0R(458,"td"),e.OEk(459,"Set picker mode"),e.C$Y(),e.I0R(460,"td")(461,"code"),e.OEk(462,"'date'"),e.C$Y()(),e.I0R(463,"td")(464,"code"),e.OEk(465,"'week'"),e.C$Y()(),e.I0R(466,"td")(467,"code"),e.OEk(468,"'month'"),e.C$Y()()(),e.I0R(469,"tr")(470,"td")(471,"code"),e.OEk(472,"[nzPlaceHolder]"),e.C$Y()(),e.I0R(473,"td"),e.OEk(474,"placeholder of date input"),e.C$Y(),e.I0R(475,"td")(476,"code"),e.OEk(477,"string"),e.C$Y()(),e.I0R(478,"td")(479,"code"),e.OEk(480,"string[]"),e.C$Y()(),e.I0R(481,"td"),e.OEk(482,"-"),e.C$Y()(),e.I0R(483,"tr")(484,"td")(485,"code"),e.OEk(486,"[nzPopupStyle]"),e.C$Y()(),e.I0R(487,"td"),e.OEk(488,"to customize the style of the popup calendar"),e.C$Y(),e.I0R(489,"td")(490,"code"),e.OEk(491,"object"),e.C$Y()(),e.I0R(492,"td")(493,"code"),e.OEk(494,"{}"),e.C$Y()(),e.I0R(495,"td"),e.OEk(496,"-"),e.C$Y()(),e.I0R(497,"tr")(498,"td")(499,"code"),e.OEk(500,"[
1nzRenderExtraFooter]"),e.C$Y()(),e.I0R(501,"td"),e.OEk(502,"render extra footer in panel"),e.C$Y(),e.I0R(503,"td")(504,"code"),e.OEk(505,"TemplateRef | string | (() => TemplateRef | string)"),e.C$Y()(),e.I0R(506,"td"),e.OEk(507,"-"),e.C$Y(),e.wR5(508,"td"),e.C$Y(),e.I0R(509,"tr")(510,"td")(511,"code"),e.OEk(512,"[nzSize]"),e.C$Y()(),e.I0R(513,"td"),e.OEk(514,"determine the size of the input box, the height of "),e.I0R(515,"code"),e.OEk(516,"large"),e.C$Y(),e.OEk(517," and "),e.I0R(518,"code"),e.OEk(519,"small"),e.C$Y(),e.OEk(520,", are 40px and 24px respectively, while default size is 32px"),e.C$Y(),e.I0R(521,"td")(522,"code"),e.OEk(523,"'large' | 'small'"),e.C$Y()(),e.I0R(524,"td"),e.OEk(525,"-"),e.C$Y(),e.I0R(526,"td"),e.OEk(527,"-"),e.C$Y()(),e.I0R(528,"tr")(529,"td")(530,"code"),e.OEk(531,"[nzStatus]"),e.C$Y()(),e.I0R(532,"td"),e.OEk(533,"Set validation status"),e.C$Y(),e.I0R(534,"td")(535,"code"),e.OEk(536,"'error' | 'warning'"),e.C$Y()(),e.I0R(537,"td"),e.OEk(538,"-"),e.C$Y(),e.wR5(539,"td"),e.C$Y(),e.I0R(540,"tr")(541,"td")(542,"code"),e.OEk(543,"[nzPlacement]"),e.C$Y()(),e.I0R(544,"td"),e.OEk(545,"The position where the selection box pops up"),e.C$Y(),e.I0R(546,"td")(547,"code"),e.OEk(548,"'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight'"),e.C$Y()(),e.I0R(549,"td")(550,"code"),e.OEk(551,"'bottomLeft'"),e.C$Y()(),e.wR5(552,"td"),e.C$Y(),e.I0R(553,"tr")(554,"td")(555,"code"),e.OEk(556,"[nzSuffixIcon]"),e.C$Y()(),e.I0R(557,"td"),e.OEk(558,"the custom suffix icon"),e.C$Y(),e.I0R(559,"td")(560,"code"),e.OEk(561,"string"),e.C$Y()(),e.I0R(562,"td")(563,"code"),e.OEk(564,"TemplateRef"),e.C$Y()(),e.I0R(565,"td"),e.OEk(566,"-"),e.C$Y()(),e.I0R(567,"tr")(568,"td")(569,"code"),e.OEk(570,"[nzBorderless]"),e.C$Y()(),e.I0R(571,"td"),e.OEk(572,"remove the border"),e.C$Y(),e.I0R(573,"td")(574,"code"),e.OEk(575,"boolean"),e.C$Y()(),e.I0R(576,"td")(577,"code"),e.OEk(578,"false"),e.C$Y()(),e.I0R(579,"td"),e.OEk(580,"-"),e.C$Y()(),e.I0R(581,"tr")(582,"td")(583,"code"),e.OEk(584,"[nzInline]"),e.C$Y()(),e.I0R(585,"td"),e.OEk(586,"inline mode"),e.C$Y(),e.I0R(587,"td")(588,"code"),e.OEk(589,"boolean"),e.C$Y()(),e.I0R(590,"td")(591,"code"),e.OEk(592,"false"),e.C$Y()(),e.I0R(593,"td"),e.OEk(594,"-"),e.C$Y()(),e.I0R(595,"tr")(596,"td")(597,"code"),e.OEk(598,"(nzOnOpenChange)"),e.C$Y()(),e.I0R(599,"td"),e.OEk(600,"a callback emitter, can be executed whether the popup calendar is popped up or closed"),e.C$Y(),e.I0R(601,"td")(602,"code"),e.OEk(603,"EventEmitter<boolean>"),e.C$Y()(),e.I0R(604,"td"),e.OEk(605,"-"),e.C$Y(),e.I0R(606,"td"),e.OEk(607,"-"),e.C$Y()()()(),e.I0R(608,"h3",64)(609,"span"),e.OEk(610,"Common Methods"),e.C$Y(),e.I0R(611,"a",65),e.OEk(612,"#"),e.C$Y()(),e.I0R(613,"table")(614,"thead")(615,"tr")(616,"th"),e.OEk(617,"Name"),e.C$Y(),e.I0R(618,"th"),e.OEk(619,"Description"),e.C$Y()()(),e.I0R(620,"tbody")(621,"tr")(622,"td")(623,"code"),e.OEk(624,"open()"),e.C$Y()(),e.I0R(625,"td"),e.OEk(626,"open calendar panel"),e.C$Y()(),e.I0R(627,"tr")(628,"td")(629,"code"),e.OEk(630,"close()"),e.C$Y()(),e.I0R(631,"td"),e.OEk(632,"close calendar panel"),e.C$Y()()()(),e.I0R(633,"h3",66)(634,"span"),e.OEk(635,"nz-date-picker"),e.C$Y(),e.I0R(636,"label",67),e.OEk(637,"component"),e.C$Y(),e.I0R(638,"label",68),e.OEk(639,"standalone"),e.C$Y(),e.I0R(640,"a",69),e.OEk(641,"#"),e.C$Y()(),e.I0R(642,"table")(643,"thead")(644,"tr")(645,"th"),e.OEk(646,"Property"),e.C$Y(),e.I0R(647,"th"),e.OEk(648,"Description"),e.C$Y(),e.I0R(649,"th"),e.OEk(650,"Type"),e.C$Y(),e.I0R(651,"th"),e.OEk(652,"Default"),e.C$Y()()(),e.I0R(653,"tbody")(654,"tr")(655,"td")(656,"code"),e.OEk(657,"[(ngModel)]"),e.C$Y()(),e.I0R(658,"td"),e.OEk(659,"Date"),e.C$Y(),e.I0R(660,"td")(661,"code"),e.OEk(662,"Date"),e.C$Y()(),e.I0R(663,"td"),e.OEk(664,"-"),e.C$Y()()()(),e.I0R(665,"h3",70)(666,"span"),e.OEk(667,'nz-date-picker[nzMode="date"]'),e.C$Y(),e.I0R(668,"label",67),e.OEk(669,"component"),e.C$Y(),e.I0R(670,"label",68),e.OEk(671,"standalone"),e.C$Y(),e.I0R(672,"a",71),e.OEk(673,"#"),e.C$Y()(),e.I0R(674,"table")(675,"thead")(676,"tr")(677,"th"),e.OEk(678,"Property"),e.C$Y(),e.I0R(679,"th"),e.OEk(680,"Description"),e.C$Y(),e.I0R(681,"th"),e.OEk(682,"Type"),e.C$Y(),e.I0R(683,"th"),e.OEk(684,"Default"),e.C$Y()()(),e.I0R(685,"tbody")(686,"tr")(687,"td")(688,"code"),e.OEk(689,"[nzDateRender]"),e.C$Y()(),e.I0R(690,"td"),e.OEk(691,"custom rendering function for date cells (Not support by month-picker/year-picker)"),e.C$Y(),e.I0R(692,"td"),e.OEk(693,"-"),e.C$Y(),e.I0R(694,"td")(695,"code"),e.OEk(696,"TemplateRef<Date> | string | ((d: Date) => TemplateRef<Date> | string)"),e.C$Y()()(),e.I0R(697,"tr")(698,"td")(699,"code"),e.OEk(700,"[nzDisabledTime]"),e.C$Y()(),e.I0R(701,"td"),e.OEk(702,"to specify the time that cannot be selected"),e.C$Y(),e.I0R(703,"td")(704,"code"),e.OEk(705,"(current: Date) => { nzDisabledHours, nzDisabledMinutes, nzDisabledSeconds }"),e.C$Y()(),e.I0R(706,"td"),e.OEk(707,"-"),e.C$Y()(),e.I0R(708,"tr")(709,"td")(710,"code"),e.OEk(711,"[
1nzShowTime]"),e.C$Y()(),e.I0R(712,"td"),e.OEk(713,"to provide an additional time selection"),e.C$Y(),e.I0R(714,"td")(715,"code"),e.OEk(716,"object | boolean"),e.C$Y()(),e.I0R(717,"td")(718,"a",72),e.OEk(719,"TimePicker Options"),e.C$Y()()(),e.I0R(720,"tr")(721,"td")(722,"code"),e.OEk(723,"[nzShowToday]"),e.C$Y()(),e.I0R(724,"td"),e.OEk(725,"whether to show 'Today' button"),e.C$Y(),e.I0R(726,"td")(727,"code"),e.OEk(728,"boolean"),e.C$Y()(),e.I0R(729,"td")(730,"code"),e.OEk(731,"true"),e.C$Y()()(),e.I0R(732,"tr")(733,"td")(734,"code"),e.OEk(735,"[nzShowNow]"),e.C$Y()(),e.I0R(736,"td"),e.OEk(737,"whether to show 'Now' button on panel when "),e.I0R(738,"code"),e.OEk(739,"nzShowTime"),e.C$Y(),e.OEk(740," is set"),e.C$Y(),e.I0R(741,"td")(742,"code"),e.OEk(743,"boolean"),e.C$Y()(),e.I0R(744,"td")(745,"code"),e.OEk(746,"true"),e.C$Y()()(),e.I0R(747,"tr")(748,"td")(749,"code"),e.OEk(750,"[nzShowWeekNumber]"),e.C$Y()(),e.I0R(751,"td"),e.OEk(752,"whether to show the week number on each row (Only supported by date picker. Week picker always shows week numbers)"),e.C$Y(),e.I0R(753,"td")(754,"code"),e.OEk(755,"boolean"),e.C$Y()(),e.I0R(756,"td")(757,"code"),e.OEk(758,"false"),e.C$Y()()(),e.I0R(759,"tr")(760,"td")(761,"code"),e.OEk(762,"(nzOnOk)"),e.C$Y()(),e.I0R(763,"td"),e.OEk(764,"callback when click ok button"),e.C$Y(),e.I0R(765,"td")(766,"code"),e.OEk(767,"EventEmitter<Date>"),e.C$Y()(),e.I0R(768,"td"),e.OEk(769,"-"),e.C$Y()()()(),e.I0R(770,"h3",73)(771,"span"),e.OEk(772,"nz-range-picker"),e.C$Y(),e.I0R(773,"label",67),e.OEk(774,"component"),e.C$Y(),e.I0R(775,"label",68),e.OEk(776,"standalone"),e.C$Y(),e.I0R(777,"a",74),e.OEk(778,"#"),e.C$Y()(),e.I0R(779,"table")(780,"thead")(781,"tr")(782,"th"),e.OEk(783,"Property"),e.C$Y(),e.I0R(784,"th"),e.OEk(785,"Description"),e.C$Y(),e.I0R(786,"th"),e.OEk(787,"Type"),e.C$Y(),e.I0R(788,"th"),e.OEk(789,"Default"),e.C$Y()()(),e.I0R(790,"tbody")(791,"tr")(792,"td")(793,"code"),e.OEk(794,"[(ngModel)]"),e.C$Y()(),e.I0R(795,"td"),e.OEk(796,"Date"),e.C$Y(),e.I0R(797,"td")(798,"code"),e.OEk(799,"Date[]"),e.C$Y()(),e.I0R(800,"td"),e.OEk(801,"-"),e.C$Y()(),e.I0R(802,"tr")(803,"td")(804,"code"),e.OEk(805,"[nzRanges]"),e.C$Y()(),e.I0R(806,"td"),e.OEk(807,"preseted ranges for quick selection"),e.C$Y(),e.I0R(808,"td")(809,"code"),e.OEk(810,"{ [ key: string ]: Date[] } | { [ key: string ]: () => Date[] }"),e.C$Y()(),e.I0R(811,"td"),e.OEk(812,"-"),e.C$Y()(),e.I0R(813,"tr")(814,"td")(815,"code"),e.OEk(816,"[nzSeparator]"),e.C$Y()(),e.I0R(817,"td"),e.OEk(818,"separator"),e.C$Y(),e.I0R(819,"td")(820,"code"),e.OEk(821,"string | TemplateRef"),e.C$Y()(),e.I0R(822,"td")(823,"code"),e.OEk(824,"'~'"),e.C$Y()()(),e.I0R(825,"tr")(826,"td")(827,"code"),e.OEk(828,"(nzOnCalendarChange)"),e.C$Y()(),e.I0R(829,"td"),e.OEk(830,"The start time or the end time of the range change callback"),e.C$Y(),e.I0R(831,"td")(832,"code"),e.OEk(833,"EventEmitter<Date[]>"),e.C$Y()(),e.I0R(834,"td"),e.OEk(835,"-"),e.C$Y()()()(),e.I0R(836,"h3",75)(837,"span"),e.OEk(838,'nz-range-picker[nzMode="date"]'),e.C$Y(),e.I0R(839,"label",67),e.OEk(840,"component"),e.C$Y(),e.I0R(841,"label",68),e.OEk(842,"standalone"),e.C$Y(),e.I0R(843,"a",76),e.OEk(844,"#"),e.C$Y()(),e.I0R(845,"table")(846,"thead")(847,"tr")(848,"th"),e.OEk(849,"Property"),e.C$Y(),e.I0R(850,"th"),e.OEk(851,"Description"),e.C$Y(),e.I0R(852,"th"),e.OEk(853,"Type"),e.C$Y(),e.I0R(854,"th"),e.OEk(855,"Default"),e.C$Y()()(),e.I0R(856,"tbody")(857,"tr")(858,"td")(859,"code"),e.OEk(860,"[nzShowTime]"),e.C$Y()(),e.I0R(861,"td"),e.OEk(862,"to provide an additional time selection"),e.C$Y(),e.I0R(863,"td")(864,"code"),e.OEk(865,"object | boolean"),e.C$Y()(),e.I0R(866,"td")(867,"a",72),e.OEk(868,"TimePicker Options"),e.C$Y()()(),e.I0R(869,"tr")(870,"td")(871,"code"),e.OEk(872,"[nzDisabledTime]"),e.C$Y()(),e.I0R(873,"td"),e.OEk(874,"to specify the time that cannot be selected"),e.C$Y(),e.I0R(875,"td")(876,"code"),e.OEk(877,"(current: Date, partial: 'start' | 'end') => { nzDisabledHours, nzDisabledMinutes, nzDisabledSeconds }"),e.C$Y()(),e.I0R(878,"td"),e.OEk(879,"-"),e.C$Y()(),e.I0R(880,"tr")(881,"td")(882,"code"),e.OEk(883,"[nzShowWeekNumber]"),e.C$Y()(),e.I0R(884,"td"),e.OEk(885,"whether to show the week number on each row (Only supported by date picker. Week picker always shows week numbers)"),e.C$Y(),e.I0R(886,"td")(887,"code"),e.OEk(888,"boolean"),e.C$Y()(),e.I0R(889,"td")(890,"code"),e.OEk(891,"false"),e.C$Y()()(),e.I0R(892,"tr")(893,"td")(894,"code"),e.OEk(895,"(nzOnOk)"),e.C$Y()(),e.I0R(896,"td"),e.OEk(897,"click ok callback"),e.C$Y(),e.I0R(898,"td")(899,"code"),e.OEk(900,"EventEmitter<Date[]>"),e.C$Y()(),e.I0R(901,"td"),e.OEk(902,"-"),e.C$Y()()()(),e.I0R(903,"blockquote")(904,"p"),e.OEk(905,"Currently, supported "),e.I0R(906,"code"),e.OEk(907,"nz-time-picker"),e.C$Y(),e.OEk(908," parameters in "),e.I0R(909,"code"),e.OEk(910,"nzShowTime"),e.C$Y(),e.OEk(911," are: "),e.I0R(912,"code"),e.OEk(913,"nzFormat"),e.C$Y(),e.OEk(914,", "),e.I0R(915,"code"),e.OEk(916,"nzHourStep"),e.C$Y(),e.OEk(917,", "),e.I0R(918,"code"),e.OEk(919,"nzMinuteStep"),e.C$Y(),e.OEk(920,", "),e.I0R(921,"code"),e.OEk(922,"nzSecondStep"),e.C$Y(),e.OEk(923,", "),e.I0R(924,"code"),e.OEk(925,"nzDisabledHours"),e.C$Y(),e.OEk(926,", "),e.I0R(927,"code"),e.OEk(928,"nzDisabledMinutes"),e.C$Y(),e.OEk(929,", "),e.I0R(930,"code"),e.OEk(931,"nzDisabledSeconds"),e.C$Y(),e.OEk(932,", "),e.I0R(933,"code"),e.OEk(934,"nzHideDisabledOptions"),e.C$Y(),e.OEk(935,", "),e.I0R(936,"code"),e.OEk(937,"nzDefaultOpenValue"),e.C$Y(),e.OEk(938,", "),e.I0R(939,"code"),e.OEk(940,"nzAddOn"),e.C$Y()()(),e.I0R(941,"h2",77)(942,"span"),e.OEk(943,"FAQ"),e.C$Y(),e.I0R(944,"a",78),e.OEk(945,"#"),e.C$Y()(),e.I0R(946,"h3",79)(947,"span"),e.OEk(948,"Why does manual input not take effect after setting "),e.I0R(949,"code"),e.OEk(950,'nzFormat="dd/MM/yyyy"'),e.C$Y()(),e.I0R(951,"a",80),e.OEk(952,"#"),e.C$Y()(),e.I0R(953,"p"),e.OEk(954,"You need to use "),e.I0R(955,"code"),e.OEk(956,"date-fns"),e.C$Y(),e.OEk(957,". Date formatting currently supports two methods: "),e.I0R(958,"code"),e.OEk(959,"DatePipe"),e.C$Y(),e.OEk(960," (default, "),e.I0R(961,"a",81),e.OEk(962,"syntax reference"),e.C$Y(),e.OEk(963,") and "),e.I0R(964,"code"),e.OEk(965,"date-fns"),e.C$Y(),e.OEk(966," (see "),e.I0R(967,"a",82)(968,"code"),e.OEk(969,"How to format a date using date-fns"),e.C$Y()(),e.OEk(970,").NG-ZORRO takes the function provided by "),e.I0R(971,"code"),e.OEk(972,"date-fns"),e.C$Y(),e.OEk(973," to implement date deserialization after using it."),e.C$Y(),e.eAF(),e.C$Y()()),2&a&&(e.yG2(),e.E7m("nzOffsetTop",16),e.yG2(),e.E7m("nzAffix",!1),e.yG2(58),e.E7m("nzGutter",16),e.yG2(),e.E7m("nzXl",12)("nzSpan",24),e.yG2(),e.E7m("nzId","components-date-picker-demo-basic")("nzLink","components-date-picker-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/basic.md"),e.yG2(5),e.E7m("nzId","components-date-picker-demo-switch")("nzLink","components-date-picker-demo-switch")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/switch.md"),e.yG2(5),e.E7m("nzId","components-date-picker-demo-size")("nzLink","components-date-picker-demo-size")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/size.md"),e.yG2(11),e.E7m("nzId","components-date-picker-demo-disabled")("nzLink","components-date-picker-demo-disabled")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/disabled.md"),e.yG2(8),e.E7m("nzId","components-date-picker-demo-start-end")("nzLink","components-date-picker-demo-start-end")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/start-end.md"),e.yG2(23),e.E7m("nzId","components-date-picker-demo-extra-footer")("nzLink","components-date-picker-demo-extra-footer")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/extra-footer.md"),e.yG2(5),e.E7m("nzId","components-date-picker-demo-bordered")("nzLink","components-date-picker-demo-bordered")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/bordered.md"),e.yG2(5),e.E7m("nzId","components-date-picker-demo-status")("nzLink","components-date-picker-demo-status")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/status.md"),e.yG2(14),e.E7m("nzId","components-date-picker-demo-week-number")("nzLink","components-date-picker-demo-week-number")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/week-number.md"),e.yG2(8),e.E7m("nzXl",12)("nzSpan",24),e.yG2(),e.E7m("nzId","components-date-picker-demo-range-picker")("nzLink","components-date-picker-demo-range-picker")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/range-picker.md"),e.yG2(8),e.E7m("nzId","components-date-picker-demo-format")("nzLink","components-date-picker-demo-format")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/format.md"),e.yG2(8),e.E7m("nzId","components-date-picker-demo-time")("nzLink","components-date-picker-demo-time")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/time.md"),e.yG2(11),e.E7m("nzId","components-date-picker-demo-disabled-date")("nzLink","components-date-picker-demo-disabled-date")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/disabled-date.md"),e.yG2(11),e.E7m("nzId","components-date-picker-demo-presetted-ranges")("nzLink","components-date-picker-demo-presetted-ranges")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/presetted-ranges.md"),e.yG2(5),e.E7m("nzId","components-date-picker-demo-date-render")("nzLink","components-date-picker-demo-date-render")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/d
1ate-render.md"),e.yG2(11),e.E7m("nzId","components-date-picker-demo-inline")("nzLink","components-date-picker-demo-inline")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/inline.md"),e.yG2(8),e.E7m("nzId","components-date-picker-demo-placement")("nzLink","components-date-picker-demo-placement")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/date-picker/demo/placement.md"))},dependencies:[$.A,R.s9,R.mK,b.g,_.QD,_.ox,I.qG,w.If,F.k,s,c,N,A,B,H,G,v,L,x,W,K,j,Z,V,U,Q],encapsulation:2})}return o})(),ke=(()=>{class o{static#e=this.\u0275fac=function(a){return new(a||o)};static#n=this.\u0275mod=e.a4G({type:o});static#t=this.\u0275inj=e.s3X({imports:[u.K,M,m.qQ.forChild([{path:"en",component:me},{path:"zh",component:le}])]})}return o})()},9656:(S,y,l)=>{l.d(y,{es:()=>F,sn:()=>C,uw:()=>w});var m=l(1316),u=l(4496),k=l(6504),g=l(2540),Y=l(5657),f=l(800),E=l(3616),h=l(5739),M=l(1900),$=l(916),e=l(3972);const R=["*"],b=["inputElement"],_=["nz-radio",""];let I=(()=>{class p{constructor(){this.selected$=new g.o(1),this.touched$=new Y.E,this.disabled$=new g.o(1),this.name$=new g.o(1)}touch(){this.touched$.next()}select(i){this.selected$.next(i)}setDisabled(i){this.disabled$.next(i)}setName(i){this.name$.next(i)}static#e=this.\u0275fac=function(s){return new(s||p)};static#n=this.\u0275prov=u.wxM({token:p,factory:p.\u0275fac})}return p})(),w=(()=>{class p{constructor(i,s,c){this.cdr=i,this.nzRadioService=s,this.directionality=c,this.value=null,this.destroy$=new Y.E,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.nzDisabled=!1,this.nzButtonStyle="outline",this.nzSize="default",this.nzName=null,this.dir="ltr"}ngOnInit(){this.nzRadioService.selected$.pipe((0,E.a)(this.destroy$)).subscribe(i=>{this.value!==i&&(this.value=i,this.onChange(this.value))}),this.nzRadioService.touched$.pipe((0,E.a)(this.destroy$)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,E.a)(this.destroy$)).subscribe(i=>{this.dir=i,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(i){const{nzDisabled:s,nzName:c}=i;s&&this.nzRadioService.setDisabled(this.nzDisabled),c&&this.nzRadioService.setName(this.nzName)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}writeValue(i){this.value=i,this.nzRadioService.select(i),this.cdr.markForCheck()}registerOnChange(i){this.onChange=i}registerOnTouched(i){this.onTouched=i}setDisabledState(i){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||i,this.isNzDisableFirstChange=!1,this.nzRadioService.setDisabled(this.nzDisabled),this.cdr.markForCheck()}static#e=this.\u0275fac=function(s){return new(s||p)(u.GI1(u.kD9),u.GI1(I),u.GI1(M.yG,8))};static#n=this.\u0275cmp=u.In1({type:p,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(s,c){2&s&&u.eAK("ant-radio-group-large","large"===c.nzSize)("ant-radio-group-small","small"===c.nzSize)("ant-radio-group-solid","solid"===c.nzButtonStyle)("ant-radio-group-rtl","rtl"===c.dir)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],standalone:!0,features:[u.M5G([I,{provide:k.Y6,useExisting:(0,u.wd)(()=>p),multi:!0}]),u.SYr,u.UHJ],ngContentSelectors:R,decls:1,vars:0,template:function(s,c){1&s&&(u.kPM(),u._Xx(0))},encapsulation:2,changeDetection:0})}return(0,m.UN)([(0,h.U7)()],p.prototype,"nzDisabled",void 0),p})(),F=(()=>{class p{focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(i,s,c,O,N,T,P){this.ngZone=i,this.elementRef=s,this.cdr=c,this.focusMonitor=O,this.directionality=N,this.nzRadioService=T,this.nzFormStatusService=P,this.isNgModel=!1,this.destroy$=new Y.E,this.isNzDisableFirstChange=!0,this.isChecked=!1,this.name=null,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.isRadioButton=!1,this.dir="ltr"}setDisabledState(i){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||i,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}writeValue(i){this.isChecked=i,this.cdr.markForCheck()}registerOnChange(i){this.isNgModel=!0,this.onChange=i}registerOnTouched(i){this.onTouched=i}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe((0,E.a)(this.destroy$)).subscribe(i=>{this.name=i,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe((0,E.a)(this.destroy$)).subscribe(i=>{this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||i,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe((0,E.a)(this.destroy$)).subscribe(i=>{const s=this.isChecked;this.isChecked=this.nzValue===i,this.isNgModel&&s!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,E.a)(this.destroy$)).subscribe(i=>{i||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe((0,E.a)(this.destroy$)).subscribe(i=>{this.dir=i,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.setupClickListener()}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}setupClickListener(){this.ngZone.runOutsideAngular(()=>{(0,f.w)(this.elementRef.nativeElement,"click").pipe((0,E.a)(this.destroy$)).subscribe(i=>{i.stopPropagation(),i.preventDefault(),!this.nzDisabled&&!this.isChecked&&this.ngZone.run(()=>{this.focus(),this.nzRadioService?.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)),this.cdr.markForCheck()})})})}static#e=this.\u0275fac=function(s){return new(s||p)(u.GI1(u.WW2),u.GI1(u.GMv),u.GI1(u.kD9),u.GI1($.Kk),u.GI1(M.yG,8),u.GI1(I,8),u.GI1(e.WC,8))};static#n=this.\u0275cmp=u.In1({type:p,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(s,c){if(1&s&&u.CC$(b,7),2&s){let O;u.wto(O=u.Gqi())&&(c.inputElement=O.first)}},hostVars:18,hostBindings:function(s,c){2&s&&u.eAK("ant-radio-wrapper-in-form-item",!!c.nzFormStatusService)("ant-radio-wrapper",!c.isRadioButton)("ant-radio-button-wrapper",c.isRadioButton)("ant-radio-wrapper-checked",c.isChecked&&!c.isRadioButton)("ant-radio-button-wrapper-checked",c.isChecked&&c.isRadioButton)("ant-radio-wrapper-disabled",c.nzDisabled&&!c.isRadioButton)("ant-radio-button-wrapper-disabled",c.nzDisabled&&c.isRadioButton)("ant-radio-wrapper-rtl",!c.isRadioButton&&"rtl"===c.dir)("ant-radio-button-wrapper-rtl",c.isRadioButton&&"rtl"===c.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",
1isRadioButton:[u.Wk5.HasDecoratorInputTransform,"nz-radio-button","isRadioButton",u.cZD]},exportAs:["nzRadio"],standalone:!0,features:[u.M5G([{provide:k.Y6,useExisting:(0,u.wd)(()=>p),multi:!0}]),u.QJr,u.UHJ],attrs:_,ngContentSelectors:R,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(s,c){1&s&&(u.kPM(),u.I0R(0,"span"),u.wR5(1,"input",0,1)(3,"span"),u.C$Y(),u.I0R(4,"span"),u._Xx(5),u.C$Y()),2&s&&(u.eAK("ant-radio",!c.isRadioButton)("ant-radio-checked",c.isChecked&&!c.isRadioButton)("ant-radio-disabled",c.nzDisabled&&!c.isRadioButton)("ant-radio-button",c.isRadioButton)("ant-radio-button-checked",c.isChecked&&c.isRadioButton)("ant-radio-button-disabled",c.nzDisabled&&c.isRadioButton),u.yG2(),u.eAK("ant-radio-input",!c.isRadioButton)("ant-radio-button-input",c.isRadioButton),u.E7m("disabled",c.nzDisabled)("checked",c.isChecked),u.e48("autofocus",c.nzAutoFocus?"autofocus":null)("name",c.name),u.yG2(2),u.eAK("ant-radio-inner",!c.isRadioButton)("ant-radio-button-inner",c.isRadioButton))},encapsulation:2,changeDetection:0})}return(0,m.UN)([(0,h.U7)()],p.prototype,"nzDisabled",void 0),(0,m.UN)([(0,h.U7)()],p.prototype,"nzAutoFocus",void 0),p})(),C=(()=>{class p{static#e=this.\u0275fac=function(s){return new(s||p)};static#n=this.\u0275mod=u.a4G({type:p});static#t=this.\u0275inj=u.s3X({})}return p})()},1160:(S,y,l)=>{l.d(y,{I$:()=>F,UH:()=>b,Ud:()=>w});var m=l(4496),u=l(1316),k=l(1368),g=l(5657),Y=l(3616),f=l(2136),E=l(5739);function h(C,p){}const M=C=>({$implicit:C});function $(C,p){if(1&C&&(m.I0R(0,"span",4),m.yuY(1,h,0,0,"ng-template",5),m.C$Y()),2&C){const z=m.GaO(),i=z.last,s=z.index,c=m.GaO();m.m4B("margin-bottom","vertical"===c.nzDirection?i?null:c.spaceSize:null,"px")("margin-right","horizontal"===c.nzDirection?i?null:c.spaceSize:null,"px"),m.yG2(),m.E7m("ngTemplateOutlet",c.nzSplit)("ngTemplateOutletContext",m.S45(6,M,s))}}function e(C,p){if(1&C&&(m.I0R(0,"div",1),m.C_f(1,2),m.C$Y(),m.yuY(2,$,2,8,"span",3)),2&C){const z=p.$implicit,i=p.last,s=m.GaO();m.m4B("margin-bottom","vertical"===s.nzDirection?i?null:s.spaceSize:null,"px")("margin-right","horizontal"===s.nzDirection?i?null:s.spaceSize:null,"px"),m.yG2(),m.E7m("ngTemplateOutlet",z),m.yG2(),m.E7m("ngIf",s.nzSplit&&!i)}}const R=["*"];let b=(()=>{class C{constructor(){}static#e=this.\u0275fac=function(i){return new(i||C)};static#n=this.\u0275dir=m.Sc5({type:C,selectors:[["","nzSpaceItem",""]],standalone:!0})}return C})();const I={small:8,middle:16,large:24};let w=(()=>{class C{constructor(z,i){this.nzConfigService=z,this.cdr=i,this._nzModuleName="space",this.nzDirection="horizontal",this.nzSplit=null,this.nzWrap=!1,this.nzSize="small",this.spaceSize=I.small,this.destroy$=new g.E}updateSpaceItems(){this.spaceSize=("string"==typeof this.nzSize?I[this.nzSize]:this.nzSize)/(this.nzSplit?2:1),this.cdr.markForCheck()}ngOnChanges(){this.updateSpaceItems(),this.mergedAlign=void 0===this.nzAlign&&"horizontal"===this.nzDirection?"center":this.nzAlign}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}ngAfterContentInit(){this.updateSpaceItems(),this.items.changes.pipe((0,Y.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}static#e=this.\u0275fac=function(i){return new(i||C)(m.GI1(f.gl),m.GI1(m.kD9))};static#n=this.\u0275cmp=m.In1({type:C,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(i,s,c){if(1&i&&m.szK(c,b,4,m.Yw2),2&i){let O;m.wto(O=m.Gqi())&&(s.items=O)}},hostAttrs:[1,"ant-space"],hostVars:14,hostBindings:function(i,s){2&i&&(m.m4B("flex-wrap",s.nzWrap?"wrap":null),m.eAK("ant-space-horizontal","horizontal"===s.nzDirection)("ant-space-vertical","vertical"===s.nzDirection)("ant-space-align-start","start"===s.mergedAlign)("ant-space-align-end","end"===s.mergedAlign)("ant-space-align-center","center"===s.mergedAlign)("ant-space-align-baseline","baseline"===s.mergedAlign))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:"nzWrap",nzSize:"nzSize"},exportAs:["NzSpace"],standalone:!0,features:[m.SYr,m.UHJ],ngContentSelectors:R,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],[1,"ant-space-item"],[3,"ngTemplateOutlet"],["class","ant-space-split",3,"margin-bottom","margin-right",4,"ngIf"],[1,"ant-space-split"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,s){1&i&&(m.kPM(),m._Xx(0),m.yuY(1,e,3,6,"ng-template",0)),2&i&&(m.yG2(),m.E7m("ngForOf",s.items))},dependencies:[k.XV,k.u_,k.ay],encapsulation:2,changeDetection:0})}return(0,u.UN)([(0,E.U7)()],C.prototype,"nzWrap",void 0),(0,u.UN)([(0,f.Mb)()],C.prototype,"nzSize",void 0),C})(),F=(()=>{class C{static#e=this.\u0275fac=function(i){return new(i||C)};static#n=this.\u0275mod=m.a4G({type:C});static#t=this.\u0275inj=m.s3X({})}return C})()}}]);

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.