-
Notifications
You must be signed in to change notification settings - Fork 11
/
chunk-6RM5JCDV.js
1 lines (1 loc) · 47.4 KB
/
chunk-6RM5JCDV.js
1
import{b as z,c as E}from"./chunk-PEADLDOF.js";import"./chunk-4F3F27BT.js";import"./chunk-7EEEUGJK.js";import"./chunk-MGFBB5Y4.js";import{a as me,b as de,d as re}from"./chunk-HVFPNQ3B.js";import{a as oe}from"./chunk-6AJOFIIP.js";import"./chunk-3LAVY7RV.js";import{a as F,g as _,h as A,j as O}from"./chunk-Q4ISATUO.js";import"./chunk-JXWNPNAC.js";import{Ca as H,Fc as C,Hc as w,Ic as I,Lc as M,ec as P,oc as g,sc as h}from"./chunk-YWVGY2C2.js";import{Aa as p,Ac as B,Ba as K,Bc as v,Ca as Y,Cc as y,Gc as ee,Hc as n,Ib as s,Mc as x,Nc as f,Oc as k,Pb as te,Wb as r,_c as ie,ic as t,jc as e,kc as i,oc as $,rb as a,rc as T,tc as ne,za as u}from"./chunk-GBKJFEQZ.js";import"./chunk-EQDQRRRY.js";function ce(o,fe){if(o&1){let l=$();t(0,"button",3),T("click",function(){K(l),ne();let d=ee(1);return Y(d.close())}),n(1,"Ok"),e()}}var R=(()=>{class o{constructor(){this.time=null}static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker-addon"]],decls:4,vars:2,consts:[["timePicker",""],["addOnTemplate",""],[3,"ngModelChange","ngModel","nzAddOn"],["nz-button","","nzSize","small","nzType","primary",3,"click"]],template:function(m,d){if(m&1){let S=$();t(0,"nz-time-picker",2,0),k("ngModelChange",function(J){return K(S),f(d.time,J)||(d.time=J),Y(J)}),e(),te(2,ce,2,0,"ng-template",null,1,ie)}if(m&2){let S=ee(3);x("ngModel",d.time),r("nzAddOn",S)}},dependencies:[C,g,h,re,de,me,oe,E,z],encapsulation:2})}}return o})();var L=(()=>{class o{constructor(){this.time=null,this.defaultOpenValue=new Date(0,0,0,0,0,0)}static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker-basic"]],decls:1,vars:2,consts:[[3,"ngModelChange","ngModel","nzDefaultOpenValue"]],template:function(m,d){m&1&&(t(0,"nz-time-picker",0),k("ngModelChange",function(c){return f(d.time,c)||(d.time=c),c}),e()),m&2&&(x("ngModel",d.time),r("nzDefaultOpenValue",d.defaultOpenValue))},dependencies:[C,g,h,E,z],encapsulation:2})}}return o})();var G=(()=>{class o{static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker-bordered"]],decls:1,vars:0,consts:[["nzBorderless",""]],template:function(m,d){m&1&&i(0,"nz-time-picker",0)},dependencies:[E,z],encapsulation:2})}}return o})();var W=(()=>{class o{disabledHours(){return[1,2,3]}disabledMinutes(l){return l===4?[20,21,22,23,24,25]:[]}disabledSeconds(l,m){return l===5&&m===1?[20,21,22,23,24,25]:[]}static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker-disabled-part"]],decls:1,vars:3,consts:[[3,"nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds"]],template:function(m,d){m&1&&i(0,"nz-time-picker",0),m&2&&r("nzDisabledHours",d.disabledHours)("nzDisabledMinutes",d.disabledMinutes)("nzDisabledSeconds",d.disabledSeconds)},dependencies:[E,z],encapsulation:2})}}return o})();var Z=(()=>{class o{static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker-disabled"]],decls:1,vars:0,consts:[["nzDisabled",""]],template:function(m,d){m&1&&i(0,"nz-time-picker",0)},dependencies:[E,z],encapsulation:2})}}return o})();var V=(()=>{class o{constructor(){this.time=new Date}static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker-hide-column"]],decls:1,vars:1,consts:[["nzFormat","HH:mm",3,"ngModelChange","ngModel"]],template:function(m,d){m&1&&(t(0,"nz-time-picker",0),k("ngModelChange",function(c){return f(d.time,c)||(d.time=c),c}),e()),m&2&&x("ngModel",d.time)},dependencies:[C,g,h,E,z],encapsulation:2})}}return o})();var U=(()=>{class o{static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker-interval-options"]],decls:1,vars:2,consts:[[3,"nzMinuteStep","nzSecondStep"]],template:function(m,d){m&1&&i(0,"nz-time-picker",0),m&2&&r("nzMinuteStep",15)("nzSecondStep",10)},dependencies:[E,z],encapsulation:2})}}return o})();var Q=(()=>{class o{constructor(){this.time=new Date}static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker-size"]],decls:3,vars:3,consts:[["nzSize","large",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["nzSize","small",3,"ngModelChange","ngModel"]],template:function(m,d){m&1&&(t(0,"nz-time-picker",0),k("ngModelChange",function(c){return f(d.time,c)||(d.time=c),c}),e(),t(1,"nz-time-picker",1),k("ngModelChange",function(c){return f(d.time,c)||(d.time=c),c}),e(),t(2,"nz-time-picker",2),k("ngModelChange",function(c){return f(d.time,c)||(d.time=c),c}),e()),m&2&&(x("ngModel",d.time),a(),x("ngModel",d.time),a(),x("ngModel",d.time))},dependencies:[C,g,h,E,z],styles:["nz-time-picker[_ngcontent-%COMP%]{margin:0 8px 12px 0}"]})}}return o})();var X=(()=>{class o{static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker-status"]],decls:5,vars:0,consts:[["nzStatus","error"],["nzStatus","warning"]],template:function(m,d){m&1&&(i(0,"nz-time-picker",0)(1,"br")(2,"br"),t(3,"nz-time-picker",1),n(4,">"),e())},dependencies:[E,z],encapsulation:2})}}return o})();var q=(()=>{class o{constructor(){this.time=null}static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker-use12-hours"]],decls:4,vars:2,consts:[["nzUse12Hours","",3,"ngModelChange","ngModel"],["nzUse12Hours","","nzFormat","h:mm a",3,"ngModelChange","ngModel"]],template:function(m,d){m&1&&(t(0,"nz-time-picker",0),k("ngModelChange",function(c){return f(d.time,c)||(d.time=c),c}),e(),i(1,"br")(2,"br"),t(3,"nz-time-picker",1),k("ngModelChange",function(c){return f(d.time,c)||(d.time=c),c}),e()),m&2&&(x("ngModel",d.time),a(3),x("ngModel",d.time))},dependencies:[C,g,h,E,z],encapsulation:2})}}return o})();var j=(()=>{class o{constructor(){this.time=null}static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker-value"]],decls:1,vars:1,consts:[[3,"ngModelChange","ngModel"]],template:function(m,d){m&1&&(t(0,"nz-time-picker",0),k("ngModelChange",function(c){return f(d.time,c)||(d.time=c),c}),e()),m&2&&x("ngModel",d.time)},dependencies:[C,g,h,E,z],encapsulation:2})}}return o})();var le=(()=>{class o{constructor(){this.expanded=!1}goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(l=>l.expandCode(this.expanded))}static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker"]],viewQuery:function(m,d){if(m&1&&B(F,5),m&2){let S;v(S=y())&&(d.codeBoxes=S)}},decls:623,vars:51,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-time-picker-demo-basic","nzTitle","\u57FA\u672C"],["nzHref","#components-time-picker-demo-value","nzTitle","\u6570\u636E\u7ED1\u5B9A"],["nzHref","#components-time-picker-demo-size","nzTitle","\u4E09\u79CD\u5927\u5C0F"],["nzHref","#components-time-picker-demo-disabled","nzTitle","\u7981\u7528"],["nzHref","#components-time-picker-demo-hide-column","nzTitle","\u9009\u62E9\u65F6\u5206"],["nzHref","#components-time-picker-demo-interval-options","nzTitle","\u6B65\u957F\u9009\u9879"],["nzHref","#components-time-picker-demo-addon","nzTitle","\u9644\u52A0\u5185\u5BB9"],["nzHref","#components-time-picker-demo-disabled-part","nzTitle","\u7981\u7528\u90E8\u5206"],["nzHref","#components-time-picker-demo-use12-hours","nzTitle","12\u5C0F\u65F6\u5236"],["nzHref","#components-time-picker-demo-status","nzTitle","\u81EA\u5B9A\u4E49\u72B6\u6001"],["nzHref","#components-time-picker-demo-bordered","nzTitle","\u65E0\u8FB9\u6846"],["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/time-picker/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["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-time-picker-basic","nzGenerateCommand","ng g ng-zorro-antd:time-picker-basic <name>","nzComponentName","NzDemoTimePickerBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u4E09\u79CD\u5927\u5C0F","nzSelector","nz-demo-time-picker-size","nzGenerateCommand","ng g ng-zorro-antd:time-picker-size <name>","nzComponentName","NzDemoTimePickerSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u9009\u62E9\u65F6\u5206","nzSelector","nz-demo-time-picker-hide-column","nzGenerateCommand","ng g ng-zorro-antd:time-picker-hide-column <name>","nzComponentName","NzDemoTimePickerHideColumnComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u9644\u52A0\u5185\u5BB9","nzSelector","nz-demo-time-picker-addon","nzGenerateCommand","ng g ng-zorro-antd:time-picker-addon <name>","nzComponentName","NzDemoTimePickerAddonComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","12\u5C0F\u65F6\u5236","nzSelector","nz-demo-time-picker-use12-hours","nzGenerateCommand","ng g ng-zorro-antd:time-picker-use12-hours <name>","nzComponentName","NzDemoTimePickerUse12HoursComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u65E0\u8FB9\u6846","nzSelector","nz-demo-time-picker-bordered","nzGenerateCommand","ng g ng-zorro-antd:time-picker-bordered <name>","nzComponentName","NzDemoTimePickerBorderedComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u6570\u636E\u7ED1\u5B9A","nzSelector","nz-demo-time-picker-value","nzGenerateCommand","ng g ng-zorro-antd:time-picker-value <name>","nzComponentName","NzDemoTimePickerValueComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u7981\u7528","nzSelector","nz-demo-time-picker-disabled","nzGenerateCommand","ng g ng-zorro-antd:time-picker-disabled <name>","nzComponentName","NzDemoTimePickerDisabledComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u6B65\u957F\u9009\u9879","nzSelector","nz-demo-time-picker-interval-options","nzGenerateCommand","ng g ng-zorro-antd:time-picker-interval-options <name>","nzComponentName","NzDemoTimePickerIntervalOptionsComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u7981\u7528\u90E8\u5206","nzSelector","nz-demo-time-picker-disabled-part","nzGenerateCommand","ng g ng-zorro-antd:time-picker-disabled-part <name>","nzComponentName","NzDemoTimePickerDisabledPartComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u72B6\u6001","nzSelector","nz-demo-time-picker-status","nzGenerateCommand","ng g ng-zorro-antd:time-picker-status <name>","nzComponentName","NzDemoTimePickerStatusComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],["id","nz-time-picker"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-time-picker'",1,"anchor"],["href","https://angular.cn/api/common/DatePipe","target","_blank","rel","noopener"],["id","\u65B9\u6CD5"],["onclick","window.location.hash = '\u65B9\u6CD5'",1,"anchor"]],template:function(m,d){m&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),T("nzClick",function(c){return d.goLink(c)}),i(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),e()(),t(15,"section",14)(16,"h1"),n(17,"TimePicker"),t(18,"span",15),n(19,"\u65F6\u95F4\u9009\u62E9\u6846"),e(),i(20,"span",16),t(21,"a",17),i(22,"nz-icon",18),e()(),t(23,"section",14),p(),t(24,"p"),n(25,"\u8F93\u5165\u6216\u9009\u62E9\u65F6\u95F4\u7684\u63A7\u4EF6\u3002"),e(),t(26,"h2",19)(27,"span"),n(28,"\u4F55\u65F6\u4F7F\u7528"),e(),t(29,"a",20),n(30,"#"),e()(),t(31,"p"),n(32,"\u5F53\u7528\u6237\u9700\u8981\u8F93\u5165\u4E00\u4E2A\u65F6\u95F4\uFF0C\u53EF\u4EE5\u70B9\u51FB\u6807\u51C6\u8F93\u5165\u6846\uFF0C\u5F39\u51FA\u65F6\u95F4\u9762\u677F\u8FDB\u884C\u9009\u62E9\u3002"),e(),t(33,"pre",21)(34,"code")(35,"span",22),n(36,"import"),e(),n(37," "),t(38,"span",23),n(39,"{"),e(),n(40," NzTimePickerModule "),t(41,"span",23),n(42,"}"),e(),n(43," "),t(44,"span",22),n(45,"from"),e(),n(46," "),t(47,"span",24),n(48,"'ng-zorro-antd/time-picker'"),e(),t(49,"span",23),n(50,";"),e()()(),u(),e(),t(51,"h2")(52,"span"),n(53,"\u4EE3\u7801\u6F14\u793A"),e(),t(54,"span",25),T("click",function(){return d.expandAllCode()}),e()()(),t(55,"div",26)(56,"div",27)(57,"nz-code-box",28),i(58,"nz-demo-time-picker-basic",29),t(59,"div",30),p(),t(60,"p"),n(61,"\u70B9\u51FB "),t(62,"code"),n(63,"nz-time-picker"),e(),n(64,"\uFF0C\u7136\u540E\u53EF\u4EE5\u5728\u6D6E\u5C42\u4E2D\u9009\u62E9\u6216\u8005\u8F93\u5165\u67D0\u4E00\u65F6\u95F4\u3002"),e(),u(),e()(),t(65,"nz-code-box",31),i(66,"nz-demo-time-picker-size",29),t(67,"div",30),p(),t(68,"p"),n(69,"\u4E09\u79CD\u5927\u5C0F\u7684\u8F93\u5165\u6846\uFF0C\u5927\u7684\u7528\u5728\u8868\u5355\u4E2D\uFF0C\u4E2D\u7684\u4E3A\u9ED8\u8BA4\u3002"),e(),u(),e()(),t(70,"nz-code-box",32),i(71,"nz-demo-time-picker-hide-column",29),t(72,"div",30),p(),t(73,"p")(74,"code"),n(75,"nz-time-picker"),e(),n(76," \u6D6E\u5C42\u4E2D\u7684\u5217\u4F1A\u968F\u7740 "),t(77,"code"),n(78,"nzFormat"),e(),n(79," \u53D8\u5316\uFF0C\u5F53\u7565\u53BB "),t(80,"code"),n(81,"nzFormat"),e(),n(82," \u4E2D\u7684\u67D0\u90E8\u5206\u65F6\uFF0C\u6D6E\u5C42\u4E2D\u5BF9\u5E94\u7684\u5217\u4E5F\u4F1A\u6D88\u5931\u3002"),e(),u(),e()(),t(83,"nz-code-box",33),i(84,"nz-demo-time-picker-addon",29),t(85,"div",30),p(),t(86,"p"),n(87,"\u5728 "),t(88,"code"),n(89,"nz-time-picker"),e(),n(90," \u9009\u62E9\u6846\u5E95\u90E8\u663E\u793A\u81EA\u5B9A\u4E49\u7684\u5185\u5BB9\u3002"),e(),u(),e()(),t(91,"nz-code-box",34),i(92,"nz-demo-time-picker-use12-hours",29),t(93,"div",30),p(),t(94,"p"),n(95,"12\u5C0F\u65F6\u5236\u7684\u65F6\u95F4\u9009\u62E9\u5668\uFF0C\u9ED8\u8BA4format\u4E3A "),t(96,"code"),n(97,"h:mm:ss a"),e()(),u(),e()(),t(98,"nz-code-box",35),i(99,"nz-demo-time-picker-bordered",29),t(100,"div",30),p(),t(101,"p"),n(102,"\u65E0\u8FB9\u6846\u6837\u5F0F\u3002"),e(),u(),e()()(),t(103,"div",27)(104,"nz-code-box",36),i(105,"nz-demo-time-picker-value",29),t(106,"div",30),p(),t(107,"p"),n(108,"\u53EF\u4EE5\u8FDB\u884C\u53CC\u5411\u7ED1\u5B9A\u3002"),e(),u(),e()(),t(109,"nz-code-box",37),i(110,"nz-demo-time-picker-disabled",29),t(111,"div",30),p(),t(112,"p"),n(113,"\u7981\u7528\u65F6\u95F4\u9009\u62E9\u3002"),e(),u(),e()(),t(114,"nz-code-box",38),i(115,"nz-demo-time-picker-interval-options",29),t(116,"div",30),p(),t(117,"p"),n(118,"\u53EF\u4EE5\u4F7F\u7528 "),t(119,"code"),n(120,"nzHourStep"),e(),t(121,"code"),n(122,"nzMinuteStep"),e(),t(123,"code"),n(124,"nzSecondStep"),e(),n(125," \u6309\u6B65\u957F\u5C55\u793A\u53EF\u9009\u7684\u65F6\u5206\u79D2\u3002"),e(),u(),e()(),t(126,"nz-code-box",39),i(127,"nz-demo-time-picker-disabled-part",29),t(128,"div",30),p(),t(129,"p"),n(130,"\u7981\u7528\u90E8\u5206\u65F6\u95F4\u9009\u62E9\u3002"),e(),u(),e()(),t(131,"nz-code-box",40),i(132,"nz-demo-time-picker-status",29),t(133,"div",30),p(),t(134,"p"),n(135,"\u4F7F\u7528 "),t(136,"code"),n(137,"nzStatus"),e(),n(138," \u4E3A TimePicker \u6DFB\u52A0\u72B6\u6001\uFF0C\u53EF\u9009 "),t(139,"code"),n(140,"error"),e(),n(141," \u6216\u8005 "),t(142,"code"),n(143,"warning"),e(),n(144,"\u3002"),e(),u(),e()()()(),t(145,"section",41),p(),t(146,"h2",42)(147,"span"),n(148,"API"),e(),t(149,"a",43),n(150,"#"),e()(),t(151,"pre",44)(152,"code")(153,"span",45)(154,"span",45)(155,"span",23),n(156,"<"),e(),n(157,"nz-time-picker"),e(),n(158," "),t(159,"span",46),n(160,"[(ngModel)]"),e(),t(161,"span",47)(162,"span",23),n(163,"="),e(),t(164,"span",23),n(165,'"'),e(),n(166,"someTime"),t(167,"span",23),n(168,'"'),e()(),t(169,"span",23),n(170,">"),e()(),t(171,"span",45)(172,"span",45)(173,"span",23),n(174,"</"),e(),n(175,"nz-time-picker"),e(),t(176,"span",23),n(177,">"),e()()()(),t(178,"h3",48)(179,"span"),n(180,"nz-time-picker"),e(),t(181,"label",49),n(182,"component"),e(),t(183,"a",50),n(184,"#"),e()(),t(185,"table")(186,"thead")(187,"tr")(188,"th"),n(189,"\u53C2\u6570"),e(),t(190,"th"),n(191,"\u8BF4\u660E"),e(),t(192,"th"),n(193,"\u7C7B\u578B"),e(),t(194,"th"),n(195,"\u9ED8\u8BA4\u503C"),e(),t(196,"th"),n(197,"\u5168\u5C40\u914D\u7F6E"),e()()(),t(198,"tbody")(199,"tr")(200,"td")(201,"code"),n(202,"[nzId]"),e()(),t(203,"td"),n(204,"\u7EC4\u4EF6\u5185\u90E8 input \u7684 id \u503C"),e(),t(205,"td")(206,"code"),n(207,"string"),e()(),t(208,"td"),n(209,"-"),e(),i(210,"td"),e(),t(211,"tr")(212,"td")(213,"code"),n(214,"[ngModel]"),e()(),t(215,"td"),n(216,"\u5F53\u524D\u65F6\u95F4"),e(),t(217,"td")(218,"code"),n(219,"Date"),e()(),t(220,"td"),n(221,"-"),e(),i(222,"td"),e(),t(223,"tr")(224,"td")(225,"code"),n(226,"[nzAddOn]"),e()(),t(227,"td"),n(228,"\u9009\u62E9\u6846\u5E95\u90E8\u663E\u793A\u81EA\u5B9A\u4E49\u7684\u5185\u5BB9"),e(),t(229,"td")(230,"code"),n(231,"TemplateRef<void>"),e()(),t(232,"td"),n(233,"-"),e(),i(234,"td"),e(),t(235,"tr")(236,"td")(237,"code"),n(238,"[nzAllowEmpty]"),e()(),t(239,"td"),n(240,"\u662F\u5426\u5C55\u793A\u6E05\u9664\u6309\u94AE"),e(),t(241,"td")(242,"code"),n(243,"boolean"),e()(),t(244,"td")(245,"code"),n(246,"true"),e()(),t(247,"td"),n(248,"\u2705"),e()(),t(249,"tr")(250,"td")(251,"code"),n(252,"[nzAutoFocus]"),e()(),t(253,"td"),n(254,"\u81EA\u52A8\u83B7\u53D6\u7126\u70B9"),e(),t(255,"td")(256,"code"),n(257,"boolean"),e()(),t(258,"td")(259,"code"),n(260,"false"),e()(),i(261,"td"),e(),t(262,"tr")(263,"td")(264,"code"),n(265,"[nzBackdrop]"),e()(),t(266,"td"),n(267,"\u6D6E\u5C42\u662F\u5426\u5E94\u5E26\u6709\u80CC\u666F\u677F"),e(),t(268,"td")(269,"code"),n(270,"boolean"),e()(),t(271,"td")(272,"code"),n(273,"false"),e()(),i(274,"td"),e(),t(275,"tr")(276,"td")(277,"code"),n(278,"[nzClearText]"),e()(),t(279,"td"),n(280,"\u6E05\u9664\u6309\u94AE\u7684\u63D0\u793A\u6587\u6848"),e(),t(281,"td")(282,"code"),n(283,"string"),e()(),t(284,"td")(285,"code"),n(286,"'clear'"),e()(),t(287,"td"),n(288,"\u2705"),e()(),t(289,"tr")(290,"td")(291,"code"),n(292,"[nzNowText]"),e()(),t(293,"td"),n(294,"\u6B64\u523B\u6309\u94AE\u6587\u672C"),e(),t(295,"td")(296,"code"),n(297,"string"),e()(),t(298,"td")(299,"code"),n(300,'"\u6B64\u523B"'),e()(),t(301,"td"),n(302,"\u2705"),e()(),t(303,"tr")(304,"td")(305,"code"),n(306,"[nzOkText]"),e()(),t(307,"td"),n(308,"\u786E\u8BA4\u6309\u94AE\u6587\u672C"),e(),t(309,"td")(310,"code"),n(311,"string"),e()(),t(312,"td")(313,"code"),n(314,'"\u786E\u5B9A"'),e()(),t(315,"td"),n(316,"\u2705"),e()(),t(317,"tr")(318,"td")(319,"code"),n(320,"[nzDefaultOpenValue]"),e()(),t(321,"td"),n(322,"\u5F53 "),t(323,"code"),n(324,"[ngModel]"),e(),n(325," \u4E0D\u5B58\u5728\u65F6\uFF0C\u53EF\u4EE5\u8BBE\u7F6E\u9762\u677F\u6253\u5F00\u65F6\u9ED8\u8BA4\u9009\u4E2D\u7684\u503C"),e(),t(326,"td")(327,"code"),n(328,"Date"),e()(),t(329,"td")(330,"code"),n(331,"new Date()"),e()(),i(332,"td"),e(),t(333,"tr")(334,"td")(335,"code"),n(336,"[nzDisabled]"),e()(),t(337,"td"),n(338,"\u7981\u7528\u5168\u90E8\u64CD\u4F5C"),e(),t(339,"td")(340,"code"),n(341,"boolean"),e()(),t(342,"td")(343,"code"),n(344,"false"),e()(),i(345,"td"),e(),t(346,"tr")(347,"td")(348,"code"),n(349,"[nzDisabledHours]"),e()(),t(350,"td"),n(351,"\u7981\u6B62\u9009\u62E9\u90E8\u5206\u5C0F\u65F6\u9009\u9879"),e(),t(352,"td")(353,"code"),n(354,"() => number[]"),e()(),t(355,"td"),n(356,"-"),e(),i(357,"td"),e(),t(358,"tr")(359,"td")(360,"code"),n(361,"[nzDisabledMinutes]"),e()(),t(362,"td"),n(363,"\u7981\u6B62\u9009\u62E9\u90E8\u5206\u5206\u949F\u9009\u9879"),e(),t(364,"td")(365,"code"),n(366,"(hour: number) => number[]"),e()(),t(367,"td"),n(368,"-"),e(),i(369,"td"),e(),t(370,"tr")(371,"td")(372,"code"),n(373,"[nzDisabledSeconds]"),e()(),t(374,"td"),n(375,"\u7981\u6B62\u9009\u62E9\u90E8\u5206\u79D2\u9009\u9879"),e(),t(376,"td")(377,"code"),n(378,"(hour: number, minute: number) => number[]"),e()(),t(379,"td"),n(380,"-"),e(),i(381,"td"),e(),t(382,"tr")(383,"td")(384,"code"),n(385,"[nzFormat]"),e()(),t(386,"td"),n(387,"\u5C55\u793A\u7684\u65F6\u95F4\u683C\u5F0F"),e(),t(388,"td")(389,"a",51),n(390,"DatePipe"),e()(),t(391,"td")(392,"code"),n(393,'"HH:mm:ss"'),e()(),t(394,"td"),n(395,"\u2705"),e()(),t(396,"tr")(397,"td")(398,"code"),n(399,"[nzHideDisabledOptions]"),e()(),t(400,"td"),n(401,"\u9690\u85CF\u7981\u6B62\u9009\u62E9\u7684\u9009\u9879"),e(),t(402,"td")(403,"code"),n(404,"boolean"),e()(),t(405,"td")(406,"code"),n(407,"false"),e()(),i(408,"td"),e(),t(409,"tr")(410,"td")(411,"code"),n(412,"[nzHourStep]"),e()(),t(413,"td"),n(414,"\u5C0F\u65F6\u9009\u9879\u95F4\u9694"),e(),t(415,"td")(416,"code"),n(417,"number"),e()(),t(418,"td")(419,"code"),n(420,"1"),e()(),t(421,"td"),n(422,"\u2705"),e()(),t(423,"tr")(424,"td")(425,"code"),n(426,"[nzMinuteStep]"),e()(),t(427,"td"),n(428,"\u5206\u949F\u9009\u9879\u95F4\u9694"),e(),t(429,"td")(430,"code"),n(431,"number"),e()(),t(432,"td")(433,"code"),n(434,"1"),e()(),t(435,"td"),n(436,"\u2705"),e()(),t(437,"tr")(438,"td")(439,"code"),n(440,"[nzSecondStep]"),e()(),t(441,"td"),n(442,"\u79D2\u9009\u9879\u95F4\u9694"),e(),t(443,"td")(444,"code"),n(445,"number"),e()(),t(446,"td")(447,"code"),n(448,"1"),e()(),t(449,"td"),n(450,"\u2705"),e()(),t(451,"tr")(452,"td")(453,"code"),n(454,"[nzSize]"),e()(),t(455,"td"),n(456,"\u65F6\u95F4\u9009\u62E9\u6846\u5927\u5C0F"),e(),t(457,"td")(458,"code"),n(459,"'large'|'small'|'default'"),e()(),t(460,"td")(461,"code"),n(462,"'default'"),e()(),i(463,"td"),e(),t(464,"tr")(465,"td")(466,"code"),n(467,"[nzStatus]"),e()(),t(468,"td"),n(469,"\u8BBE\u7F6E\u6821\u9A8C\u72B6\u6001"),e(),t(470,"td")(471,"code"),n(472,"'error' | 'warning'"),e()(),t(473,"td"),n(474,"-"),e(),i(475,"td"),e(),t(476,"tr")(477,"td")(478,"code"),n(479,"[nzBorderless]"),e()(),t(480,"td"),n(481,"\u79FB\u9664\u8FB9\u6846"),e(),t(482,"td")(483,"code"),n(484,"boolean"),e()(),t(485,"td")(486,"code"),n(487,"false"),e()(),t(488,"td"),n(489,"-"),e()(),t(490,"tr")(491,"td")(492,"code"),n(493,"[nzInputReadOnly]"),e()(),t(494,"td"),n(495,"\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(),t(496,"td")(497,"code"),n(498,"boolean"),e()(),t(499,"td")(500,"code"),n(501,"false"),e()(),t(502,"td"),n(503,"-"),e()(),t(504,"tr")(505,"td")(506,"code"),n(507,"[nzOpen]"),e()(),t(508,"td"),n(509,"\u9762\u677F\u662F\u5426\u6253\u5F00\uFF0C\u53EF\u53CC\u5411\u7ED1\u5B9A"),e(),t(510,"td")(511,"code"),n(512,"boolean"),e()(),t(513,"td")(514,"code"),n(515,"false"),e()(),i(516,"td"),e(),t(517,"tr")(518,"td")(519,"code"),n(520,"[nzPlaceHolder]"),e()(),t(521,"td"),n(522,"\u6CA1\u6709\u503C\u7684\u65F6\u5019\u663E\u793A\u7684\u5185\u5BB9"),e(),t(523,"td")(524,"code"),n(525,"string"),e()(),t(526,"td")(527,"code"),n(528,'"\u8BF7\u9009\u62E9\u65F6\u95F4"'),e()(),i(529,"td"),e(),t(530,"tr")(531,"td")(532,"code"),n(533,"[nzPopupClassName]"),e()(),t(534,"td"),n(535,"\u5F39\u51FA\u5C42\u7C7B\u540D"),e(),t(536,"td")(537,"code"),n(538,"string"),e()(),t(539,"td")(540,"code"),n(541,"''"),e()(),t(542,"td"),n(543,"\u2705"),e()(),t(544,"tr")(545,"td")(546,"code"),n(547,"[nzUse12Hours]"),e()(),t(548,"td"),n(549,"\u4F7F\u7528 12 \u5C0F\u65F6\u5236\uFF0C\u4E3A true \u65F6 format \u9ED8\u8BA4\u4E3A"),t(550,"code"),n(551,"h:mm:ss a"),e()(),t(552,"td")(553,"code"),n(554,"boolean"),e()(),t(555,"td")(556,"code"),n(557,"false"),e()(),t(558,"td"),n(559,"\u2705"),e()(),t(560,"tr")(561,"td")(562,"code"),n(563,"[nzSuffixIcon]"),e()(),t(564,"td"),n(565,"\u81EA\u5B9A\u4E49\u7684\u540E\u7F00\u56FE\u6807"),e(),t(566,"td")(567,"code"),n(568,"string"),e()(),t(569,"td")(570,"code"),n(571,"TemplateRef"),e()(),t(572,"td"),n(573,"-"),e()(),t(574,"tr")(575,"td")(576,"code"),n(577,"(ngModelChange)"),e()(),t(578,"td"),n(579,"\u65F6\u95F4\u53D1\u751F\u53D8\u5316\u7684\u56DE\u8C03"),e(),t(580,"td")(581,"code"),n(582,"EventEmitter<Date>"),e()(),t(583,"td"),n(584,"-"),e(),i(585,"td"),e(),t(586,"tr")(587,"td")(588,"code"),n(589,"(nzOpenChange)"),e()(),t(590,"td"),n(591,"\u9762\u677F\u6253\u5F00/\u5173\u95ED\u65F6\u7684\u56DE\u8C03"),e(),t(592,"td")(593,"code"),n(594,"EventEmitter<boolean>"),e()(),t(595,"td"),n(596,"-"),e(),i(597,"td"),e()()(),t(598,"h4",52)(599,"span"),n(600,"\u65B9\u6CD5"),e(),t(601,"a",53),n(602,"#"),e()(),t(603,"table")(604,"thead")(605,"tr")(606,"th"),n(607,"\u540D\u79F0"),e(),t(608,"th"),n(609,"\u63CF\u8FF0"),e()()(),t(610,"tbody")(611,"tr")(612,"td")(613,"code"),n(614,"blur()"),e()(),t(615,"td"),n(616,"\u79FB\u9664\u7126\u70B9"),e()(),t(617,"tr")(618,"td")(619,"code"),n(620,"focus()"),e()(),t(621,"td"),n(622,"\u83B7\u53D6\u7126\u70B9"),e()()()(),u(),e()()),m&2&&(a(),r("nzOffsetTop",16),a(),r("nzAffix",!1),a(53),r("nzGutter",16),a(),r("nzXl",12)("nzSpan",24),a(),r("nzId","components-time-picker-demo-basic")("nzLink","components-time-picker-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/basic.md"),a(8),r("nzId","components-time-picker-demo-size")("nzLink","components-time-picker-demo-size")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/size.md"),a(5),r("nzId","components-time-picker-demo-hide-column")("nzLink","components-time-picker-demo-hide-column")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/hide-column.md"),a(13),r("nzId","components-time-picker-demo-addon")("nzLink","components-time-picker-demo-addon")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/addon.md"),a(8),r("nzId","components-time-picker-demo-use12-hours")("nzLink","components-time-picker-demo-use12-hours")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/use12-hours.md"),a(7),r("nzId","components-time-picker-demo-bordered")("nzLink","components-time-picker-demo-bordered")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/bordered.md"),a(5),r("nzXl",12)("nzSpan",24),a(),r("nzId","components-time-picker-demo-value")("nzLink","components-time-picker-demo-value")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/value.md"),a(5),r("nzId","components-time-picker-demo-disabled")("nzLink","components-time-picker-demo-disabled")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/disabled.md"),a(5),r("nzId","components-time-picker-demo-interval-options")("nzLink","components-time-picker-demo-interval-options")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/interval-options.md"),a(12),r("nzId","components-time-picker-demo-disabled-part")("nzLink","components-time-picker-demo-disabled-part")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/disabled-part.md"),a(5),r("nzId","components-time-picker-demo-status")("nzLink","components-time-picker-demo-status")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/status.md"))},dependencies:[O,F,_,A,M,I,w,P,H,R,L,G,W,Z,V,U,Q,X,q,j],encapsulation:2})}}return o})();var ae=(()=>{class o{constructor(){this.expanded=!1}goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(l=>l.expandCode(this.expanded))}static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=s({type:o,selectors:[["nz-demo-time-picker"]],viewQuery:function(m,d){if(m&1&&B(F,5),m&2){let S;v(S=y())&&(d.codeBoxes=S)}},decls:620,vars:51,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-time-picker-demo-basic","nzTitle","Basic"],["nzHref","#components-time-picker-demo-value","nzTitle","Data binding"],["nzHref","#components-time-picker-demo-size","nzTitle","Three Sizes"],["nzHref","#components-time-picker-demo-disabled","nzTitle","disabled"],["nzHref","#components-time-picker-demo-hide-column","nzTitle","Hour and minute"],["nzHref","#components-time-picker-demo-interval-options","nzTitle","interval option"],["nzHref","#components-time-picker-demo-addon","nzTitle","Addon"],["nzHref","#components-time-picker-demo-disabled-part","nzTitle","disabled part"],["nzHref","#components-time-picker-demo-use12-hours","nzTitle","12 hours"],["nzHref","#components-time-picker-demo-status","nzTitle","Status"],["nzHref","#components-time-picker-demo-bordered","nzTitle","Bordered-less"],["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/time-picker/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["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-time-picker-basic","nzGenerateCommand","ng g ng-zorro-antd:time-picker-basic <name>","nzComponentName","NzDemoTimePickerBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Three Sizes","nzSelector","nz-demo-time-picker-size","nzGenerateCommand","ng g ng-zorro-antd:time-picker-size <name>","nzComponentName","NzDemoTimePickerSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Hour and minute","nzSelector","nz-demo-time-picker-hide-column","nzGenerateCommand","ng g ng-zorro-antd:time-picker-hide-column <name>","nzComponentName","NzDemoTimePickerHideColumnComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Addon","nzSelector","nz-demo-time-picker-addon","nzGenerateCommand","ng g ng-zorro-antd:time-picker-addon <name>","nzComponentName","NzDemoTimePickerAddonComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","12 hours","nzSelector","nz-demo-time-picker-use12-hours","nzGenerateCommand","ng g ng-zorro-antd:time-picker-use12-hours <name>","nzComponentName","NzDemoTimePickerUse12HoursComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Bordered-less","nzSelector","nz-demo-time-picker-bordered","nzGenerateCommand","ng g ng-zorro-antd:time-picker-bordered <name>","nzComponentName","NzDemoTimePickerBorderedComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Data binding","nzSelector","nz-demo-time-picker-value","nzGenerateCommand","ng g ng-zorro-antd:time-picker-value <name>","nzComponentName","NzDemoTimePickerValueComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","disabled","nzSelector","nz-demo-time-picker-disabled","nzGenerateCommand","ng g ng-zorro-antd:time-picker-disabled <name>","nzComponentName","NzDemoTimePickerDisabledComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","interval option","nzSelector","nz-demo-time-picker-interval-options","nzGenerateCommand","ng g ng-zorro-antd:time-picker-interval-options <name>","nzComponentName","NzDemoTimePickerIntervalOptionsComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","disabled part","nzSelector","nz-demo-time-picker-disabled-part","nzGenerateCommand","ng g ng-zorro-antd:time-picker-disabled-part <name>","nzComponentName","NzDemoTimePickerDisabledPartComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Status","nzSelector","nz-demo-time-picker-status","nzGenerateCommand","ng g ng-zorro-antd:time-picker-status <name>","nzComponentName","NzDemoTimePickerStatusComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],["id","nz-time-picker"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-time-picker'",1,"anchor"],["href","https://angular.dev/api/common/DatePipe","target","_blank","rel","noopener"],["id","methods"],["onclick","window.location.hash = 'methods'",1,"anchor"]],template:function(m,d){m&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),T("nzClick",function(c){return d.goLink(c)}),i(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),e()(),t(15,"section",14)(16,"h1"),n(17,"TimePicker"),i(18,"span",15)(19,"span",16),t(20,"a",17),i(21,"nz-icon",18),e()(),t(22,"section",14),p(),t(23,"p"),n(24,"To select/input a time."),e(),t(25,"h2",19)(26,"span"),n(27,"When To Use"),e(),t(28,"a",20),n(29,"#"),e()(),t(30,"p"),n(31,"By clicking the input box, you can select a time from a popup panel."),e(),t(32,"pre",21)(33,"code")(34,"span",22),n(35,"import"),e(),n(36," "),t(37,"span",23),n(38,"{"),e(),n(39," NzTimePickerModule "),t(40,"span",23),n(41,"}"),e(),n(42," "),t(43,"span",22),n(44,"from"),e(),n(45," "),t(46,"span",24),n(47,"'ng-zorro-antd/time-picker'"),e(),t(48,"span",23),n(49,";"),e()()(),u(),e(),t(50,"h2")(51,"span"),n(52,"Examples"),e(),t(53,"span",25),T("click",function(){return d.expandAllCode()}),e()()(),t(54,"div",26)(55,"div",27)(56,"nz-code-box",28),i(57,"nz-demo-time-picker-basic",29),t(58,"div",30),p(),t(59,"p"),n(60,"Click "),t(61,"code"),n(62,"nz-time-picker"),e(),n(63,", and then we could select or input a time in panel."),e(),u(),e()(),t(64,"nz-code-box",31),i(65,"nz-demo-time-picker-size",29),t(66,"div",30),p(),t(67,"p"),n(68,"The input box comes in three sizes. large is used in the form, while the medium size is the default."),e(),u(),e()(),t(69,"nz-code-box",32),i(70,"nz-demo-time-picker-hide-column",29),t(71,"div",30),p(),t(72,"p"),n(73,"While part of "),t(74,"code"),n(75,"nzFormat"),e(),n(76," is omitted, the corresponding column in panel will disappear, too."),e(),u(),e()(),t(77,"nz-code-box",33),i(78,"nz-demo-time-picker-addon",29),t(79,"div",30),p(),t(80,"p"),n(81,"Render addon contents to "),t(82,"code"),n(83,"nz-time-picker"),e(),n(84," panel's bottom."),e(),u(),e()(),t(85,"nz-code-box",34),i(86,"nz-demo-time-picker-use12-hours",29),t(87,"div",30),p(),t(88,"p"),n(89,"TimePicker of 12 hours with default format "),t(90,"code"),n(91,"h:mm:ss a"),e()(),u(),e()(),t(92,"nz-code-box",35),i(93,"nz-demo-time-picker-bordered",29),t(94,"div",30),p(),t(95,"p"),n(96,"Bordered-less style component."),e(),u(),e()()(),t(97,"div",27)(98,"nz-code-box",36),i(99,"nz-demo-time-picker-value",29),t(100,"div",30),p(),t(101,"p"),n(102,"Work with two-way binding."),e(),u(),e()(),t(103,"nz-code-box",37),i(104,"nz-demo-time-picker-disabled",29),t(105,"div",30),p(),t(106,"p"),n(107,"A disabled state of the "),t(108,"code"),n(109,"nz-time-picker"),e(),n(110,"."),e(),u(),e()(),t(111,"nz-code-box",38),i(112,"nz-demo-time-picker-interval-options",29),t(113,"div",30),p(),t(114,"p"),n(115,"Show stepped options by "),t(116,"code"),n(117,"nzHourStep"),e(),t(118,"code"),n(119,"nzMinuteStep"),e(),t(120,"code"),n(121,"nzSecondStep"),e(),n(122,"."),e(),u(),e()(),t(123,"nz-code-box",39),i(124,"nz-demo-time-picker-disabled-part",29),t(125,"div",30),p(),t(126,"p"),n(127,"To specify the hours|minutes|seconds that cannot be selected"),e(),u(),e()(),t(128,"nz-code-box",40),i(129,"nz-demo-time-picker-status",29),t(130,"div",30),p(),t(131,"p"),n(132,"Add status to TimePicker with "),t(133,"code"),n(134,"nzStatus"),e(),n(135,", which could be "),t(136,"code"),n(137,"error"),e(),n(138," or "),t(139,"code"),n(140,"warning"),e(),n(141,"."),e(),u(),e()()()(),t(142,"section",41),p(),t(143,"h2",42)(144,"span"),n(145,"API"),e(),t(146,"a",43),n(147,"#"),e()(),t(148,"pre",44)(149,"code")(150,"span",45)(151,"span",45)(152,"span",23),n(153,"<"),e(),n(154,"nz-time-picker"),e(),n(155," "),t(156,"span",46),n(157,"[(ngModel)]"),e(),t(158,"span",47)(159,"span",23),n(160,"="),e(),t(161,"span",23),n(162,'"'),e(),n(163,"someTime"),t(164,"span",23),n(165,'"'),e()(),t(166,"span",23),n(167,">"),e()(),t(168,"span",45)(169,"span",45)(170,"span",23),n(171,"</"),e(),n(172,"nz-time-picker"),e(),t(173,"span",23),n(174,">"),e()()()(),t(175,"h3",48)(176,"span"),n(177,"nz-time-picker"),e(),t(178,"label",49),n(179,"component"),e(),t(180,"a",50),n(181,"#"),e()(),t(182,"table")(183,"thead")(184,"tr")(185,"th"),n(186,"Property"),e(),t(187,"th"),n(188,"Description"),e(),t(189,"th"),n(190,"Type"),e(),t(191,"th"),n(192,"Default"),e(),t(193,"th"),n(194,"Global Config"),e()()(),t(195,"tbody")(196,"tr")(197,"td")(198,"code"),n(199,"[nzId]"),e()(),t(200,"td"),n(201,"input id attribute inside the component"),e(),t(202,"td")(203,"code"),n(204,"string"),e()(),t(205,"td"),n(206,"-"),e(),i(207,"td"),e(),t(208,"tr")(209,"td")(210,"code"),n(211,"[ngModel]"),e()(),t(212,"td"),n(213,"to set time"),e(),t(214,"td")(215,"code"),n(216,"Date"),e()(),t(217,"td"),n(218,"-"),e(),i(219,"td"),e(),t(220,"tr")(221,"td")(222,"code"),n(223,"[nzAddOn]"),e()(),t(224,"td"),n(225,"called from timepicker panel to render some addon to its bottom"),e(),t(226,"td")(227,"code"),n(228,"TemplateRef<void>"),e()(),t(229,"td"),n(230,"-"),e(),i(231,"td"),e(),t(232,"tr")(233,"td")(234,"code"),n(235,"[nzAllowEmpty]"),e()(),t(236,"td"),n(237,"allow clearing text"),e(),t(238,"td")(239,"code"),n(240,"boolean"),e()(),t(241,"td")(242,"code"),n(243,"true"),e()(),t(244,"td"),n(245,"\u2705"),e()(),t(246,"tr")(247,"td")(248,"code"),n(249,"[nzAutoFocus]"),e()(),t(250,"td"),n(251,"get focus when component mounted"),e(),t(252,"td")(253,"code"),n(254,"boolean"),e()(),t(255,"td")(256,"code"),n(257,"false"),e()(),i(258,"td"),e(),t(259,"tr")(260,"td")(261,"code"),n(262,"[nzBackdrop]"),e()(),t(263,"td"),n(264,"whether or not the overlay should attach a backdrop"),e(),t(265,"td")(266,"code"),n(267,"boolean"),e()(),t(268,"td")(269,"code"),n(270,"false"),e()(),i(271,"td"),e(),t(272,"tr")(273,"td")(274,"code"),n(275,"[nzClearText]"),e()(),t(276,"td"),n(277,"clear tooltip of icon"),e(),t(278,"td")(279,"code"),n(280,"string"),e()(),t(281,"td")(282,"code"),n(283,"'clear'"),e()(),t(284,"td"),n(285,"\u2705"),e()(),t(286,"tr")(287,"td")(288,"code"),n(289,"[nzNowText]"),e()(),t(290,"td"),n(291,"text of the Now button"),e(),t(292,"td")(293,"code"),n(294,"string"),e()(),t(295,"td")(296,"code"),n(297,"'Now'"),e()(),t(298,"td"),n(299,"\u2705"),e()(),t(300,"tr")(301,"td")(302,"code"),n(303,"[nzOkText]"),e()(),t(304,"td"),n(305,"text of the Ok button"),e(),t(306,"td")(307,"code"),n(308,"string"),e()(),t(309,"td")(310,"code"),n(311,"'Ok'"),e()(),t(312,"td"),n(313,"\u2705"),e()(),t(314,"tr")(315,"td")(316,"code"),n(317,"[nzDefaultOpenValue]"),e()(),t(318,"td"),n(319,"default open panel value if "),t(320,"code"),n(321,"[ngModel]"),e(),n(322," is null"),e(),t(323,"td")(324,"code"),n(325,"Date"),e()(),t(326,"td")(327,"code"),n(328,"new Date()"),e()(),i(329,"td"),e(),t(330,"tr")(331,"td")(332,"code"),n(333,"[nzDisabled]"),e()(),t(334,"td"),n(335,"determine whether the TimePicker is disabled"),e(),t(336,"td")(337,"code"),n(338,"boolean"),e()(),t(339,"td")(340,"code"),n(341,"false"),e()(),i(342,"td"),e(),t(343,"tr")(344,"td")(345,"code"),n(346,"[nzDisabledHours]"),e()(),t(347,"td"),n(348,"to specify the hours that cannot be selected"),e(),t(349,"td")(350,"code"),n(351,"() => number[]"),e()(),t(352,"td"),n(353,"-"),e(),i(354,"td"),e(),t(355,"tr")(356,"td")(357,"code"),n(358,"[nzDisabledMinutes]"),e()(),t(359,"td"),n(360,"to specify the minutes that cannot be selected"),e(),t(361,"td")(362,"code"),n(363,"(hour: number) => number[]"),e()(),t(364,"td"),n(365,"-"),e(),i(366,"td"),e(),t(367,"tr")(368,"td")(369,"code"),n(370,"[nzDisabledSeconds]"),e()(),t(371,"td"),n(372,"to specify the seconds that cannot be selected"),e(),t(373,"td")(374,"code"),n(375,"(hour: number, minute: number) => number[]"),e()(),t(376,"td"),n(377,"-"),e(),i(378,"td"),e(),t(379,"tr")(380,"td")(381,"code"),n(382,"[nzFormat]"),e()(),t(383,"td"),n(384,"to set the time format"),e(),t(385,"td")(386,"a",51),n(387,"DatePipe"),e()(),t(388,"td")(389,"code"),n(390,'"HH:mm:ss"'),e()(),t(391,"td"),n(392,"\u2705"),e()(),t(393,"tr")(394,"td")(395,"code"),n(396,"[nzHideDisabledOptions]"),e()(),t(397,"td"),n(398,"hide the options that can not be selected"),e(),t(399,"td")(400,"code"),n(401,"boolean"),e()(),t(402,"td")(403,"code"),n(404,"false"),e()(),i(405,"td"),e(),t(406,"tr")(407,"td")(408,"code"),n(409,"[nzHourStep]"),e()(),t(410,"td"),n(411,"interval between hours in picker"),e(),t(412,"td")(413,"code"),n(414,"number"),e()(),t(415,"td")(416,"code"),n(417,"1"),e()(),t(418,"td"),n(419,"\u2705"),e()(),t(420,"tr")(421,"td")(422,"code"),n(423,"[nzMinuteStep]"),e()(),t(424,"td"),n(425,"interval between minutes in picker"),e(),t(426,"td")(427,"code"),n(428,"number"),e()(),t(429,"td")(430,"code"),n(431,"1"),e()(),t(432,"td"),n(433,"\u2705"),e()(),t(434,"tr")(435,"td")(436,"code"),n(437,"[nzSecondStep]"),e()(),t(438,"td"),n(439,"interval between seconds in picker"),e(),t(440,"td")(441,"code"),n(442,"number"),e()(),t(443,"td")(444,"code"),n(445,"1"),e()(),t(446,"td"),n(447,"\u2705"),e()(),t(448,"tr")(449,"td")(450,"code"),n(451,"[nzSize]"),e()(),t(452,"td"),n(453,"width of time picker box"),e(),t(454,"td")(455,"code"),n(456,"'large' | 'small' | 'default'"),e()(),t(457,"td")(458,"code"),n(459,"'default'"),e()(),i(460,"td"),e(),t(461,"tr")(462,"td")(463,"code"),n(464,"[nzStatus]"),e()(),t(465,"td"),n(466,"Set validation status"),e(),t(467,"td")(468,"code"),n(469,"'error' | 'warning'"),e()(),t(470,"td"),n(471,"-"),e(),i(472,"td"),e(),t(473,"tr")(474,"td")(475,"code"),n(476,"[nzBorderless]"),e()(),t(477,"td"),n(478,"remove the border"),e(),t(479,"td")(480,"code"),n(481,"boolean"),e()(),t(482,"td")(483,"code"),n(484,"false"),e()(),t(485,"td"),n(486,"-"),e()(),t(487,"tr")(488,"td")(489,"code"),n(490,"[nzInputReadOnly]"),e()(),t(491,"td"),n(492,"set the readonly attribute of the input tag (avoids virtual keyboard on touch devices)"),e(),t(493,"td")(494,"code"),n(495,"boolean"),e()(),t(496,"td")(497,"code"),n(498,"false"),e()(),t(499,"td"),n(500,"-"),e()(),t(501,"tr")(502,"td")(503,"code"),n(504,"[nzOpen]"),e()(),t(505,"td"),n(506,"whether to popup panel, double binding"),e(),t(507,"td")(508,"code"),n(509,"boolean"),e()(),t(510,"td")(511,"code"),n(512,"false"),e()(),i(513,"td"),e(),t(514,"tr")(515,"td")(516,"code"),n(517,"[nzPlaceHolder]"),e()(),t(518,"td"),n(519,"display when there's no value"),e(),t(520,"td")(521,"code"),n(522,"string"),e()(),t(523,"td")(524,"code"),n(525,'"Select a time"'),e()(),i(526,"td"),e(),t(527,"tr")(528,"td")(529,"code"),n(530,"[nzPopupClassName]"),e()(),t(531,"td"),n(532,"className of panel"),e(),t(533,"td")(534,"code"),n(535,"string"),e()(),t(536,"td")(537,"code"),n(538,"''"),e()(),t(539,"td"),n(540,"\u2705"),e()(),t(541,"tr")(542,"td")(543,"code"),n(544,"[nzUse12Hours]"),e()(),t(545,"td"),n(546,"display as 12 hours format, with default format "),t(547,"code"),n(548,"h:mm:ss a"),e()(),t(549,"td")(550,"code"),n(551,"boolean"),e()(),t(552,"td")(553,"code"),n(554,"false"),e()(),t(555,"td"),n(556,"\u2705"),e()(),t(557,"tr")(558,"td")(559,"code"),n(560,"[nzSuffixIcon]"),e()(),t(561,"td"),n(562,"the custom suffix icon"),e(),t(563,"td")(564,"code"),n(565,"string"),e()(),t(566,"td")(567,"code"),n(568,"TemplateRef"),e()(),t(569,"td"),n(570,"-"),e()(),t(571,"tr")(572,"td")(573,"code"),n(574,"(ngModelChange)"),e()(),t(575,"td"),n(576,"a callback function, can be executed when the selected time is changing"),e(),t(577,"td")(578,"code"),n(579,"EventEmitter<Date>"),e()(),t(580,"td"),n(581,"-"),e(),i(582,"td"),e(),t(583,"tr")(584,"td")(585,"code"),n(586,"(nzOpenChange)"),e()(),t(587,"td"),n(588,"a callback function which will be called while panel opening/closing"),e(),t(589,"td")(590,"code"),n(591,"EventEmitter<boolean>"),e()(),t(592,"td"),n(593,"-"),e(),i(594,"td"),e()()(),t(595,"h4",52)(596,"span"),n(597,"Methods"),e(),t(598,"a",53),n(599,"#"),e()(),t(600,"table")(601,"thead")(602,"tr")(603,"th"),n(604,"Name"),e(),t(605,"th"),n(606,"Description"),e()()(),t(607,"tbody")(608,"tr")(609,"td")(610,"code"),n(611,"blur()"),e()(),t(612,"td"),n(613,"remove focus"),e()(),t(614,"tr")(615,"td")(616,"code"),n(617,"focus()"),e()(),t(618,"td"),n(619,"get focus"),e()()()(),u(),e()()),m&2&&(a(),r("nzOffsetTop",16),a(),r("nzAffix",!1),a(52),r("nzGutter",16),a(),r("nzXl",12)("nzSpan",24),a(),r("nzId","components-time-picker-demo-basic")("nzLink","components-time-picker-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/basic.md"),a(8),r("nzId","components-time-picker-demo-size")("nzLink","components-time-picker-demo-size")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/size.md"),a(5),r("nzId","components-time-picker-demo-hide-column")("nzLink","components-time-picker-demo-hide-column")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/hide-column.md"),a(8),r("nzId","components-time-picker-demo-addon")("nzLink","components-time-picker-demo-addon")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/addon.md"),a(8),r("nzId","components-time-picker-demo-use12-hours")("nzLink","components-time-picker-demo-use12-hours")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/use12-hours.md"),a(7),r("nzId","components-time-picker-demo-bordered")("nzLink","components-time-picker-demo-bordered")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/bordered.md"),a(5),r("nzXl",12)("nzSpan",24),a(),r("nzId","components-time-picker-demo-value")("nzLink","components-time-picker-demo-value")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/value.md"),a(5),r("nzId","components-time-picker-demo-disabled")("nzLink","components-time-picker-demo-disabled")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/disabled.md"),a(8),r("nzId","components-time-picker-demo-interval-options")("nzLink","components-time-picker-demo-interval-options")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/interval-options.md"),a(12),r("nzId","components-time-picker-demo-disabled-part")("nzLink","components-time-picker-demo-disabled-part")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/disabled-part.md"),a(5),r("nzId","components-time-picker-demo-status")("nzLink","components-time-picker-demo-status")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/time-picker/demo/status.md"))},dependencies:[O,F,_,A,M,I,w,P,H,R,L,G,W,Z,V,U,Q,X,q,j],encapsulation:2})}}return o})();var xe=[{path:"en",component:ae},{path:"zh",component:le}],Nt=xe;export{Nt as default};