diff --git a/1610-7422039a5f3d7d2e79e7.js b/1610-31d21e140310747831d4.js similarity index 93% rename from 1610-7422039a5f3d7d2e79e7.js rename to 1610-31d21e140310747831d4.js index 6dbc0c36d..f7742dff8 100644 --- a/1610-7422039a5f3d7d2e79e7.js +++ b/1610-31d21e140310747831d4.js @@ -1 +1 @@ -(self.webpackChunkzent_docs=self.webpackChunkzent_docs||[]).push([[1610],{85187:(n,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>g});var t=s(73450),p=s(27378),e=s(57318),o=s(39101),c=s(24246);function u(n,a){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),s.push.apply(s,t)}return s}function l(n){for(var a=1;a{this.setState({value:n,chosenDays:a})})),(0,t.Z)(this,"handleChange1",((n,a)=>{this.setState({value1:n,chosenDays1:a})}))}render(){var n=this.state,a=n.value,s=n.chosenDays,t=n.value1,p=n.chosenDays1;return(0,c.jsxs)("div",{children:[(0,c.jsx)(o.$,{onChange:this.handleChange,value:a,format:"YYYY-MM-DD HH:mm:ss",valueType:"number",chosenDays:s}),(0,c.jsx)("br",{}),(0,c.jsx)(o.$,{onChange:this.handleChange1,value:t,format:"YYYY-MM-DD HH:mm:ss",chosenDays:p,preset:[{text:"Today",value:0},{text:"Yesterday",value:1},{text:"7 days",value:7},{text:"30 days",value:30}]})]})}}return(0,c.jsx)(n,{})},i=function(){class n extends p.Component{constructor(...n){super(...n),(0,t.Z)(this,"state",{}),(0,t.Z)(this,"handleChange",((n,a)=>{this.setState({value:n,chosenDays:a})})),(0,t.Z)(this,"handleChange1",((n,a)=>{this.setState({value1:n,chosenDays1:a})})),(0,t.Z)(this,"handleChange2",((n,a)=>{this.setState({value2:n,chosenDays2:a})}))}render(){var n=this.state,a=n.value,s=n.chosenDays,t=n.value1,p=n.chosenDays1,e=n.value2,u=n.chosenDays2;return(0,c.jsxs)("div",{children:[(0,c.jsx)(o.$,{onChange:this.handleChange,value:a,format:"YYYY-MM-DD HH:mm:ss",valueType:"number",chosenDays:s}),(0,c.jsx)("br",{}),(0,c.jsx)(o.$,{onChange:this.handleChange1,value:t,format:"YYYY-MM-DD HH:mm:ss",chosenDays:p,preset:[{text:"Previous cycle",value:["2019-01-01","2019-01-02"]},{text:"January",value:["2019-01-01","2019-01-31"]}]}),(0,c.jsx)("br",{}),(0,c.jsx)(o.$,{onChange:this.handleChange2,value:e,format:"YYYY-MM-DD HH:mm:ss",valueType:"number",chosenDays:u,defaultSelectedPresetIndex:1})]})}}return(0,c.jsx)(n,{})};function k(n){return(0,c.jsx)(n.tag,l(l({},n.attributes),{},{dangerouslySetInnerHTML:{__html:n.html}}))}function d(n){return(0,c.jsx)(k,{tag:"section",html:n.html,attributes:{className:"zandoc-react-markdown"}})}function h(n){return(0,c.jsx)(k,{tag:"style",html:n.style})}function m(n,a){for(;n;)return n.offsetTop&&"static"!==getComputedStyle(n).position&&(a+=n.offsetTop),m(n.parentNode,a);return a}class y extends p.Component{constructor(...n){super(...n),(0,t.Z)(this,"state",{showCode:!1}),(0,t.Z)(this,"toggle",(()=>{this.setState({showCode:!this.state.showCode})}))}render(){var n=this.state.showCode,a=this.props,s=a.title,t=a.src,p=a.children;return(0,c.jsxs)("div",{className:"zandoc-react-demo",children:[(0,c.jsx)("div",{className:"zandoc-react-demo__preview",children:p}),(0,c.jsxs)("div",{className:"zandoc-react-demo__bottom",onClick:this.toggle,children:[(0,c.jsx)("div",{className:"zandoc-react-demo__title",children:(0,c.jsx)("p",{children:s||""})}),(0,c.jsx)("i",{className:"zenticon zenticon-caret-up zandoc-react-demo__toggle ".concat(n?"zandoc-react-demo__toggle-on":"zandoc-react-demo__toggle-off")})]}),n&&(0,c.jsx)("pre",{className:"zandoc-react-demo__code",children:(0,c.jsx)(k,{tag:"code",html:t,attributes:{className:"language-jsx"}})})]})}}class g extends p.Component{componentDidMount(){var n=location.hash;if(n){var a=document.querySelector('a[href="'.concat(n,'"]'));a&&(0,e.l)(document.documentElement,0,m(a,-9))}}render(){return p.createElement("div",{className:"zandoc-react-container"},p.createElement(h,{style:""}),p.createElement(d,{html:'

DateRangeQuickPicker

\n

DateRangeQuickPicker is used for time range selection, it has 2 quick options which points previous 7 days and previous 30 days.

\n

Usage Scenarios

\n

Select a date range in one click.

\n

Demos

'}),p.createElement(y,{title:"Basic Usage",id:"Demobasic",src:'import { DateRangeQuickPicker } from \'zent\';\n\nclass Simple extends Component {\n state = {};\n\n handleChange = (value, chosenDays) => {\n this.setState({\n value,\n chosenDays,\n });\n };\n\n handleChange1 = (value, chosenDays) => {\n this.setState({\n value1: value,\n chosenDays1: chosenDays,\n });\n };\n\n render() {\n const { value, chosenDays, value1, chosenDays1 } = this.state;\n\n return (\n <div>\n <DateRangeQuickPicker\n onChange={this.handleChange}\n value={value}\n format="YYYY-MM-DD HH:mm:ss"\n valueType="number"\n chosenDays={chosenDays}\n />\n <br />\n <DateRangeQuickPicker\n onChange={this.handleChange1}\n value={value1}\n format="YYYY-MM-DD HH:mm:ss"\n chosenDays={chosenDays1}\n preset={[\n {\n text: \'Today\',\n value: 0,\n },\n {\n text: \'Yesterday\',\n value: 1,\n },\n {\n text: \'7 days\',\n value: 7,\n },\n {\n text: \'30 days\',\n value: 30,\n },\n ]}\n />\n </div>\n );\n }\n}\n\nReactDOM.render(<Simple />, mountNode);'},p.createElement(r)),p.createElement(y,{title:"Quickly choose a time range",id:"Demopreset",src:'import { DateRangeQuickPicker } from \'zent\';\n\nclass Simple extends Component {\n state = {};\n\n handleChange = (value, chosenDays) => {\n this.setState({\n value,\n chosenDays,\n });\n };\n\n handleChange1 = (value, chosenDays) => {\n this.setState({\n value1: value,\n chosenDays1: chosenDays,\n });\n };\n\n handleChange2 = (value, chosenDays) => {\n this.setState({\n value2: value,\n chosenDays2: chosenDays,\n });\n };\n\n render() {\n const {\n value,\n chosenDays,\n value1,\n chosenDays1,\n value2,\n chosenDays2,\n } = this.state;\n\n return (\n <div>\n <DateRangeQuickPicker\n onChange={this.handleChange}\n value={value}\n format="YYYY-MM-DD HH:mm:ss"\n valueType="number"\n chosenDays={chosenDays}\n />\n <br />\n <DateRangeQuickPicker\n onChange={this.handleChange1}\n value={value1}\n format="YYYY-MM-DD HH:mm:ss"\n chosenDays={chosenDays1}\n preset={[\n {\n text: \'Previous cycle\',\n value: [\'2019-01-01\', \'2019-01-02\'],\n },\n {\n text: \'January\',\n value: [\'2019-01-01\', \'2019-01-31\'],\n },\n ]}\n />\n <br />\n <DateRangeQuickPicker\n onChange={this.handleChange2}\n value={value2}\n format="YYYY-MM-DD HH:mm:ss"\n valueType="number"\n chosenDays={chosenDays2}\n defaultSelectedPresetIndex={1}\n />\n </div>\n );\n }\n}\n\nReactDOM.render(<Simple />, mountNode);'},p.createElement(i)),p.createElement(d,{html:"

API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropsDescriptionTypeDefaultAlternatives
onChangeChange event callbackfunc
valueStarting and end timearray[]
presetCustom quick optionsarray[{text: '7 days', value: 7}, {text: '30 days', value: 30}]
defaultSelectedPresetIndexDefault selected item index in \npresetnumber
valueTypeArgument type of onChangestring'''date'\n, \n'number'\n, \n'string'
formatFormat of returned Date stringstring'YYYY-MM-DD'\n, \n'YYYY-MM-DD HH:mm:ss'
chosenDaysNumber of choosen daysnumber\n \n|\n \narray
minMinimum value of optional datestring\n \n|\n \nDate''
maxMaximum number of optional datestring\n \n|\n \nDate''
classNamecustom classnamestring''
"}))}}},39101:(n,a,s)=>{"use strict";s.d(a,{$:()=>h});var t=s(59312),p=s(24246),e=s(27378),o=s(60042),c=s.n(o),u=s(51960),l=s(81224),r=s(17949),i=s(39311),k=s(52074),d=864e5,h=function(n){function a(a){var s,t=n.call(this,a)||this;t.handleTimeChange=function(n){(0,t.props.onChange)(n,NaN)},t.handleChosenDays=function(n){var a=t.props,s=a.format;(0,a.onChange)(function(n,a,s){var t,p,e,o=((e=new Date).setHours(0),e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0),e.getTime());Array.isArray(a)?(t=a[0],p=a[1]):(t=a>1?o-(a-1)*d:o-a*d,p=1===a?o-1e3:Date.now());var c=(0,l.f)(t),r=(0,l.f)(p);return"number"===s?[c.getTime(),r.getTime()]:"date"===s?[c,r]:[(0,u.Z)(c,n),(0,u.Z)(r,n)]}(s,n,a.valueType),n)};var p=a.value,e=a.defaultSelectedPresetIndex,o=a.preset;if("number"==typeof e&&(!p||Array.isArray(p)&&!p.length)){var c=null===(s=o[e])||void 0===s?void 0:s.value;void 0!==c&&t.handleChosenDays(c)}return t}return(0,t.ZT)(a,n),a.prototype.render=function(){var n=this,a=this.props,s=a.className,e=a.format,o=a.value,u=a.chooseDays,l=a.chosenDays,d=a.preset,h=a.min,m=a.max,y=(0,t._T)(a,["className","format","value","chooseDays","chosenDays","preset","min","max"]),g="YYYY-MM-DD"===e,v=null!=l?l:u;return(0,p.jsxs)("div",(0,t.pi)({className:c()("zent-date-range-quick-picker",s),"data-zv":"10.0.10"},{children:[(0,p.jsx)(i.D,(0,t.pi)({value:o,onChange:this.handleTimeChange,format:e,showTime:!g,disabledDate:{min:h,max:m}},y),void 0),(0,p.jsx)("div",(0,t.pi)({className:"zent-date-range-quick-picker__filter","data-zv":"10.0.10"},{children:d.map((function(a,s){return(0,p.jsx)(k.Z,(0,t.pi)({componentName:"RangePicker"},{children:function(e){return(0,p.jsx)("span",(0,t.pi)({className:c()("zent-date-range-quick-picker__btn",{active:(0,r.Z)(v,a.value)}),onClick:n.handleChosenDays.bind(n,a.value),"data-zv":"10.0.10"},{children:a.text||("number"==typeof a.value?e[a.value]:"N/A")}),s)}}),s)}))}),void 0)]}),void 0)},a.defaultProps={className:"",value:[],valueType:"string",format:"YYYY-MM-DD",preset:[{value:7},{value:30}],min:"",max:""},a}(e.Component)},85883:(n,a,s)=>{"use strict";var t=s(92497);a.Z=t.Z}}]); \ No newline at end of file +(self.webpackChunkzent_docs=self.webpackChunkzent_docs||[]).push([[1610],{85187:(n,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>g});var t=s(73450),p=s(27378),e=s(57318),o=s(39101),c=s(24246);function u(n,a){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),s.push.apply(s,t)}return s}function l(n){for(var a=1;a{this.setState({value:n,chosenDays:a})})),(0,t.Z)(this,"handleChange1",((n,a)=>{this.setState({value1:n,chosenDays1:a})}))}render(){var n=this.state,a=n.value,s=n.chosenDays,t=n.value1,p=n.chosenDays1;return(0,c.jsxs)("div",{children:[(0,c.jsx)(o.$,{onChange:this.handleChange,value:a,format:"YYYY-MM-DD HH:mm:ss",valueType:"number",chosenDays:s}),(0,c.jsx)("br",{}),(0,c.jsx)(o.$,{onChange:this.handleChange1,value:t,format:"YYYY-MM-DD HH:mm:ss",chosenDays:p,preset:[{text:"Today",value:0},{text:"Yesterday",value:1},{text:"7 days",value:7},{text:"30 days",value:30}]})]})}}return(0,c.jsx)(n,{})},i=function(){class n extends p.Component{constructor(...n){super(...n),(0,t.Z)(this,"state",{}),(0,t.Z)(this,"handleChange",((n,a)=>{this.setState({value:n,chosenDays:a})})),(0,t.Z)(this,"handleChange1",((n,a)=>{this.setState({value1:n,chosenDays1:a})})),(0,t.Z)(this,"handleChange2",((n,a)=>{this.setState({value2:n,chosenDays2:a})}))}render(){var n=this.state,a=n.value,s=n.chosenDays,t=n.value1,p=n.chosenDays1,e=n.value2,u=n.chosenDays2;return(0,c.jsxs)("div",{children:[(0,c.jsx)(o.$,{onChange:this.handleChange,value:a,format:"YYYY-MM-DD HH:mm:ss",valueType:"number",chosenDays:s}),(0,c.jsx)("br",{}),(0,c.jsx)(o.$,{onChange:this.handleChange1,value:t,format:"YYYY-MM-DD HH:mm:ss",chosenDays:p,preset:[{text:"Previous cycle",value:["2019-01-01","2019-01-02"]},{text:"January",value:["2019-01-01","2019-01-31"]}]}),(0,c.jsx)("br",{}),(0,c.jsx)(o.$,{onChange:this.handleChange2,value:e,format:"YYYY-MM-DD HH:mm:ss",valueType:"number",chosenDays:u,defaultSelectedPresetIndex:1})]})}}return(0,c.jsx)(n,{})};function k(n){return(0,c.jsx)(n.tag,l(l({},n.attributes),{},{dangerouslySetInnerHTML:{__html:n.html}}))}function d(n){return(0,c.jsx)(k,{tag:"section",html:n.html,attributes:{className:"zandoc-react-markdown"}})}function h(n){return(0,c.jsx)(k,{tag:"style",html:n.style})}function m(n,a){for(;n;)return n.offsetTop&&"static"!==getComputedStyle(n).position&&(a+=n.offsetTop),m(n.parentNode,a);return a}class y extends p.Component{constructor(...n){super(...n),(0,t.Z)(this,"state",{showCode:!1}),(0,t.Z)(this,"toggle",(()=>{this.setState({showCode:!this.state.showCode})}))}render(){var n=this.state.showCode,a=this.props,s=a.title,t=a.src,p=a.children;return(0,c.jsxs)("div",{className:"zandoc-react-demo",children:[(0,c.jsx)("div",{className:"zandoc-react-demo__preview",children:p}),(0,c.jsxs)("div",{className:"zandoc-react-demo__bottom",onClick:this.toggle,children:[(0,c.jsx)("div",{className:"zandoc-react-demo__title",children:(0,c.jsx)("p",{children:s||""})}),(0,c.jsx)("i",{className:"zenticon zenticon-caret-up zandoc-react-demo__toggle ".concat(n?"zandoc-react-demo__toggle-on":"zandoc-react-demo__toggle-off")})]}),n&&(0,c.jsx)("pre",{className:"zandoc-react-demo__code",children:(0,c.jsx)(k,{tag:"code",html:t,attributes:{className:"language-jsx"}})})]})}}class g extends p.Component{componentDidMount(){var n=location.hash;if(n){var a=document.querySelector('a[href="'.concat(n,'"]'));a&&(0,e.l)(document.documentElement,0,m(a,-9))}}render(){return p.createElement("div",{className:"zandoc-react-container"},p.createElement(h,{style:""}),p.createElement(d,{html:'

DateRangeQuickPicker

\n

DateRangeQuickPicker is used for time range selection, it has 2 quick options which points previous 7 days and previous 30 days.

\n

Usage Scenarios

\n

Select a date range in one click.

\n

Demos

'}),p.createElement(y,{title:"Basic Usage",id:"Demobasic",src:'import { DateRangeQuickPicker } from \'zent\';\n\nclass Simple extends Component {\n state = {};\n\n handleChange = (value, chosenDays) => {\n this.setState({\n value,\n chosenDays,\n });\n };\n\n handleChange1 = (value, chosenDays) => {\n this.setState({\n value1: value,\n chosenDays1: chosenDays,\n });\n };\n\n render() {\n const { value, chosenDays, value1, chosenDays1 } = this.state;\n\n return (\n <div>\n <DateRangeQuickPicker\n onChange={this.handleChange}\n value={value}\n format="YYYY-MM-DD HH:mm:ss"\n valueType="number"\n chosenDays={chosenDays}\n />\n <br />\n <DateRangeQuickPicker\n onChange={this.handleChange1}\n value={value1}\n format="YYYY-MM-DD HH:mm:ss"\n chosenDays={chosenDays1}\n preset={[\n {\n text: \'Today\',\n value: 0,\n },\n {\n text: \'Yesterday\',\n value: 1,\n },\n {\n text: \'7 days\',\n value: 7,\n },\n {\n text: \'30 days\',\n value: 30,\n },\n ]}\n />\n </div>\n );\n }\n}\n\nReactDOM.render(<Simple />, mountNode);'},p.createElement(r)),p.createElement(y,{title:"Quickly choose a time range",id:"Demopreset",src:'import { DateRangeQuickPicker } from \'zent\';\n\nclass Simple extends Component {\n state = {};\n\n handleChange = (value, chosenDays) => {\n this.setState({\n value,\n chosenDays,\n });\n };\n\n handleChange1 = (value, chosenDays) => {\n this.setState({\n value1: value,\n chosenDays1: chosenDays,\n });\n };\n\n handleChange2 = (value, chosenDays) => {\n this.setState({\n value2: value,\n chosenDays2: chosenDays,\n });\n };\n\n render() {\n const {\n value,\n chosenDays,\n value1,\n chosenDays1,\n value2,\n chosenDays2,\n } = this.state;\n\n return (\n <div>\n <DateRangeQuickPicker\n onChange={this.handleChange}\n value={value}\n format="YYYY-MM-DD HH:mm:ss"\n valueType="number"\n chosenDays={chosenDays}\n />\n <br />\n <DateRangeQuickPicker\n onChange={this.handleChange1}\n value={value1}\n format="YYYY-MM-DD HH:mm:ss"\n chosenDays={chosenDays1}\n preset={[\n {\n text: \'Previous cycle\',\n value: [\'2019-01-01\', \'2019-01-02\'],\n },\n {\n text: \'January\',\n value: [\'2019-01-01\', \'2019-01-31\'],\n },\n ]}\n />\n <br />\n <DateRangeQuickPicker\n onChange={this.handleChange2}\n value={value2}\n format="YYYY-MM-DD HH:mm:ss"\n valueType="number"\n chosenDays={chosenDays2}\n defaultSelectedPresetIndex={1}\n />\n </div>\n );\n }\n}\n\nReactDOM.render(<Simple />, mountNode);'},p.createElement(i)),p.createElement(d,{html:"

API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropsDescriptionTypeDefaultAlternatives
onChangeChange event callbackfunc
valueStarting and end timearray[]
presetCustom quick optionsarray[{text: '7 days', value: 7}, {text: '30 days', value: 30}]
defaultSelectedPresetIndexDefault selected item index in \npresetnumber
valueTypeArgument type of onChangestring'''date'\n, \n'number'\n, \n'string'
formatFormat of returned Date stringstring'YYYY-MM-DD'\n, \n'YYYY-MM-DD HH:mm:ss'
chosenDaysNumber of choosen daysnumber\n \n|\n \narray
minMinimum value of optional datestring\n \n|\n \nDate''
maxMaximum number of optional datestring\n \n|\n \nDate''
classNamecustom classnamestring''
"}))}}},39101:(n,a,s)=>{"use strict";s.d(a,{$:()=>h});var t=s(59312),p=s(24246),e=s(27378),o=s(60042),c=s.n(o),u=s(51960),l=s(81224),r=s(17949),i=s(1937),k=s(52074),d=864e5,h=function(n){function a(a){var s,t=n.call(this,a)||this;t.handleTimeChange=function(n){(0,t.props.onChange)(n,NaN)},t.handleChosenDays=function(n){var a=t.props,s=a.format;(0,a.onChange)(function(n,a,s){var t,p,e,o=((e=new Date).setHours(0),e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0),e.getTime());Array.isArray(a)?(t=a[0],p=a[1]):(t=a>1?o-(a-1)*d:o-a*d,p=1===a?o-1e3:Date.now());var c=(0,l.f)(t),r=(0,l.f)(p);return"number"===s?[c.getTime(),r.getTime()]:"date"===s?[c,r]:[(0,u.Z)(c,n),(0,u.Z)(r,n)]}(s,n,a.valueType),n)};var p=a.value,e=a.defaultSelectedPresetIndex,o=a.preset;if("number"==typeof e&&(!p||Array.isArray(p)&&!p.length)){var c=null===(s=o[e])||void 0===s?void 0:s.value;void 0!==c&&t.handleChosenDays(c)}return t}return(0,t.ZT)(a,n),a.prototype.render=function(){var n=this,a=this.props,s=a.className,e=a.format,o=a.value,u=a.chooseDays,l=a.chosenDays,d=a.preset,h=a.min,m=a.max,y=(0,t._T)(a,["className","format","value","chooseDays","chosenDays","preset","min","max"]),g="YYYY-MM-DD"===e,v=null!=l?l:u;return(0,p.jsxs)("div",(0,t.pi)({className:c()("zent-date-range-quick-picker",s),"data-zv":"10.0.10"},{children:[(0,p.jsx)(i.D,(0,t.pi)({value:o,onChange:this.handleTimeChange,format:e,showTime:!g,disabledDate:{min:h,max:m}},y),void 0),(0,p.jsx)("div",(0,t.pi)({className:"zent-date-range-quick-picker__filter","data-zv":"10.0.10"},{children:d.map((function(a,s){return(0,p.jsx)(k.Z,(0,t.pi)({componentName:"RangePicker"},{children:function(e){return(0,p.jsx)("span",(0,t.pi)({className:c()("zent-date-range-quick-picker__btn",{active:(0,r.Z)(v,a.value)}),onClick:n.handleChosenDays.bind(n,a.value),"data-zv":"10.0.10"},{children:a.text||("number"==typeof a.value?e[a.value]:"N/A")}),s)}}),s)}))}),void 0)]}),void 0)},a.defaultProps={className:"",value:[],valueType:"string",format:"YYYY-MM-DD",preset:[{value:7},{value:30}],min:"",max:""},a}(e.Component)},85883:(n,a,s)=>{"use strict";var t=s(92497);a.Z=t.Z}}]); \ No newline at end of file diff --git a/1937-edd2034cd13ae7feaf78.js b/1937-edd2034cd13ae7feaf78.js new file mode 100644 index 000000000..4b242796d --- /dev/null +++ b/1937-edd2034cd13ae7feaf78.js @@ -0,0 +1 @@ +(self.webpackChunkzent_docs=self.webpackChunkzent_docs||[]).push([[1937],{75795:(e,t,n)=>{"use strict";n.d(t,{M:()=>b});var a=n(59312),r=n(24246),i=n(27378),o=n(52074),l=n(1348),u=n(42278),d=n(71990),s=n(12691),c=n(90278),v=n(3685),f=n(65410),p=n(11128),m=v.H.date,h=s.Z.Provider,g={format:p.zT},b=function(e){var t=(0,i.useContext)(l.d),n=(0,i.useContext)(s.Z),v=(0,a.pi)((0,a.pi)((0,a.pi)({},p.sn),g),e),b=v.format,Z=v.valueType,D=v.placeholder,x=v.disabled,C=void 0===x?t.value:x,S=(0,i.useCallback)((function(e){return(0,f.RZ)(e,b)}),[b]),y=(0,i.useCallback)((function(e){return e}),[]),T=(0,i.useCallback)((function(e){return(0,c.pB)(e,Z,b)}),[Z,b]);return(0,r.jsx)(o.Z,(0,a.pi)({componentName:"TimePicker"},{children:function(e){return(0,r.jsx)(h,(0,a.pi)({value:(0,a.pi)((0,a.pi)({},n),{i18n:e,generateDate:m,getCallbackValue:T,getSelectedValue:y,getInputText:S})},{children:(0,r.jsx)(u.Z,(0,a.pi)({},v,{disabled:C,placeholder:D||e.date,PanelComponent:d.Z}),void 0)}),void 0)}}),void 0)};t.Z=b},1937:(e,t,n)=>{"use strict";n.d(t,{D:()=>Y});var a=n(59312),r=n(24246),i=n(27378),o=n(52074),l=n(75795),u=n(60042),d=n.n(u),s=n(12691),c=n(18270),v=n(98552),f=n(58181),p=n(19570),m=n(55631),h=n(80280),g=h.k.START,b=h.k.END,Z=n(45902),D=n(57569),x=n(77828),C=n(41507),S=h.k.START,y=h.k.END,T=function(e){var t=e.placeholder,n=e.value,o=e.disabledDate,l=e.className,u=e.defaultDate,h=(e.valueType,e.onChange),T=e.onClose,j=e.onOpen,M=e.disabledTime,k=e.generateDate,P=e.PickerComponent,N=e.showTime,w=e.seperator,z=e.name,Y=e.dateSpan,H=e.disabled,O=e.canClear,_=(0,a._T)(e,["placeholder","value","disabledDate","className","defaultDate","valueType","onChange","onClose","onOpen","disabledTime","generateDate","PickerComponent","showTime","seperator","name","dateSpan","disabled","canClear"]),F=(0,i.useMemo)((function(){return Array.isArray(H)?H:[H,H]}),[H]),V=(0,i.useMemo)((function(){return Array.isArray(O)?O:[O,O]}),[O]),I=(0,i.useRef)(_);I.current=_;var R=I.current.format,E=(0,i.useContext)(s.Z).getCallbackRangeValue,A=(0,x.Q)(h),L=(0,c.Z)({value:n,format:R,defaultDate:u}),Q=L.selected,U=L.setSelected,G=L.defaultPanelDate,W=Q[0],q=Q[1],B=(0,Z.P)(N),J=B[0],K=B[1],$=function(e,t,n,a){void 0===a&&(a=0);var r=(0,i.useRef)(t);return r.current=t,[(0,i.useCallback)((function(t){var i,o=(0,v.Z)(t),l=e[1],u=n.isSame,d=n.offsetDate;return!!(null===(i=r.current)||void 0===i?void 0:i.call(r,o,g))||!!l&&(!u(o,l)&&(0,f.Z)(o,l)||!!a&&(0,p.Z)(o,d(l,1-a)))}),[e,r,n,a]),(0,i.useCallback)((function(t){var i,o=(0,m.Z)(t),l=n.isSame,u=n.offsetDate,d=e[0];if(null===(i=r.current)||void 0===i?void 0:i.call(r,o,b))return!0;var s=!!a&&(0,f.Z)(o,u(d,a-1));return!!d&&(!l(o,d)&&(0,p.Z)(o,d)||s)}),[e,r,n,a])]}(Q,(0,D.Z)(R,o),k,Y),X=$[0],ee=$[1],te=(0,i.useCallback)((function(e){return function(t){var n,a=e===S?[t,q]:[W,t];N||(a=[a[0]?(0,m.Z)(a[0]):a[0],a[1]?(0,v.Z)(a[1]):a[1]]),U(a),null===(n=A.current)||void 0===n||n.call(A,(null==E?void 0:E(a))||null)}}),[W,q,N,A,E,U]),ne=(0,C.Z)({selected:Q,disabledTime:M}),ae=ne.disabledStartTimes,re=ne.disabledEndTimes;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",(0,a.pi)({className:d()("zent-datepicker",l),"data-zv":"10.0.10"},{children:[(0,r.jsx)(P,(0,a.pi)({},I.current,{disabled:F[0],canClear:V[0],defaultDate:G[0],showTime:J,valueType:"date",value:W,disabledTime:ae,onChange:te(S),onOpen:function(){return null==j?void 0:j(S)},onClose:function(){return null==T?void 0:T(S)},disabledDate:X,name:null==z?void 0:z[0],placeholder:t[0]}),void 0),(0,r.jsx)("span",(0,a.pi)({className:"zent-datepicker-seperator","data-zv":"10.0.10"},{children:w}),void 0),(0,r.jsx)(P,(0,a.pi)({},I.current,{disabled:F[1],canClear:V[1],defaultDate:G[1],showTime:K,valueType:"date",value:q,disabledTime:re,onChange:te(y),onOpen:function(){return null==j?void 0:j(y)},onClose:function(){return null==T?void 0:T(y)},disabledDate:ee,name:null==z?void 0:z[1],placeholder:t[1]}),void 0)]}),void 0)},void 0)},j=n(1348),M=n(3685),k=n(20985),P=n(11128),N=M.H.date,w=s.Z.Provider,z={format:P.zT},Y=function(e){var t=(0,i.useContext)(j.d),n=(0,a.pi)((0,a.pi)((0,a.pi)({},P.sn),z),e),u=n.placeholder,d=n.valueType,s=n.format,c=n.width,v=n.showTime,f=n.disabled,p=void 0===f?t.value:f,m=(0,i.useCallback)((function(e){return(0,k.F)(d,s,e)}),[d,s]);return(0,r.jsx)(o.Z,(0,a.pi)({componentName:"TimePicker"},{children:function(e){return(0,r.jsx)(w,(0,a.pi)({value:{i18n:e,autoComplete:!!v,getCallbackRangeValue:m}},{children:(0,r.jsx)(T,(0,a.pi)({},n,{disabled:p,width:null!=c?c:v?P.d7:P.on,generateDate:N,seperator:e.to,placeholder:u||[e.start,e.end],PickerComponent:l.Z}),void 0)}),void 0)}}),void 0)}},7178:(e,t,n)=>{"use strict";n.d(t,{j:()=>j,Z:()=>M});var a=n(59312),r=n(24246),i=n(27378),o=n(52074),l=n(60042),u=n.n(l),d=n(24399),s=n(90072),c=n(47922),v=n(87774),f=n(44639),p=n(32046),m=n(96084),h=n(77828),g=n(45300),b=n(11128),Z=n(280),D=f.Z.Provider,x=function(e){var t=e.onChange,n=e.disabledTime,o=e.onOpen,l=e.onClose,f=e.value,x=e.className,C=e.ContentComponent,S=e.defaultTime,y=e.selectedDate,T=e.autoComplete,j=e.disabled,M=(0,a._T)(e,["onChange","disabledTime","onOpen","onClose","value","className","ContentComponent","defaultTime","selectedDate","autoComplete","disabled"]),k=(0,i.useRef)(M);k.current=M;var P=k.current,N=P.format,w=P.openPanel,z=(0,h.Q)(t),Y=(0,i.useState)(!0),H=Y[0],O=Y[1],_=(0,p.Z)("",f),F=_.selected,V=_.setSelected,I=(0,Z.Z)(null!=f?f:"",V,o,l,j,w),R=I.panelVisible,E=I.setPanelVisible,A=I.onVisibleChange,L=(0,i.useMemo)((function(){return(null==n?void 0:n(y))||{}}),[n,y]),Q=(0,m.Z)({selected:F,disabledTimeOption:L,format:N}),U=(0,i.useMemo)((function(){return(0,d.Z)(new Date,N)}),[N]),G=(0,i.useMemo)((function(){return(0,s.Z)(U,N,y)}),[U,N,y]),W=(0,m.Z)({selected:U,disabledTimeOption:(null==n?void 0:n(G))||{},format:N}),q=(0,i.useCallback)((function(e,t){var n;void 0===t&&(t=!1),O(!1),V(e),(t||T)&&(null===(n=z.current)||void 0===n||n.call(z,e),t&&O(!0),t&&E(null!=w&&w))}),[w,z,V,E,T]),B=(0,i.useCallback)((function(e){var t;e.stopPropagation(),null===(t=z.current)||void 0===t||t.call(z,"")}),[z]),J=(0,i.useMemo)((function(){var e=k.current.hiddenIcon,t=(0,g.Z)(k.current,b.Yj);return(0,r.jsx)("div",(0,a.pi)({"data-zv":"10.0.10"},{children:(0,r.jsx)(v.G,(0,a.pi)({},t,{value:f,disabled:j,hiddenIcon:e,onClearInput:B,panelVisible:R,text:F,icon:"clock-o"}),void 0)}),void 0)}),[f,F,R,k,j,B]),K=(0,i.useMemo)((function(){var e=(0,g.Z)(k.current,b.n2);return(0,r.jsx)("div",(0,a.pi)({className:"zent-datepicker-panel","data-zv":"10.0.10"},{children:(0,r.jsx)(C,(0,a.pi)({},e,{defaultTime:S,disabledTimeOption:L,selected:F,onSelected:q}),void 0)}),void 0)}),[F,k,S,L,q,C]);return(0,r.jsx)("div",(0,a.pi)({className:u()("zent-datepicker",x),"data-zv":"10.0.10"},{children:(0,r.jsx)(D,(0,a.pi)({value:{visibleChange:H,confirmStatus:Q,isDisabledCurrent:W}},{children:(0,r.jsx)(c.Z,{panelVisible:R,onVisibleChange:A,trigger:J,content:K},void 0)}),void 0)}),void 0)};x.defaultProps=b.V2;var C=x,S=n(60419),y=n(1348),T=n(12691).Z.Provider,j=function(e){var t=(0,i.useContext)(y.d),n=(0,a.pi)((0,a.pi)({},b.V2),e),l=n.format,u=n.placeholder,d=n.width,s=n.disabled,c=void 0===s?t.value:s;return(0,r.jsx)(o.Z,(0,a.pi)({componentName:"TimePicker"},{children:function(e){return(0,r.jsx)(T,(0,a.pi)({value:{i18n:e}},{children:(0,r.jsx)(C,(0,a.pi)({},n,{format:l,placeholder:u||e.time,disabled:c,width:null!=d?d:b.d7,ContentComponent:S.Z}),void 0)}),void 0)}}),void 0)},M=j},5034:(e,t,n)=>{"use strict";var a=n(59312),r=n(24246),i=n(60042),o=n.n(i),l=n(27378),u=n(74522),d="zent-datepicker-panel-body-cells",s=function(e){var t,n=e.isInView,a=e.isCurrent,r=e.isSelected,i=e.isDisabled,l=e.isInRange,u=e.isInHoverRange;return o()(d+"_item",((t={})[d+"_over"]=!n,t[d+"_disabled"]=i,t[d+"_available"]=!r&&!i,t[d+"_current"]=n&&a,t[d+"_selected"]=r,t[d+"_in_range"]=!i&&l,t[d+"_in_hover_range"]=!i&&u,t))};t.Z=function(e){var t=e.cells,n=e.onSelected,i=e.col,o=e.popText,c=e.onHover,v=(0,l.useCallback)((function(e){var t=e.isDisabled,a=e.value;t||n(a)}),[n]),f=(0,l.useCallback)((function(e){var t=e.isDisabled,n=e.value;t||null==c||c(n)}),[c]),p=(0,l.useMemo)((function(){var e=[],n=[];return t.map((function(t,l){var c=t.value,p=t.text,m=t.lunarText,h=(0,a._T)(t,["value","text","lunarText"]),g=h.isSelected,b=h.isDisabled,Z=(0,r.jsx)("li",(0,a.pi)({className:s(h),onClick:function(){return v({isDisabled:b,value:c})},"data-zv":"10.0.10"},{children:m?(0,r.jsxs)("div",(0,a.pi)({className:"zent-datepicker-cell-inner zent-datepicker-lunar-cell",onMouseEnter:function(){return f({isDisabled:b,value:c})},onMouseLeave:function(){return f({isDisabled:b,value:null})},"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",(0,a.pi)({"data-zv":"10.0.10"},{children:p}),void 0),(0,r.jsx)("div",(0,a.pi)({className:"zent-datepicker-lunar-cell_text","data-zv":"10.0.10"},{children:m}),void 0)]}),void 0):(0,r.jsx)("div",(0,a.pi)({className:"zent-datepicker-cell-inner",onMouseEnter:function(){return f({isDisabled:b,value:c})},onMouseLeave:function(){return f({isDisabled:b,value:null})},"data-zv":"10.0.10"},{children:p}),void 0)}),c.getTime()),D=o&&g?(0,r.jsx)(u.Z,(0,a.pi)({visible:!0,title:o},{children:Z}),c.getTime()):Z;n.push(D),l%i==i-1&&(e.push((0,r.jsx)("ul",(0,a.pi)({className:d+"_row","data-zv":"10.0.10"},{children:n}),c.getTime())),n=[])})),e}),[t,i,o,v,f]);return(0,r.jsx)("ul",(0,a.pi)({className:d,"data-zv":"10.0.10"},{children:p}),void 0)}},71351:(e,t,n)=>{"use strict";var a=n(59312),r=n(24246);t.Z=function(e){var t=e.rightNode,n=e.leftNode,i=void 0===n?null:n;return(0,r.jsxs)("div",(0,a.pi)({className:"zent-datepicker-panel-footer","data-zv":"10.0.10"},{children:[t,i]}),void 0)}},65892:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var a=n(59312),r=n(24246),i=n(42690),o=n(27036),l="zent-datepicker-panel-header",u=function(e){var t=e.onClick,n=e.type;return(0,r.jsx)(o.Z,{type:"left"===n?"double-last":"double-next",onClick:t,className:l+"-arrow"},void 0)},d=function(e){var t=e.onClick,n=e.type;return(0,r.jsx)(o.Z,{type:n,onClick:t,className:l+"-arrow"},void 0)},s=function(e){var t=e.text,n=e.unit,i=void 0===n?"":n,o=e.onClick;return(0,r.jsxs)("div",(0,a.pi)({className:l+"-title_clickable",onClick:o,"data-zv":"10.0.10"},{children:[t,i]}),void 0)};t.Z=function(e){var t=e.showSuper,n=void 0!==t&&t,o=e.titleNode,s=e.combinedLeft,c=e.combinedRight,v=e.onPrev,f=e.onNext,p=e.onSuperPrev,m=void 0===p?i.Z:p,h=e.onSuperNext,g=void 0===h?i.Z:h;return(0,r.jsxs)("div",(0,a.pi)({className:l,"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",(0,a.pi)({className:l+"-btns","data-zv":"10.0.10"},{children:!c&&(0,r.jsxs)(r.Fragment,{children:[n&&(0,r.jsx)(u,{onClick:m,type:"left"},void 0),(0,r.jsx)(d,{onClick:v,type:"left"},void 0)]},void 0)}),void 0),(0,r.jsx)("div",(0,a.pi)({className:l+"-title","data-zv":"10.0.10"},{children:o}),void 0),(0,r.jsx)("div",(0,a.pi)({className:l+"-btns","data-zv":"10.0.10"},{children:!s&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d,{onClick:f,type:"right"},void 0),n&&(0,r.jsx)(u,{onClick:g,type:"right"},void 0)]},void 0)}),void 0)]}),void 0)}},47922:(e,t,n)=>{"use strict";var a=n(59312),r=n(24246),i=n(33806);t.Z=function(e){var t=e.trigger,n=e.content,o=e.panelVisible,l=e.onVisibleChange;return(0,r.jsxs)(i.ZP,(0,a.pi)({className:"zent-datepicker-popup",cushion:5,position:i.ZP.Position.AutoBottomLeft,visible:o,onVisibleChange:l},{children:[(0,r.jsx)(i.ZP.Trigger.Click,{children:t},void 0),(0,r.jsx)(i.ZP.Content,{children:n},void 0)]}),void 0)}},87774:(e,t,n)=>{"use strict";n.d(t,{G:()=>v,W:()=>f});var a=n(59312),r=n(24246),i=n(27378),o=n(60042),l=n.n(o),u=n(27036),d=n(58302),s="zent-datepicker-trigger",c=function(e){var t,n=e.disabled,i=e.canClear,o=e.panelVisible,u=e.width,d=e.children,c={width:u};return(0,r.jsx)("div",(0,a.pi)({className:l()(s,(t={"zent-datepicker-can-clear":!n&&i,"zent-datepicker-disabled":n},t[s+"-focus"]=o,t)),style:c,"data-zv":"10.0.10"},{children:d}),void 0)},v=function(e){var t,n,i=e.value,o=e.format,v=e.seperator,f=e.placeholder,p=e.onClearInput,m=e.text,h=e.name,g=e.canClear,b=e.icon,Z=e.hiddenIcon,D=e.disabled,x=(0,a._T)(e,["value","format","seperator","placeholder","onClearInput","text","name","canClear","icon","hiddenIcon","disabled"]),C=Array.isArray(m)?m:[m],S=C[0],y=C[1],T=g&&!!i;return(0,r.jsxs)(c,(0,a.pi)({},x,{disabled:D,canClear:T},{children:[h&&(0,r.jsx)("input",{type:"hidden",name:h,readOnly:!0,value:(0,d.p6)(o,i),"data-zv":"10.0.10"},void 0),(0,r.jsx)("span",(0,a.pi)({className:l()(s+"-input",(t={},t[s+"-empty-input"]=!S||D,t)),"data-zv":"10.0.10"},{children:S||f}),void 0),y&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",(0,a.pi)({className:s+"-seperator","data-zv":"10.0.10"},{children:v}),void 0),(0,r.jsx)("span",(0,a.pi)({className:l()(s+"-input",(n={},n[s+"-empty-input"]=!y,n)),"data-zv":"10.0.10"},{children:y}),void 0)]},void 0),!Z&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.Z,{type:b||"calendar-o"},void 0),T&&(0,r.jsx)(u.Z,{type:"close-circle",onClick:p},void 0)]},void 0)]}),void 0)},f=function(e){var t,n,o=e.format,v=e.value,f=e.selected,p=e.seperator,m=e.placeholder,h=m[0],g=m[1],b=e.name,Z=e.canClear,D=e.icon,x=e.onClearInput,C=e.disabled,S=(0,a._T)(e,["format","value","selected","seperator","placeholder","name","canClear","icon","onClearInput","disabled"]),y=(0,i.useMemo)((function(){return f?(0,d._Q)(f,o):[null,null]}),[f,o]),T=y[0],j=y[1];return(0,r.jsxs)(c,(0,a.pi)({},S,{disabled:C,canClear:Z&&(!!T||!!j)},{children:[b&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("input",{type:"hidden",name:null==b?void 0:b[0],readOnly:!0,value:(0,d.p6)(o,null==v?void 0:v[0]),"data-zv":"10.0.10"},void 0),(0,r.jsx)("input",{readOnly:!0,type:"hidden",name:null==b?void 0:b[1],value:(0,d.p6)(o,null==v?void 0:v[1]),"data-zv":"10.0.10"},void 0)]},void 0),(0,r.jsx)("span",(0,a.pi)({className:l()(s+"-input",(t={},t[s+"-empty-input"]=!T,t)),"data-zv":"10.0.10"},{children:T||h}),void 0),(0,r.jsx)("span",(0,a.pi)({className:s+"-seperator","data-zv":"10.0.10"},{children:p}),void 0),(0,r.jsx)("span",(0,a.pi)({className:l()(s+"-input",(n={},n[s+"-empty-input"]=!j,n)),"data-zv":"10.0.10"},{children:j||g}),void 0),(0,r.jsx)(u.Z,{type:D||"calendar-o"},void 0),(0,r.jsx)(u.Z,{type:"close-circle",onClick:x},void 0)]}),void 0)}},42278:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var a=n(59312),r=n(24246),i=n(60042),o=n.n(i),l=n(27378),u=n(47922),d=n(87774),s=n(12691),c=n(44639),v=n(58302),f=n(98029),p=new Date,m=n(57569),h=n(280),g=n(77828),b=n(45300),Z=n(11128),D=c.Z.Provider;function x(e){var t=e.value,n=e.onChange,i=e.onOpen,c=e.onClose,x=e.disabledDate,C=(0,a._T)(e,["value","onChange","onOpen","onClose","disabledDate"]),S=(0,l.useRef)(C);S.current=C;var y=S.current,T=y.defaultDate,j=y.format,M=(y.name,y.width,y.placeholder,y.className),k=(y.valueType,y.disabled),P=(y.canClear,y.openPanel),N=y.PanelComponent,w=(0,a._T)(y,["defaultDate","format","name","width","placeholder","className","valueType","disabled","canClear","openPanel","PanelComponent"]),z=w,Y=z.showLunarDate,H=z.lunarValueFormatter,O=(0,l.useContext)(s.Z),_=O.getSelectedValue,F=O.getCallbackValue,V=O.getInputText,I=(0,g.Q)(n),R=function(e){var t=e.value,n=e.format,a=e.defaultDate,r=(0,l.useState)(p),i=r[0],o=r[1],u=(0,l.useMemo)((function(){return(0,v.sG)(n,t)}),[t,n]),d=(0,l.useState)(u),s=d[0],c=d[1];return(0,l.useEffect)((function(){c(u)}),[u]),(0,l.useEffect)((function(){var e=s||a;o(e?(0,f.Z)(e,n):p)}),[a,s,t,n]),{selected:s,parseValue:u,setSelected:c,defaultPanelDate:i}}({value:t,format:j,defaultDate:T}),E=R.selected,A=R.parseValue,L=R.setSelected,Q=R.defaultPanelDate,U=(0,h.Z)(A,L,i,c,k,P),G=U.panelVisible,W=U.setPanelVisible,q=U.onVisibleChange,B=(0,m.Z)(j,x),J=(0,l.useState)(),K=J[0],$=J[1],X=(0,l.useCallback)((function(e,t){var n;void 0===t&&(t=!0),L((null==_?void 0:_(e))||null),t&&(null===(n=I.current)||void 0===n||n.call(I,(null==F?void 0:F(e))||null),W(null!=P&&P))}),[_,F,I,P,L,W]),ee=(0,l.useCallback)((function(e){var t;e.stopPropagation(),null===(t=I.current)||void 0===t||t.call(I,null)}),[I]),te=(0,l.useMemo)((function(){return E?Y&&H&&"function"==typeof H?H(E):null==V?void 0:V(E):""}),[E,Y,V,H]),ne=(0,l.useMemo)((function(){var e=(0,b.Z)(S.current,Z.Yj);return(0,r.jsx)("div",(0,a.pi)({"data-zv":"10.0.10"},{children:(0,r.jsx)(d.G,(0,a.pi)({},e,{value:t,disabled:k,text:te,panelVisible:G,onClearInput:ee}),void 0)}),void 0)}),[te,t,G,S,k,ee]),ae=(0,l.useMemo)((function(){var e;return(0,r.jsx)("div",(0,a.pi)({className:o()("zent-datepicker-panel",(e={},e["zent-datepicker-panel_lunar"]=!!Y,e)),"data-zv":"10.0.10"},{children:(0,r.jsx)(N,(0,a.pi)({},w,{selected:E,hoverDate:K,defaultPanelDate:Q,onSelected:X,disabledPanelDate:B}),void 0)}),void 0)}),[Y,N,w,E,K,Q,X,B]);return(0,r.jsx)("div",(0,a.pi)({className:o()("zent-datepicker",M),"data-zv":"10.0.10"},{children:(0,r.jsx)(D,(0,a.pi)({value:{onHover:$}},{children:(0,r.jsx)(u.Z,{panelVisible:G,onVisibleChange:q,trigger:ne,content:ae},void 0)}),void 0)}),void 0)}x.defaultProps={canClear:!0,width:Z.d7};var C=x},11128:(e,t,n)=>{"use strict";n.d(t,{d7:()=>r,on:()=>i,pX:()=>o,T_:()=>l,zT:()=>u,zS:()=>d,mn:()=>s,Y5:()=>c,nN:()=>v,cO:()=>f,SO:()=>p,Yj:()=>m,n2:()=>h,V2:()=>g,sn:()=>b});var a=n(42690),r=240,i=136,o=360,l="HH:mm:ss",u="YYYY-MM-DD",d="YYYY-MM",s="YYYY",c=["",""],v=1840,f=3e3,p=96,m=["width","name","format","seperator","canClear","placeholder"],h=["format","hourStep","minuteStep","secondStep"],g={format:l,hourStep:1,minuteStep:1,secondStep:1,canClear:!0},b={onChange:a.Z,valueType:"string",canClear:!0,disabledDate:function(){return!1},onOpen:a.Z,onClose:a.Z}},44639:(e,t,n)=>{"use strict";var a=n(27378);t.Z=(0,a.createContext)({})},12691:(e,t,n)=>{"use strict";var a=n(27378),r=n(50642),i=(0,a.createContext)({i18n:(0,r.jI)()});t.Z=i},96084:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(27378),r=n(90072);function i(e){var t=e.disabledTimeOption,n=e.selected,i=e.format,o=(0,a.useState)(!1),l=o[0],u=o[1];return(0,a.useEffect)((function(){var e=(0,r.Z)(n,i,new Date),a=e.getHours(),o=e.getMinutes();u(!n||function(){var e,n;return null===(n=null===(e=null==t?void 0:t.disabledHours)||void 0===e?void 0:e.call(t))||void 0===n?void 0:n.includes(a)}()||function(){var e,n;return null===(n=null===(e=null==t?void 0:t.disabledMinutes)||void 0===e?void 0:e.call(t,a))||void 0===n?void 0:n.includes(o)}()||function(){var n,r;return null===(r=null===(n=null==t?void 0:t.disabledSeconds)||void 0===n?void 0:n.call(t,a,o))||void 0===r?void 0:r.includes(e.getSeconds())}())}),[n,i,t]),l}},57569:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(27378),r=n(19570),i=n(98552),o=n(58181),l=n(55631),u=n(98029);function d(e,t){return(0,a.useCallback)(function(e,t){var n;if("object"==typeof t){var a=t,d=a.min,s=a.max;n=function(t){return!!d&&(0,r.Z)((0,i.Z)(t),(0,u.Z)(d,e))||!!s&&(0,o.Z)((0,l.Z)(t),(0,u.Z)(s,e))}}else n=t;return n}(e,t),[t,e])}},26610:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(27378);function r(e){var t=(0,a.useState)(e),n=t[0],r=t[1];return(0,a.useEffect)((function(){r(e)}),[e]),{panelDate:n,setPanelDate:r}}},41507:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var a=n(27378),r=n(77888),i=n(53568),o=n(75164),l=n(80280),u=l.k.START,d=l.k.END;function s(e){return Array.from({length:e},(function(e,t){return t}))}function c(e,t){return Array.from({length:t-e},(function(e,n){return t-n}))}function v(e){var t=e.selected,n=e.disabledTime,l=(0,a.useRef)(n);l.current=n;var v=t[0],f=t[1],p=(0,a.useCallback)((function(e){var t,n,a,u,c,f,p,m,h,g=!(!v||!e)&&(0,r.Z)(v,e),b=!(!v||!e)&&(0,i.Z)(v,e),Z=!(!v||!e)&&(0,o.Z)(v,e),D=(null==e?void 0:e.getHours())||0,x=(null==e?void 0:e.getMinutes())||0,C=(null==v?void 0:v.getHours())||0,S=(null==v?void 0:v.getMinutes())||0,y=(null==v?void 0:v.getSeconds())||0,T=(null===(a=null===(t=l.current)||void 0===t?void 0:(n=t.call(l,e,d)).disabledHours)||void 0===a?void 0:a.call(n))||[],j=(null===(f=null===(u=l.current)||void 0===u?void 0:(c=u.call(l,e,d)).disabledMinutes)||void 0===f?void 0:f.call(c,D))||[],M=(null===(h=null===(p=l.current)||void 0===p?void 0:(m=p.call(l,e,d)).disabledSeconds)||void 0===h?void 0:h.call(m,D,x))||[];return{disabledHours:function(){return T.concat(g?s(C):[])},disabledMinutes:function(){return j.concat(g&&b?s(S):[])},disabledSeconds:function(){return M.concat(g&&b&&Z?s(y):[])}}}),[v,l]);return{disabledStartTimes:(0,a.useCallback)((function(e){var t,n,a,d,s,v,p,m,h,g=!(!e||!f)&&(0,r.Z)(e,f),b=!(!e||!f)&&(0,i.Z)(e,f),Z=!(!e||!f)&&(0,o.Z)(e,f),D=(null==e?void 0:e.getHours())||0,x=(null==e?void 0:e.getMinutes())||0,C=(null==f?void 0:f.getHours())||0,S=(null==f?void 0:f.getMinutes())||0,y=(null==f?void 0:f.getSeconds())||0,T=(null===(a=null===(t=l.current)||void 0===t?void 0:(n=t.call(l,e,u)).disabledHours)||void 0===a?void 0:a.call(n))||[],j=(null===(v=null===(d=l.current)||void 0===d?void 0:(s=d.call(l,e,u)).disabledMinutes)||void 0===v?void 0:v.call(s,D))||[],M=(null===(h=null===(p=l.current)||void 0===p?void 0:(m=p.call(l,e,u)).disabledSeconds)||void 0===h?void 0:h.call(m,D,x))||[];return{disabledHours:function(){return T.concat(g?c(C,23):[])},disabledMinutes:function(){return j.concat(g&&b?c(S,59):[])},disabledSeconds:function(){return M.concat(g&&b&&Z?c(y,59):[])}}}),[f,l]),disabledEndTimes:p,disabledConfirm:(0,a.useMemo)((function(){return!v||!f||!!v&&!!f&&v>f}),[v,f])}}},18270:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(27378),r=n(58302),i=n(84614),o=[new Date,new Date];function l(e){var t=e.value,n=e.format,l=e.defaultDate,u=e.addMonthNum,d=void 0===u?0:u,s=(0,a.useState)(o),c=s[0],v=s[1],f=(0,a.useMemo)((function(){return t?(0,r.r0)(t,n):[null,null]}),[t,n]),p=(0,a.useState)(f),m=p[0],h=p[1];return(0,a.useEffect)((function(){h(f)}),[f]),(0,a.useEffect)((function(){var e=o;(null==m?void 0:m[0])||(null==m?void 0:m[1])?e=function(e,t){var n=e[0],a=e[1];return[null!=n?n:a?(0,i.Z)(a,-t):o[0],null!=a?a:n?(0,i.Z)(n,t):o[1]]}(m,d):(null==l?void 0:l[0])&&(null==l?void 0:l[1])&&(e=(0,r.r0)(l,n)),v(e)}),[l,m,n,d]),{selected:m,parseValue:f,setSelected:h,defaultPanelDate:c,setDefaultPanelDate:v}}},45902:(e,t,n)=>{"use strict";n.d(t,{P:()=>f,Z:()=>p});var a=n(59312),r=n(27378),i=n(50456),o=n(23807),l=n(51960),u=n(11128),d=function(e){return(0,l.Z)((0,i.Z)(),e)},s=function(e){return(0,l.Z)((0,o.Z)(),e)},c=d(u.T_),v=s(u.T_);function f(e){var t=(0,r.useRef)(e);return t.current=e,(0,r.useMemo)((function(){if(!t.current)return[void 0,void 0];if("object"==typeof t.current){var e=t.current,n=e.format,r=void 0===n?u.T_:n,i=e.defaultTime,o=(0,a._T)(e,["format","defaultTime"]),l=(null==i?void 0:i[0])||d(r),f=(null==i?void 0:i[1])||s(r);return[(0,a.pi)({format:r,defaultTime:l},o),(0,a.pi)({format:r,defaultTime:f},o)]}return[{format:u.T_,defaultTime:c},{format:u.T_,defaultTime:v}]}),[t])}function p(e){var t=(0,r.useRef)(e);return t.current=e,(0,r.useMemo)((function(){if(t.current){if("object"==typeof t.current){var e=t.current,n=e.format,r=void 0===n?u.T_:n,i=e.defaultTime,o=(0,a._T)(e,["format","defaultTime"]),l=i||d(r);return(0,a.pi)({format:r,defaultTime:l},o)}return{format:u.T_,defaultTime:c}}}),[t])}},280:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(27378),r=n(77828);function i(e,t,n,i,o,l){var u=(0,a.useState)(null!=l&&l),d=u[0],s=u[1],c=(0,r.Q)(n),v=(0,r.Q)(i),f=(0,a.useRef)(e);f.current=e,(0,a.useEffect)((function(){s(null!=l&&l)}),[l]);var p=(0,a.useCallback)((function(){void 0!==l||o||s(!d)}),[d,l,o]),m=(0,a.useRef)();return(0,a.useEffect)((function(){var e,n;m.current?d?null===(e=null==c?void 0:c.current)||void 0===e||e.call(c):(t(f.current),null===(n=null==v?void 0:v.current)||void 0===n||n.call(v)):m.current=!0}),[d,f,c,v,t]),{panelVisible:d,setPanelVisible:s,onVisibleChange:p}}},32046:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,K:()=>o});var a=n(27378),r=n(90072);function i(e,t){var n=(0,a.useState)(null!=t?t:e),r=n[0],i=n[1];return(0,a.useEffect)((function(){i(null!=t?t:e)}),[t,e]),{selected:r,setSelected:i}}function o(e,t,n){return e?[e[0]?(0,r.Z)(e[0],t,n):null,e[1]?(0,r.Z)(e[1],t,n):null]:[null,null]}},71990:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var a=n(59312),r=n(24246),i=n(27378),o=n(84614),l=n(46013),u=n(96608),d=n(34421),s=n(65892),c=(0,i.memo)((function(e){var t=e.names;return(0,r.jsx)("ul",(0,a.pi)({className:"zent-datepicker-panel-sub_header","data-zv":"10.0.10"},{children:t.map((function(e){return(0,r.jsx)("li",(0,a.pi)({"data-zv":"10.0.10"},{children:e}),e)}))}),void 0)}),(function(){return!0})),v=n(36192),f=n(48988),p=n(90072),m=n(73237),h=n(5034),g=n(44639),b=n(84990),Z=n(3685),D=function(e){var t=(0,i.useContext)(g.Z).onHover,n=e.selected,a=e.popText,o=void 0===a?"":a,l=e.disableRangeOverView,s=void 0!==l&&l,c=e.defaultPanelDate,D=e.rangeDate,x=e.hoverRangeDate,C=e.row,S=void 0===C?6:C,y=e.col,T=void 0===y?7:y,j=e.showTimeOption,M=e.onSelected,k=e.disabledPanelDate,P=e.showLunarDate,N=(0,i.useMemo)((function(){return(0,v.Z)(c)}),[c]),w=(0,i.useMemo)((function(){return(0,b.Z)({offset:N.getDay(),defaultPanelDate:N,selected:n,disabledPanelDate:k,rangeDate:D,hoverRangeDate:x,row:S,col:T,dateConfig:Z.H.date,inView:f.Z,disableRangeOverView:s,showLunarDate:P})}),[s,n,D,x,S,T,N,k,P]),z=(0,i.useCallback)((function(e){var t=j||{},a=t.defaultTime,r=t.format;if(!n)return M(a?(0,p.Z)("function"==typeof a?a(e):a,r,e):e);var i=n;i=(0,u.Z)(i,e.getFullYear()),i=(0,d.Z)(i,e.getMonth()),i=(0,m.Z)(i,e.getDate()),M(i)}),[n,j,M]);return(0,r.jsx)(h.Z,{col:T,cells:w,popText:o,onSelected:z,onHover:t},void 0)},x=n(85883),C=n(90347),S=n(7178),y=n(71351),T=n(12691),j=n(58302),M=n(96084),k=new Date,P=function(e){var t=e.footerText,n=e.showTime,o=e.disabledTime,l=e.showTimeOption,u=e.selected,d=e.onSelected,s=e.disabledPanelDate,c=(0,i.useState)(!1),v=c[0],f=c[1],m=(0,i.useContext)(T.Z),h=m.i18n,g=m.autoComplete,b=(l||{}).format,Z=void 0===b?"":b,D=(0,M.Z)({selected:(0,j.p6)(Z,u),disabledTimeOption:u&&(null==o?void 0:o(u))||{},format:Z}),P=(0,M.Z)({selected:(0,j.p6)(Z,k),disabledTimeOption:(null==o?void 0:o(k))||{},format:Z}),N=(0,i.useMemo)((function(){return u&&s(u)}),[u,s]),w=(0,i.useMemo)((function(){return s(k)}),[s]),z=(0,i.useCallback)((function(){P||w||d(new Date)}),[w,P,d]),Y=(0,i.useCallback)((function(){u&&d(u)}),[u,d]),H=(0,i.useMemo)((function(){return(0,r.jsx)(C.ZP,(0,a.pi)({type:"primary",disabled:D||N||!u||v,onClick:Y,className:"zent-datepicker-panel-footer-btn"},{children:h.confirm}),void 0)}),[h,D,u,N,Y,v]),O=(0,i.useMemo)((function(){return(0,r.jsxs)("div",(0,a.pi)({"data-zv":"10.0.10"},{children:[(0,r.jsx)(C.ZP,(0,a.pi)({disabled:P||w,onClick:z,type:"text"},{children:t}),void 0),!!n&&(D||N?(0,r.jsx)(x.Z,(0,a.pi)({content:D?h.timeErrorPop:h.dateErrorPop,trigger:"hover"},{children:H}),void 0):H)]}),void 0)}),[h,n,t,D,N,w,P,H,z]),_=(0,i.useCallback)((function(e){if(e){var t=(0,p.Z)(e,Z,u||new Date);d(t,!1)}}),[u,Z,d]),F=(0,i.useCallback)((function(){f(!0)}),[]),V=(0,i.useCallback)((function(){f(!1)}),[]),I=(0,i.useMemo)((function(){var e=l||{},t=e.defaultTime,i=(0,a._T)(e,["defaultTime"]),d="function"==typeof t?t(u):t;return n?(0,r.jsx)(S.Z,(0,a.pi)({},i,{defaultTime:d,width:94,selectedDate:u,value:(0,j.p6)(Z,u),hiddenIcon:!0,onChange:_,onOpen:F,onClose:V,disabledTime:o,autoComplete:g}),void 0):null}),[g,u,n,l,Z,o,_,F,V]);return(0,r.jsx)(y.Z,{leftNode:I,rightNode:O},void 0)},N=n(21977),w=n(58345),z=n(45902),Y=n(26610),H=n(77828),O=n(56540),_=function(e){var t=e.defaultPanelDate,n=e.hideFooter,v=void 0!==n&&n,f=e.onSelected,p=e.showTime,m=e.footerText,h=void 0===m?"":m,g=e.combinedLeft,b=e.combinedRight,Z=e.onPanelDateChange,x=(0,a._T)(e,["defaultPanelDate","hideFooter","onSelected","showTime","footerText","combinedLeft","combinedRight","onPanelDateChange"]),C=(0,i.useContext)(T.Z).i18n,S=(0,i.useState)(!1),y=S[0],j=S[1],M=(0,i.useState)(!1),k=M[0],_=M[1],F=(0,Y.Z)(t),V=F.panelDate,I=F.setPanelDate,R=(0,z.Z)(p),E=(0,H.Q)(Z),A=x.showLunarDate,L=(0,i.useMemo)((function(){var e=V.getMonth(),t=C.panel.monthNames[e];return A?t+"("+O.q7.fromDate(new Date(V.getFullYear(),e)).getMonthInChinese()+"月)":t}),[A,C.panel.monthNames,V]),Q=(0,i.useMemo)((function(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.D,{text:V.getFullYear(),unit:C.panel.year,onClick:function(){return j(!0)}},void 0),(0,r.jsx)(s.D,{text:L,onClick:function(){return _(!0)}},void 0)]},void 0)}),[V,C.panel.year,L]),U=(0,i.useCallback)((function(e){var t;I(e),null===(t=E.current)||void 0===t||t.call(E,e)}),[I,E]),G=(0,i.useCallback)((function(){U((0,o.Z)(V,-1))}),[V,U]),W=(0,i.useCallback)((function(){U((0,o.Z)(V,1))}),[V,U]),q=(0,i.useCallback)((function(){U((0,l.Z)(V,-1))}),[V,U]),B=(0,i.useCallback)((function(){U((0,l.Z)(V,1))}),[V,U]),J=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{showSuper:!0,titleNode:Q,combinedLeft:g,combinedRight:b,onPrev:G,onNext:W,onSuperPrev:q,onSuperNext:B},void 0),(0,r.jsx)(c,{names:C.panel.dayNames},void 0),(0,r.jsx)(D,(0,a.pi)({},x,{showTime:p,showTimeOption:R,onSelected:function(e){f(e,!p)},defaultPanelDate:V}),void 0)]},void 0),K=(0,i.useCallback)((function(e){U((0,u.Z)(V,e.getFullYear())),j(!1)}),[V,U]),$=(0,r.jsx)(w.Z,(0,a.pi)({},e,{onSelected:K,defaultPanelDate:V}),void 0),X=(0,i.useCallback)((function(e){var t=e.getMonth(),n=e.getFullYear();U((0,u.Z)((0,d.Z)(V,t),n)),_(!1)}),[V,U]),ee=(0,r.jsx)(N.Z,(0,a.pi)({},e,{defaultPanelDate:V,onSelected:X}),void 0);return(0,r.jsxs)(r.Fragment,{children:[!y&&!k&&J,y&&$,k&&ee,!v&&(0,r.jsx)(P,(0,a.pi)({},e,{showTimeOption:R,footerText:h||(p?C.current.time:C.current.date)}),void 0)]},void 0)}},21977:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var a=n(59312),r=n(24246),i=n(27378),o=n(46013),l=n(96608),u=n(65892),d=n(44639),s=n(12691),c=n(5034),v=n(84990),f=n(3685),p=n(34421),m=function(e){var t=e.defaultPanelDate,n=e.onSelected,o=e.selected,l=e.disabledPanelDate,u=e.row,m=void 0===u?4:u,h=e.col,g=void 0===h?3:h,b=(0,i.useContext)(s.Z).i18n,Z=(0,i.useContext)(d.Z).onHover,D=(0,i.useMemo)((function(){return(0,v.Z)({selected:o,disabledPanelDate:l,defaultPanelDate:(0,p.Z)(t,0),texts:b.panel.monthNames,row:m,col:g,dateConfig:f.H.month})}),[o,m,g,t,b,l]);return(0,r.jsx)("div",(0,a.pi)({className:"zent-datepicker-ym-panel-body","data-zv":"10.0.10"},{children:(0,r.jsx)(c.Z,{col:g,cells:D,onSelected:n,onHover:Z},void 0)}),void 0)},h=n(58345),g=n(26610),b=function(e){var t=e.defaultPanelDate,n=e.selected,d=e.onSelected,c=e.disabledPanelDate,v=(0,i.useContext)(s.Z).i18n,f=(0,g.Z)(t),p=f.panelDate,b=f.setPanelDate,Z=(0,i.useState)(!1),D=Z[0],x=Z[1],C=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.Z,{titleNode:(0,r.jsx)(u.D,{text:p.getFullYear(),unit:v.panel.year,onClick:function(){return x(!0)}},void 0),onPrev:function(){return b((0,o.Z)(p,-1))},onNext:function(){return b((0,o.Z)(p,1))}},void 0),(0,r.jsx)(m,{disabledPanelDate:c,defaultPanelDate:p,selected:n,onSelected:d},void 0)]},void 0),S=(0,i.useCallback)((function(e){b((0,l.Z)(p,e.getFullYear())),x(!1)}),[p,b]),y=(0,r.jsx)(h.Z,(0,a.pi)({},e,{onSelected:S,defaultPanelDate:p}),void 0);return(0,r.jsx)(r.Fragment,{children:D?y:C},void 0)}},60419:(e,t,n)=>{"use strict";n.d(t,{Z:()=>M});var a=n(59312),r=n(24246),i=n(27378),o=n(60042),l=n.n(o),u=n(71351),d=n(90347),s=n(12691),c=n(44639),v=n(58302),f=function(e){var t=e.onSelected,n=e.selected,o=e.format,f=(0,i.useContext)(s.Z).i18n,p=(0,i.useContext)(c.Z),m=p.confirmStatus,h=p.isDisabledCurrent,g=(0,i.useCallback)((function(){h||t((0,v.p6)(o,new Date),!0)}),[o,h,t]),b=(0,i.useMemo)((function(){var e;return(0,r.jsx)("a",(0,a.pi)({className:l()((e={},e["zent-datepicker-panel-footer-current_disabled"]=h,e)),onClick:g,"data-zv":"10.0.10"},{children:f.current.time}),void 0)}),[f,h,g]),Z=(0,i.useMemo)((function(){return(0,r.jsx)(d.ZP,(0,a.pi)({type:"primary",className:"zent-datepicker-panel-footer-btn",disabled:m,onClick:function(){return t(n,!0)}},{children:f.confirm}),void 0)}),[f,m,n,t]);return(0,r.jsx)(u.Z,{leftNode:b,rightNode:Z},void 0)},p=n(96394),m=n(60206),h=n(55874),g=n(57318),b=n(79264),Z="zent-datepicker-time-panel-body",D={hour:23,minute:59,second:59},x=function(e){var t=e.type,n=e.step,o=void 0===n?1:n,u=e.selected,d=e.setting,s=e.disabledUnits,v=void 0===s?[]:s,f=(0,i.createRef)(),p=(0,i.useContext)(c.Z).visibleChange,m=function(e,t,n,a){for(var r=[],i=0;i<=t;i+=n)r.push({label:i.toString().padStart(2,"0"),value:i,disabled:a.includes(i)});return r}(0,D[t],o,v);return(0,b.L)((function(){p&&f.current&&(0,g.l)(f.current,0,32*u/o,1),u&&!p&&f.current&&(0,g.l)(f.current,0,32*u/o,160)}),[u,p,f,o]),(0,r.jsx)("div",(0,a.pi)({className:Z+"_scroll",ref:f,"data-zv":"10.0.10"},{children:m.map((function(e){var t,n=e.value,i=e.label,o=e.disabled;return(0,r.jsx)("div",(0,a.pi)({className:l()(Z+"-unit",(t={},t[Z+"-unit_selected"]=n===u,t[Z+"-unit_disabled"]=o,t[Z+"-unit_available"]=!o,t)),onClick:function(){return!o&&d(n)},"data-zv":"10.0.10"},{children:i}),n)}))}),void 0)},C=n(90072),S=new Date,y=new Date(S.getFullYear(),S.getMonth(),S.getDate()),T={hour:p.Z,minute:m.Z,second:h.Z},j=function(e){var t=e.selected,n=e.format,o=e.disabledTimeOption,l=e.hourStep,u=e.minuteStep,d=e.secondStep,s=e.onSelected,c=function(e,t,n){var a=e||t,r=(0,i.useState)(a?(0,C.Z)(a,n,y):y),o=r[0],l=r[1];return(0,i.useEffect)((function(){l(a?(0,C.Z)(a,n,y):y)}),[a,t,n]),{panelTime:o,setPanelTime:l}}(t,e.defaultTime,n),f=c.panelTime,p=c.setPanelTime,m=(0,i.useMemo)((function(){var e=o.disabledHours,t=o.disabledMinutes,a=o.disabledSeconds,r=f.getHours(),i=f.getMinutes();return[{type:"hour",format:"HH",value:r,disabledUnits:(null==e?void 0:e())||[],max:23,step:l},{type:"minute",format:"mm",value:i,disabledUnits:(null==t?void 0:t(r))||[],max:59,step:u},{type:"second",format:"ss",value:f.getSeconds(),disabledUnits:(null==a?void 0:a(r,i))||[],max:59,step:d}].filter((function(e){return-1!==n.indexOf(e.format)}))}),[f,n,o,l,u,d]),h=(0,i.useCallback)((function(e,t){var a=T[t](f,e);p(a),s((0,v.p6)(n,a))}),[f,n,s,p]);return(0,r.jsx)("div",(0,a.pi)({className:"zent-datepicker-time-panel-body","data-zv":"10.0.10"},{children:m.map((function(e){var t=e.type,n=e.value,a=e.step,i=e.disabledUnits;return(0,r.jsx)(x,{type:t,step:a,selected:n,setting:function(e){return h(e,t)},disabledUnits:i},t)}))}),void 0)},M=function(e){var t=e.hideFooter,n=(0,a._T)(e,["hideFooter"]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j,(0,a.pi)({},n),void 0),!t&&(0,r.jsx)(f,(0,a.pi)({},n),void 0)]},void 0)}},58345:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(59312),r=n(24246),i=n(27378),o=n(65892),l=n(5034),u=n(44639),d=n(12691),s=n(84990),c=n(3685),v=n(96608),f=n(11128),p=function(e){var t=e.firstYear,n=e.onSelected,o=e.selected,p=e.defaultPanelDate,m=e.disabledPanelDate,h=e.row,g=void 0===h?4:h,b=e.col,Z=void 0===b?3:b,D=(0,i.useContext)(d.Z).i18n,x=(0,i.useContext)(u.Z).onHover,C=(0,i.useMemo)((function(){return Array.from({length:12},(function(e,n){return t+n<=f.cO?""+(t+n)+D.panel.year:""}))}),[t,D]),S=(0,i.useMemo)((function(){return(0,s.Z)({selected:o,disabledPanelDate:m,defaultPanelDate:(0,v.Z)(p,t),texts:C,row:g,col:Z,dateConfig:c.H.year})}),[o,g,Z,C,p,t,m]);return(0,r.jsx)("div",(0,a.pi)({className:"zent-datepicker-ym-panel-body","data-zv":"10.0.10"},{children:(0,r.jsx)(l.Z,{col:Z,cells:S,onSelected:n,onHover:x},void 0)}),void 0)},m=function(e){var t=e.defaultPanelDate.getFullYear(),n=(0,i.useState)(Math.floor((t-f.nN)/12)),l=n[0],u=n[1],d=(0,i.useMemo)((function(){return f.nN+12*l}),[l]),s=(0,i.useCallback)((function(){return l>0&&u(l-1)}),[l]),c=(0,i.useCallback)((function(){return lf.cO?f.cO:d+11),onPrev:s,onNext:c},void 0),(0,r.jsx)(p,(0,a.pi)({firstYear:d},e),void 0)]},void 0)}},80280:(e,t,n)=>{"use strict";var a,r;n.d(t,{k:()=>a,C:()=>r}),function(e){e.START="start",e.END="end"}(a||(a={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(r||(r={}))},3685:(e,t,n)=>{"use strict";n.d(t,{H:()=>z});var a=n(73237),r=n(25568),i=n(44525),o=n(77888),l=n(55631),u=n(98552),d=n(9385),s=n(89278),c=n(650),v=n(60102),f=n(72754),p=n(34421),m=n(49602),h=n(84614),g=n(22067),b=n(48988),Z=n(36192),D=n(76134),x=n(60613),C=n(44750),S=n(71903),y=n(79636),T=n(1438),j=n(2129),M=n(96608),k=n(30870),P=n(46013),N=n(86353),w=n(14888),z={date:{set:a.Z,get:r.Z,offsetDate:i.Z,isSame:o.Z,startDate:l.Z,endDate:u.Z},week:{set:d.Z,get:s.Z,offsetDate:i.Z,isSame:c.Z,startDate:v.Z,endDate:f.Z},month:{set:p.Z,get:m.Z,offsetDate:h.Z,isSame:function(e,t){return(0,g.Z)(e,t)&&(0,b.Z)(e,t)},startDate:Z.Z,endDate:D.Z},quarter:{set:x.Z,get:C.Z,offsetDate:S.Z,isSame:function(e,t){return(0,g.Z)(e,t)&&(0,y.Z)(e,t)},startDate:T.Z,endDate:j.Z},year:{set:M.Z,get:k.Z,offsetDate:P.Z,isSame:g.Z,startDate:N.Z,endDate:w.Z}}},65410:(e,t,n)=>{"use strict";n.d(t,{RZ:()=>u,kA:()=>d,zG:()=>s,Kv:()=>c});var a=n(30870),r=n(44750),i=n(60102),o=n(72754),l=n(58302);function u(e,t){return e?(0,l.p6)(t,e):""}function d(e,t){return e?t.panel.yearQuarterName({year:(0,a.Z)(e),quarter:(0,r.Z)(e)-1}):""}function s(e,t,n){var a=e&&[(0,i.Z)(e,n),(0,o.Z)(e,n)];return a?(0,l._Q)(a,t):["",""]}function c(e,t){return(0,l._Q)(e,t)}},84990:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(9005),r=n(77888),i=n(58181),o=n(19570),l=n(56540);function u(e){for(var t=e.selected,n=e.rangeDate,r=e.hoverRangeDate,i=e.disabledPanelDate,o=e.defaultPanelDate,u=e.row,s=e.col,c=e.dateConfig,v=e.texts,f=e.offset,p=void 0===f?0:f,m=e.inView,h=e.disableRangeOverView,g=e.showLunarDate,b=c.isSame,Z=c.startDate,D=c.endDate,x=c.offsetDate,C=0,S=[],y=0;y{"use strict";n.d(t,{F:()=>r});var a=n(58302);function r(e,t,n){var r,i;switch(e){case"string":return(0,a._Q)(n,t);case"number":return[(null===(r=n[0])||void 0===r?void 0:r.getTime())||0,(null===(i=n[1])||void 0===i?void 0:i.getTime())||0];default:return n}}},90278:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>i,pB:()=>o,Mp:()=>l});var a=n(58302),r=n(20985);function i(e,t,n){return e?(0,t.startDate)(e,n):null}function o(e,t,n){switch(t){case"string":return(0,a.p6)(n,e);case"number":return e.getTime();default:return e}}function l(e,t,n,a,i){var o,l=a.startDate,u=a.endDate;return o=i?[l(e,i),u(e,i)]:[l(e),u(e)],(0,r.F)(t,n,o)}},58302:(e,t,n)=>{"use strict";n.d(t,{sG:()=>i,p6:()=>o,_Q:()=>l,r0:()=>u});var a=n(51960),r=n(98029);function i(e,t){return t?(0,r.Z)(t,e):null}function o(e,t){return t?(0,a.Z)(t,e):""}function l(e,t){return[o(t,e[0]),o(t,e[1])]}function u(e,t){return[i(t,e[0]),i(t,e[1])]}},57097:(e,t,n)=>{"use strict";n.d(t,{u:()=>f});var a=n(59312),r=n(24246),i=n(27378),o=n(60042),l=n.n(o),u=n(42690),d=n(33806),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,a.ZT)(t,e),t}(d.ZP.Trigger.Base),c=n(50707),v=d.ZP.Trigger,f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popoverRef=(0,i.createRef)(),t}return(0,a.ZT)(t,e),t.prototype.renderContent=function(){var e=this.props.title;return(0,r.jsxs)(d.ZP.Content,{children:[(0,r.jsx)("div",(0,a.pi)({className:"zent-tooltip-v2-inner","data-zv":"10.0.10"},{children:e}),void 0),(0,r.jsx)("i",{className:"zent-tooltip-v2-arrow","data-zv":"10.0.10"},void 0)]},void 0)},t.prototype.renderTrigger=function(){var e=this.props.children;if("click"===this.props.trigger){var t=this.props.closeOnClickOutside,n=void 0===t||t;return(0,r.jsx)(v.Click,(0,a.pi)({closeOnClickOutside:n},{children:e}),void 0)}if("hover"===this.props.trigger){var i=this.props,o=i.mouseLeaveDelay,l=void 0===o?200:o,u=i.mouseEnterDelay,d=void 0===u?200:u,c=i.anchorOnly,f=i.fixMouseEventsOnDisabledChildren;return(0,r.jsx)(v.Hover,(0,a.pi)({showDelay:d,hideDelay:l,anchorOnly:c,fixMouseEventsOnDisabledChildren:f},{children:e}),void 0)}return"focus"===this.props.trigger?(0,r.jsx)(v.Focus,{children:e},void 0):"none"===this.props.trigger?(0,r.jsx)(s,{children:e},void 0):null},t.prototype.render=function(){var e=this.props,t=e.className,n=e.trigger,i=e.visible,o=e.position,s=e.cushion,v=e.centerArrow,f=e.containerSelector,p=e.style,m=l()("zent-tooltip-v2",t),h=this.props.onVisibleChange;return"none"===n&&(h=h||u.Z),(0,r.jsxs)(d.ZP,(0,a.pi)({visible:i,onVisibleChange:h,className:m,cushion:s,position:(0,c.Z)(o,v),containerSelector:f,ref:this.popoverRef,style:p},{children:[this.renderTrigger(),this.renderContent()]}),void 0)},t.defaultProps={trigger:"hover",position:"top-center",cushion:8,centerArrow:!1,containerSelector:"body"},t}(i.Component)},74522:(e,t,n)=>{"use strict";var a=n(57097);t.Z=a.u},55325:(e,t,n)=>{"use strict";n.d(t,{WU:()=>m,Qc:()=>h});var a=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,r="\\d\\d?",i="[^\\s]+",o=/\[([^]*?)\]/gm,l=function(){},u=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],d=["January","February","March","April","May","June","July","August","September","October","November","December"],s=g(d,3),c={dayNamesShort:g(u,3),dayNames:u,monthNamesShort:s,monthNames:d,amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:(e-e%10!=10?1:0)*e%10]}},v={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},f={D:function(e){return String(e.getDate())},DD:function(e){return T(e.getDate())},Do:function(e,t){return t.DoFn(e.getDate())},d:function(e){return String(e.getDay())},dd:function(e){return T(e.getDay())},ddd:function(e,t){return t.dayNamesShort[e.getDay()]},dddd:function(e,t){return t.dayNames[e.getDay()]},M:function(e){return String(e.getMonth()+1)},MM:function(e){return T(e.getMonth()+1)},MMM:function(e,t){return t.monthNamesShort[e.getMonth()]},MMMM:function(e,t){return t.monthNames[e.getMonth()]},YY:function(e){return T(String(e.getFullYear()),4).substr(2)},YYYY:function(e){return T(e.getFullYear(),4)},h:function(e){return String(e.getHours()%12||12)},hh:function(e){return T(e.getHours()%12||12)},H:function(e){return String(e.getHours())},HH:function(e){return T(e.getHours())},m:function(e){return String(e.getMinutes())},mm:function(e){return T(e.getMinutes())},s:function(e){return String(e.getSeconds())},ss:function(e){return T(e.getSeconds())},S:function(e){return String(Math.round(e.getMilliseconds()/100))},SS:function(e){return T(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return T(e.getMilliseconds(),3)},a:function(e,t){return e.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(e,t){return e.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+T(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)}},p={D:[r,D],DD:[r,D],Do:["\\d\\d?[^\\s]+",D],M:[r,Z],MM:[r,Z],YY:[r,function(e,t){var n=parseInt(t,10),a=new Date,r=parseInt(String(a.getFullYear()).substr(0,2),10),i=String(n>68?r-1:r)+t;e.year=parseInt(i,10)}],h:[r,x],hh:[r,x],H:[r,x],HH:[r,x],m:[r,C],mm:[r,C],s:[r,S],ss:[r,S],YYYY:["\\d{4}",function(e,t){e.year=parseInt(t,10)}],S:["\\d",function(e,t){e.millisecond=100*parseInt(t,10)}],SS:["\\d{2}",function(e,t){e.millisecond=10*parseInt(t,10)}],SSS:["\\d{3}",function(e,t){e.millisecond=parseInt(t,10)}],d:[r,l],dd:[r,l],ddd:[i,l],dddd:[i,l],MMM:[i,b("monthNamesShort")],MMMM:[i,b("monthNames")],a:[i,y],A:[i,y],ZZ:["[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",function(e,t){var n,a=(t+"").match(/([+-]|\d\d)/gi);a&&(n=60*parseInt(a[1],10)+parseInt(a[2],10),e.timezoneOffset="+"===a[0]?n:-n)}]};function m(e,t,n){if(void 0===n&&(n=c),"number"==typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw new Error("Invalid Date in fecha.format");var r=[];return(t=(t=(t=v[t]||t||v.default).replace(o,(function(e,t){return r.push(t),"@@@"}))).replace(a,(function(t){return t in f?f[t](e,n):t.slice(1,t.length-1)}))).replace(/@@@/g,(function(){return r.shift()}))}function h(e,t,n){if(void 0===n&&(n=c),"string"!=typeof t)throw new Error("Invalid format in fecha.parse");if(t=v[t]||t,e.length>1e3)return null;var r,i={},l=[],u=[],d=(r=t=t.replace(o,(function(e,t){return u.push(t),"@@@"})),r.replace(/[|\\{()[^$+*?.-]/g,"\\$&")).replace(a,(function(e){if(p[e]){var t=p[e];return l.push(t[1]),"("+t[0]+")"}return e}));d=d.replace(/@@@/g,(function(){return u.shift()}));var s=new RegExp(d,"i").exec(e);if(!s)return null;for(var f=1;f{"use strict";n.d(t,{Z:()=>o});var a=n(55325),r=n(24654),i=n(81224);function o(e,t,n){void 0===t&&(t="default"),void 0===n&&(n=r.U1);var o=(0,i.f)(e);return(0,a.WU)(o,t,n)}},81224:(e,t,n)=>{"use strict";function a(e){return!Number.isNaN(+new Date(e))}function r(e){if(void 0===e)throw new Error("expects a date");return(e=e||new Date)instanceof Date||("number"==typeof e&&a(e)&&(e=new Date(e)),"string"==typeof e&&(a(e)||(e=e.replace(/-/g,"/")),a(e)&&(e=new Date(e)))),e}n.d(t,{f:()=>r})},98029:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(55325),r=n(24654);function i(e,t,n){return void 0===t&&(t="default"),void 0===n&&(n=r.U1),e instanceof Date?new Date(e.getTime()):"number"==typeof e?new Date(e):(t=t||"default",(0,a.Qc)(e,t,n)||null)}},77828:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var a=n(27378);function r(e){var t=(0,a.useRef)(e);return(0,a.useEffect)((function(){t.current=e}),[e]),t}},45300:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(72551);function r(e,t){return null==e?{}:t.reduce((function(t,n){return(0,a.n)(e,n)&&(t[n]=e[n]),t}),{})}}}]); \ No newline at end of file diff --git a/3314-8439f9042c13340bd148.js b/3314-8439f9042c13340bd148.js new file mode 100644 index 000000000..b50429d73 --- /dev/null +++ b/3314-8439f9042c13340bd148.js @@ -0,0 +1 @@ +(self.webpackChunkzent_docs=self.webpackChunkzent_docs||[]).push([[3314],{63314:(e,o,c)=>{"use strict";c.r(o),c.d(o,{default:()=>u});var n=c(73450),d=c(27378),i=c(57318),l=c(24246);function a(e,o){var c=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),c.push.apply(c,n)}return c}function r(e){for(var o=1;o更新日志\n

3.5.3 之前版本的详细修改记录请看 Github 日志

\n

升级指南

\n\n

10.0.15(2024-12-13)

\n
    \n
  • \n

    DateRangeQuickPicker

    \n
      \n
    • 🦀 修复 DateRangeQuickPicker 组件 minmax 不生效问题
    • \n
    \n
  • \n
  • \n

    DatPicker

    \n
      \n
    • 🦀 修复 DatPicker 组件 lunar 依赖包体积问题
    • \n
    \n
  • \n
  • \n

    Cascader

    \n
      \n
    • 🦀 修复 Cascader 组件 options 参数不存在时报错问题
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀 修复 Grid 组件 hover color 颜色异常问题
    • \n
    \n
  • \n
\n

10.0.14(2024-09-24)

\n
    \n
  • \n

    Form

    \n
      \n
    • 🦀 修复 Form 组件 required 样式问题
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀 修复 Grid 组件 key 问题
    • \n
    \n
  • \n
\n

10.0.13(2024-07-29)

\n
    \n
  • \n

    Grid

    \n
      \n
    • 🦀 修复Grid组件在渲染Selection和Expand时可能会出现的重复项问题
    • \n
    \n
  • \n
\n

10.0.12(2024-07-12)

\n
    \n
  • \n

    Portal

    \n
      \n
    • ✨ 减少浏览器滚动条计算引起的多次重排
    • \n
    \n
  • \n
\n

10.0.11(2024-06-14)

\n
    \n
  • \n

    🦀 修复依赖 observable-hooks 自动升级打包报错

    \n
  • \n
  • \n

    Indicator

    \n
      \n
    • 🦀 修复 Indicator 组件 IIndicatorProps 类型导出错误
    • \n
    \n
  • \n
  • \n

    Notify

    \n
      \n
    • ✨ 新增 containerSelectorclassName 属性支持
    • \n
    \n
  • \n
  • \n

    Dialog

    \n
      \n
    • ✨ 新增 position 属性支持
    • \n
    \n
  • \n
  • \n

    Icon

    \n
      \n
    • ✨ 更新 zenticons3.7.6 版本
    • \n
    \n
  • \n
\n

10.0.10(2023-10-25)

\n
    \n
  • datePicker 增加农历功能支持
  • \n
\n

10.0.9(2023-04-24)

\n
    \n
  • datePicker 增加 CombinedPanelRangePickerSingleCalendarDatePanelPicker 的支持
  • \n
\n

10.0.7(2023-01-06)

\n
    \n
  • 🦀 调整 CombinedDateRangePicker 选择结束日期后的展示逻辑
  • \n
\n

10.0.6(2022-12-27)

\n
    \n
  • 🦀 修复 10.0.5 引入的 NumberInput 在一些情况下渲染死循环的问题
  • \n
\n

10.0.5(2022-12-08)

\n
    \n
  • 🦀 修复 NumberInput 在一些情况下渲染死循环的问题
  • \n
\n

10.0.4(2022-11-15)

\n
    \n
  • 🦀 Button 组件渲染为 <a> 标签,并且设置了 disabled 属性时,不再设置 href 属性
  • \n
  • 🦀️ 修复了 withErrorBoundaryonError 类型问题
  • \n
\n

10.0.3(2022-08-31)

\n
    \n
  • 🦀️ 修复主题色问题
  • \n
\n

10.0.2(2022-08-23)

\n
    \n
  • Select 新增 renderCollapsedContent 自定义渲染收起内容
  • \n
  • 🦀️ AnimateHeight 修复当设置 appeartrueheightauto 的时候没有动画的问题
  • \n
  • 🦀️ 修复主题色中错误的颜色
  • \n
\n

10.0.1-rc.0(2022-06-01)

\n
    \n
  • Cascader 支持 searchableplaceholder 参数共存
  • \n
\n

10.0.0(2022-03-28)

\n

详见 10.x 升级指南

\n

9.12.7(2022-03-15)

\n
    \n
  • \n

    Cascader

    \n
      \n
    • ✨ 增加simplifySelectionMode判断simplifySelection时是否包含disabled的路径
    • \n
    \n
  • \n
  • \n

    Sortable

    \n
      \n
    • 🦀️ 修复拖拽后有时数据会变为empty 的问题
    • \n
    \n
  • \n
  • \n

    Notice

    \n
      \n
    • 🦀 去除overflow-y: hidden,解决下方阴影显示不完全的问题
    • \n
    \n
  • \n
  • \n

    Placeholder

    \n
      \n
    • 🦀 ts 类型补全
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • expandation 中新增 isExpandable API,支持配置可展开图标显示 #1895
    • \n
    • ✨ 新增 tableLayout API,支持设置 table 的 tableLayout 属性
    • \n
    • 🦀️ Grid 未配置 tableLayout,但是配置了 scroll 或者 ellipsis 属性时,设置 tableLayoutfixed,解决一些单元格对齐问题
    • \n
    • 🦀️ 对设置了宽度的列设置 word-break,解决一些单元格对齐问题
    • \n
    \n
  • \n
\n

9.12.6(2022-03-02)

\n
    \n
  • \n

    Grid

    \n
      \n
    • 🦀 优化 selection ts 定义
    • \n
    \n
  • \n
  • \n

    Select

    \n
      \n
    • 🦀 修复使用文本高亮时正则特殊字符报错问题
    • \n
    \n
  • \n
  • \n

    Cascader

    \n
      \n
    • 🦀 修复使用文本高亮时正则特殊字符报错问题
    • \n
    \n
  • \n
  • \n

    Collapse

    \n
      \n
    • 📚 更新 activeKey 使用 demo 和相关说明
    • \n
    \n
  • \n
  • 增加 yarn workspace nohoist 配置
  • \n
\n

9.12.5(2022-02-14)

\n
    \n
  • \n

    Notify

    \n
      \n
    • 🦀 api 类型完善
    • \n
    \n
  • \n
  • \n

    Form

    \n
      \n
    • ✨ 添加 normalizeBeforeBlur 属性,支持 onBlur 时修改值
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀 修复全选状态判断不正确的问题
    • \n
    \n
  • \n
\n

9.12.4(2022-01-11)

\n
    \n
  • \n

    Popover

    \n
      \n
    • 🦀 修复 withPop HOC 的类型错误
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀 排序按钮替换为 iconfont, 修复字体不同可能导致的按钮错位问题
    • \n
    • 🦀 selectedRowKeys 支持 number 类型
    • \n
    \n
  • \n
  • 🦀 修复 css variable 名字匹配问题, 老版颜色可覆盖, 删除无用前缀
  • \n
  • 🦀 更新 caniuse-lite 数据库
  • \n
\n

9.12.3(2021-12-08)

\n
    \n
  • \n

    DatePicker

    \n
      \n
    • 🦀️ 交互优化,当 DatePicker 调用 TimePicker 选择具体时间时,禁用 DatePicker 的确认按钮
    • \n
    \n
  • \n
\n

9.12.2(2021-11-26)

\n
    \n
  • 🦀️ 修复 MiniPagination 页码输入框在一些场景下显示错误值的问题
  • \n
\n

9.12.1(2021-11-17)

\n
    \n
  • \n

    Form

    \n
      \n
    • 🦀️ FieldSetFieldArrayModel 支持 destroyOnUnmount 以及 normalizeBeforeSubmit 属性
    • \n
    • 🦀️ 修复在 FieldSet 上开启 destroyOnUnmount 并且其值或者校验状态从未被读取时的崩溃问题
    • \n
    \n
  • \n
  • \n

    CombinedDateRangePicker

    \n
      \n
    • 🦀️ onChange 仅在点击确定按钮时才触发
    • \n
    • 🦀️ 修复开始时间在选择完结束时间后丢失的问题
    • \n
    \n
  • \n
\n

9.12.0(2021-10-26)

\n
    \n
  • \n

    Form

    \n
      \n
    • FieldArrayModel 增加 filtersort 方法
    • \n
    • ✨ 新增 useObservableBatchedEagerState 用于合并 model 的变更事件,通常用不着,详见文档
    • \n
    • ✨ 使用 observable-hooks 替换 useValue$
    • \n
    \n
  • \n
  • \n

    Notice

    \n
      \n
    • 🦀️ 修复在部分场景(比如 useEffect 中)下使用 Notice.push crash 的问题
    • \n
    • 🦀️ Notice.push 的返回值类型以及 Notice.remove 的参数类型由 number 变更为 string
    • \n
    \n
  • \n
  • 🦀️ 更新 caret-down 以及 caret-up 图标,修复不居中的问题
  • \n
  • 🦀️ 更新 SplitButton 箭头样式
  • \n
  • 🦀️ 修复 RangeDatePickershowTimefalse 时,返回结束时间错误的问题
  • \n
  • 🦀️ 更新 caniuse-lite 数据库
  • \n
\n

9.11.0(2021-09-29)

\n
    \n
  • MenuCascader 多选模式下的 onChange 回调函数的 meta 参数中增加 simplify 函数,可以用来合并选中的选项
  • \n
  • \n

    I18n

    \n
      \n
    • ✨ 新增 useComponentI18nData Hook 用于函数式组件中使用 i18n 数据
    • \n
    • 🦀️ 重构 I18nReceiver 的类型定义,更好的类型推导
    • \n
    \n
  • \n
  • 🦀️ 修复 SortableonMove, onEnd 以及 onMove 初始化后变化不生效的问题
  • \n
  • 🦀️ Form Fieldrequired 参数默认的错误文案修改为 \'必填\'
  • \n
  • 🦀️ 修复 Input 上的 style 样式被内外层渲染两次的问题
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀️ 修复表头中全选框在特殊情况下选中状态不对的问题
    • \n
    • 🦀️ 修复有固定列但是 scroll.x 为非真值时候行高亮不完整的问题
    • \n
    \n
  • \n
  • 🦀️ 升级 caniuse-lite 数据库至最新版
  • \n
  • 📚 增加 DialogonOpenedonClosed 回调的文档说明
  • \n
  • 📚 清理文档中使用 Button 类型为 dangersuccess 的代码,不推荐使用这两种类型的按钮
  • \n
\n

9.10.1(2021-09-15)

\n
    \n
  • 🦀️ NumberInput 在输入过程中被强制重绘时,如果 props 没有变化保留当前 state 状态;已知的场景是将 NumberInput 用在表格中,表格高亮行变化时会触发
  • \n
\n

9.10.0(2021-09-14)

\n
    \n
  • WaypointtopOffsetbottomOffset 增加 auto 模式,简单场景下能够自动识别滚动容器边框宽度,具体说明看组件文档
  • \n
  • Cascader 多选模式搜索选中后输入焦点自动回到输入框中
  • \n
  • 🦀️ 阻止嵌套的 Form 表单事件(submit, reset, 回车)冒泡到上层表单
  • \n
  • 🦀️ InfiniteScroller 触发加载阈值默认改为 1px,针对页面缩放场景容错
  • \n
  • 🦀️ Grid 批量操作区域中 batchRender 返回 null 时隐藏全选框
  • \n
  • 🦀️ 调整 SelectCascader 下拉箭头图标
  • \n
  • 📚 更新 caniuse-lite 数据库
  • \n
  • 📚 修复 Pagination 示例文案问题
  • \n
  • 📚 修复 Form 文档中 validate 默认值的说明
  • \n
  • 📚 修复 ClampLines 代码中的拼写错误
  • \n
\n

9.9.3(2021-08-28)

\n
    \n
  • 🦀️ 使用 ts-patch 替代 ttypescript
  • \n
  • 🦀️ 修复 MiniPagination 更新 props.current 没有效果的问题
  • \n
  • 🦀️ 修复分页组件 lastPageHelp 参数失效的问题
  • \n
  • 📚 移除 gitee 文档镜像支持
  • \n
  • 📚 增加 Github Action 定时脚本检查 Form 文档中的 404 链接
  • \n
  • 📚 增加 NumberInput onInput 的文档
  • \n
\n

9.9.2(2021-08-16)

\n
    \n
  • ✨ 增加酒店图标
  • \n
  • \n

    Form

    \n
      \n
    • FormContext 新增 controlStyle 支持,用于批量设置表单项的样式
    • \n
    • ✨ 表单布局新增 direction 选项,用于控制表单项间的排列方式,支持行、列两种排列方式
    • \n
    • 🦀️ 修复 FieldArrayModel.splice 方法无法插入数据的问题
    • \n
    • 🦀️ FieldUtils.makeChangeHandler 重命名为 useChangeHandler,这个函数本身是个 Hook,所以重命名遵循 React 规范
    • \n
    • 🦀️ 优化 validator 运行时的错误描述
    • \n
    • 📚 修复因为升级 typedoc 导致的 API 文档链接失效
    • \n
    \n
  • \n
\n

9.9.1(2021-07-30)

\n
    \n
  • 🦀️ 修复 Icon 样式中 font-family 丢失版本标记
  • \n
  • 🦀️ 升级 caniuse-lite 数据库
  • \n
\n

9.9.0(2021-07-23)

\n
\n

如果遇到 sass 编译报错 math.div 函数 找不到,请升级 sass>=1.33.0

\n
\n
    \n
  • ✨ 语义化主题支持,同时新增 @zent/theme-sdk 用于主题配置的生成
  • \n
  • ✨ 组件新增日文(jaJP)翻译
  • \n
  • \n

    🦀️ Tree CSS 类名增加前缀

    \n
      \n
    • switcher => zent-tree-switcher
    • \n
    • content => zent-tree-content
    • \n
    • opt => zent-tree-operation
    • \n
    • operation => zent-tree-operation-container
    • \n
    • off => zent-tree-bar--off
    • \n
    \n
  • \n
  • \n

    🦀️ NumberInput

    \n
      \n
    • 修复在非受控模式下更新 props.value 会导致 state.value 变化的问题
    • \n
    • 修复文档中示例行为错误的问题
    • \n
    \n
  • \n
  • \n

    🦀️ Form

    \n
      \n
    • Form.useFieldArrayValue 重命名为 Form.useFieldArrayChildModels,旧字段被标记为废弃,但依旧可用
    • \n
    • 修复 Form 文档中示例丢失的问题
    • \n
    \n
  • \n
  • 🦀️ 由于在 SSR 环境下 useLayoutEffect 会不停的输出警告信息,已禁用 useLayoutEffect,可以使用 utils/hooks/useIsomorphicLayoutEffect 替代
  • \n
  • 📚 Dialog 文档中增加使用 openDialog 返回值关闭对话框的示例
  • \n
  • NPM 包中移除 postcss-plugin-constants 插件
  • \n
  • 升级 caniuse-lite 数据库
  • \n
  • 使用 stylelint 替换 sass-lint
  • \n
\n

9.8.0(2021-07-15)

\n
    \n
  • ✨ 重画所有图标,同时增加了一些新图标。由于新、旧图标大小可能有细微差别,个别场景下样式可能会有些许偏移
  • \n
  • 🦀️ 修复 Grid 切换 selection 时视图和数据不同步的问题
  • \n
  • 🦀️ 修复 Select 组件挂载时通过 display: none 隐藏,之后再渲染出来的时候弹层宽度错误的问题
  • \n
  • 🦀️ 清理并重写仓库 eslint 规则
  • \n
  • 📚 文档网站骨架迁移到 TypeScript
  • \n
\n

9.7.3(2021-07-02)

\n
    \n
  • 🦀️ Upload 文件对象上公开 fileid 属性,之前的 _file_id 仍保留,如果有使用 _ 开头的属性请尽快替换
  • \n
  • 🦀️ 修复 bootstrap 脚本参数问题
  • \n
  • 📚 Form 文档中 useMAppend 替换成 useMulti
  • \n
  • \n

    依赖升级

    \n
      \n
    • TypeScript 4.1 升级到 4.3
    • \n
    • rxjs v6 升级到 v7
    • \n
    • sortablejs 1.12.0 升级到 1.13.0
    • \n
    • webpack v4 升级到 v5,开发模式编译性能有较大提升
    • \n
    • jest v24 升级到 v27
    • \n
    • postcss v6 升级到 v8
    • \n
    • 升级其他所有依赖到最新版
    • \n
    \n
  • \n
  • 📚 使用 react-refresh-webpack-plugin 替换 @hot-loader/react-dom
  • \n
\n

9.7.2(2021-06-25)

\n
    \n
  • 🦀️ 修复 Tag 组件无法作为 Pop 的 trigger 使用的问题
  • \n
  • 🦀️ 修复 DatePicker 组件中当前时间按钮的禁用逻辑
  • \n
  • 🦀️ 更新 caniuse-lite 数据库
  • \n
  • 📚 修复 DataPicker 英文文档中示例丢失的问题
  • \n
\n

9.7.1(2021-06-17)

\n
    \n
  • \n

    Form

    \n
      \n
    • 🦀️ 之前版本 Model 被销毁后仍能被操作,导致一些比较奇怪的视图/数据不一致的问题,因此增加了 Model 销毁后继续被使用的检查,更及时的暴露问题
    • \n
    • 🦀️ 修复性能警告文案错误问题
    • \n
    • 📚 文档增加 Model 常用 API 描述
    • \n
    • 📚 修改 destroyOnUnmount 的文档,减少歧义
    • \n
    \n
  • \n
  • 📚 Pop 文档增加长文本的 FAQ
  • \n
\n

9.7.0(2021-06-04)

\n

这个版本都是 Form 相关改动。

\n

✨ 放宽绝大部分 Hooks 对 FormContext 的依赖。

\n
    \n
  • 允许 FieldFieldArray 相关 hooks 传入 Model 类型参数时在 FormContext 之外使用;FieldSet 相关 hooks 依旧必须在 FormContext 之中使用
  • \n
  • Hooks 在 Model 模式下允许使用 name 来引用 model 对象,不再限制仅在 View 模式允许使用 name
  • \n
  • 废弃临时解决方案 useModelValueuseModelValid,直接使用 useFieldValueuseFieldValid 即可
  • \n
\n

Model 模式下支持动态增/删表单项,设计文档

\n
    \n
  • 所有 model 对象上都增加了 builder 属性来获取生成这个 model 的 Builder 对象,View 模式下该字段永远为空
  • \n
  • FieldSetModelFormModel 上导出两个新方法 removeChild 以及 registerChild 用于删除/添加子 model
  • \n
  • 重载 FieldArrayModel 上的 push, unshift 以及 splice 方法接受 model 类型的参数,之前仅支持传 model 的值
  • \n
  • 新增 useNamedChildModel hook,用于订阅 FieldSetModel 以及 FormModel 子 model 的增加/删除行为
  • \n
  • 增加 Model 模式下动态增/删表单项的文档和示例
  • \n
\n

9.6.0(2021-05-28)

\n
    \n
  • InfiniteScroller 增加 threshold 参数,用以控制触发 loadMore 时距离列表底部的距离
  • \n
  • Menu inline 模式支持受控的菜单展开和选中
  • \n
  • Checkbox 支持 style 内联样式
  • \n
  • 🦀️ 修复 Selectwidth 为非数字并且没有设置 popupWidth 时,弹层和输入框宽度不一致的问题
  • \n
  • 📚 更新 Collapse 的类型定义和文档描述
  • \n
\n

9.5.0(2021-05-07)

\n
    \n
  • Affix 支持相对非 window 节点定位
  • \n
  • InfiniteScroller 支持 ref
  • \n
  • \n

    Form

    \n
      \n
    • willScrollToError 支持自定义滚动的节点
    • \n
    • 🦀️ ArrayBuilder 类型中移除 null
    • \n
    • 🦀️ 调整订阅容器值/校验状态时的警告逻辑,内部代码不再触发警告
    • \n
    \n
  • \n
  • 🦀️ 修复 Popover trigger 中对 Fragment 的错误处理
  • \n
  • 🦀️ 修复 ButtonDirective 中对 Fragment 的错误处理
  • \n
  • 🦀️ 修复某些浏览器(Safari)里 IMEComposition 内输入框不触发 onChange 事件
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀️ 修复并统一单选/多选/展开列的样式
    • \n
    • 🦀️ 列配置中的 nowrap 重命名为 noWrap,老字段仍然兼容
    • \n
    • 📚 更新文档中对于 Table 的描述
    • \n
    \n
  • \n
  • 📚 更新 Form 的文档,补充了基础 API 的信息
  • \n
\n

9.4.2(2021-03-26)

\n
    \n
  • 🦀️ Badge 类型定义中 children 属性改为可选
  • \n
  • 🦀️ 更新 @wojtekmaj/enzyme-adapter-react-17 到最新版
  • \n
  • \n

    Upload

    \n
      \n
    • 🦀️ 修复 getUploadSuccessOverrideProps 不生效的问题
    • \n
    • 🦀️ 修复一些文档和代码中的拼写错误
    • \n
    \n
  • \n
  • \n

    Form

    \n
      \n
    • 🦀️ FormInputField, FormImageUploadField 以及 FormUploadField 增加往 props.props 上设置默认值的警告
    • \n
    • 📚 修复 Model 模式示例中数组下标作为 key 的问题
    • \n
    • 📚 调整了文档结构,增加了一些概述性说明,方便理解表单的工作原理
    • \n
    \n
  • \n
  • 📚 修复 Select 虚拟滚动示例特殊情况下崩溃的问题
  • \n
  • \n

    文档

    \n
      \n
    • 📚 Github Actions 中增加同步 Gitee Pages 的能力
    • \n
    • 📚 Github Actions 中发版完成后增加企业微信通知
    • \n
    • 📚 更新 logo 以及设计语言网站链接
    • \n
    \n
  • \n
\n

9.4.1(2021-03-11)

\n
    \n
  • ✨ 导出 Form 中的 useFormChild,并添加了文档
  • \n
  • 🦀️ 修复 Cascader 设置 options 后选中状态不同步的问题
  • \n
  • 📚 不同版本的文档链接使用相对路径,方便部署到其他平台
  • \n
  • 📚 升级文档代码高亮包 prismjs,修复安全问题
  • \n
  • 📚 v9 的升级指南中将 Dialog 的视觉交互改动列入不兼容改动
  • \n
\n

9.4.0(2021-02-26)

\n
    \n
  • Popover / Pop / Tooltip hover 模式兼容 disabledinputbutton,目前仅支持 zent 内置组件,三方组件需要自行处理兼容问题,具体请参考文档
  • \n
  • \n

    Select

    \n
      \n
    • onKeywordChange 增加 meta 参数标识回调函数触发的原因
    • \n
    • 🦀️ 修复搜索框使用输入法时触发 onChange 的时机问题
    • \n
    \n
  • \n
\n

9.3.0(2021-01-28)

\n
    \n
  • MenuCascader 多选模式支持通过 simplifySelection 参数控制是否合并展示子节点全选的选项
  • \n
  • \n

    Form

    \n
      \n
    • ✨ Model 上新增 clearError 函数,用于手动清除错误状态
    • \n
    • ✨ 增加 useModelValueuseModelValid 两个不依赖 FormContext 的 Hooks
    • \n
    \n
  • \n
  • 📚 9.0 的 changelog 中补充遗漏的 Table 迁移描述
  • \n
\n

9.2.0(2021-01-21)

\n
    \n
  • Grid 支持单选
  • \n
  • \n

    DatePicker

    \n
      \n
    • 🦀️ 修复年份、月份的禁用逻辑
    • \n
    • 🦀️ 优化 CombinedDatePicker 交互
    • \n
    • 🦀️ DateRangePicker 支持数组形式的 disabledcanClear
    • \n
    \n
  • \n
  • 🦀️ 修复 DateRangeQuickPicker minmax 不生效的问题
  • \n
  • 🦀️ 修复 Select, Switch 以及 CheckboxGroup defaultProps 引起的类型问题
  • \n
  • 🦀️ 修复 Form 渲染时 willScrollToError 的警告信息
  • \n
  • 🦀️ 更新 Select 以及 Cascader 下拉箭头样式
  • \n
\n

9.1.2(2021-01-11)

\n
    \n
  • 🦀️ 修复 Grid 多选框串数据的问题
  • \n
  • 🦀️ 修复 Tree expandAll 变更不生效的问题
  • \n
  • 🦀️ 修复 Form 文档中 FormInputField 代码问题
  • \n
\n

9.1.1(2021-01-05)

\n
    \n
  • ✨ 新增一个图标
  • \n
  • \n

    Form

    \n
      \n
    • ✨ 滚动到第一个错误处功能支持通过 willScrollToError 自定义偏移量
    • \n
    • 🦀️ 调整表单域垂直间距为 24px
    • \n
    \n
  • \n
\n

9.1.0(2020-12-21)

\n
    \n
  • 💥 修复 Select 范型参数的问题,原来一个范型参数改为两个范型参数,Select<ISelecItem<number>> => Select<number>
  • \n
  • ✨ 新增单文件上传组件
  • \n
  • NumberInput 支持自定义步进
  • \n
  • 🦀️ 修复 Button 禁用时边框的样式问题
  • \n
\n

9.0.2(2020-12-18)

\n
    \n
  • Swiper 支持自定义上一个/下一个按钮
  • \n
\n

9.0.1(2020-12-18)

\n
    \n
  • \n

    Select

    \n
      \n
    • ✨ 支持受控模式下回填选中的值
    • \n
    • ✨ 支持自定义渲染输入框中已选择的选项列表,仅在多选模式可用
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • batchRender 添加位置参数
    • \n
    • 🦀️ 修复表头分组场景下浮动列表头高度问题
    • \n
    \n
  • \n
  • 🦀️ DateRangeQuickPicker 修改今日结束时间为当前时间
  • \n
\n

9.0.0(2020-12-14)

\n

详见 9.x 升级指南

\n

8.6.3(2021-03-19)

\n
    \n
  • 🦀️ 修复 UploadonUpload 返回值没有生效的问题
  • \n
\n

8.6.2(2021-01-11)

\n
    \n
  • 🦀️ 修复 Tree expandAll 不受控的问题
  • \n
\n

8.6.1(2020-12-18)

\n
    \n
  • \n

    Grid

    \n
      \n
    • 🦀️ 修复浮动列在表头分组场景下高度问题
    • \n
    • 🦀️ batchRender 增加渲染位置可选参数
    • \n
    \n
  • \n
\n

8.6.0(2020-12-15)

\n
    \n
  • ✨ 主题色支持透明度,主题色定义兼容老版本,但老版本无法使用透明度
  • \n
  • 🦀️ 调整 Radio 的右边距为 24px
  • \n
\n

8.5.12(2020-11-05)

\n
    \n
  • 🦀️ 修复 Upload 上传文件时顺序变化的问题
  • \n
  • 🦀️ 修复 Grid 自定义行组件的类型
  • \n
\n

8.5.11(2020-10-28)

\n
    \n
  • 🦀️ 修复 Form 的类型定义问题
  • \n
  • 🦀️ WindowEventHandler 兼容 SSR 场景
  • \n
  • 🦀️ Input 不可编辑状态下隐藏清除按钮
  • \n
\n

8.5.10(2020-10-22)

\n
    \n
  • 修复 Sortable 无法将元素移动到第一个的问题
  • \n
\n

8.5.9(2020-10-12)

\n
    \n
  • \n

    Form

    \n
      \n
    • 🦀️ 修复 FormModel.prototype.owner 不能赋值的问题
    • \n
    • 🦀️ 优化了 value-listener 中异步订阅的逻辑
    • \n
    • 🦀️ 类型定义优化
    • \n
    \n
  • \n
  • 🦀️ 修复 Button 部分场景下 disabled 处理逻辑不对的问题
  • \n
  • 🦀️ 修复 Portal 在 SSR 场景下的报错
  • \n
  • 🦀️ 修复 ClampLines 在文本为空时可能出现的渲染问题
  • \n
\n

8.5.8(2020-09-11)

\n
    \n
  • 🦀️ 调整 Button 之间的间距
  • \n
  • \n

    Form

    \n
      \n
    • Field 组件支持初始值 initialValue,并增加 reset 事件用于触发表单重置
    • \n
    • 🦀️ 修复 state 变更导致 ZentForm 不必要的重新创建
    • \n
    \n
  • \n
  • \n

    Input

    \n
      \n
    • ✨ 增加 onIconClick 回调
    • \n
    • TextareaInput 新增 maxCharacterCount 属性支持文本超长及错误提示
    • \n
    \n
  • \n
\n

8.5.7(2020-08-28)

\n
    \n
  • 🦀️ 修复 Progress 组件 circle 类型的 normalColorsuccessColorexceptionColorstrokeWidth 不生效问题
  • \n
\n

8.5.6(2020-08-21)

\n
    \n
  • 🦀️ 修复 Slider 值超出范围的问题
  • \n
  • 🦀️ 调整 Checkbox 之间的间距
  • \n
  • \n

    Form

    \n
      \n
    • 🦀️ 导出 IMaybeErrorValidatorContext
    • \n
    • 🦀️ 优化 FormSelectField 的类型定义
    • \n
    \n
  • \n
\n

8.5.5(2020-08-14)

\n
    \n
  • Loading 组件支持 colorPreset 参数
  • \n
  • ColorPicker 支持 disabled 参数禁用,并兼容 Disabled 组件
  • \n
  • 🦀️ 修复 Table 组件 renderBody 参数的类型定义
  • \n
  • 🦀️ 修复 Form 组件 scrollToError 定位错误的问题
  • \n
  • 🦀️ 删除无用的 formulr 依赖
  • \n
  • 🦀️ 更新两个图标 calendar-ogift
  • \n
  • 📚 更新文档高亮依赖的 prismjs 版本至 1.21.0
  • \n
\n

8.5.4(2020-08-04)

\n
    \n
  • 🦀️ 修复上个版本 TypeScripttslib 不匹配的问题
  • \n
  • 🦀️ 修复 Checkbox 禁用时的文字颜色
  • \n
  • 📚 增加一个 Form 自定义表单项的示例
  • \n
\n

8.5.3(2020-07-22)

\n
    \n
  • ✨ 添加新图标 thumbnail
  • \n
  • \n

    Form

    \n
      \n
    • formulr 合入仓库内,不再单独发包
    • \n
    • ✨ 增加 FormContext 支持自定义 labelStyle
    • \n
    • 🦀️ 确保 FieldArray 的 child 上一定存在 id 属性,可以避免使用数组下标作为 key
    • \n
    • 🦀️ 修复一个 React 的 warning
    • \n
    \n
  • \n
  • 🦀️ 修复 Grid batchComponents 为空数组是的渲染问题
  • \n
  • 🦀️ 修复编译自定义主题时的代码校验逻辑
  • \n
  • 🦀️ ClampLines 允许超长非 CJK 字符串词内折行
  • \n
  • 📚 文档导航增加 babel-plugin-zent 的链接
  • \n
  • 📚 修复文档的一些样式问题
  • \n
\n

8.5.2(2020-06-23)

\n
    \n
  • \n

    Form

    \n
      \n
    • 🦀️ 修复一些逻辑问题
    • \n
    • 🦀️ FormSelectField 支持 onDelete 逻辑处理,兼容 tags 模式
    • \n
    • 🦀️ 导出 validator 相关的类型
    • \n
    \n
  • \n
  • 🦀️ 修复 Swiper 组件在一些场景下跳动的问题
  • \n
  • 🦀️ 修复 ScrollAlert children 识别问题
  • \n
\n

8.5.1(2020-06-10)

\n
    \n
  • Tooltip 支持 display 属性透传到 Popover 组件
  • \n
  • ✨ 新增 drag 图标
  • \n
  • 🦀️ 更新 Dialog 的 TypeScript 类型定义
  • \n
  • 🦀️ 修复 NumberInput 的类型定义
  • \n
  • 🦀️ 修复 Form React 16.13 之后版本的 warning
  • \n
  • 📚 补充了 Form ValidateOption 相关的文档
  • \n
\n

8.5.0(2020-05-07)

\n
    \n
  • ✨ 新增 4 个图标:folder-o, open-folder-o, refresh, save-o
  • \n
  • Upload 删除默认辅助文案,不提供 tips 属性时不展示辅助文案
  • \n
  • \n

    Alert

    \n
      \n
    • ✨ 增加 hint 样式类型
    • \n
    • ✨ 增加 ScrollAlert,支持轮播的通知
    • \n
    \n
  • \n
  • \n

    Form

    \n
      \n
    • Fieldvalidate 会向上冒泡到上层的 FieldArray 或者 FieldSet
    • \n
    • ✨ 新增 ValidatorMiddlewares,用于动态修改 validator 的行为
    • \n
    • FormSelectField 支持透传 children
    • \n
    • 🦀️ 修复 Form submit 后 use after unmount 的问题
    • \n
    • 🦀️ 修复 SelectOptionFormInputField 的类型定义
    • \n
    \n
  • \n
  • 🦀️ 修复 Grid scroll.x 变化时固定列阴影展示问题
  • \n
  • 🦀️ 修复 Collapse 的类型定义
  • \n
  • 🦀️ 修复 Pagination 跳转页码按回车没反应的问题
  • \n
\n

8.4.0-1(2020-11-17)

\n
    \n
  • 🦀️ 修复部分组件主题色不支持 CSS Variable 配置的问题
  • \n
\n

8.4.0(2020-03-16)

\n
    \n
  • Upload 支持自定义上传项 UI
  • \n
  • Tabs 按钮样式优化
  • \n
  • 🦀️ 修复 Windows 系统开发兼容性问题
  • \n
  • 🦀️ DatePicker 不修改传入的 Date 类型参数
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀️ 修复窗口尺寸变化时固定列的阴影没有同步更新的问题
    • \n
    • 🦀️ 修复禁用行 hover 高亮时的背景色问题
    • \n
    • 🦀️ 修复 getCheckboxProps 类型定义
    • \n
    \n
  • \n
  • \n

    Form

    \n
      \n
    • 🦀️ 导出 BasicForm
    • \n
    • 🦀️ 修复 required 参数类型处理不正确的问题
    • \n
    \n
  • \n
\n

8.3.0(2020-02-26)

\n
    \n
  • \n

    Grid

    \n
      \n
    • ✨ 增加禁用行高亮的参数 disableHoverHighlight
    • \n
    • 🦀️ 修复跨页反选后数据错误的问题
    • \n
    \n
  • \n
  • 🦀️ 修复了部分文档样式问题
  • \n
  • \n

    Form

    \n
      \n
    • 🦀️ 更新样式
    • \n
    • 🦀️ 修复 FieldSet 类型定义
    • \n
    • 🦀️ 导出 ValidateOption
    • \n
    \n
  • \n
  • 📚 升级了文档网站的依赖
  • \n
\n

8.2.0(2020-02-18)

\n
    \n
  • BlockHeader 增加一种极简样式
  • \n
  • Grid 表头吸顶支持自定义顶部偏移量
  • \n
  • 🦀️ 修复兼容百分比超出范围时 Progress 样式错误的问题
  • \n
  • \n

    Form

    \n
      \n
    • 🦀️ 更新错误样式
    • \n
    • 🦀️ 修复 TypeScript 类型定义问题
    • \n
    \n
  • \n
\n

8.1.0(2020-02-10)

\n
    \n
  • \n

    Grid

    \n
      \n
    • ✨ 表头支持吸顶
    • \n
    • ✨ 行复选框禁用时支持设置提示文案展示原因
    • \n
    \n
  • \n
  • \n

    Form

    \n
      \n
    • ✨ 增加表单值联动的示例
    • \n
    • ✨ 使用 model 模式时 Field 组件支持 validators 参数,主要应用场景是用在 FieldArray
    • \n
    • 🦀️ 修复 FormNumberInputField 数据和视图不一致的问题
    • \n
    • 🦀️ 调整了非输入框的 Field 行高,视觉上更紧凑
    • \n
    \n
  • \n
  • 🦀️ 优化了 ColorPicker 的拖拽性能,视觉上更加平滑,不卡顿
  • \n
  • 🦀️ 修复 Select 组件首次渲染时选中元素为空的问题
  • \n
  • \n

    Upload

    \n
      \n
    • 🦀️ 修改上传组件的文件数量计算规则,将上传失败的文件也统计到上传文件数量中
    • \n
    • 🦀️ 修改 FILE_UPLOAD_STATUS 常量的导出方式为组件上的静态属性
    • \n
    \n
  • \n
\n

8.0.1(2020-01-19)

\n
    \n
  • \n

    Upload

    \n
      \n
    • 🦀️ 新版使用和老版本不一样的类名
    • \n
    • 🦀️ 修复一个删除上传项时页数计算错误的问题
    • \n
    \n
  • \n
\n

8.0.0(2020-01-17)

\n
    \n
  • 🎉 增加 Waypoint 组件,这个组件抽象了元素移入/移除屏幕的逻辑
  • \n
  • 🎉 增加 Dropdown 组件,只是对 Popover 组件的一层简单封装
  • \n
  • 🎉 [breaking change] 重写 Upload 组件,不兼容老版本;老版本请使用 @zent/compat
  • \n
  • \n

    Affix

    \n
      \n
    • [breaking change] ✨ offsetTop 不再有默认值 0,必须自己传
    • \n
    • ✨ 使用 Waypoint 重写
    • \n
    • ✨ 支持同时设置 offsetTopoffsetBottom
    • \n
    \n
  • \n
  • \n

    InfiniteScroller

    \n
      \n
    • ✨ 使用 Waypoint 重写
    • \n
    • [breaking change] ✨ 删除无用的 offsetuseCaptureprefix 属性
    • \n
    • [breaking change] ✨ 重命名 initialLoadskipLoadOnMount,意义相反,默认值行为没变
    • \n
    • [breaking change] ✨ hasMore 默认值修改为 false
    • \n
    • [breaking change] ✨ useWindow 默认值修改为 false
    • \n
    \n
  • \n
  • \n

    Cascader

    \n
      \n
    • ✨ 支持 disabled 属性
    • \n
    • ✨ 删除 prefix 支持
    • \n
    • 🦀️ onChange 现在传入的是原始的 option 元素
    • \n
    • 🦀️ 更新 placeholder 文字颜色
    • \n
    • 🦀️ [breaking change] 所有 CSS 类名增加前缀,例如 .open 这种
    • \n
    \n
  • \n
  • \n

    Select

    \n
      \n
    • ✨ 删除 prefix 支持
    • \n
    • 🦀️ 更新组件的箭头图标,和其他组件保持一致
    • \n
    • 🦀️ [breaking change] 所有 CSS 类名增加前缀,例如 .tags__empty 这种都被替换掉了
    • \n
    \n
  • \n
  • ✨ 优化了全局事件处理
  • \n
  • \n

    Icon

    \n
      \n
    • ✨ 增加两个新图标 filter-oscan-code-o
    • \n
    • ✨ 重命名 text-guidetext-guide-o
    • \n
    • ✨ 重命名 video-guidevideo-guide-o
    • \n
    \n
  • \n
  • QuickDateRangePicker 支持默认选中一个 preset
  • \n
  • eslint 替换 tslint
  • \n
  • 🦀️ 更新 Dialog 关闭按钮样式
  • \n
  • \n

    Form

    \n
      \n
    • ✨ 增加 useFieldValue hook
    • \n
    • Form 上增加 getSubmitValue 方法
    • \n
    • 🦀️ 更新错误样式
    • \n
    • 🦀️ 更新类型定义
    • \n
    • 🦀️ 导出 FormDescription 组件
    • \n
    • 🦀️ FormSelectField 透传 withoutLabel 属性
    • \n
    • 🦀️ layout 改为可选参数
    • \n
    \n
  • \n
  • 🦀️ 修复 CopyButton 的类型定义
  • \n
  • 🦀️ 修复 Pagination 的字体样式
  • \n
  • 🦀️ 修复 Rate 组件小数值时的图标显示问题
  • \n
  • 🦀️ 修复部分组件 babel-plugin-zent 处理不正确的问题
  • \n
\n

7.4.5(2021-03-11)

\n
    \n
  • 🦀️ 回迁 PR#1406,修复 Swiper 的快速切换的逻辑问题
  • \n
\n

7.4.4(2020-05-11)

\n
    \n
  • 🦀️ 修复一个 NumberInput 输入状态不对的问题
  • \n
\n

7.4.3(2019-12-19)

\n
    \n
  • 🦀️ 修复 FormSelectFielddestroyOnUnmount 没有生效的问题
  • \n
  • 🦀️ 优化 Form 的类型定义
  • \n
  • 🦀️ FormNumberInputField(integer) 以及 FormSelectField(tags, data) 的所有属性都归入 props 下,跟其他组件统一
  • \n
  • 🦀️ 更新表单报错的样式
  • \n
\n

7.4.2(2019-12-13)

\n
    \n
  • 🦀️ 修复 Grid 一个样式问题
  • \n
  • 🦀️ 修复 DateRangeQuickPicker 的类型问题
  • \n
\n

7.4.1(2019-12-13)

\n
    \n
  • ✨ 新增 3 个新图标:doc, video, audio
  • \n
  • ✨ 使用一个内置的精简版替换 tinycolor2
  • \n
  • 🦀️ 修复 Layout 组件不兼容 SSR 的问题
  • \n
  • 🦀️ Grid 的 column name 支持 a.b.c 这种写法,不推荐使用,仅为和老版本兼容
  • \n
  • 🦀️ 修复 Sortable 组件重复初始化的问题以及类型定义
  • \n
  • 🦀️ 修复 TextMark 的类型定义
  • \n
  • 🦀️ 增大时间选择组件的图标大小
  • \n
  • 🦀️ 调整 BlockHeadertitle 类型为 ReactNode
  • \n
  • 🦀️ 清理了 createAlias 相关的无用代码
  • \n
\n

7.4.0(2019-12-06)

\n
    \n
  • ✨ 新增 Tooltip 组件,用于展示提示信息
  • \n
  • ✨ 删除 lodash-es 依赖,改用内置函数以及语言特性,同时明确了必须的 polyfill
  • \n
  • 🦀️ [breaking change] 所有时间选择组件的 isFooterVisble 参数重命名为 isFooterVisible,这是个存在很久的拼写错误;如有使用地方,全局替换即可,不发大版本了。
  • \n
  • 🦀️ 修复 Select 选项过滤之后按回车选择没有用的问题
  • \n
  • 🦀️ 修复 Upload 组件在上传中删除某一项时报错的问题
  • \n
  • 🦀️ Upload 组件拖动排序之后不再重置每个图片的唯一 ID
  • \n
\n

7.3.2(2019-11-29)

\n
    \n
  • Link 组件独立目录,同时兼容 Disabled 组件
  • \n
\n

7.3.1(2019-11-27)

\n
    \n
  • ✨ 新增 Link 组件替换 zent-link CSS 的使用场景
  • \n
  • RadioCheckbox 新增 labelStyle
  • \n
  • 🦀️ 修复 ButtonDirective 样式问题
  • \n
  • 🦀️ 修复打包编译时读取到的包版本和发布的版本不一致的问题
  • \n
  • 🦀️ 回滚 Radio 文字标签的 displayinline
  • \n
  • 🦀️ 修复 RadioGroup 内非 Radio 组件不可见的问题
  • \n
  • 🦀️ 修复 CheckboxGroup 内非 Checkbox 组件不可见的问题
  • \n
\n

7.3.0(2019-11-25)

\n
    \n
  • 🎉 隔离不同版本 zent 的样式,避免页面上存在两份 zent 时的样式污染。
  • \n
  • 🎉 增加了一批编译期常量,可在 TypeScript 或者 SCSS 文件内使用,类似 C 语言的 __FILE__ 这种变量
  • \n
  • 🦀️ 更新 BlockHeader 内部图标颜色
  • \n
  • 🦀️ 修复 Grid 批量操作导致滚动展示异常的问题
  • \n
  • 🦀️ 修复 FormRadioGroupField defaultValue 的判空问题
  • \n
\n

样式隔离可能的不兼容影响

\n
    \n
  • 如果有代码直接使用了 zent 的 CSS 样式,但是没有使用 zent 的组件,这个版本之后这些使用方式都会失效。
  • \n
  • 部分自定义样式如果优先级和组件库内的是一样的,但是依赖样式出现的顺序来实现覆盖的,在这个版本之后可能会遇到自定义样式失效的问题;解决方案是增加一个自定义类名,提高自定义样式的优先级。
  • \n
\n

已知受影响的使用场景

\n
    \n
  • 直接使用 Icon CSS 样式的请使用 Icon 组件
  • \n
  • 直接使用 Breadcrumb CSS 样式的请使用 Breadcrumb 组件
  • \n
  • 使用 zent-link CSS 样式的请使用 Link 组件,这个组件就是一个 a 标签,封装了样式
  • \n
\n

7.2.0(2019-11-18)

\n
    \n
  • 🎉 新增 IMEComposition 组件,同时对有用到 input 的组件内部做了兼容处理
  • \n
  • Grid 添加批量操作支持
  • \n
  • Pagination 增加到达最后一页时的提示支持
  • \n
  • ✨ 升级 date-fns 到 2.x 版本
  • \n
  • ✨ Fork fecha,用 TypeScript 重写;官方的包类型定义问题反反复复出现,不跟他们玩了
  • \n
  • 📚 扩充了 Form 的上手文档
  • \n
  • 🦀️ 增大 BlockHeader 的图标
  • \n
  • 🦀️ 修复 Radio 以及 Checkbox 的高度问题,现在不会有多余的垂直方向空白了
  • \n
  • 🦀️ 修复了 useFieldArrayValue 数据丢失的问题
  • \n
  • 🦀️ 优化 Form 默认的错误渲染函数处理 undefined 的逻辑
  • \n
  • 🦀️ 修复 FormSelectField, Form 以及 FieldSet 的类型定义问题
  • \n
  • 🦀️ 修复 Switch, CopyButton 以及 DatePicker 的类型定义问题
  • \n
\n

7.1.0(2019-11-08)

\n
    \n
  • Select 增加 retainNullOption 参数允许选中值为 null 的选项
  • \n
  • ✨ 新增 Notify.info
  • \n
  • 📚 全新的图标列表
  • \n
  • 🦀️ 修复 Progress 在 Safari 下页面缩放时的样式错位问题
  • \n
  • 🦀️ 修复 FormCascader 的类型定义
  • \n
  • 🦀️ 更新 PaginationQuarterPickeri18n 的使用方法
  • \n
\n

7.0.1 (2019-11-01)

\n
    \n
  • 🦀️ Form 增加 default export
  • \n
\n

7.0.0 (2019-11-01)

\n

改动较多,参考这个文档

\n

6.6.2 (2019-02-26)

\n
    \n
  • \n

    Form

    \n
      \n
    • 🦀️ 修复异步检验通过还是报错的问题
    • \n
    • 🦀️ 更新 createForm 的 TypeScript 定义
    • \n
    \n
  • \n
  • 🦀️ 增加 Affix 以及 Avatar DOM 节点不存在时的异常校验
  • \n
\n

6.6.1 (2019-01-30)

\n
    \n
  • 🦀️ 修复 Grid 表头滚动时内容不跟着滚动的问题
  • \n
\n

6.6.0 (2019-01-29)

\n
    \n
  • Grid 支持表头分组
  • \n
  • 🦀️ 修复了 Table, Grid, WindowResizeHandlerundefined 报错问题
  • \n
\n

6.5.3 (2019-01-13)

\n
    \n
  • Pop 支持函数形式的 position 参数,参考 Popover.Position.create
  • \n
  • \n

    Form

    \n
      \n
    • 📚 增加了自定义校验函数的文档
    • \n
    • 🦀️ 修复了使用 Fragment 时滚动报错的问题
    • \n
    \n
  • \n
  • 🦀️ 修复 ClampLines 组件修改 text 后不更新的问题
  • \n
  • 🦀️ 修复了几个组件中 unmount 之后部分代码报错的问题,包括 Table, Select, Grid, ClampLines
  • \n
\n

6.5.2 (2018-12-12)

\n
    \n
  • ⚠️ 回滚了之前 6.4.0 版本引入的一个 FormSelectFieldtags 模式下的不兼容改动,不影响 Select 组件本身,且这个问题只在使用了 FormSelectFieldtags 模式才会出现。
  • \n
\n

6.5.1 (2018-12-07)

\n

⚠️ 6.4.0 版本引入了一个 FormSelectFieldtags 模式下的不兼容改动,6.5.2 已经回滚这个改动。

\n
    \n
  • ✨ 增加维权图标
  • \n
  • \n

    Table

    \n
      \n
    • ✨ 支持在行内渲染半选中状态的复选框
    • \n
    • 🦀️ 修复右对齐无效的问题
    • \n
    \n
  • \n
  • 🦀️ 修复 Form 对组件类型的检查
  • \n
  • 🦀️ 修复了一些 TypeScript 的类型定义问题
  • \n
\n

6.5.0 (2018-10-29)

\n

⚠️ 6.4.0 版本引入了一个 FormSelectFieldtags 模式下的不兼容改动,6.5.2 已经回滚这个改动。

\n

⚠️ Form 的改动可能会导致之前写的有问题代码暴露出问题来,如果遇到这个问题请在 onSubmitFail 里处理这些异常。

\n
    \n
  • ✨ 增加一批新的图标
  • \n
  • 🦀️ Form 提交时不会再静默吞掉未处理的异常
  • \n
  • 🦀️ 用 lodash/assign 替换了代码中对 Object.assign 的依赖
  • \n
  • 🦀️ 修复 SKU 组件中弹窗的层级问题
  • \n
  • 🦀️ 修复 Grid 组件的 TypeScript 定义
  • \n
\n

6.4.1 (2018-10-16)

\n

⚠️ 6.4.0 版本引入了一个 FormSelectFieldtags 模式下的不兼容改动,6.5.2 已经回滚这个改动。

\n
    \n
  • Tabs 通过 navExtraContent 增加导航栏自定义额外内容的能力
  • \n
\n

6.4.0 (2018-09-26)

\n

⚠️ 这个版本引入了一个 FormSelectFieldtags 模式下的不兼容改动,6.5.2 已经回滚这个改动。

\n
    \n
  • FormSelectField 支持 tags 模式 (已回滚)
  • \n
  • 🦀️ 修复 Select 组件 placeholder 颜色不对的问题
  • \n
  • 🦀️ 修复 Upload 上传多个音频时的样式问题
  • \n
\n

6.3.0 (2018-09-07)

\n
    \n
  • TimePicker 组件增加 disabledTime 时间禁用函数属性
  • \n
  • Loading 支持延迟显示
  • \n
  • ✨ 打包支持 ES module 输出形式
  • \n
  • babel-plugin-zent@1.2.1 支持只处理样式引入,配合 ES module 实现 tree shaking(需要打包工具支持)
  • \n
  • \n

    InfiniteScroller

    \n
      \n
    • 🦀️ 修复反复触发 loadMore 回调的问题
    • \n
    • 🦀️ 修复文档问题
    • \n
    \n
  • \n
\n

6.2.0 (2018-08-24)

\n
    \n
  • 🎉 新增多文本缩略显示 ClampLines 组件
  • \n
  • Grid 支持拖拽操作
  • \n
  • Menu 添加子菜单折叠/展开以及点击的回调函数
  • \n
  • 🦀️ DatePicker 关闭浏览器自动填充输入框的行为
  • \n
  • 🦀️ 修复 Form 初始化 FieldArray 时的问题
  • \n
\n

6.1.0 (2018-08-03)

\n
    \n
  • \n

    Grid

    \n
      \n
    • ✨ 支持给每一列设置一个默认的展示文案
    • \n
    • 🦀️ 修复 selection.getCheckboxProps 没有实时更新的问题
    • \n
    \n
  • \n
  • ✨ 新增几个 Icon
  • \n
  • Cascader 支持通过 expandTrigger 设置子菜单的触发方式
  • \n
  • Pop 增加 containerSelector 支持
  • \n
  • \n

    Button

    \n
      \n
    • ✨ 样式更新
    • \n
    • ✨ 当按钮文案为两个中文字符时,会在两个字符中间插入一个空格
    • \n
    \n
  • \n
  • 🦀️ 修复了 NumberInput 处理 .xy 形式的浮点数的问题
  • \n
  • 🦀️ Table 选择模式下支持将行设置为选中同时是禁用的状态
  • \n
  • 🦀️ 修复 FormFieldArray 没有正确更新的问题
  • \n
  • 🦀️ 修复了非常多的 TypeScript 定义问题
  • \n
\n

6.0.1 (2018-07-13)

\n
\n

⚠️ 之前的版本 Icon 字体文件可能在 Windows 下展示会有问题,如果 Window 环境对你很重要建议使用这个版本。

\n
\n
    \n
  • 🦀️ 修复 Windows 下 Icon 显示不正常的问题
  • \n
\n

6.0.0 (2018-07-04)

\n
\n

这个版本移除了对 React 15.3 以下版本的支持。

\n

文档网站从这个版本开始将放到 github pages 上维护。

\n
\n
    \n
  • 💥 [breaking change] 删除 Loading 组件的 on, off 以及 newInstance 方法
  • \n
  • 💥 [breaking change] 修复 WeekPicker 的禁用和选中逻辑
  • \n
  • 💥 [breaking change] Table 单元格的 box-sizing 变为 border-box
  • \n
  • 💥 [breaking change] 删除 Select 弹层上的 zent-select 类名,这个类名只应该存在于 trigger 上面
  • \n
  • 🎉 新组件 Mention
  • \n
  • 🎉 新组件 Timeline
  • \n
  • 🎉 Tree 重写了一个新版,兼容老的 API,通过 useNew 启用;新版加入了受控模式支持
  • \n
  • \n

    Form

    \n
      \n
    • FieldArray 支持串行调用多次操作函数,如 push
    • \n
    • DateRangePickerField 以及 DateRangeQuickPickerField 支持通过 dateFormat 来透传依赖组件的 format prop
    • \n
    • ✨ 补全 DatePicker 相关的 Field 类型,比如 FormWeekPickerField
    • \n
    • FieldArray 支持通过 setFieldsValue 以及 initialize 修改值
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • ✨ 增加 TypeScript 类型定义
    • \n
    • ✨ 支持 expandation 行展开配置
    • \n
    • ✨ 增加行展开时的 onExpand 回调函数
    • \n
    • onChange 回调支持传递分页大小
    • \n
    • 🦀️ 移除 cloneDeep 的使用,React 16 下复制 jsx 会报错
    • \n
    • 🦀️ 修复 rowKey 无效的问题
    • \n
    • 📚 文档优化
    • \n
    \n
  • \n
  • \n

    ErrorBoundary

    \n
      \n
    • ✨ 增加 catchError HOC,适合使用 decorator 的场景
    • \n
    • 📚 修复文档中 withErrorBoundary 的描述
    • \n
    \n
  • \n
  • \n

    Cascader

    \n
      \n
    • ✨ 增加 displayText 回调自定义选中值的展示
    • \n
    • 🦀️ 修复 value 值不存在时报错的问题
    • \n
    \n
  • \n
  • Table 组件的 onChange 回调支持传递分页大小
  • \n
  • AutoComplete 增加 TAB 按键处理
  • \n
  • SplitButton 支持下拉菜单位置配置
  • \n
  • Pagination 支持在分页大小改变时触发 onPageSizeChange 回调函数
  • \n
  • 🦀️ 修复 BlockHeader 标签类型限制的问题(p 不能嵌套 div)
  • \n
  • 🦀️ 修复 AvatarTypeScript 类型定义
  • \n
  • 🦀️ 修复 SortableTypeScript 类型定义
  • \n
  • 🦀️ 修复 SplitButtonTypeScript 类型定义
  • \n
  • 🦀️ 修复 TabsTypeScript 类型定义
  • \n
  • 🦀️ 添加了几个新的图标
  • \n
  • 🦀️ 修复 Input 组件的 addonBeforeaddonAfter 样式
  • \n
  • 🦀️ 修复 Swiper 组件只有两个元素时删除其中一个元素时位置错位的问题
  • \n
  • \n

    Dialog

    \n
      \n
    • 🦀️ 修复关闭时报错的问题
    • \n
    • 🦀️ 修复 SSR 报错
    • \n
    \n
  • \n
  • 🦀️ 修复 Button 组件代码里的一些拼写错误,不影响功能
  • \n
  • 🦀️ 修复 Collapse 组件的 props 类型申明
  • \n
  • 🦀️ 修复 DatePicker 时间禁用逻辑
  • \n
  • 🦀️ 修复 Select 某些情况下 focus 报错的问题
  • \n
  • 🦀️ 修复 Loading 组件在 React 16 下关闭报错的问题
  • \n
  • 🦀️ 删除了 Card 中的一些无用样式
  • \n
  • 📚 修复文档的 babel 拼写错误
  • \n
\n

Breaking change 迁移方案

\n
\n

Loading on, off, newInstance 的迁移方案:

\n
\n

Loading.on 以及 Loading.off 替换为组件形式,并通过 state 上的开关控制。

\n
<Loading float show={this.state.loading} />
\n

如果使用了 newInstance 方法,渲染多个 Loading 实例即可。

\n
\n

WeekPicker 迁移方案:

\n
\n
    \n
  • 涉及到自定义了 diabledDate 的场景,新版中返回的日期区间将只包含可选的日期,老版本会返回整个完整的周,包括那些不可选的日期。这个代码里自行处理下,多数情况应该没有影响。
  • \n
  • 内部维护的周日期区间 [start, end] 两个值的时间部分有变化,新版 start 时间部分是 00:00:00:000, end 时间部分是 23:59:59:999。所以在 disabledDate 的回调函数里判断日期是否禁用的时候需要注意时间部分的差,原则上日期比较是不应该关注时间部分的,但是很多写得不好的代码是直接 a.getTime() < b.getTime() 这样比较的,这种用法很大概率上会出问题。
  • \n
\n
\n

Table 单元格样式迁移方案:

\n
\n

之前是 content-box,这次更新之后变为 border-box,有些情况下可能会出现单元格变窄的情况,需要在使用的地方适当将受影响的单元格加宽。

\n
\n

Select 弹层的 zent-select 类名迁移方案:

\n
\n

首先把这个类名删除是正确的,trigger 和 弹层是不应该公用一个类名的。之前依赖弹层上的 zent-select 类名的地方改为 zent-select__popover 就行了。

\n

5.1.1 (2018-04-19)

\n
    \n
  • 🦀️ 修复 Dialog 某些情况下关闭的时候没有动画的问题
  • \n
  • 🦀️ 修复 Table 单元格宽度超出设置值的问题
  • \n
  • 🦀️ Form 滚动到第一个错误位置时允许非 ControlGroup 封装的 Field
  • \n
  • ✨ 升级 lerna 到最新版
  • \n
\n

5.1.0 (2018-04-17)

\n
    \n
  • 🎉 新组件 ErrorBoundary,需要 React >= 16
  • \n
  • 🎉 新组件 SplitButton
  • \n
  • previewImage 支持图片缩放
  • \n
  • BlockHeader 增加 childAlign 属性,支持子元素靠右侧显示
  • \n
  • Portal 组件重构,新增 PurePortalLayeredPortal
  • \n
  • ✨ 升级 Design 组件的拖拽库
  • \n
  • Dialog 增加打开/关闭动画
  • \n
  • \n

    YearPicker

    \n
      \n
    • ✨ 支持设置 maxmin
    • \n
    • value 支持 Date 类型
    • \n
    \n
  • \n
  • 🦀️ 修复 heightLoading 不显示的时候被忽略的问题
  • \n
  • 🦀️ 修复 BlockHeader 弹层样式
  • \n
  • 🦀️ 修复 PopoverReact 16 下位置计算不正确的问题
  • \n
  • 🦀️ 修复 Form 组件 asyncValidate 的返回值在某些条件下不是 Promise 的问题
  • \n
  • 🦀️ 修复 Pagination 样式问题
  • \n
  • 🦀️ Selecttag 模式会撑大内容区域,而不是出现滚动条
  • \n
  • 🦀️ Cascader 单测兼容 React 16
  • \n
  • 📚 更新文档网站中英文截图
  • \n
\n

5.0.1 (2018-03-20)

\n
    \n
  • 🦀️ 修复 WeekPicker 文字溢出问题
  • \n
  • 🦀️ 修复了一些打包问题
  • \n
\n

5.0.0 (2018-03-16)

\n
\n

⚠️ 这个版本 Upload 组件有问题,请不要使用。

\n

从这个版本开始正式支持 React 16,后续开发都将基于 16。

\n
\n
    \n
  • 🎉 升级 React 以及 Enzyme 到最新版本,正式支持 React 16
  • \n
  • \n

    Button

    \n
      \n
    • ✨ 添加对图标的支持
    • \n
    • ✨ 新增 Button.Group 容器
    • \n
    \n
  • \n
  • Steps 组件新增一个 process 状态,并且默认值也修改为 process
  • \n
  • 🦀️ 修复 Loading 组件高度问题
  • \n
  • 🦀️ 更新 BlockHeader 组件样式
  • \n
  • \n

    Tree

    \n
      \n
    • 🦀️ 修复节点 expand 不生效的问题
    • \n
    • 📚 补充 loadMore 的文档
    • \n
    \n
  • \n
  • \n

    Upload

    \n
      \n
    • ✨ 允许通过 errorMessages 参数自定义错误提示文案
    • \n
    • 🦀️ 收敛 CSS 的类名,降低冲突风险
    • \n
    \n
  • \n
\n

4.3.2 (2018-03-07)

\n
\n

⚠️ 这个版本 Loading 组件样式有问题,请不要使用。

\n
\n
    \n
  • 🦀️ 更新 Loading 组件高度设置逻辑
  • \n
  • 🦀️ 修复 Pagination 文案
  • \n
  • 🦀️ 修复 RadioCheckbox 组件嵌套使用时的问题
  • \n
  • 🦀️ RadioCheckbox 的分组组件只读或禁用时会忽略组件自身的设置
  • \n
  • 🦀️ 修复 Upload 组件样式问题
  • \n
\n

4.3.1 (2018-03-05)

\n
    \n
  • 🦀️ 修复 Select 组件在标签样式下 placeholder 缩进不一致的问题
  • \n
  • 🦀️ 修复 Popover 在特定情况下循环调用 adjustPosition 的问题
  • \n
  • 🦀️ 调整 Tree 组件的字体大小
  • \n
  • 🦀️ 修复 Grid 组件在 Windows 系统下的现实问题
  • \n
  • 🦀️ 修复 CopyButton 在某些情况下选择错误的问题
  • \n
\n

4.3.0 (2018-02-14)

\n
\n

情人节快乐!新春快乐!

\n
\n
    \n
  • 🎉 新增 AutoComplete 组件
  • \n
  • 🎉 新增 Rate 评分组件
  • \n
  • 🦀️ 优化 Notify 动画
  • \n
  • 🦀️ 去除 Tabs 组件样式中不必要的 !important
  • \n
  • 🦀️ 修复 Select 搜索框无法获取输入焦点的问题
  • \n
\n

4.2.3 (2018-02-09)

\n
    \n
  • 🦀️ 修复 Sortable 在没传 items 时的问题
  • \n
\n

4.2.2 (2018-02-07)

\n
    \n
  • Steps 新增垂直样式
  • \n
  • 🦀️ 修复 Grid 表头高度问题
  • \n
  • 🦀️ 修复打包 CSS 样式丢失问题
  • \n
\n

4.2.1 (2018-02-06)

\n
\n

⚠️ 这个版本 CSS 打包有问题,请不要使用。

\n
\n
    \n
  • 🦀️ 修复 Upload 文件类型判断问题
  • \n
\n

4.2.0 (2018-02-05)

\n
\n

⚠️ 这个版本 CSS 打包有问题,请不要使用。

\n
\n
    \n
  • 🎉 新组件 Avatar
  • \n
  • 🎉 新组件 Collapase
  • \n
  • Menu 增加内联模式
  • \n
  • Cascader 支持菜单样式
  • \n
  • Input 清空按钮的回调函数中加入判断来自按钮的参数
  • \n
  • ✨ 补全各个时间选择器的 TypeScript 定义
  • \n
  • Badge 组件支持自定义偏移量
  • \n
  • NumberInput 支持回车确认输入
  • \n
  • UploadonUpload 回调支持返回一个 Promise
  • \n
  • 🦀️ 修复 SortableonMove, onEndonChange 同时传入时的问题
  • \n
  • 🦀️ 修复 Form 中的多行文本框无法换行的问题
  • \n
  • 🦀️ 修复 InfiniteScroller 样式问题
  • \n
  • 🦀️ 修复 Select 键盘事件无效的问题
  • \n
  • 🦀️ 修复 Grid 边框样式问题
  • \n
  • 🦀️ 修复 Select 死循环问题
  • \n
\n

4.1.0 (2018-01-29)

\n
    \n
  • 🎉 新增 TimePickerTimeRangePicker
  • \n
  • 🎉 新增 Placeholder 组件
  • \n
  • 🎉 新的文档网站样式
  • \n
  • \n

    Card

    \n
      \n
    • ✨ 新增 loading 状态支持
    • \n
    • ✨ 支持嵌套的卡片
    • \n
    • 🦀️ 样式更新
    • \n
    \n
  • \n
  • DatePicker 支持 canClear 参数配置是否可以清除选中的时间
  • \n
  • \n

    Upload

    \n
      \n
    • ✨ 支持外部传入分组
    • \n
    • 🦀️ 修复可以选择超过 maxAmount 数量文件的问题
    • \n
    • 🦀️ 修复自动弹出的问题
    • \n
    \n
  • \n
  • 🦀️ 修复 Notify 背景色
  • \n
\n

4.0.0 (2018-01-23)

\n
    \n
  • 💥 DateRangePicker 不再支持合并模式,type 参数废弃,升级请注意样式
  • \n
  • \n

    Upload

    \n
      \n
    • ✨ 支持分组功能
    • \n
    • ✨ 国际化支持
    • \n
    \n
  • \n
  • Menu 支持图标展示
  • \n
  • \n

    DatePicker

    \n
      \n
    • 🦀️ 修复未选择时间直接确认没有考虑最小时间的问题
    • \n
    • 🦀️ 修复最小时间的判断问题
    • \n
    \n
  • \n
  • \n

    Design

    \n
      \n
    • 🦀️ 文档样式修复
    • \n
    • 🦀️ DesignEditor 不再继承 PureComponent
    • \n
    \n
  • \n
  • 🦀️ Slider 样式修复
  • \n
  • 🦀️ 修复文档网站锚点失效的问题
  • \n
  • 🦀️ Grid 修复头部高度不同步的问题
  • \n
  • 🦀️ 优化 Notify 的动画
  • \n
  • \n

    Select

    \n
      \n
    • 🦀️ 修复在部分浏览器下的兼容性问题
    • \n
    • 🦀️ 修复 emptyText 无效的问题
    • \n
    \n
  • \n
  • 🦀️ Sortable 修复示例
  • \n
\n

3.12.3 (2018-01-10)

\n
    \n
  • 🦀️ 修复 Slider 组件背景色问题
  • \n
  • 🦀️ Upload 添加 image/bmp 支持
  • \n
  • 🦀️ 修复 Design demo 中按钮布局和样式
  • \n
\n

3.12.2 (2018-01-09)

\n
    \n
  • Loading 没有 children 时去掉蒙层的背景色
  • \n
  • ✨ 重命名文件,保持项目内统一
  • \n
  • 🦀️ 修复 Grid 头部样式
  • \n
  • 🦀️ 修复大号 Button 字体大小
  • \n
  • 🦀️ 修复 MonthPicker 没有判断年份的问题
  • \n
  • 📚 增加了国际化的文档
  • \n
\n

3.12.1 (2018-01-05)

\n
    \n
  • 🦀️ 修复 CombineDateRangePicker 没有选完就关闭的问题
  • \n
  • 🦀️ 修复 Notify 出场动画问题
  • \n
\n

3.12.0 (2018-01-04)

\n
    \n
  • 🎉 新增拖拽排序组件 Sortable
  • \n
  • 🎉 组件国际化支持
  • \n
  • Tag 支持外部控制显示隐藏
  • \n
  • Input 组件支持清除按钮
  • \n
  • Grid 组件支持表头固定垂直滚动
  • \n
  • Notify 支持多个实例排列显示,同时加上了进出场动画
  • \n
  • \n

    Form

    \n
      \n
    • Field 修改错误显示逻辑,支持 displayError 控制错误是否显示
    • \n
    • Field 支持 relatedFields 指定检验时同时触发的其他字段
    • \n
    • ✨ 重写 FieldArray
    • \n
    \n
  • \n
  • Swiper 支持动态增减图片
  • \n
  • Design 支持 settings 以及 onSettingsChange 来设置动态全局配置
  • \n
  • Sweetalert 支持配置关闭按钮以及点击蒙层是否关闭
  • \n
  • 🦀️ 修复 DateRangePicker 禁用样式
  • \n
  • 🦀️ 修复 Loading 布局中的问题
  • \n
  • 🦀️ 修复 DatePicker onChange 值不对的问题
  • \n
  • 🦀️ 修复 NumberInput onBluronChange 事件抛出的值不一致的问题
  • \n
  • 🦀️ 修复 Upload 上传图片乱序的问题
  • \n
  • 🦀️ 修复 Select tag 类型选中顺序不一致的问题
  • \n
  • 🦀️ 修复 ColorPicker 颜色输入框无法删除的问题
  • \n
  • 🦀️ 修复 textarea 高度抖动的问题
  • \n
  • 🦀️ 修复了一些 typo
  • \n
  • 🦀️ 修复 yarn new-component 命令
  • \n
\n

3.11.0 (2017-12-20)

\n
    \n
  • 🎉 新组件季度选择器 QuarterPicker
  • \n
  • Select 支持选中后清除
  • \n
  • Grid 支持表头固定的纵向滚动方式
  • \n
  • DatePicker 交互优化,没有时间的时候不需要按确认按钮
  • \n
  • Upload 支持已选图片拖拽排序
  • \n
  • Inputtextarea 模式支持文字计数
  • \n
  • Inputtextarea 模式支持根据高度自动撑高
  • \n
  • BlockHeader 修改弹层位置
  • \n
  • \n

    Design

    \n
      \n
    • ✨ 新增图片广告示例组件
    • \n
    • ✨ 新增富文本示例组件
    • \n
    • ✨ 支持在 preview 底部显示额外的信息
    • \n
    \n
  • \n
  • PopoverPop 新增 onPositionUpdated 回调函数
  • \n
  • \n

    Form

    \n
      \n
    • ✨ 修改 required 校验规则,null 也认为是错误
    • \n
    • ✨ 支持禁止表单内部输入框回车提交表单的行为
    • \n
    • 🦀️ 修复 validationOnChangefalse 时部分情况下组件重新渲染的问题
    • \n
    • 🦀️ 修复自动滚动到第一个错误处无法处理 Functional Component 的问题
    • \n
    \n
  • \n
  • \n

    Swiper

    \n
      \n
    • 🦀️ 修复只有一个图片时的问题
    • \n
    • 🦀️ 修复快速连续点击上一张/下一张的动画问题
    • \n
    \n
  • \n
  • 🦀️ Loading 修复图标不居中的问题
  • \n
  • 🦀️ 滚动函数支持运行在 node.js 环境
  • \n
  • 🦀️ Table 修复使用 batchcomponents 时报错的问题
  • \n
  • 📚 InfiniteScroller 修复文档错误
  • \n
  • 📚 Button 修复示例
  • \n
\n

3.10.7 (2017-12-07)

\n
    \n
  • Menu 支持传入额外的自定义样式
  • \n
  • 🦀️ Upload 修复单文件上传的问题
  • \n
\n

3.10.6 (2017-12-06)

\n
    \n
  • Form 组件支持表单报错事滚动到第一个错误处
  • \n
  • 🦀️ Upload 增加文件过滤支持
  • \n
\n

3.10.5 (2017-12-05)

\n
    \n
  • 🦀️ 回滚 Design 的预览宽度为 320px
  • \n
\n

3.10.4 (2017-12-04)

\n
    \n
  • \n

    Design

    \n
      \n
    • ✨ 预览区域宽度调整为 375px
    • \n
    • 🦀️ 样式优化
    • \n
    \n
  • \n
  • PopPopover 组件导出了 adjustPosition 用于在极端情况下手动触发位置更新
  • \n
  • 🦀️ 修复 Button 组件在某些全局环境下,样式错误的问题
  • \n
  • \n

    Upload

    \n
      \n
    • 🦀️ 样式优化
    • \n
    • 🦀️ 处理了一些 ES6 的兼容问题
    • \n
    \n
  • \n
\n

3.10.3 (2017-11-29)

\n
    \n
  • \n

    Upload

    \n
      \n
    • 🦀️ 修复 accept 参数无效的问题
    • \n
    • 🦀️ 修复语音上传问题
    • \n
    \n
  • \n
  • 🦀️ Pagination 样式修复
  • \n
  • \n

    Design

    \n
      \n
    • ✨ 修改添加组件按钮样式
    • \n
    • ✨ 优化删除组件逻辑
    • \n
    • 🦀️ 去掉添加/删除组件时的自动滚动
    • \n
    \n
  • \n
\n

3.10.2 (2017-11-28)

\n
    \n
  • 🦀️ 修复 Upload 组件 accept 参数无效的问题
  • \n
\n

3.10.1 (2017-11-27)

\n
    \n
  • 🎉 NumberInput 新增一种新样式,通过 showCounter 开启
  • \n
  • \n

    Upload

    \n
      \n
    • ✨ 组件增强文件类型判断功能
    • \n
    • ✨ 支持语音上传
    • \n
    • 🦀️ 修复删除图片位置不对的问题
    • \n
    \n
  • \n
  • \n

    Design

    \n
      \n
    • 🦀️ 修复了一些样式问题
    • \n
    • ✨ 新增 canInsert, canDelete 用于细粒度控制添加/删除按钮
    • \n
    \n
  • \n
  • 🦀️ 修复 Form 组件有异步校验导致无法提交的问题
  • \n
  • 🦀️ 修复 Pop 的 TypeScript 类型定义
  • \n
\n

3.10.0 (2017-11-24)

\n
    \n
  • 🎉 新增年份选择组件 YearPicker
  • \n
  • \n

    Design

    \n
      \n
    • ✨ 新的添加组件交互
    • \n
    • ✨ 不再依赖 react-dnd
    • \n
    \n
  • \n
  • 🦀️ 修复 Cascader 数据不能为空的问题
  • \n
\n

如果你的 Design 组件依赖 react-dnd 你可能需要在 App 的顶层自己注入 react-dnd 的 context.

\n
import HTML5Backend from \'react-dnd-html5-backend\';\nimport { DragDropContextProvider } from \'react-dnd\';\n\nexport default class YourApp {\n  render() {\n    return (\n      <DragDropContextProvider backend={HTML5Backend}>\n        /* ... */\n      </DragDropContextProvider>\n    );\n  }\n}
\n

3.9.9 (2017-11-22)

\n
    \n
  • \n

    Design

    \n
      \n
    • 🦀️ 修复添加组件浮层字体颜色不对的问题
    • \n
    • 🦀️ 暂时去掉了选中组件时滚动到屏幕内的行为
    • \n
    \n
  • \n
  • \n

    Form

    \n
      \n
    • 🦀️ 修复 FieldArray 因删减导致的表单校验报错的问题
    • \n
    • 🦀️ 修复 FieldArray 在嵌套使用时,部分域增删时数据不对问题
    • \n
    • 🦀️ 修复文档中错误文字
    • \n
    • 🦀️ 修复 setFieldsValueinitialize 方法无法设定表单域为 0 的问题
    • \n
    • 🦀️ 修复 validateOnChangevalidateOnBlur 同为 false 时,部分情况下仍然在非提交时报错
    • \n
    \n
  • \n
\n

3.9.8 (2017-11-21)

\n
    \n
  • 🦀️ 更新 Design 删除/添加组件的交互
  • \n
\n

3.9.7 (2017-11-20)

\n
    \n
  • 🦀️ 修复 Design 分组样式问题
  • \n
\n

3.9.6 (2017-11-20)

\n
    \n
  • \n

    Design

    \n
      \n
    • ✨ 当组件达到最大可添加数量时,支持展示一个提示给用户
    • \n
    • ✨ 样式更新,最主要的是去掉了添加组件区域上面的箭头
    • \n
    \n
  • \n
  • \n

    Input

    \n
      \n
    • ✨ 增加了一个 select 方法用于选中输入框的文字,同时也支持 autoSelect 来默认选中部分文字
    • \n
    • 🦀️ 修复了 diabled 状态的样式问题
    • \n
    \n
  • \n
  • 🦀️ 修复了 Upload 组件无法重复上传同一个组件的问题
  • \n
  • 🦀️ 修复了 Selectdata 参数为 undefined 或者 null 时报错的问题
  • \n
  • 🦀️ 修复了 MonthPicker 的禁用逻辑
  • \n
  • 🦀️ 修复了 Table 组件的 emptyLabel 类型
  • \n
  • 🦀️ 修复了 Button 组件的 TypeScript 定义
  • \n
\n

3.9.5 (2017-11-13)

\n
    \n
  • ✨ 文档网站增加组件搜索功能
  • \n
  • 🦀️ 修复了 DatePicker 时间联动禁用逻辑
  • \n
\n

3.9.4 (2017-11-09)

\n
    \n
  • 🦀️ 更新英文文档
  • \n
\n

3.9.3 (2017-11-09)

\n
    \n
  • 🎉 新版文档网站,加入了英文文档支持
  • \n
  • Progress 组件支持自定义颜色
  • \n
  • ✨ 表单组件(例如 Input, Select 等)支持通过传入 width=xx 来设置宽度
  • \n
  • Notify 组件支持 config 函数来设置全局弹框消失延迟时间
  • \n
  • DatePicker 支持 maxmin 来禁用时间
  • \n
  • 🦀️ 修复了 Form 组件提交表单时不触发没有校验过的异步校验的问题
  • \n
  • 🦀️ 修复了 Popover 组件某些情况下调用 getBoundingClientRect 出错的问题
  • \n
\n

3.9.2 (2017-11-06)

\n
    \n
  • Design 组件支持创建时自定义默认类型
  • \n
  • 🦀️ 修复了 Table 某些情况下跨页多选失败的问题
  • \n
  • 🦀️ 修复了一些 React 16 下的兼容问题
  • \n
\n

3.9.1 (2017-11-02)

\n
    \n
  • 🦀️ 修复了 Design 的一些样式问题
  • \n
\n

3.9.0 (2017-10-31)

\n
    \n
  • ✨ 增加了基础全局样式,类似 normalize.cssreset.css
  • \n
  • \n

    Grid:

    \n
      \n
    • 🦀️ 修复了不能动态修改 columns 的问题
    • \n
    • 🦀️ 修复当行高高于默认高度时,左侧固定列和右侧固定列高度不一致的问题
    • \n
    • 🦀️ 修复滚动到最右侧时,最右侧固定列的阴影不消失的问题
    • \n
    \n
  • \n
  • 🦀️ 修复了 Design 代码中的一个变量名错误,不影响代码功能
  • \n
  • 🦀️ 修复了 FormControlGroup 不能处理 Functional Component 的问题
  • \n
  • 📚 更新了文档网站细节样式
  • \n
\n

3.8.1 (2017-10-26)

\n
    \n
  • 🎉 新增组件库 Demo,可以在文档的项目示例页面查看
  • \n
  • 🎉 新增新建组件样板的脚本 yarn new-component
  • \n
  • Table 支持整行选择,通过参数 canRowSelect 控制,默认关闭
  • \n
  • \n

    Design:

    \n
      \n
    • 🦀️ 修复了 defaultSelectedIndex 的应用逻辑
    • \n
    • 🦀️ 修复了 Chrome 62 中的按钮样式问题
    • \n
    \n
  • \n
  • 🦀️ 修复了 Select 组件在格式化数据时会修改 data 数组中对象的问题
  • \n
\n

babel-plugin-zent@1.1.0 (2017-10-26)

\n
    \n
  • ✨ 新增 useRawStyle 参数,支持 import postcss 样式,需要配合 zent >= 3.8.1 使用
  • \n
\n

3.8.0 (2017-10-20)

\n
    \n
  • 🎉 新组件 InfiniteScroller,用来实现滚动自动加载
  • \n
  • \n

    Form:

    \n
      \n
    • 🎉 新增 FormSection 以及 FieldArray 支持
    • \n
    • 🎉 新增 setFieldsValue 以及 initialize 方法
    • \n
    • 🎉 更多内置表单元素组件: FormColorPickerField, FormDateRangePickerField, FormNumberInputField, FormSwitchField
    • \n
    • 🎉 Field 添加重要提示 notice 属性
    • \n
    • ✨ 增加 setFormDirtyisFieldDirty 方法
    • \n
    \n
  • \n
  • Select 做了一些代码逻辑优化
  • \n
  • Design 添加组件的时候支持回调函数终止当前操作
  • \n
  • PopoveronBeforeClose 以及 onBeforeShow 支持终止当前操作
  • \n
  • 🦀️ Slider 组件现在高亮圆点的时候会同时高亮滑动条
  • \n
  • 🦀️ 修复了 DateRangePicker 的 TypeScript 定义
  • \n
  • 🦀 修复了 SearchInput 的一个样式问题
  • \n
\n

3.7.0 (2017-09-28)

\n
    \n
  • 🎉 新组件 Grid,功能和 Table 组件类似,但是底层是用 <table> 实现的,现在 Grid 有些 Table 的功能还没有实现
  • \n
  • 🎉 Zent 支持自定义主题,文档网站同步添加了色彩主题定制的章节
  • \n
  • \n

    Steps:

    \n
      \n
    • ✨ 新增了 onStepChangesequence 参数
    • \n
    • ✨ 更新了 number 类型的样式
    • \n
    \n
  • \n
  • 🦀️ 修复了 React 16 下面的一些警告
  • \n
  • 🦀️ 修复了 Slider 文档页面上的警告
  • \n
  • 🦀️ 更新了 DateRangeQuickPicker 的样式
  • \n
  • 🦀️ 修复了 Select 在选项数组置空后选中项不会重置的问题
  • \n
\n

3.6.1 (2017-09-21)

\n
    \n
  • 🦀️ 修复了 Design 的样式问题
  • \n
\n

3.6.0 (2017-09-21)

\n
    \n
  • \n

    Design:

    \n
      \n
    • ✨ 支持添加区域组件的分组展示
    • \n
    • ✨ 支持限制每个组件可添加的次数
    • \n
    \n
  • \n
  • DatePicker 添加了 onBeforeConfirm 以及 onBeforeClear 的钩子
  • \n
  • ️🦀️ 修复了 Table 全选复选框在整页都不可选时没有禁用的问题
  • \n
  • 🦀️ 修复了某些情况下 Popover 在屏幕滚动后弹出层位置错误的问题
  • \n
  • 🦀️ 修复了 MonthPicker 禁用的日期依然可以选择的问题
  • \n
\n

3.5.4 (2017-09-15)

\n
    \n
  • \n

    Swiper

    \n
      \n
    • 🦀️ 修复了只有一张图片时的显示问题
    • \n
    • 📚 增加了实例 API 文档,用于外部控制切换
    • \n
    \n
  • \n
  • 🦀️ 修复了 Table 跨页多选在全选按钮上无效的问题
  • \n
  • 🦀️ 回滚了 Select 组件的宽度样式
  • \n
  • 🦀️ 修复了 Design 组件没有正确删除 beforeunload 事件回调函数的问题
  • \n
  • 🦀️ 更新了 Tabs 组件的 Typescript 定义
  • \n
  • 📚 更新了文档网站,添加了组件开发的详细文档
  • \n
\n

3.5.3 (2017-09-13)

\n
    \n
  • 🦀️ 修复了同时打开多个 Dialog 时遮罩 z-index 不正确的问题
  • \n
  • 🦀️ 修复了 DateRangeQuickPicker 最近 7 天的语义,包含今天
  • \n
  • 🦀️ 修复了 Tabs 组件中 activeId 为 0 时无法选中的问题
  • \n
  • 🦀️ 修复了 Form 组件 validateOnChangevalidateOnBlur 同时设为 false 时,表单提交时不显示校验错误的问题
  • \n
  • \n

    Table:

    \n
      \n
    • 🦀️ 修复了 clearfix 样式不存在的问题
    • \n
    • 🦀️ 修复了 totalItem 没有正确读取的问题
    • \n
    • 📚 修改了 title 类型的描述
    • \n
    \n
  • \n
  • 🦀️ 修复了 Select 组件高度不正确的问题
  • \n
'}))}}}}]); \ No newline at end of file diff --git a/3314-ca2603bad3ec20cd88ab.js b/3314-ca2603bad3ec20cd88ab.js deleted file mode 100644 index 329d34571..000000000 --- a/3314-ca2603bad3ec20cd88ab.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkzent_docs=self.webpackChunkzent_docs||[]).push([[3314],{63314:(e,o,c)=>{"use strict";c.r(o),c.d(o,{default:()=>u});var n=c(73450),d=c(27378),i=c(57318),l=c(24246);function a(e,o){var c=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),c.push.apply(c,n)}return c}function r(e){for(var o=1;o更新日志\n

3.5.3 之前版本的详细修改记录请看 Github 日志

\n

升级指南

\n\n

10.0.14(2024-09-24)

\n
    \n
  • \n

    Form

    \n
      \n
    • 🦀 修复 Form 组件 required 样式问题
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀 修复 Grid 组件 key 问题
    • \n
    \n
  • \n
\n

10.0.13(2024-07-29)

\n
    \n
  • \n

    Grid

    \n
      \n
    • 🦀 修复Grid组件在渲染Selection和Expand时可能会出现的重复项问题
    • \n
    \n
  • \n
\n

10.0.12(2024-07-12)

\n
    \n
  • \n

    Portal

    \n
      \n
    • ✨ 减少浏览器滚动条计算引起的多次重排
    • \n
    \n
  • \n
\n

10.0.11(2024-06-14)

\n
    \n
  • \n

    🦀 修复依赖 observable-hooks 自动升级打包报错

    \n
  • \n
  • \n

    Indicator

    \n
      \n
    • 🦀 修复 Indicator 组件 IIndicatorProps 类型导出错误
    • \n
    \n
  • \n
  • \n

    Notify

    \n
      \n
    • ✨ 新增 containerSelectorclassName 属性支持
    • \n
    \n
  • \n
  • \n

    Dialog

    \n
      \n
    • ✨ 新增 position 属性支持
    • \n
    \n
  • \n
  • \n

    Icon

    \n
      \n
    • ✨ 更新 zenticons3.7.6 版本
    • \n
    \n
  • \n
\n

10.0.10(2023-10-25)

\n
    \n
  • datePicker 增加农历功能支持
  • \n
\n

10.0.9(2023-04-24)

\n
    \n
  • datePicker 增加 CombinedPanelRangePickerSingleCalendarDatePanelPicker 的支持
  • \n
\n

10.0.7(2023-01-06)

\n
    \n
  • 🦀 调整 CombinedDateRangePicker 选择结束日期后的展示逻辑
  • \n
\n

10.0.6(2022-12-27)

\n
    \n
  • 🦀 修复 10.0.5 引入的 NumberInput 在一些情况下渲染死循环的问题
  • \n
\n

10.0.5(2022-12-08)

\n
    \n
  • 🦀 修复 NumberInput 在一些情况下渲染死循环的问题
  • \n
\n

10.0.4(2022-11-15)

\n
    \n
  • 🦀 Button 组件渲染为 <a> 标签,并且设置了 disabled 属性时,不再设置 href 属性
  • \n
  • 🦀️ 修复了 withErrorBoundaryonError 类型问题
  • \n
\n

10.0.3(2022-08-31)

\n
    \n
  • 🦀️ 修复主题色问题
  • \n
\n

10.0.2(2022-08-23)

\n
    \n
  • Select 新增 renderCollapsedContent 自定义渲染收起内容
  • \n
  • 🦀️ AnimateHeight 修复当设置 appeartrueheightauto 的时候没有动画的问题
  • \n
  • 🦀️ 修复主题色中错误的颜色
  • \n
\n

10.0.1-rc.0(2022-06-01)

\n
    \n
  • Cascader 支持 searchableplaceholder 参数共存
  • \n
\n

10.0.0(2022-03-28)

\n

详见 10.x 升级指南

\n

9.12.7(2022-03-15)

\n
    \n
  • \n

    Cascader

    \n
      \n
    • ✨ 增加simplifySelectionMode判断simplifySelection时是否包含disabled的路径
    • \n
    \n
  • \n
  • \n

    Sortable

    \n
      \n
    • 🦀️ 修复拖拽后有时数据会变为empty 的问题
    • \n
    \n
  • \n
  • \n

    Notice

    \n
      \n
    • 🦀 去除overflow-y: hidden,解决下方阴影显示不完全的问题
    • \n
    \n
  • \n
  • \n

    Placeholder

    \n
      \n
    • 🦀 ts 类型补全
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • expandation 中新增 isExpandable API,支持配置可展开图标显示 #1895
    • \n
    • ✨ 新增 tableLayout API,支持设置 table 的 tableLayout 属性
    • \n
    • 🦀️ Grid 未配置 tableLayout,但是配置了 scroll 或者 ellipsis 属性时,设置 tableLayoutfixed,解决一些单元格对齐问题
    • \n
    • 🦀️ 对设置了宽度的列设置 word-break,解决一些单元格对齐问题
    • \n
    \n
  • \n
\n

9.12.6(2022-03-02)

\n
    \n
  • \n

    Grid

    \n
      \n
    • 🦀 优化 selection ts 定义
    • \n
    \n
  • \n
  • \n

    Select

    \n
      \n
    • 🦀 修复使用文本高亮时正则特殊字符报错问题
    • \n
    \n
  • \n
  • \n

    Cascader

    \n
      \n
    • 🦀 修复使用文本高亮时正则特殊字符报错问题
    • \n
    \n
  • \n
  • \n

    Collapse

    \n
      \n
    • 📚 更新 activeKey 使用 demo 和相关说明
    • \n
    \n
  • \n
  • 增加 yarn workspace nohoist 配置
  • \n
\n

9.12.5(2022-02-14)

\n
    \n
  • \n

    Notify

    \n
      \n
    • 🦀 api 类型完善
    • \n
    \n
  • \n
  • \n

    Form

    \n
      \n
    • ✨ 添加 normalizeBeforeBlur 属性,支持 onBlur 时修改值
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀 修复全选状态判断不正确的问题
    • \n
    \n
  • \n
\n

9.12.4(2022-01-11)

\n
    \n
  • \n

    Popover

    \n
      \n
    • 🦀 修复 withPop HOC 的类型错误
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀 排序按钮替换为 iconfont, 修复字体不同可能导致的按钮错位问题
    • \n
    • 🦀 selectedRowKeys 支持 number 类型
    • \n
    \n
  • \n
  • 🦀 修复 css variable 名字匹配问题, 老版颜色可覆盖, 删除无用前缀
  • \n
  • 🦀 更新 caniuse-lite 数据库
  • \n
\n

9.12.3(2021-12-08)

\n
    \n
  • \n

    DatePicker

    \n
      \n
    • 🦀️ 交互优化,当 DatePicker 调用 TimePicker 选择具体时间时,禁用 DatePicker 的确认按钮
    • \n
    \n
  • \n
\n

9.12.2(2021-11-26)

\n
    \n
  • 🦀️ 修复 MiniPagination 页码输入框在一些场景下显示错误值的问题
  • \n
\n

9.12.1(2021-11-17)

\n
    \n
  • \n

    Form

    \n
      \n
    • 🦀️ FieldSetFieldArrayModel 支持 destroyOnUnmount 以及 normalizeBeforeSubmit 属性
    • \n
    • 🦀️ 修复在 FieldSet 上开启 destroyOnUnmount 并且其值或者校验状态从未被读取时的崩溃问题
    • \n
    \n
  • \n
  • \n

    CombinedDateRangePicker

    \n
      \n
    • 🦀️ onChange 仅在点击确定按钮时才触发
    • \n
    • 🦀️ 修复开始时间在选择完结束时间后丢失的问题
    • \n
    \n
  • \n
\n

9.12.0(2021-10-26)

\n
    \n
  • \n

    Form

    \n
      \n
    • FieldArrayModel 增加 filtersort 方法
    • \n
    • ✨ 新增 useObservableBatchedEagerState 用于合并 model 的变更事件,通常用不着,详见文档
    • \n
    • ✨ 使用 observable-hooks 替换 useValue$
    • \n
    \n
  • \n
  • \n

    Notice

    \n
      \n
    • 🦀️ 修复在部分场景(比如 useEffect 中)下使用 Notice.push crash 的问题
    • \n
    • 🦀️ Notice.push 的返回值类型以及 Notice.remove 的参数类型由 number 变更为 string
    • \n
    \n
  • \n
  • 🦀️ 更新 caret-down 以及 caret-up 图标,修复不居中的问题
  • \n
  • 🦀️ 更新 SplitButton 箭头样式
  • \n
  • 🦀️ 修复 RangeDatePickershowTimefalse 时,返回结束时间错误的问题
  • \n
  • 🦀️ 更新 caniuse-lite 数据库
  • \n
\n

9.11.0(2021-09-29)

\n
    \n
  • MenuCascader 多选模式下的 onChange 回调函数的 meta 参数中增加 simplify 函数,可以用来合并选中的选项
  • \n
  • \n

    I18n

    \n
      \n
    • ✨ 新增 useComponentI18nData Hook 用于函数式组件中使用 i18n 数据
    • \n
    • 🦀️ 重构 I18nReceiver 的类型定义,更好的类型推导
    • \n
    \n
  • \n
  • 🦀️ 修复 SortableonMove, onEnd 以及 onMove 初始化后变化不生效的问题
  • \n
  • 🦀️ Form Fieldrequired 参数默认的错误文案修改为 \'必填\'
  • \n
  • 🦀️ 修复 Input 上的 style 样式被内外层渲染两次的问题
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀️ 修复表头中全选框在特殊情况下选中状态不对的问题
    • \n
    • 🦀️ 修复有固定列但是 scroll.x 为非真值时候行高亮不完整的问题
    • \n
    \n
  • \n
  • 🦀️ 升级 caniuse-lite 数据库至最新版
  • \n
  • 📚 增加 DialogonOpenedonClosed 回调的文档说明
  • \n
  • 📚 清理文档中使用 Button 类型为 dangersuccess 的代码,不推荐使用这两种类型的按钮
  • \n
\n

9.10.1(2021-09-15)

\n
    \n
  • 🦀️ NumberInput 在输入过程中被强制重绘时,如果 props 没有变化保留当前 state 状态;已知的场景是将 NumberInput 用在表格中,表格高亮行变化时会触发
  • \n
\n

9.10.0(2021-09-14)

\n
    \n
  • WaypointtopOffsetbottomOffset 增加 auto 模式,简单场景下能够自动识别滚动容器边框宽度,具体说明看组件文档
  • \n
  • Cascader 多选模式搜索选中后输入焦点自动回到输入框中
  • \n
  • 🦀️ 阻止嵌套的 Form 表单事件(submit, reset, 回车)冒泡到上层表单
  • \n
  • 🦀️ InfiniteScroller 触发加载阈值默认改为 1px,针对页面缩放场景容错
  • \n
  • 🦀️ Grid 批量操作区域中 batchRender 返回 null 时隐藏全选框
  • \n
  • 🦀️ 调整 SelectCascader 下拉箭头图标
  • \n
  • 📚 更新 caniuse-lite 数据库
  • \n
  • 📚 修复 Pagination 示例文案问题
  • \n
  • 📚 修复 Form 文档中 validate 默认值的说明
  • \n
  • 📚 修复 ClampLines 代码中的拼写错误
  • \n
\n

9.9.3(2021-08-28)

\n
    \n
  • 🦀️ 使用 ts-patch 替代 ttypescript
  • \n
  • 🦀️ 修复 MiniPagination 更新 props.current 没有效果的问题
  • \n
  • 🦀️ 修复分页组件 lastPageHelp 参数失效的问题
  • \n
  • 📚 移除 gitee 文档镜像支持
  • \n
  • 📚 增加 Github Action 定时脚本检查 Form 文档中的 404 链接
  • \n
  • 📚 增加 NumberInput onInput 的文档
  • \n
\n

9.9.2(2021-08-16)

\n
    \n
  • ✨ 增加酒店图标
  • \n
  • \n

    Form

    \n
      \n
    • FormContext 新增 controlStyle 支持,用于批量设置表单项的样式
    • \n
    • ✨ 表单布局新增 direction 选项,用于控制表单项间的排列方式,支持行、列两种排列方式
    • \n
    • 🦀️ 修复 FieldArrayModel.splice 方法无法插入数据的问题
    • \n
    • 🦀️ FieldUtils.makeChangeHandler 重命名为 useChangeHandler,这个函数本身是个 Hook,所以重命名遵循 React 规范
    • \n
    • 🦀️ 优化 validator 运行时的错误描述
    • \n
    • 📚 修复因为升级 typedoc 导致的 API 文档链接失效
    • \n
    \n
  • \n
\n

9.9.1(2021-07-30)

\n
    \n
  • 🦀️ 修复 Icon 样式中 font-family 丢失版本标记
  • \n
  • 🦀️ 升级 caniuse-lite 数据库
  • \n
\n

9.9.0(2021-07-23)

\n
\n

如果遇到 sass 编译报错 math.div 函数 找不到,请升级 sass>=1.33.0

\n
\n
    \n
  • ✨ 语义化主题支持,同时新增 @zent/theme-sdk 用于主题配置的生成
  • \n
  • ✨ 组件新增日文(jaJP)翻译
  • \n
  • \n

    🦀️ Tree CSS 类名增加前缀

    \n
      \n
    • switcher => zent-tree-switcher
    • \n
    • content => zent-tree-content
    • \n
    • opt => zent-tree-operation
    • \n
    • operation => zent-tree-operation-container
    • \n
    • off => zent-tree-bar--off
    • \n
    \n
  • \n
  • \n

    🦀️ NumberInput

    \n
      \n
    • 修复在非受控模式下更新 props.value 会导致 state.value 变化的问题
    • \n
    • 修复文档中示例行为错误的问题
    • \n
    \n
  • \n
  • \n

    🦀️ Form

    \n
      \n
    • Form.useFieldArrayValue 重命名为 Form.useFieldArrayChildModels,旧字段被标记为废弃,但依旧可用
    • \n
    • 修复 Form 文档中示例丢失的问题
    • \n
    \n
  • \n
  • 🦀️ 由于在 SSR 环境下 useLayoutEffect 会不停的输出警告信息,已禁用 useLayoutEffect,可以使用 utils/hooks/useIsomorphicLayoutEffect 替代
  • \n
  • 📚 Dialog 文档中增加使用 openDialog 返回值关闭对话框的示例
  • \n
  • NPM 包中移除 postcss-plugin-constants 插件
  • \n
  • 升级 caniuse-lite 数据库
  • \n
  • 使用 stylelint 替换 sass-lint
  • \n
\n

9.8.0(2021-07-15)

\n
    \n
  • ✨ 重画所有图标,同时增加了一些新图标。由于新、旧图标大小可能有细微差别,个别场景下样式可能会有些许偏移
  • \n
  • 🦀️ 修复 Grid 切换 selection 时视图和数据不同步的问题
  • \n
  • 🦀️ 修复 Select 组件挂载时通过 display: none 隐藏,之后再渲染出来的时候弹层宽度错误的问题
  • \n
  • 🦀️ 清理并重写仓库 eslint 规则
  • \n
  • 📚 文档网站骨架迁移到 TypeScript
  • \n
\n

9.7.3(2021-07-02)

\n
    \n
  • 🦀️ Upload 文件对象上公开 fileid 属性,之前的 _file_id 仍保留,如果有使用 _ 开头的属性请尽快替换
  • \n
  • 🦀️ 修复 bootstrap 脚本参数问题
  • \n
  • 📚 Form 文档中 useMAppend 替换成 useMulti
  • \n
  • \n

    依赖升级

    \n
      \n
    • TypeScript 4.1 升级到 4.3
    • \n
    • rxjs v6 升级到 v7
    • \n
    • sortablejs 1.12.0 升级到 1.13.0
    • \n
    • webpack v4 升级到 v5,开发模式编译性能有较大提升
    • \n
    • jest v24 升级到 v27
    • \n
    • postcss v6 升级到 v8
    • \n
    • 升级其他所有依赖到最新版
    • \n
    \n
  • \n
  • 📚 使用 react-refresh-webpack-plugin 替换 @hot-loader/react-dom
  • \n
\n

9.7.2(2021-06-25)

\n
    \n
  • 🦀️ 修复 Tag 组件无法作为 Pop 的 trigger 使用的问题
  • \n
  • 🦀️ 修复 DatePicker 组件中当前时间按钮的禁用逻辑
  • \n
  • 🦀️ 更新 caniuse-lite 数据库
  • \n
  • 📚 修复 DataPicker 英文文档中示例丢失的问题
  • \n
\n

9.7.1(2021-06-17)

\n
    \n
  • \n

    Form

    \n
      \n
    • 🦀️ 之前版本 Model 被销毁后仍能被操作,导致一些比较奇怪的视图/数据不一致的问题,因此增加了 Model 销毁后继续被使用的检查,更及时的暴露问题
    • \n
    • 🦀️ 修复性能警告文案错误问题
    • \n
    • 📚 文档增加 Model 常用 API 描述
    • \n
    • 📚 修改 destroyOnUnmount 的文档,减少歧义
    • \n
    \n
  • \n
  • 📚 Pop 文档增加长文本的 FAQ
  • \n
\n

9.7.0(2021-06-04)

\n

这个版本都是 Form 相关改动。

\n

✨ 放宽绝大部分 Hooks 对 FormContext 的依赖。

\n
    \n
  • 允许 FieldFieldArray 相关 hooks 传入 Model 类型参数时在 FormContext 之外使用;FieldSet 相关 hooks 依旧必须在 FormContext 之中使用
  • \n
  • Hooks 在 Model 模式下允许使用 name 来引用 model 对象,不再限制仅在 View 模式允许使用 name
  • \n
  • 废弃临时解决方案 useModelValueuseModelValid,直接使用 useFieldValueuseFieldValid 即可
  • \n
\n

Model 模式下支持动态增/删表单项,设计文档

\n
    \n
  • 所有 model 对象上都增加了 builder 属性来获取生成这个 model 的 Builder 对象,View 模式下该字段永远为空
  • \n
  • FieldSetModelFormModel 上导出两个新方法 removeChild 以及 registerChild 用于删除/添加子 model
  • \n
  • 重载 FieldArrayModel 上的 push, unshift 以及 splice 方法接受 model 类型的参数,之前仅支持传 model 的值
  • \n
  • 新增 useNamedChildModel hook,用于订阅 FieldSetModel 以及 FormModel 子 model 的增加/删除行为
  • \n
  • 增加 Model 模式下动态增/删表单项的文档和示例
  • \n
\n

9.6.0(2021-05-28)

\n
    \n
  • InfiniteScroller 增加 threshold 参数,用以控制触发 loadMore 时距离列表底部的距离
  • \n
  • Menu inline 模式支持受控的菜单展开和选中
  • \n
  • Checkbox 支持 style 内联样式
  • \n
  • 🦀️ 修复 Selectwidth 为非数字并且没有设置 popupWidth 时,弹层和输入框宽度不一致的问题
  • \n
  • 📚 更新 Collapse 的类型定义和文档描述
  • \n
\n

9.5.0(2021-05-07)

\n
    \n
  • Affix 支持相对非 window 节点定位
  • \n
  • InfiniteScroller 支持 ref
  • \n
  • \n

    Form

    \n
      \n
    • willScrollToError 支持自定义滚动的节点
    • \n
    • 🦀️ ArrayBuilder 类型中移除 null
    • \n
    • 🦀️ 调整订阅容器值/校验状态时的警告逻辑,内部代码不再触发警告
    • \n
    \n
  • \n
  • 🦀️ 修复 Popover trigger 中对 Fragment 的错误处理
  • \n
  • 🦀️ 修复 ButtonDirective 中对 Fragment 的错误处理
  • \n
  • 🦀️ 修复某些浏览器(Safari)里 IMEComposition 内输入框不触发 onChange 事件
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀️ 修复并统一单选/多选/展开列的样式
    • \n
    • 🦀️ 列配置中的 nowrap 重命名为 noWrap,老字段仍然兼容
    • \n
    • 📚 更新文档中对于 Table 的描述
    • \n
    \n
  • \n
  • 📚 更新 Form 的文档,补充了基础 API 的信息
  • \n
\n

9.4.2(2021-03-26)

\n
    \n
  • 🦀️ Badge 类型定义中 children 属性改为可选
  • \n
  • 🦀️ 更新 @wojtekmaj/enzyme-adapter-react-17 到最新版
  • \n
  • \n

    Upload

    \n
      \n
    • 🦀️ 修复 getUploadSuccessOverrideProps 不生效的问题
    • \n
    • 🦀️ 修复一些文档和代码中的拼写错误
    • \n
    \n
  • \n
  • \n

    Form

    \n
      \n
    • 🦀️ FormInputField, FormImageUploadField 以及 FormUploadField 增加往 props.props 上设置默认值的警告
    • \n
    • 📚 修复 Model 模式示例中数组下标作为 key 的问题
    • \n
    • 📚 调整了文档结构,增加了一些概述性说明,方便理解表单的工作原理
    • \n
    \n
  • \n
  • 📚 修复 Select 虚拟滚动示例特殊情况下崩溃的问题
  • \n
  • \n

    文档

    \n
      \n
    • 📚 Github Actions 中增加同步 Gitee Pages 的能力
    • \n
    • 📚 Github Actions 中发版完成后增加企业微信通知
    • \n
    • 📚 更新 logo 以及设计语言网站链接
    • \n
    \n
  • \n
\n

9.4.1(2021-03-11)

\n
    \n
  • ✨ 导出 Form 中的 useFormChild,并添加了文档
  • \n
  • 🦀️ 修复 Cascader 设置 options 后选中状态不同步的问题
  • \n
  • 📚 不同版本的文档链接使用相对路径,方便部署到其他平台
  • \n
  • 📚 升级文档代码高亮包 prismjs,修复安全问题
  • \n
  • 📚 v9 的升级指南中将 Dialog 的视觉交互改动列入不兼容改动
  • \n
\n

9.4.0(2021-02-26)

\n
    \n
  • Popover / Pop / Tooltip hover 模式兼容 disabledinputbutton,目前仅支持 zent 内置组件,三方组件需要自行处理兼容问题,具体请参考文档
  • \n
  • \n

    Select

    \n
      \n
    • onKeywordChange 增加 meta 参数标识回调函数触发的原因
    • \n
    • 🦀️ 修复搜索框使用输入法时触发 onChange 的时机问题
    • \n
    \n
  • \n
\n

9.3.0(2021-01-28)

\n
    \n
  • MenuCascader 多选模式支持通过 simplifySelection 参数控制是否合并展示子节点全选的选项
  • \n
  • \n

    Form

    \n
      \n
    • ✨ Model 上新增 clearError 函数,用于手动清除错误状态
    • \n
    • ✨ 增加 useModelValueuseModelValid 两个不依赖 FormContext 的 Hooks
    • \n
    \n
  • \n
  • 📚 9.0 的 changelog 中补充遗漏的 Table 迁移描述
  • \n
\n

9.2.0(2021-01-21)

\n
    \n
  • Grid 支持单选
  • \n
  • \n

    DatePicker

    \n
      \n
    • 🦀️ 修复年份、月份的禁用逻辑
    • \n
    • 🦀️ 优化 CombinedDatePicker 交互
    • \n
    • 🦀️ DateRangePicker 支持数组形式的 disabledcanClear
    • \n
    \n
  • \n
  • 🦀️ 修复 DateRangeQuickPicker minmax 不生效的问题
  • \n
  • 🦀️ 修复 Select, Switch 以及 CheckboxGroup defaultProps 引起的类型问题
  • \n
  • 🦀️ 修复 Form 渲染时 willScrollToError 的警告信息
  • \n
  • 🦀️ 更新 Select 以及 Cascader 下拉箭头样式
  • \n
\n

9.1.2(2021-01-11)

\n
    \n
  • 🦀️ 修复 Grid 多选框串数据的问题
  • \n
  • 🦀️ 修复 Tree expandAll 变更不生效的问题
  • \n
  • 🦀️ 修复 Form 文档中 FormInputField 代码问题
  • \n
\n

9.1.1(2021-01-05)

\n
    \n
  • ✨ 新增一个图标
  • \n
  • \n

    Form

    \n
      \n
    • ✨ 滚动到第一个错误处功能支持通过 willScrollToError 自定义偏移量
    • \n
    • 🦀️ 调整表单域垂直间距为 24px
    • \n
    \n
  • \n
\n

9.1.0(2020-12-21)

\n
    \n
  • 💥 修复 Select 范型参数的问题,原来一个范型参数改为两个范型参数,Select<ISelecItem<number>> => Select<number>
  • \n
  • ✨ 新增单文件上传组件
  • \n
  • NumberInput 支持自定义步进
  • \n
  • 🦀️ 修复 Button 禁用时边框的样式问题
  • \n
\n

9.0.2(2020-12-18)

\n
    \n
  • Swiper 支持自定义上一个/下一个按钮
  • \n
\n

9.0.1(2020-12-18)

\n
    \n
  • \n

    Select

    \n
      \n
    • ✨ 支持受控模式下回填选中的值
    • \n
    • ✨ 支持自定义渲染输入框中已选择的选项列表,仅在多选模式可用
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • batchRender 添加位置参数
    • \n
    • 🦀️ 修复表头分组场景下浮动列表头高度问题
    • \n
    \n
  • \n
  • 🦀️ DateRangeQuickPicker 修改今日结束时间为当前时间
  • \n
\n

9.0.0(2020-12-14)

\n

详见 9.x 升级指南

\n

8.6.3(2021-03-19)

\n
    \n
  • 🦀️ 修复 UploadonUpload 返回值没有生效的问题
  • \n
\n

8.6.2(2021-01-11)

\n
    \n
  • 🦀️ 修复 Tree expandAll 不受控的问题
  • \n
\n

8.6.1(2020-12-18)

\n
    \n
  • \n

    Grid

    \n
      \n
    • 🦀️ 修复浮动列在表头分组场景下高度问题
    • \n
    • 🦀️ batchRender 增加渲染位置可选参数
    • \n
    \n
  • \n
\n

8.6.0(2020-12-15)

\n
    \n
  • ✨ 主题色支持透明度,主题色定义兼容老版本,但老版本无法使用透明度
  • \n
  • 🦀️ 调整 Radio 的右边距为 24px
  • \n
\n

8.5.12(2020-11-05)

\n
    \n
  • 🦀️ 修复 Upload 上传文件时顺序变化的问题
  • \n
  • 🦀️ 修复 Grid 自定义行组件的类型
  • \n
\n

8.5.11(2020-10-28)

\n
    \n
  • 🦀️ 修复 Form 的类型定义问题
  • \n
  • 🦀️ WindowEventHandler 兼容 SSR 场景
  • \n
  • 🦀️ Input 不可编辑状态下隐藏清除按钮
  • \n
\n

8.5.10(2020-10-22)

\n
    \n
  • 修复 Sortable 无法将元素移动到第一个的问题
  • \n
\n

8.5.9(2020-10-12)

\n
    \n
  • \n

    Form

    \n
      \n
    • 🦀️ 修复 FormModel.prototype.owner 不能赋值的问题
    • \n
    • 🦀️ 优化了 value-listener 中异步订阅的逻辑
    • \n
    • 🦀️ 类型定义优化
    • \n
    \n
  • \n
  • 🦀️ 修复 Button 部分场景下 disabled 处理逻辑不对的问题
  • \n
  • 🦀️ 修复 Portal 在 SSR 场景下的报错
  • \n
  • 🦀️ 修复 ClampLines 在文本为空时可能出现的渲染问题
  • \n
\n

8.5.8(2020-09-11)

\n
    \n
  • 🦀️ 调整 Button 之间的间距
  • \n
  • \n

    Form

    \n
      \n
    • Field 组件支持初始值 initialValue,并增加 reset 事件用于触发表单重置
    • \n
    • 🦀️ 修复 state 变更导致 ZentForm 不必要的重新创建
    • \n
    \n
  • \n
  • \n

    Input

    \n
      \n
    • ✨ 增加 onIconClick 回调
    • \n
    • TextareaInput 新增 maxCharacterCount 属性支持文本超长及错误提示
    • \n
    \n
  • \n
\n

8.5.7(2020-08-28)

\n
    \n
  • 🦀️ 修复 Progress 组件 circle 类型的 normalColorsuccessColorexceptionColorstrokeWidth 不生效问题
  • \n
\n

8.5.6(2020-08-21)

\n
    \n
  • 🦀️ 修复 Slider 值超出范围的问题
  • \n
  • 🦀️ 调整 Checkbox 之间的间距
  • \n
  • \n

    Form

    \n
      \n
    • 🦀️ 导出 IMaybeErrorValidatorContext
    • \n
    • 🦀️ 优化 FormSelectField 的类型定义
    • \n
    \n
  • \n
\n

8.5.5(2020-08-14)

\n
    \n
  • Loading 组件支持 colorPreset 参数
  • \n
  • ColorPicker 支持 disabled 参数禁用,并兼容 Disabled 组件
  • \n
  • 🦀️ 修复 Table 组件 renderBody 参数的类型定义
  • \n
  • 🦀️ 修复 Form 组件 scrollToError 定位错误的问题
  • \n
  • 🦀️ 删除无用的 formulr 依赖
  • \n
  • 🦀️ 更新两个图标 calendar-ogift
  • \n
  • 📚 更新文档高亮依赖的 prismjs 版本至 1.21.0
  • \n
\n

8.5.4(2020-08-04)

\n
    \n
  • 🦀️ 修复上个版本 TypeScripttslib 不匹配的问题
  • \n
  • 🦀️ 修复 Checkbox 禁用时的文字颜色
  • \n
  • 📚 增加一个 Form 自定义表单项的示例
  • \n
\n

8.5.3(2020-07-22)

\n
    \n
  • ✨ 添加新图标 thumbnail
  • \n
  • \n

    Form

    \n
      \n
    • formulr 合入仓库内,不再单独发包
    • \n
    • ✨ 增加 FormContext 支持自定义 labelStyle
    • \n
    • 🦀️ 确保 FieldArray 的 child 上一定存在 id 属性,可以避免使用数组下标作为 key
    • \n
    • 🦀️ 修复一个 React 的 warning
    • \n
    \n
  • \n
  • 🦀️ 修复 Grid batchComponents 为空数组是的渲染问题
  • \n
  • 🦀️ 修复编译自定义主题时的代码校验逻辑
  • \n
  • 🦀️ ClampLines 允许超长非 CJK 字符串词内折行
  • \n
  • 📚 文档导航增加 babel-plugin-zent 的链接
  • \n
  • 📚 修复文档的一些样式问题
  • \n
\n

8.5.2(2020-06-23)

\n
    \n
  • \n

    Form

    \n
      \n
    • 🦀️ 修复一些逻辑问题
    • \n
    • 🦀️ FormSelectField 支持 onDelete 逻辑处理,兼容 tags 模式
    • \n
    • 🦀️ 导出 validator 相关的类型
    • \n
    \n
  • \n
  • 🦀️ 修复 Swiper 组件在一些场景下跳动的问题
  • \n
  • 🦀️ 修复 ScrollAlert children 识别问题
  • \n
\n

8.5.1(2020-06-10)

\n
    \n
  • Tooltip 支持 display 属性透传到 Popover 组件
  • \n
  • ✨ 新增 drag 图标
  • \n
  • 🦀️ 更新 Dialog 的 TypeScript 类型定义
  • \n
  • 🦀️ 修复 NumberInput 的类型定义
  • \n
  • 🦀️ 修复 Form React 16.13 之后版本的 warning
  • \n
  • 📚 补充了 Form ValidateOption 相关的文档
  • \n
\n

8.5.0(2020-05-07)

\n
    \n
  • ✨ 新增 4 个图标:folder-o, open-folder-o, refresh, save-o
  • \n
  • Upload 删除默认辅助文案,不提供 tips 属性时不展示辅助文案
  • \n
  • \n

    Alert

    \n
      \n
    • ✨ 增加 hint 样式类型
    • \n
    • ✨ 增加 ScrollAlert,支持轮播的通知
    • \n
    \n
  • \n
  • \n

    Form

    \n
      \n
    • Fieldvalidate 会向上冒泡到上层的 FieldArray 或者 FieldSet
    • \n
    • ✨ 新增 ValidatorMiddlewares,用于动态修改 validator 的行为
    • \n
    • FormSelectField 支持透传 children
    • \n
    • 🦀️ 修复 Form submit 后 use after unmount 的问题
    • \n
    • 🦀️ 修复 SelectOptionFormInputField 的类型定义
    • \n
    \n
  • \n
  • 🦀️ 修复 Grid scroll.x 变化时固定列阴影展示问题
  • \n
  • 🦀️ 修复 Collapse 的类型定义
  • \n
  • 🦀️ 修复 Pagination 跳转页码按回车没反应的问题
  • \n
\n

8.4.0-1(2020-11-17)

\n
    \n
  • 🦀️ 修复部分组件主题色不支持 CSS Variable 配置的问题
  • \n
\n

8.4.0(2020-03-16)

\n
    \n
  • Upload 支持自定义上传项 UI
  • \n
  • Tabs 按钮样式优化
  • \n
  • 🦀️ 修复 Windows 系统开发兼容性问题
  • \n
  • 🦀️ DatePicker 不修改传入的 Date 类型参数
  • \n
  • \n

    Grid

    \n
      \n
    • 🦀️ 修复窗口尺寸变化时固定列的阴影没有同步更新的问题
    • \n
    • 🦀️ 修复禁用行 hover 高亮时的背景色问题
    • \n
    • 🦀️ 修复 getCheckboxProps 类型定义
    • \n
    \n
  • \n
  • \n

    Form

    \n
      \n
    • 🦀️ 导出 BasicForm
    • \n
    • 🦀️ 修复 required 参数类型处理不正确的问题
    • \n
    \n
  • \n
\n

8.3.0(2020-02-26)

\n
    \n
  • \n

    Grid

    \n
      \n
    • ✨ 增加禁用行高亮的参数 disableHoverHighlight
    • \n
    • 🦀️ 修复跨页反选后数据错误的问题
    • \n
    \n
  • \n
  • 🦀️ 修复了部分文档样式问题
  • \n
  • \n

    Form

    \n
      \n
    • 🦀️ 更新样式
    • \n
    • 🦀️ 修复 FieldSet 类型定义
    • \n
    • 🦀️ 导出 ValidateOption
    • \n
    \n
  • \n
  • 📚 升级了文档网站的依赖
  • \n
\n

8.2.0(2020-02-18)

\n
    \n
  • BlockHeader 增加一种极简样式
  • \n
  • Grid 表头吸顶支持自定义顶部偏移量
  • \n
  • 🦀️ 修复兼容百分比超出范围时 Progress 样式错误的问题
  • \n
  • \n

    Form

    \n
      \n
    • 🦀️ 更新错误样式
    • \n
    • 🦀️ 修复 TypeScript 类型定义问题
    • \n
    \n
  • \n
\n

8.1.0(2020-02-10)

\n
    \n
  • \n

    Grid

    \n
      \n
    • ✨ 表头支持吸顶
    • \n
    • ✨ 行复选框禁用时支持设置提示文案展示原因
    • \n
    \n
  • \n
  • \n

    Form

    \n
      \n
    • ✨ 增加表单值联动的示例
    • \n
    • ✨ 使用 model 模式时 Field 组件支持 validators 参数,主要应用场景是用在 FieldArray
    • \n
    • 🦀️ 修复 FormNumberInputField 数据和视图不一致的问题
    • \n
    • 🦀️ 调整了非输入框的 Field 行高,视觉上更紧凑
    • \n
    \n
  • \n
  • 🦀️ 优化了 ColorPicker 的拖拽性能,视觉上更加平滑,不卡顿
  • \n
  • 🦀️ 修复 Select 组件首次渲染时选中元素为空的问题
  • \n
  • \n

    Upload

    \n
      \n
    • 🦀️ 修改上传组件的文件数量计算规则,将上传失败的文件也统计到上传文件数量中
    • \n
    • 🦀️ 修改 FILE_UPLOAD_STATUS 常量的导出方式为组件上的静态属性
    • \n
    \n
  • \n
\n

8.0.1(2020-01-19)

\n
    \n
  • \n

    Upload

    \n
      \n
    • 🦀️ 新版使用和老版本不一样的类名
    • \n
    • 🦀️ 修复一个删除上传项时页数计算错误的问题
    • \n
    \n
  • \n
\n

8.0.0(2020-01-17)

\n
    \n
  • 🎉 增加 Waypoint 组件,这个组件抽象了元素移入/移除屏幕的逻辑
  • \n
  • 🎉 增加 Dropdown 组件,只是对 Popover 组件的一层简单封装
  • \n
  • 🎉 [breaking change] 重写 Upload 组件,不兼容老版本;老版本请使用 @zent/compat
  • \n
  • \n

    Affix

    \n
      \n
    • [breaking change] ✨ offsetTop 不再有默认值 0,必须自己传
    • \n
    • ✨ 使用 Waypoint 重写
    • \n
    • ✨ 支持同时设置 offsetTopoffsetBottom
    • \n
    \n
  • \n
  • \n

    InfiniteScroller

    \n
      \n
    • ✨ 使用 Waypoint 重写
    • \n
    • [breaking change] ✨ 删除无用的 offsetuseCaptureprefix 属性
    • \n
    • [breaking change] ✨ 重命名 initialLoadskipLoadOnMount,意义相反,默认值行为没变
    • \n
    • [breaking change] ✨ hasMore 默认值修改为 false
    • \n
    • [breaking change] ✨ useWindow 默认值修改为 false
    • \n
    \n
  • \n
  • \n

    Cascader

    \n
      \n
    • ✨ 支持 disabled 属性
    • \n
    • ✨ 删除 prefix 支持
    • \n
    • 🦀️ onChange 现在传入的是原始的 option 元素
    • \n
    • 🦀️ 更新 placeholder 文字颜色
    • \n
    • 🦀️ [breaking change] 所有 CSS 类名增加前缀,例如 .open 这种
    • \n
    \n
  • \n
  • \n

    Select

    \n
      \n
    • ✨ 删除 prefix 支持
    • \n
    • 🦀️ 更新组件的箭头图标,和其他组件保持一致
    • \n
    • 🦀️ [breaking change] 所有 CSS 类名增加前缀,例如 .tags__empty 这种都被替换掉了
    • \n
    \n
  • \n
  • ✨ 优化了全局事件处理
  • \n
  • \n

    Icon

    \n
      \n
    • ✨ 增加两个新图标 filter-oscan-code-o
    • \n
    • ✨ 重命名 text-guidetext-guide-o
    • \n
    • ✨ 重命名 video-guidevideo-guide-o
    • \n
    \n
  • \n
  • QuickDateRangePicker 支持默认选中一个 preset
  • \n
  • eslint 替换 tslint
  • \n
  • 🦀️ 更新 Dialog 关闭按钮样式
  • \n
  • \n

    Form

    \n
      \n
    • ✨ 增加 useFieldValue hook
    • \n
    • Form 上增加 getSubmitValue 方法
    • \n
    • 🦀️ 更新错误样式
    • \n
    • 🦀️ 更新类型定义
    • \n
    • 🦀️ 导出 FormDescription 组件
    • \n
    • 🦀️ FormSelectField 透传 withoutLabel 属性
    • \n
    • 🦀️ layout 改为可选参数
    • \n
    \n
  • \n
  • 🦀️ 修复 CopyButton 的类型定义
  • \n
  • 🦀️ 修复 Pagination 的字体样式
  • \n
  • 🦀️ 修复 Rate 组件小数值时的图标显示问题
  • \n
  • 🦀️ 修复部分组件 babel-plugin-zent 处理不正确的问题
  • \n
\n

7.4.5(2021-03-11)

\n
    \n
  • 🦀️ 回迁 PR#1406,修复 Swiper 的快速切换的逻辑问题
  • \n
\n

7.4.4(2020-05-11)

\n
    \n
  • 🦀️ 修复一个 NumberInput 输入状态不对的问题
  • \n
\n

7.4.3(2019-12-19)

\n
    \n
  • 🦀️ 修复 FormSelectFielddestroyOnUnmount 没有生效的问题
  • \n
  • 🦀️ 优化 Form 的类型定义
  • \n
  • 🦀️ FormNumberInputField(integer) 以及 FormSelectField(tags, data) 的所有属性都归入 props 下,跟其他组件统一
  • \n
  • 🦀️ 更新表单报错的样式
  • \n
\n

7.4.2(2019-12-13)

\n
    \n
  • 🦀️ 修复 Grid 一个样式问题
  • \n
  • 🦀️ 修复 DateRangeQuickPicker 的类型问题
  • \n
\n

7.4.1(2019-12-13)

\n
    \n
  • ✨ 新增 3 个新图标:doc, video, audio
  • \n
  • ✨ 使用一个内置的精简版替换 tinycolor2
  • \n
  • 🦀️ 修复 Layout 组件不兼容 SSR 的问题
  • \n
  • 🦀️ Grid 的 column name 支持 a.b.c 这种写法,不推荐使用,仅为和老版本兼容
  • \n
  • 🦀️ 修复 Sortable 组件重复初始化的问题以及类型定义
  • \n
  • 🦀️ 修复 TextMark 的类型定义
  • \n
  • 🦀️ 增大时间选择组件的图标大小
  • \n
  • 🦀️ 调整 BlockHeadertitle 类型为 ReactNode
  • \n
  • 🦀️ 清理了 createAlias 相关的无用代码
  • \n
\n

7.4.0(2019-12-06)

\n
    \n
  • ✨ 新增 Tooltip 组件,用于展示提示信息
  • \n
  • ✨ 删除 lodash-es 依赖,改用内置函数以及语言特性,同时明确了必须的 polyfill
  • \n
  • 🦀️ [breaking change] 所有时间选择组件的 isFooterVisble 参数重命名为 isFooterVisible,这是个存在很久的拼写错误;如有使用地方,全局替换即可,不发大版本了。
  • \n
  • 🦀️ 修复 Select 选项过滤之后按回车选择没有用的问题
  • \n
  • 🦀️ 修复 Upload 组件在上传中删除某一项时报错的问题
  • \n
  • 🦀️ Upload 组件拖动排序之后不再重置每个图片的唯一 ID
  • \n
\n

7.3.2(2019-11-29)

\n
    \n
  • Link 组件独立目录,同时兼容 Disabled 组件
  • \n
\n

7.3.1(2019-11-27)

\n
    \n
  • ✨ 新增 Link 组件替换 zent-link CSS 的使用场景
  • \n
  • RadioCheckbox 新增 labelStyle
  • \n
  • 🦀️ 修复 ButtonDirective 样式问题
  • \n
  • 🦀️ 修复打包编译时读取到的包版本和发布的版本不一致的问题
  • \n
  • 🦀️ 回滚 Radio 文字标签的 displayinline
  • \n
  • 🦀️ 修复 RadioGroup 内非 Radio 组件不可见的问题
  • \n
  • 🦀️ 修复 CheckboxGroup 内非 Checkbox 组件不可见的问题
  • \n
\n

7.3.0(2019-11-25)

\n
    \n
  • 🎉 隔离不同版本 zent 的样式,避免页面上存在两份 zent 时的样式污染。
  • \n
  • 🎉 增加了一批编译期常量,可在 TypeScript 或者 SCSS 文件内使用,类似 C 语言的 __FILE__ 这种变量
  • \n
  • 🦀️ 更新 BlockHeader 内部图标颜色
  • \n
  • 🦀️ 修复 Grid 批量操作导致滚动展示异常的问题
  • \n
  • 🦀️ 修复 FormRadioGroupField defaultValue 的判空问题
  • \n
\n

样式隔离可能的不兼容影响

\n
    \n
  • 如果有代码直接使用了 zent 的 CSS 样式,但是没有使用 zent 的组件,这个版本之后这些使用方式都会失效。
  • \n
  • 部分自定义样式如果优先级和组件库内的是一样的,但是依赖样式出现的顺序来实现覆盖的,在这个版本之后可能会遇到自定义样式失效的问题;解决方案是增加一个自定义类名,提高自定义样式的优先级。
  • \n
\n

已知受影响的使用场景

\n
    \n
  • 直接使用 Icon CSS 样式的请使用 Icon 组件
  • \n
  • 直接使用 Breadcrumb CSS 样式的请使用 Breadcrumb 组件
  • \n
  • 使用 zent-link CSS 样式的请使用 Link 组件,这个组件就是一个 a 标签,封装了样式
  • \n
\n

7.2.0(2019-11-18)

\n
    \n
  • 🎉 新增 IMEComposition 组件,同时对有用到 input 的组件内部做了兼容处理
  • \n
  • Grid 添加批量操作支持
  • \n
  • Pagination 增加到达最后一页时的提示支持
  • \n
  • ✨ 升级 date-fns 到 2.x 版本
  • \n
  • ✨ Fork fecha,用 TypeScript 重写;官方的包类型定义问题反反复复出现,不跟他们玩了
  • \n
  • 📚 扩充了 Form 的上手文档
  • \n
  • 🦀️ 增大 BlockHeader 的图标
  • \n
  • 🦀️ 修复 Radio 以及 Checkbox 的高度问题,现在不会有多余的垂直方向空白了
  • \n
  • 🦀️ 修复了 useFieldArrayValue 数据丢失的问题
  • \n
  • 🦀️ 优化 Form 默认的错误渲染函数处理 undefined 的逻辑
  • \n
  • 🦀️ 修复 FormSelectField, Form 以及 FieldSet 的类型定义问题
  • \n
  • 🦀️ 修复 Switch, CopyButton 以及 DatePicker 的类型定义问题
  • \n
\n

7.1.0(2019-11-08)

\n
    \n
  • Select 增加 retainNullOption 参数允许选中值为 null 的选项
  • \n
  • ✨ 新增 Notify.info
  • \n
  • 📚 全新的图标列表
  • \n
  • 🦀️ 修复 Progress 在 Safari 下页面缩放时的样式错位问题
  • \n
  • 🦀️ 修复 FormCascader 的类型定义
  • \n
  • 🦀️ 更新 PaginationQuarterPickeri18n 的使用方法
  • \n
\n

7.0.1 (2019-11-01)

\n
    \n
  • 🦀️ Form 增加 default export
  • \n
\n

7.0.0 (2019-11-01)

\n

改动较多,参考这个文档

\n

6.6.2 (2019-02-26)

\n
    \n
  • \n

    Form

    \n
      \n
    • 🦀️ 修复异步检验通过还是报错的问题
    • \n
    • 🦀️ 更新 createForm 的 TypeScript 定义
    • \n
    \n
  • \n
  • 🦀️ 增加 Affix 以及 Avatar DOM 节点不存在时的异常校验
  • \n
\n

6.6.1 (2019-01-30)

\n
    \n
  • 🦀️ 修复 Grid 表头滚动时内容不跟着滚动的问题
  • \n
\n

6.6.0 (2019-01-29)

\n
    \n
  • Grid 支持表头分组
  • \n
  • 🦀️ 修复了 Table, Grid, WindowResizeHandlerundefined 报错问题
  • \n
\n

6.5.3 (2019-01-13)

\n
    \n
  • Pop 支持函数形式的 position 参数,参考 Popover.Position.create
  • \n
  • \n

    Form

    \n
      \n
    • 📚 增加了自定义校验函数的文档
    • \n
    • 🦀️ 修复了使用 Fragment 时滚动报错的问题
    • \n
    \n
  • \n
  • 🦀️ 修复 ClampLines 组件修改 text 后不更新的问题
  • \n
  • 🦀️ 修复了几个组件中 unmount 之后部分代码报错的问题,包括 Table, Select, Grid, ClampLines
  • \n
\n

6.5.2 (2018-12-12)

\n
    \n
  • ⚠️ 回滚了之前 6.4.0 版本引入的一个 FormSelectFieldtags 模式下的不兼容改动,不影响 Select 组件本身,且这个问题只在使用了 FormSelectFieldtags 模式才会出现。
  • \n
\n

6.5.1 (2018-12-07)

\n

⚠️ 6.4.0 版本引入了一个 FormSelectFieldtags 模式下的不兼容改动,6.5.2 已经回滚这个改动。

\n
    \n
  • ✨ 增加维权图标
  • \n
  • \n

    Table

    \n
      \n
    • ✨ 支持在行内渲染半选中状态的复选框
    • \n
    • 🦀️ 修复右对齐无效的问题
    • \n
    \n
  • \n
  • 🦀️ 修复 Form 对组件类型的检查
  • \n
  • 🦀️ 修复了一些 TypeScript 的类型定义问题
  • \n
\n

6.5.0 (2018-10-29)

\n

⚠️ 6.4.0 版本引入了一个 FormSelectFieldtags 模式下的不兼容改动,6.5.2 已经回滚这个改动。

\n

⚠️ Form 的改动可能会导致之前写的有问题代码暴露出问题来,如果遇到这个问题请在 onSubmitFail 里处理这些异常。

\n
    \n
  • ✨ 增加一批新的图标
  • \n
  • 🦀️ Form 提交时不会再静默吞掉未处理的异常
  • \n
  • 🦀️ 用 lodash/assign 替换了代码中对 Object.assign 的依赖
  • \n
  • 🦀️ 修复 SKU 组件中弹窗的层级问题
  • \n
  • 🦀️ 修复 Grid 组件的 TypeScript 定义
  • \n
\n

6.4.1 (2018-10-16)

\n

⚠️ 6.4.0 版本引入了一个 FormSelectFieldtags 模式下的不兼容改动,6.5.2 已经回滚这个改动。

\n
    \n
  • Tabs 通过 navExtraContent 增加导航栏自定义额外内容的能力
  • \n
\n

6.4.0 (2018-09-26)

\n

⚠️ 这个版本引入了一个 FormSelectFieldtags 模式下的不兼容改动,6.5.2 已经回滚这个改动。

\n
    \n
  • FormSelectField 支持 tags 模式 (已回滚)
  • \n
  • 🦀️ 修复 Select 组件 placeholder 颜色不对的问题
  • \n
  • 🦀️ 修复 Upload 上传多个音频时的样式问题
  • \n
\n

6.3.0 (2018-09-07)

\n
    \n
  • TimePicker 组件增加 disabledTime 时间禁用函数属性
  • \n
  • Loading 支持延迟显示
  • \n
  • ✨ 打包支持 ES module 输出形式
  • \n
  • babel-plugin-zent@1.2.1 支持只处理样式引入,配合 ES module 实现 tree shaking(需要打包工具支持)
  • \n
  • \n

    InfiniteScroller

    \n
      \n
    • 🦀️ 修复反复触发 loadMore 回调的问题
    • \n
    • 🦀️ 修复文档问题
    • \n
    \n
  • \n
\n

6.2.0 (2018-08-24)

\n
    \n
  • 🎉 新增多文本缩略显示 ClampLines 组件
  • \n
  • Grid 支持拖拽操作
  • \n
  • Menu 添加子菜单折叠/展开以及点击的回调函数
  • \n
  • 🦀️ DatePicker 关闭浏览器自动填充输入框的行为
  • \n
  • 🦀️ 修复 Form 初始化 FieldArray 时的问题
  • \n
\n

6.1.0 (2018-08-03)

\n
    \n
  • \n

    Grid

    \n
      \n
    • ✨ 支持给每一列设置一个默认的展示文案
    • \n
    • 🦀️ 修复 selection.getCheckboxProps 没有实时更新的问题
    • \n
    \n
  • \n
  • ✨ 新增几个 Icon
  • \n
  • Cascader 支持通过 expandTrigger 设置子菜单的触发方式
  • \n
  • Pop 增加 containerSelector 支持
  • \n
  • \n

    Button

    \n
      \n
    • ✨ 样式更新
    • \n
    • ✨ 当按钮文案为两个中文字符时,会在两个字符中间插入一个空格
    • \n
    \n
  • \n
  • 🦀️ 修复了 NumberInput 处理 .xy 形式的浮点数的问题
  • \n
  • 🦀️ Table 选择模式下支持将行设置为选中同时是禁用的状态
  • \n
  • 🦀️ 修复 FormFieldArray 没有正确更新的问题
  • \n
  • 🦀️ 修复了非常多的 TypeScript 定义问题
  • \n
\n

6.0.1 (2018-07-13)

\n
\n

⚠️ 之前的版本 Icon 字体文件可能在 Windows 下展示会有问题,如果 Window 环境对你很重要建议使用这个版本。

\n
\n
    \n
  • 🦀️ 修复 Windows 下 Icon 显示不正常的问题
  • \n
\n

6.0.0 (2018-07-04)

\n
\n

这个版本移除了对 React 15.3 以下版本的支持。

\n

文档网站从这个版本开始将放到 github pages 上维护。

\n
\n
    \n
  • 💥 [breaking change] 删除 Loading 组件的 on, off 以及 newInstance 方法
  • \n
  • 💥 [breaking change] 修复 WeekPicker 的禁用和选中逻辑
  • \n
  • 💥 [breaking change] Table 单元格的 box-sizing 变为 border-box
  • \n
  • 💥 [breaking change] 删除 Select 弹层上的 zent-select 类名,这个类名只应该存在于 trigger 上面
  • \n
  • 🎉 新组件 Mention
  • \n
  • 🎉 新组件 Timeline
  • \n
  • 🎉 Tree 重写了一个新版,兼容老的 API,通过 useNew 启用;新版加入了受控模式支持
  • \n
  • \n

    Form

    \n
      \n
    • FieldArray 支持串行调用多次操作函数,如 push
    • \n
    • DateRangePickerField 以及 DateRangeQuickPickerField 支持通过 dateFormat 来透传依赖组件的 format prop
    • \n
    • ✨ 补全 DatePicker 相关的 Field 类型,比如 FormWeekPickerField
    • \n
    • FieldArray 支持通过 setFieldsValue 以及 initialize 修改值
    • \n
    \n
  • \n
  • \n

    Grid

    \n
      \n
    • ✨ 增加 TypeScript 类型定义
    • \n
    • ✨ 支持 expandation 行展开配置
    • \n
    • ✨ 增加行展开时的 onExpand 回调函数
    • \n
    • onChange 回调支持传递分页大小
    • \n
    • 🦀️ 移除 cloneDeep 的使用,React 16 下复制 jsx 会报错
    • \n
    • 🦀️ 修复 rowKey 无效的问题
    • \n
    • 📚 文档优化
    • \n
    \n
  • \n
  • \n

    ErrorBoundary

    \n
      \n
    • ✨ 增加 catchError HOC,适合使用 decorator 的场景
    • \n
    • 📚 修复文档中 withErrorBoundary 的描述
    • \n
    \n
  • \n
  • \n

    Cascader

    \n
      \n
    • ✨ 增加 displayText 回调自定义选中值的展示
    • \n
    • 🦀️ 修复 value 值不存在时报错的问题
    • \n
    \n
  • \n
  • Table 组件的 onChange 回调支持传递分页大小
  • \n
  • AutoComplete 增加 TAB 按键处理
  • \n
  • SplitButton 支持下拉菜单位置配置
  • \n
  • Pagination 支持在分页大小改变时触发 onPageSizeChange 回调函数
  • \n
  • 🦀️ 修复 BlockHeader 标签类型限制的问题(p 不能嵌套 div)
  • \n
  • 🦀️ 修复 AvatarTypeScript 类型定义
  • \n
  • 🦀️ 修复 SortableTypeScript 类型定义
  • \n
  • 🦀️ 修复 SplitButtonTypeScript 类型定义
  • \n
  • 🦀️ 修复 TabsTypeScript 类型定义
  • \n
  • 🦀️ 添加了几个新的图标
  • \n
  • 🦀️ 修复 Input 组件的 addonBeforeaddonAfter 样式
  • \n
  • 🦀️ 修复 Swiper 组件只有两个元素时删除其中一个元素时位置错位的问题
  • \n
  • \n

    Dialog

    \n
      \n
    • 🦀️ 修复关闭时报错的问题
    • \n
    • 🦀️ 修复 SSR 报错
    • \n
    \n
  • \n
  • 🦀️ 修复 Button 组件代码里的一些拼写错误,不影响功能
  • \n
  • 🦀️ 修复 Collapse 组件的 props 类型申明
  • \n
  • 🦀️ 修复 DatePicker 时间禁用逻辑
  • \n
  • 🦀️ 修复 Select 某些情况下 focus 报错的问题
  • \n
  • 🦀️ 修复 Loading 组件在 React 16 下关闭报错的问题
  • \n
  • 🦀️ 删除了 Card 中的一些无用样式
  • \n
  • 📚 修复文档的 babel 拼写错误
  • \n
\n

Breaking change 迁移方案

\n
\n

Loading on, off, newInstance 的迁移方案:

\n
\n

Loading.on 以及 Loading.off 替换为组件形式,并通过 state 上的开关控制。

\n
<Loading float show={this.state.loading} />
\n

如果使用了 newInstance 方法,渲染多个 Loading 实例即可。

\n
\n

WeekPicker 迁移方案:

\n
\n
    \n
  • 涉及到自定义了 diabledDate 的场景,新版中返回的日期区间将只包含可选的日期,老版本会返回整个完整的周,包括那些不可选的日期。这个代码里自行处理下,多数情况应该没有影响。
  • \n
  • 内部维护的周日期区间 [start, end] 两个值的时间部分有变化,新版 start 时间部分是 00:00:00:000, end 时间部分是 23:59:59:999。所以在 disabledDate 的回调函数里判断日期是否禁用的时候需要注意时间部分的差,原则上日期比较是不应该关注时间部分的,但是很多写得不好的代码是直接 a.getTime() < b.getTime() 这样比较的,这种用法很大概率上会出问题。
  • \n
\n
\n

Table 单元格样式迁移方案:

\n
\n

之前是 content-box,这次更新之后变为 border-box,有些情况下可能会出现单元格变窄的情况,需要在使用的地方适当将受影响的单元格加宽。

\n
\n

Select 弹层的 zent-select 类名迁移方案:

\n
\n

首先把这个类名删除是正确的,trigger 和 弹层是不应该公用一个类名的。之前依赖弹层上的 zent-select 类名的地方改为 zent-select__popover 就行了。

\n

5.1.1 (2018-04-19)

\n
    \n
  • 🦀️ 修复 Dialog 某些情况下关闭的时候没有动画的问题
  • \n
  • 🦀️ 修复 Table 单元格宽度超出设置值的问题
  • \n
  • 🦀️ Form 滚动到第一个错误位置时允许非 ControlGroup 封装的 Field
  • \n
  • ✨ 升级 lerna 到最新版
  • \n
\n

5.1.0 (2018-04-17)

\n
    \n
  • 🎉 新组件 ErrorBoundary,需要 React >= 16
  • \n
  • 🎉 新组件 SplitButton
  • \n
  • previewImage 支持图片缩放
  • \n
  • BlockHeader 增加 childAlign 属性,支持子元素靠右侧显示
  • \n
  • Portal 组件重构,新增 PurePortalLayeredPortal
  • \n
  • ✨ 升级 Design 组件的拖拽库
  • \n
  • Dialog 增加打开/关闭动画
  • \n
  • \n

    YearPicker

    \n
      \n
    • ✨ 支持设置 maxmin
    • \n
    • value 支持 Date 类型
    • \n
    \n
  • \n
  • 🦀️ 修复 heightLoading 不显示的时候被忽略的问题
  • \n
  • 🦀️ 修复 BlockHeader 弹层样式
  • \n
  • 🦀️ 修复 PopoverReact 16 下位置计算不正确的问题
  • \n
  • 🦀️ 修复 Form 组件 asyncValidate 的返回值在某些条件下不是 Promise 的问题
  • \n
  • 🦀️ 修复 Pagination 样式问题
  • \n
  • 🦀️ Selecttag 模式会撑大内容区域,而不是出现滚动条
  • \n
  • 🦀️ Cascader 单测兼容 React 16
  • \n
  • 📚 更新文档网站中英文截图
  • \n
\n

5.0.1 (2018-03-20)

\n
    \n
  • 🦀️ 修复 WeekPicker 文字溢出问题
  • \n
  • 🦀️ 修复了一些打包问题
  • \n
\n

5.0.0 (2018-03-16)

\n
\n

⚠️ 这个版本 Upload 组件有问题,请不要使用。

\n

从这个版本开始正式支持 React 16,后续开发都将基于 16。

\n
\n
    \n
  • 🎉 升级 React 以及 Enzyme 到最新版本,正式支持 React 16
  • \n
  • \n

    Button

    \n
      \n
    • ✨ 添加对图标的支持
    • \n
    • ✨ 新增 Button.Group 容器
    • \n
    \n
  • \n
  • Steps 组件新增一个 process 状态,并且默认值也修改为 process
  • \n
  • 🦀️ 修复 Loading 组件高度问题
  • \n
  • 🦀️ 更新 BlockHeader 组件样式
  • \n
  • \n

    Tree

    \n
      \n
    • 🦀️ 修复节点 expand 不生效的问题
    • \n
    • 📚 补充 loadMore 的文档
    • \n
    \n
  • \n
  • \n

    Upload

    \n
      \n
    • ✨ 允许通过 errorMessages 参数自定义错误提示文案
    • \n
    • 🦀️ 收敛 CSS 的类名,降低冲突风险
    • \n
    \n
  • \n
\n

4.3.2 (2018-03-07)

\n
\n

⚠️ 这个版本 Loading 组件样式有问题,请不要使用。

\n
\n
    \n
  • 🦀️ 更新 Loading 组件高度设置逻辑
  • \n
  • 🦀️ 修复 Pagination 文案
  • \n
  • 🦀️ 修复 RadioCheckbox 组件嵌套使用时的问题
  • \n
  • 🦀️ RadioCheckbox 的分组组件只读或禁用时会忽略组件自身的设置
  • \n
  • 🦀️ 修复 Upload 组件样式问题
  • \n
\n

4.3.1 (2018-03-05)

\n
    \n
  • 🦀️ 修复 Select 组件在标签样式下 placeholder 缩进不一致的问题
  • \n
  • 🦀️ 修复 Popover 在特定情况下循环调用 adjustPosition 的问题
  • \n
  • 🦀️ 调整 Tree 组件的字体大小
  • \n
  • 🦀️ 修复 Grid 组件在 Windows 系统下的现实问题
  • \n
  • 🦀️ 修复 CopyButton 在某些情况下选择错误的问题
  • \n
\n

4.3.0 (2018-02-14)

\n
\n

情人节快乐!新春快乐!

\n
\n
    \n
  • 🎉 新增 AutoComplete 组件
  • \n
  • 🎉 新增 Rate 评分组件
  • \n
  • 🦀️ 优化 Notify 动画
  • \n
  • 🦀️ 去除 Tabs 组件样式中不必要的 !important
  • \n
  • 🦀️ 修复 Select 搜索框无法获取输入焦点的问题
  • \n
\n

4.2.3 (2018-02-09)

\n
    \n
  • 🦀️ 修复 Sortable 在没传 items 时的问题
  • \n
\n

4.2.2 (2018-02-07)

\n
    \n
  • Steps 新增垂直样式
  • \n
  • 🦀️ 修复 Grid 表头高度问题
  • \n
  • 🦀️ 修复打包 CSS 样式丢失问题
  • \n
\n

4.2.1 (2018-02-06)

\n
\n

⚠️ 这个版本 CSS 打包有问题,请不要使用。

\n
\n
    \n
  • 🦀️ 修复 Upload 文件类型判断问题
  • \n
\n

4.2.0 (2018-02-05)

\n
\n

⚠️ 这个版本 CSS 打包有问题,请不要使用。

\n
\n
    \n
  • 🎉 新组件 Avatar
  • \n
  • 🎉 新组件 Collapase
  • \n
  • Menu 增加内联模式
  • \n
  • Cascader 支持菜单样式
  • \n
  • Input 清空按钮的回调函数中加入判断来自按钮的参数
  • \n
  • ✨ 补全各个时间选择器的 TypeScript 定义
  • \n
  • Badge 组件支持自定义偏移量
  • \n
  • NumberInput 支持回车确认输入
  • \n
  • UploadonUpload 回调支持返回一个 Promise
  • \n
  • 🦀️ 修复 SortableonMove, onEndonChange 同时传入时的问题
  • \n
  • 🦀️ 修复 Form 中的多行文本框无法换行的问题
  • \n
  • 🦀️ 修复 InfiniteScroller 样式问题
  • \n
  • 🦀️ 修复 Select 键盘事件无效的问题
  • \n
  • 🦀️ 修复 Grid 边框样式问题
  • \n
  • 🦀️ 修复 Select 死循环问题
  • \n
\n

4.1.0 (2018-01-29)

\n
    \n
  • 🎉 新增 TimePickerTimeRangePicker
  • \n
  • 🎉 新增 Placeholder 组件
  • \n
  • 🎉 新的文档网站样式
  • \n
  • \n

    Card

    \n
      \n
    • ✨ 新增 loading 状态支持
    • \n
    • ✨ 支持嵌套的卡片
    • \n
    • 🦀️ 样式更新
    • \n
    \n
  • \n
  • DatePicker 支持 canClear 参数配置是否可以清除选中的时间
  • \n
  • \n

    Upload

    \n
      \n
    • ✨ 支持外部传入分组
    • \n
    • 🦀️ 修复可以选择超过 maxAmount 数量文件的问题
    • \n
    • 🦀️ 修复自动弹出的问题
    • \n
    \n
  • \n
  • 🦀️ 修复 Notify 背景色
  • \n
\n

4.0.0 (2018-01-23)

\n
    \n
  • 💥 DateRangePicker 不再支持合并模式,type 参数废弃,升级请注意样式
  • \n
  • \n

    Upload

    \n
      \n
    • ✨ 支持分组功能
    • \n
    • ✨ 国际化支持
    • \n
    \n
  • \n
  • Menu 支持图标展示
  • \n
  • \n

    DatePicker

    \n
      \n
    • 🦀️ 修复未选择时间直接确认没有考虑最小时间的问题
    • \n
    • 🦀️ 修复最小时间的判断问题
    • \n
    \n
  • \n
  • \n

    Design

    \n
      \n
    • 🦀️ 文档样式修复
    • \n
    • 🦀️ DesignEditor 不再继承 PureComponent
    • \n
    \n
  • \n
  • 🦀️ Slider 样式修复
  • \n
  • 🦀️ 修复文档网站锚点失效的问题
  • \n
  • 🦀️ Grid 修复头部高度不同步的问题
  • \n
  • 🦀️ 优化 Notify 的动画
  • \n
  • \n

    Select

    \n
      \n
    • 🦀️ 修复在部分浏览器下的兼容性问题
    • \n
    • 🦀️ 修复 emptyText 无效的问题
    • \n
    \n
  • \n
  • 🦀️ Sortable 修复示例
  • \n
\n

3.12.3 (2018-01-10)

\n
    \n
  • 🦀️ 修复 Slider 组件背景色问题
  • \n
  • 🦀️ Upload 添加 image/bmp 支持
  • \n
  • 🦀️ 修复 Design demo 中按钮布局和样式
  • \n
\n

3.12.2 (2018-01-09)

\n
    \n
  • Loading 没有 children 时去掉蒙层的背景色
  • \n
  • ✨ 重命名文件,保持项目内统一
  • \n
  • 🦀️ 修复 Grid 头部样式
  • \n
  • 🦀️ 修复大号 Button 字体大小
  • \n
  • 🦀️ 修复 MonthPicker 没有判断年份的问题
  • \n
  • 📚 增加了国际化的文档
  • \n
\n

3.12.1 (2018-01-05)

\n
    \n
  • 🦀️ 修复 CombineDateRangePicker 没有选完就关闭的问题
  • \n
  • 🦀️ 修复 Notify 出场动画问题
  • \n
\n

3.12.0 (2018-01-04)

\n
    \n
  • 🎉 新增拖拽排序组件 Sortable
  • \n
  • 🎉 组件国际化支持
  • \n
  • Tag 支持外部控制显示隐藏
  • \n
  • Input 组件支持清除按钮
  • \n
  • Grid 组件支持表头固定垂直滚动
  • \n
  • Notify 支持多个实例排列显示,同时加上了进出场动画
  • \n
  • \n

    Form

    \n
      \n
    • Field 修改错误显示逻辑,支持 displayError 控制错误是否显示
    • \n
    • Field 支持 relatedFields 指定检验时同时触发的其他字段
    • \n
    • ✨ 重写 FieldArray
    • \n
    \n
  • \n
  • Swiper 支持动态增减图片
  • \n
  • Design 支持 settings 以及 onSettingsChange 来设置动态全局配置
  • \n
  • Sweetalert 支持配置关闭按钮以及点击蒙层是否关闭
  • \n
  • 🦀️ 修复 DateRangePicker 禁用样式
  • \n
  • 🦀️ 修复 Loading 布局中的问题
  • \n
  • 🦀️ 修复 DatePicker onChange 值不对的问题
  • \n
  • 🦀️ 修复 NumberInput onBluronChange 事件抛出的值不一致的问题
  • \n
  • 🦀️ 修复 Upload 上传图片乱序的问题
  • \n
  • 🦀️ 修复 Select tag 类型选中顺序不一致的问题
  • \n
  • 🦀️ 修复 ColorPicker 颜色输入框无法删除的问题
  • \n
  • 🦀️ 修复 textarea 高度抖动的问题
  • \n
  • 🦀️ 修复了一些 typo
  • \n
  • 🦀️ 修复 yarn new-component 命令
  • \n
\n

3.11.0 (2017-12-20)

\n
    \n
  • 🎉 新组件季度选择器 QuarterPicker
  • \n
  • Select 支持选中后清除
  • \n
  • Grid 支持表头固定的纵向滚动方式
  • \n
  • DatePicker 交互优化,没有时间的时候不需要按确认按钮
  • \n
  • Upload 支持已选图片拖拽排序
  • \n
  • Inputtextarea 模式支持文字计数
  • \n
  • Inputtextarea 模式支持根据高度自动撑高
  • \n
  • BlockHeader 修改弹层位置
  • \n
  • \n

    Design

    \n
      \n
    • ✨ 新增图片广告示例组件
    • \n
    • ✨ 新增富文本示例组件
    • \n
    • ✨ 支持在 preview 底部显示额外的信息
    • \n
    \n
  • \n
  • PopoverPop 新增 onPositionUpdated 回调函数
  • \n
  • \n

    Form

    \n
      \n
    • ✨ 修改 required 校验规则,null 也认为是错误
    • \n
    • ✨ 支持禁止表单内部输入框回车提交表单的行为
    • \n
    • 🦀️ 修复 validationOnChangefalse 时部分情况下组件重新渲染的问题
    • \n
    • 🦀️ 修复自动滚动到第一个错误处无法处理 Functional Component 的问题
    • \n
    \n
  • \n
  • \n

    Swiper

    \n
      \n
    • 🦀️ 修复只有一个图片时的问题
    • \n
    • 🦀️ 修复快速连续点击上一张/下一张的动画问题
    • \n
    \n
  • \n
  • 🦀️ Loading 修复图标不居中的问题
  • \n
  • 🦀️ 滚动函数支持运行在 node.js 环境
  • \n
  • 🦀️ Table 修复使用 batchcomponents 时报错的问题
  • \n
  • 📚 InfiniteScroller 修复文档错误
  • \n
  • 📚 Button 修复示例
  • \n
\n

3.10.7 (2017-12-07)

\n
    \n
  • Menu 支持传入额外的自定义样式
  • \n
  • 🦀️ Upload 修复单文件上传的问题
  • \n
\n

3.10.6 (2017-12-06)

\n
    \n
  • Form 组件支持表单报错事滚动到第一个错误处
  • \n
  • 🦀️ Upload 增加文件过滤支持
  • \n
\n

3.10.5 (2017-12-05)

\n
    \n
  • 🦀️ 回滚 Design 的预览宽度为 320px
  • \n
\n

3.10.4 (2017-12-04)

\n
    \n
  • \n

    Design

    \n
      \n
    • ✨ 预览区域宽度调整为 375px
    • \n
    • 🦀️ 样式优化
    • \n
    \n
  • \n
  • PopPopover 组件导出了 adjustPosition 用于在极端情况下手动触发位置更新
  • \n
  • 🦀️ 修复 Button 组件在某些全局环境下,样式错误的问题
  • \n
  • \n

    Upload

    \n
      \n
    • 🦀️ 样式优化
    • \n
    • 🦀️ 处理了一些 ES6 的兼容问题
    • \n
    \n
  • \n
\n

3.10.3 (2017-11-29)

\n
    \n
  • \n

    Upload

    \n
      \n
    • 🦀️ 修复 accept 参数无效的问题
    • \n
    • 🦀️ 修复语音上传问题
    • \n
    \n
  • \n
  • 🦀️ Pagination 样式修复
  • \n
  • \n

    Design

    \n
      \n
    • ✨ 修改添加组件按钮样式
    • \n
    • ✨ 优化删除组件逻辑
    • \n
    • 🦀️ 去掉添加/删除组件时的自动滚动
    • \n
    \n
  • \n
\n

3.10.2 (2017-11-28)

\n
    \n
  • 🦀️ 修复 Upload 组件 accept 参数无效的问题
  • \n
\n

3.10.1 (2017-11-27)

\n
    \n
  • 🎉 NumberInput 新增一种新样式,通过 showCounter 开启
  • \n
  • \n

    Upload

    \n
      \n
    • ✨ 组件增强文件类型判断功能
    • \n
    • ✨ 支持语音上传
    • \n
    • 🦀️ 修复删除图片位置不对的问题
    • \n
    \n
  • \n
  • \n

    Design

    \n
      \n
    • 🦀️ 修复了一些样式问题
    • \n
    • ✨ 新增 canInsert, canDelete 用于细粒度控制添加/删除按钮
    • \n
    \n
  • \n
  • 🦀️ 修复 Form 组件有异步校验导致无法提交的问题
  • \n
  • 🦀️ 修复 Pop 的 TypeScript 类型定义
  • \n
\n

3.10.0 (2017-11-24)

\n
    \n
  • 🎉 新增年份选择组件 YearPicker
  • \n
  • \n

    Design

    \n
      \n
    • ✨ 新的添加组件交互
    • \n
    • ✨ 不再依赖 react-dnd
    • \n
    \n
  • \n
  • 🦀️ 修复 Cascader 数据不能为空的问题
  • \n
\n

如果你的 Design 组件依赖 react-dnd 你可能需要在 App 的顶层自己注入 react-dnd 的 context.

\n
import HTML5Backend from \'react-dnd-html5-backend\';\nimport { DragDropContextProvider } from \'react-dnd\';\n\nexport default class YourApp {\n  render() {\n    return (\n      <DragDropContextProvider backend={HTML5Backend}>\n        /* ... */\n      </DragDropContextProvider>\n    );\n  }\n}
\n

3.9.9 (2017-11-22)

\n
    \n
  • \n

    Design

    \n
      \n
    • 🦀️ 修复添加组件浮层字体颜色不对的问题
    • \n
    • 🦀️ 暂时去掉了选中组件时滚动到屏幕内的行为
    • \n
    \n
  • \n
  • \n

    Form

    \n
      \n
    • 🦀️ 修复 FieldArray 因删减导致的表单校验报错的问题
    • \n
    • 🦀️ 修复 FieldArray 在嵌套使用时,部分域增删时数据不对问题
    • \n
    • 🦀️ 修复文档中错误文字
    • \n
    • 🦀️ 修复 setFieldsValueinitialize 方法无法设定表单域为 0 的问题
    • \n
    • 🦀️ 修复 validateOnChangevalidateOnBlur 同为 false 时,部分情况下仍然在非提交时报错
    • \n
    \n
  • \n
\n

3.9.8 (2017-11-21)

\n
    \n
  • 🦀️ 更新 Design 删除/添加组件的交互
  • \n
\n

3.9.7 (2017-11-20)

\n
    \n
  • 🦀️ 修复 Design 分组样式问题
  • \n
\n

3.9.6 (2017-11-20)

\n
    \n
  • \n

    Design

    \n
      \n
    • ✨ 当组件达到最大可添加数量时,支持展示一个提示给用户
    • \n
    • ✨ 样式更新,最主要的是去掉了添加组件区域上面的箭头
    • \n
    \n
  • \n
  • \n

    Input

    \n
      \n
    • ✨ 增加了一个 select 方法用于选中输入框的文字,同时也支持 autoSelect 来默认选中部分文字
    • \n
    • 🦀️ 修复了 diabled 状态的样式问题
    • \n
    \n
  • \n
  • 🦀️ 修复了 Upload 组件无法重复上传同一个组件的问题
  • \n
  • 🦀️ 修复了 Selectdata 参数为 undefined 或者 null 时报错的问题
  • \n
  • 🦀️ 修复了 MonthPicker 的禁用逻辑
  • \n
  • 🦀️ 修复了 Table 组件的 emptyLabel 类型
  • \n
  • 🦀️ 修复了 Button 组件的 TypeScript 定义
  • \n
\n

3.9.5 (2017-11-13)

\n
    \n
  • ✨ 文档网站增加组件搜索功能
  • \n
  • 🦀️ 修复了 DatePicker 时间联动禁用逻辑
  • \n
\n

3.9.4 (2017-11-09)

\n
    \n
  • 🦀️ 更新英文文档
  • \n
\n

3.9.3 (2017-11-09)

\n
    \n
  • 🎉 新版文档网站,加入了英文文档支持
  • \n
  • Progress 组件支持自定义颜色
  • \n
  • ✨ 表单组件(例如 Input, Select 等)支持通过传入 width=xx 来设置宽度
  • \n
  • Notify 组件支持 config 函数来设置全局弹框消失延迟时间
  • \n
  • DatePicker 支持 maxmin 来禁用时间
  • \n
  • 🦀️ 修复了 Form 组件提交表单时不触发没有校验过的异步校验的问题
  • \n
  • 🦀️ 修复了 Popover 组件某些情况下调用 getBoundingClientRect 出错的问题
  • \n
\n

3.9.2 (2017-11-06)

\n
    \n
  • Design 组件支持创建时自定义默认类型
  • \n
  • 🦀️ 修复了 Table 某些情况下跨页多选失败的问题
  • \n
  • 🦀️ 修复了一些 React 16 下的兼容问题
  • \n
\n

3.9.1 (2017-11-02)

\n
    \n
  • 🦀️ 修复了 Design 的一些样式问题
  • \n
\n

3.9.0 (2017-10-31)

\n
    \n
  • ✨ 增加了基础全局样式,类似 normalize.cssreset.css
  • \n
  • \n

    Grid:

    \n
      \n
    • 🦀️ 修复了不能动态修改 columns 的问题
    • \n
    • 🦀️ 修复当行高高于默认高度时,左侧固定列和右侧固定列高度不一致的问题
    • \n
    • 🦀️ 修复滚动到最右侧时,最右侧固定列的阴影不消失的问题
    • \n
    \n
  • \n
  • 🦀️ 修复了 Design 代码中的一个变量名错误,不影响代码功能
  • \n
  • 🦀️ 修复了 FormControlGroup 不能处理 Functional Component 的问题
  • \n
  • 📚 更新了文档网站细节样式
  • \n
\n

3.8.1 (2017-10-26)

\n
    \n
  • 🎉 新增组件库 Demo,可以在文档的项目示例页面查看
  • \n
  • 🎉 新增新建组件样板的脚本 yarn new-component
  • \n
  • Table 支持整行选择,通过参数 canRowSelect 控制,默认关闭
  • \n
  • \n

    Design:

    \n
      \n
    • 🦀️ 修复了 defaultSelectedIndex 的应用逻辑
    • \n
    • 🦀️ 修复了 Chrome 62 中的按钮样式问题
    • \n
    \n
  • \n
  • 🦀️ 修复了 Select 组件在格式化数据时会修改 data 数组中对象的问题
  • \n
\n

babel-plugin-zent@1.1.0 (2017-10-26)

\n
    \n
  • ✨ 新增 useRawStyle 参数,支持 import postcss 样式,需要配合 zent >= 3.8.1 使用
  • \n
\n

3.8.0 (2017-10-20)

\n
    \n
  • 🎉 新组件 InfiniteScroller,用来实现滚动自动加载
  • \n
  • \n

    Form:

    \n
      \n
    • 🎉 新增 FormSection 以及 FieldArray 支持
    • \n
    • 🎉 新增 setFieldsValue 以及 initialize 方法
    • \n
    • 🎉 更多内置表单元素组件: FormColorPickerField, FormDateRangePickerField, FormNumberInputField, FormSwitchField
    • \n
    • 🎉 Field 添加重要提示 notice 属性
    • \n
    • ✨ 增加 setFormDirtyisFieldDirty 方法
    • \n
    \n
  • \n
  • Select 做了一些代码逻辑优化
  • \n
  • Design 添加组件的时候支持回调函数终止当前操作
  • \n
  • PopoveronBeforeClose 以及 onBeforeShow 支持终止当前操作
  • \n
  • 🦀️ Slider 组件现在高亮圆点的时候会同时高亮滑动条
  • \n
  • 🦀️ 修复了 DateRangePicker 的 TypeScript 定义
  • \n
  • 🦀 修复了 SearchInput 的一个样式问题
  • \n
\n

3.7.0 (2017-09-28)

\n
    \n
  • 🎉 新组件 Grid,功能和 Table 组件类似,但是底层是用 <table> 实现的,现在 Grid 有些 Table 的功能还没有实现
  • \n
  • 🎉 Zent 支持自定义主题,文档网站同步添加了色彩主题定制的章节
  • \n
  • \n

    Steps:

    \n
      \n
    • ✨ 新增了 onStepChangesequence 参数
    • \n
    • ✨ 更新了 number 类型的样式
    • \n
    \n
  • \n
  • 🦀️ 修复了 React 16 下面的一些警告
  • \n
  • 🦀️ 修复了 Slider 文档页面上的警告
  • \n
  • 🦀️ 更新了 DateRangeQuickPicker 的样式
  • \n
  • 🦀️ 修复了 Select 在选项数组置空后选中项不会重置的问题
  • \n
\n

3.6.1 (2017-09-21)

\n
    \n
  • 🦀️ 修复了 Design 的样式问题
  • \n
\n

3.6.0 (2017-09-21)

\n
    \n
  • \n

    Design:

    \n
      \n
    • ✨ 支持添加区域组件的分组展示
    • \n
    • ✨ 支持限制每个组件可添加的次数
    • \n
    \n
  • \n
  • DatePicker 添加了 onBeforeConfirm 以及 onBeforeClear 的钩子
  • \n
  • ️🦀️ 修复了 Table 全选复选框在整页都不可选时没有禁用的问题
  • \n
  • 🦀️ 修复了某些情况下 Popover 在屏幕滚动后弹出层位置错误的问题
  • \n
  • 🦀️ 修复了 MonthPicker 禁用的日期依然可以选择的问题
  • \n
\n

3.5.4 (2017-09-15)

\n
    \n
  • \n

    Swiper

    \n
      \n
    • 🦀️ 修复了只有一张图片时的显示问题
    • \n
    • 📚 增加了实例 API 文档,用于外部控制切换
    • \n
    \n
  • \n
  • 🦀️ 修复了 Table 跨页多选在全选按钮上无效的问题
  • \n
  • 🦀️ 回滚了 Select 组件的宽度样式
  • \n
  • 🦀️ 修复了 Design 组件没有正确删除 beforeunload 事件回调函数的问题
  • \n
  • 🦀️ 更新了 Tabs 组件的 Typescript 定义
  • \n
  • 📚 更新了文档网站,添加了组件开发的详细文档
  • \n
\n

3.5.3 (2017-09-13)

\n
    \n
  • 🦀️ 修复了同时打开多个 Dialog 时遮罩 z-index 不正确的问题
  • \n
  • 🦀️ 修复了 DateRangeQuickPicker 最近 7 天的语义,包含今天
  • \n
  • 🦀️ 修复了 Tabs 组件中 activeId 为 0 时无法选中的问题
  • \n
  • 🦀️ 修复了 Form 组件 validateOnChangevalidateOnBlur 同时设为 false 时,表单提交时不显示校验错误的问题
  • \n
  • \n

    Table:

    \n
      \n
    • 🦀️ 修复了 clearfix 样式不存在的问题
    • \n
    • 🦀️ 修复了 totalItem 没有正确读取的问题
    • \n
    • 📚 修改了 title 类型的描述
    • \n
    \n
  • \n
  • 🦀️ 修复了 Select 组件高度不正确的问题
  • \n
'}))}}}}]); \ No newline at end of file diff --git a/405-d339faef9da20bc2a196.js b/405-7941fb569eef0c45f472.js similarity index 51% rename from 405-d339faef9da20bc2a196.js rename to 405-7941fb569eef0c45f472.js index f978859a9..e94408db3 100644 --- a/405-d339faef9da20bc2a196.js +++ b/405-7941fb569eef0c45f472.js @@ -1 +1 @@ -(self.webpackChunkzent_docs=self.webpackChunkzent_docs||[]).push([[405],{33938:(e,t,n)=>{"use strict";n.d(t,{X:()=>h});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(27378),a=n(1535),s=n(23130),c=n(1348),d=n(4008);function h(e){var t=(0,l.useContext)(c.d),n=(0,l.useContext)(s.Z),o=(0,l.useRef)(e);o.current=e;var d,h=n&&n.onChange,p=(0,l.useCallback)((function(e){var t=o.current,n=t.value,i=t.onChange;if(h)h(n);else if(i){var u=Object.create(e);u.target=(0,r.pi)((0,r.pi)({},o.current),{type:"checkbox",checked:e.target.checked}),i(u)}}),[h]),f=(e.checked,e.className),v=e.style,m=(e.disabled,e.readOnly,e.children),b=e.indeterminate,y=e.width,g=(e.value,e.labelStyle),V=e.onMouseEnter,C=e.onMouseLeave,_=(0,r._T)(e,["checked","className","style","disabled","readOnly","children","indeterminate","width","value","labelStyle","onMouseEnter","onMouseLeave"]),w=function(e,t){return"boolean"==typeof t.readOnly?t.readOnly:!!e&&e.readOnly}(n,e),$=function(e,t,n){return"boolean"==typeof n.disabled?n.disabled:t?t.disabled:e.value}(t,n,e);if(n){var x=n.value,S=n.isValueEqual;d=-1!==x.findIndex((function(t){return S(t,e.value)}))}else d=!!e.checked;return(0,i.jsxs)("label",(0,r.pi)({className:u()("zent-checkbox-wrap",f,{"zent-checkbox-checked":!!d,"zent-checkbox-disabled":$||w,"zent-checkbox-indeterminate":b}),style:(0,r.pi)((0,r.pi)({},v),(0,a.Z)(y)),onMouseEnter:V,onMouseLeave:C,"data-zv":"10.0.10"},{children:[(0,i.jsxs)("span",(0,r.pi)({className:"zent-checkbox","data-zv":"10.0.10"},{children:[(0,i.jsx)("span",{className:"zent-checkbox-inner","data-zv":"10.0.10"},void 0),(0,i.jsx)("input",(0,r.pi)({},_,{type:"checkbox",checked:d&&!b,disabled:$,readOnly:w,onChange:p,"data-zv":"10.0.10"}),void 0)]}),void 0),null!=m&&!0!==m&&!1!==m?(0,i.jsx)("div",(0,r.pi)({className:"zent-checkbox-label",style:g,"data-zv":"10.0.10"},{children:m}),void 0):null]}),void 0)}h.Group=d.Z,t.Z=h},4008:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(59312),i=n(24246),o=n(27378),u=n(60042),l=n.n(u),a=n(41925),s=n(23130),c=n(1348),d=s.Z.Provider,h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getGroupContext=(0,a.Z)((function(e,n,r,i){return{value:Array.isArray(e)?e:[],disabled:n,readOnly:r,isValueEqual:i,onChange:t.onCheckboxChange}})),t.onCheckboxChange=function(e){var n=t.props,r=n.isValueEqual,i=n.onChange,o=n.value;if(i){var u=o?o.slice():[],l=u.findIndex((function(t){return r(t,e)}));-1!==l?u.splice(l,1):u.push(e),i(u)}},t}return(0,r.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.style,o=e.children,u=e.value,a=e.disabled,s=void 0===a?this.context.value:a,c=e.readOnly,h=void 0!==c&&c,p=e.isValueEqual,f=l()("zent-checkbox-group",t);return(0,i.jsx)(d,(0,r.pi)({value:this.getGroupContext(u,s,h,p)},{children:(0,i.jsx)("div",(0,r.pi)({className:f,style:n,"data-zv":"10.0.10"},{children:o}),void 0)}),void 0)},t.defaultProps={isValueEqual:Object.is,value:[]},t.contextType=c.d,t}(o.Component);t.Z=h},23130:(e,t,n)=>{"use strict";var r=n(27378);t.Z=(0,r.createContext)(null)},68150:(e,t,n)=>{"use strict";var r=n(33938);t.ZP=r.Z},91419:(e,t,n)=>{"use strict";n.d(t,{X:()=>$});var r=n(59312),i=n(24246),o=n(27378),u=n(52074),l=n(60042),a=n.n(l),s=n(50456),c=n(44639),d=n(77828),h=n(41507),p=n(32046),f=n(80280),v=n(11128),m=f.k.START,b=f.k.END,y=c.Z.Provider,g=function(e){var t=e.value,n=e.onChange,u=e.disabledTime,l=e.onClose,c=e.onOpen,f=e.defaultTime,g=e.placeholder,V=e.PickerComponent,C=e.className,_=e.seperator,w=e.name,$=(0,r._T)(e,["value","onChange","disabledTime","onClose","onOpen","defaultTime","placeholder","PickerComponent","className","seperator","name"]),x=(0,o.useRef)($);x.current=$;var S=x.current.format,M=(0,d.Q)(n),j=(0,p.Z)(v.Y5,t),P=j.selected,z=j.setSelected,k=P[0],Z=P[1],E=(0,o.useCallback)((function(e){return function(t){var n,r=e===m?[t,Z]:[k,t];z(r),null===(n=M.current)||void 0===n||n.call(M,r)}}),[k,Z,M,z]),T=(0,p.K)(P,S,new Date),N=(0,h.Z)({selected:T,disabledTime:u}),O=N.disabledStartTimes,R=N.disabledConfirm,F=N.disabledEndTimes,B=(0,o.useCallback)((function(){var e;return null==O?void 0:O(null!==(e=T[0])&&void 0!==e?e:(0,s.Z)())}),[O,T]),U=(0,o.useCallback)((function(){var e;return null==F?void 0:F(null!==(e=T[1])&&void 0!==e?e:(0,s.Z)())}),[F,T]);return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",(0,r.pi)({className:a()("zent-datepicker",C),"data-zv":"10.0.10"},{children:(0,i.jsxs)(y,(0,r.pi)({value:{confirmStatus:R}},{children:[(0,i.jsx)(V,(0,r.pi)({},x.current,{value:k,onChange:E(m),defaultTime:null==f?void 0:f[0],disabledTime:B,onOpen:function(){return null==c?void 0:c(m)},onClose:function(){return null==l?void 0:l(m)},name:null==w?void 0:w[0],placeholder:g[0]}),void 0),(0,i.jsx)("span",(0,r.pi)({className:"zent-datepicker-seperator","data-zv":"10.0.10"},{children:_}),void 0),(0,i.jsx)(V,(0,r.pi)({},x.current,{value:Z,onChange:E(b),defaultTime:null==f?void 0:f[1],disabledTime:U,onOpen:function(){return null==c?void 0:c(b)},onClose:function(){return null==l?void 0:l(b)},name:null==w?void 0:w[1],placeholder:g[1]}),void 0)]}),void 0)}),void 0)},void 0)},V=n(1348),C=n(12691),_=n(7178),w=C.Z.Provider,$=function(e){var t=(0,o.useContext)(V.d),n=(0,r.pi)((0,r.pi)({},v.V2),e),l=n.format,a=n.placeholder,s=n.width,c=n.disabled,d=void 0===c?t.value:c;return(0,i.jsx)(u.Z,(0,r.pi)({componentName:"TimePicker"},{children:function(e){return(0,i.jsx)(w,(0,r.pi)({value:{i18n:e}},{children:(0,i.jsx)(g,(0,r.pi)({},n,{format:l,placeholder:a||[e.startTime,e.endTime],disabled:d,seperator:e.to,width:null!=s?s:v.on,PickerComponent:_.Z}),void 0)}),void 0)}}),void 0)}},12030:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(27378),a=n(59935),s=function(e){var t=e.children,n=e.required,o=(0,l.useContext)(a.q3).labelStyle;return(0,i.jsx)("label",(0,r.pi)({className:u()("zent-form-label",{"zent-form-label-required":n,"zent-form-label-empty":!t}),style:o,"data-zv":"10.0.10"},{children:t}),void 0)},c=(0,l.forwardRef)((function(e,t){var n=e.className,o=e.style,c=e.label,d=e.children,h=e.required,p=e.invalid,f=e.withoutLabel,v=(0,l.useContext)(a.q3).controlStyle;return(0,i.jsxs)("div",(0,r.pi)({ref:t,className:u()("zent-form-control",{"has-error":p},n),style:(0,r.pi)((0,r.pi)({},v),o),"data-zv":"10.0.10"},{children:[f?null:(0,i.jsx)(s,(0,r.pi)({required:h},{children:c}),void 0),(0,i.jsx)("div",(0,r.pi)({className:"zent-form-control-content","data-zv":"10.0.10"},{children:d}),void 0)]}),void 0)}));c.displayName="ZentFormControl"},38836:(e,t,n)=>{"use strict";n.d(t,{X:()=>l});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=(0,n(27378).forwardRef)((function(e,t){var n=e.className,o=e.style,l=e.children;return(0,i.jsx)("div",(0,r.pi)({ref:t,className:u()("zent-form-error","zent-font-small",n),style:o,"data-zv":"10.0.10"},{children:l}),void 0)}));l.displayName="ZentFormError"},37882:(e,t,n)=>{"use strict";n.d(t,{Wi:()=>C});var r=n(59312),i=n(24246),o=n(27378),u=n(29951),l=n(85636),a=n(49407),s=n(38121),c=n(79280),d=n(45657),h=n(12030),p=n(60042),f=n.n(p),v=function(e){var t=e.className,n=e.style,o=e.children;return(0,i.jsx)("div",(0,r.pi)({className:f()("zent-form-notice",t),style:n,"data-zv":"10.0.10"},{children:o}),void 0)},m=function(e){var t=e.children,n=e.className,o=e.style;return(0,i.jsx)("div",(0,r.pi)({className:f()("zent-form-description",n),style:o,"data-zv":"10.0.10"},{children:t}),void 0)},b=n(54779),y=n(74566);function g(){return u.GP.Default}function V(e,t){var n=e.validators,r=e.required;return n=null!=n?n:[],r&&!n.some((function(e){return e.$$id===l.tk}))&&(n=[l.C1("string"==typeof r?r:t.required)].concat(n)),n}function C(e){var t,n,l,p=(n="Form",l=(0,o.useContext)(y.Z),(0,o.useMemo)((function(){var e=l.Form;return"function"==typeof e?e():e}),[l,n]));if((0,d.bd)(e)){var f=e.name,C=e.defaultValue,_=e.destroyOnUnmount,w=e.normalizeBeforeSubmit;(t=(0,a.U)(f,C,V(e,p))).destroyOnUnmount=Boolean(_),"function"==typeof w&&(t.normalizeBeforeSubmit=w)}else t=(0,s.lp)(e.model)?(0,a.U)(e.model,e.defaultValue,V(e,p)):(0,a.U)(e.model);!function(e,t){(0,o.useEffect)((function(){void 0!==t&&e.initialize(t)}),[e,t])}(t,e.initialValue),(0,o.useImperativeHandle)(e.modelRef,(function(){return t}),[t]);var $=e.className,x=e.style,S=e.label,M=e.required,j=e.before,P=e.after,z=e.notice,k=e.helpDesc,Z=e.withoutError,E=e.renderError,T=void 0===E?d.Te:E,N=e.children,O=e.validateOccasion,R=void 0===O?d.pC.Default:O,F=e.getValidateOption,B=void 0===F?g:F,U=e.normalize,D=void 0===U?b.Z:U,I=e.normalizeBeforeBlur,G=e.format,q=void 0===G?b.Z:G,A=e.withoutLabel,L=e.touchWhen,W=void 0===L?d.rw.Change:L,X=(0,o.useRef)(null);(0,d.M6)(t,X);var H,Y=(0,o.useCallback)((function(e){var n=t.value;return D(e,n)}),[t,D]),J=(0,o.useCallback)((function(e){return t.value=e}),[t]),K=c.sV(t,null!=(H=B("change"))?H:u.GP.Default,e.onChange),Q=e.onChange,ee=c.RI((function(){W===d.rw.Change&&(t.isTouched=!0)}),c.kH(Y,d.pC.Change&R?K:function(e){J(e),null==Q||Q(e)}),[t,W,Y,R,K,Q]),te=e.onBlur,ne=(0,o.useCallback)((function(e){W===d.rw.Blur&&(t.isTouched=!0),I&&(t.value=I(t.value)),R&d.pC.Blur&&t.validate(B("blur")),null==te||te(e)}),[B,R,I,W,t,te]),re=c.Jk(t,{onCompositionStart:e.onCompositionStart,onCompositionEnd:e.onCompositionEnd}),ie=re.onCompositionStart,oe=re.onCompositionEnd;return(0,i.jsxs)(h.N,(0,r.pi)({ref:X,className:$,style:x,label:S,required:!!M,invalid:!!t.error,withoutLabel:A},{children:[(0,i.jsxs)("div",(0,r.pi)({className:"zent-form-control-content-inner","data-zv":"10.0.10"},{children:[j,N({value:q(t.value),onChange:ee,onCompositionStart:ie,onCompositionEnd:oe,onBlur:ne}),P]}),void 0),Z?null:T(t.error),!!z&&(0,i.jsx)(v,{children:z},void 0),!!k&&(0,i.jsx)(m,{children:k},void 0)]}),void 0)}},70158:(e,t,n)=>{"use strict";n.d(t,{C:()=>c});var r=n(59312),i=n(24246),o=n(89466),u=n(87262),l=n(45657),a=n(27378),s=n(55390);function c(e){var t=e,n=t.scrollAnchorRef,c=t.renderError,d=void 0===c?l.Te:c,h=t.validators,p=t.modelRef,f=e.name,v=e.model,m=(0,o.w)(null!=f?f:v,h),b=m[0],y=m[1];if(function(e){return void 0!==e.name}(e)){var g=e.normalizeBeforeSubmit,V=e.destroyOnUnmount;y.destroyOnUnmount=Boolean(V),g&&(y.normalizeBeforeSubmit=g)}return(0,a.useImperativeHandle)(p,(function(){return y}),[y]),(0,l.M6)(y,n),(0,s.R)(y.error$),(0,i.jsxs)(u.RV,(0,r.pi)({value:b},{children:[e.children,d(y.error)]}),void 0)}},49633:(e,t,n)=>{"use strict";n.d(t,{l0:()=>ke});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(27378),a=n(39612),s=n(38121),c=n(9071),d=n(54779),h=n(31825),p=n(29951),f=n(39177),v=n(70453),m=function(){function e(e,t,n){void 0===e&&(e=null),void 0===t&&(t=(0,f.Hq)()),this.initialValue=t,this.patchedValue=(0,f.Hq)(),this.id=(0,v.Z)("model-ref-"),this._owner=null,this.model$=new c.X(e),this.owner=n}return Object.defineProperty(e.prototype,"owner",{get:function(){return this._owner},set:function(e){this._owner=e;var t=this.getModel();t&&(t.owner=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"form",{get:function(){var e;return null===(e=this.owner)||void 0===e?void 0:e.form},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"validators",{get:function(){var e,t;return null!==(t=null===(e=this.model$.getValue())||void 0===e?void 0:e.validators)&&void 0!==t?t:[]},set:function(e){var t=this.model$.getValue();t&&(t.validators=e)},enumerable:!1,configurable:!0}),e.prototype.getModel=function(){return this.model$.getValue()},e.prototype.setModel=function(e){var t=this.getModel();t&&t.dispose(),e&&(e.owner=this.owner),this.model$.next(e)},e.prototype.getParent=function(){return this.owner},e.prototype.dirty=function(){var e=this.getModel();return!!e&&e.dirty()},e.prototype.touched=function(){var e=this.getModel();return!!e&&e.touched()},e.prototype.validate=function(e){void 0===e&&(e=p.GP.Default);var t=this.getModel();return t?t.validate(e):Promise.resolve()},e.prototype.getRawValue=function(){var e;return null===(e=this.getModel())||void 0===e?void 0:e.getRawValue()},e.prototype.pristine=function(){var e=this.getModel();return!e||e.pristine()},e.prototype.valid=function(){var e=this.getModel();return!e||e.valid()},Object.defineProperty(e.prototype,"error",{get:function(){var e;return null===(e=this.getModel())||void 0===e?void 0:e.error},set:function(e){var t=this.getModel();t&&(t.error=e)},enumerable:!1,configurable:!0}),e.prototype.patchValue=function(e){var t;null===(t=this.getModel())||void 0===t||t.patchValue(e)},e.prototype.initialize=function(e){var t;null===(t=this.getModel())||void 0===t||t.initialize(e)},e.prototype.reset=function(){var e;null===(e=this.getModel())||void 0===e||e.reset()},e.prototype.clear=function(){var e;null===(e=this.getModel())||void 0===e||e.clear()},e.prototype.clearError=function(){var e;null===(e=this.getModel())||void 0===e||e.clearError()},e.prototype.dispose=function(){var e;null===(e=this.getModel())||void 0===e||e.dispose(),this.model$.next(null)},e.prototype.getSubmitValue=function(){var e;null===(e=this.getModel())||void 0===e||e.getSubmitValue()},e}();m.prototype[s.$p]=!0;var b=n(31256),y=n(97514),g=n(72012),V=n(64607),C=n(63716),_=n(11931),w=function(e){function t(t,n){var r=e.call(this,(0,v.Z)("field-array-"))||this;r.defaultValue=n,r._displayName="FieldArrayModel",r.owner=null,r.invalidModels=new Set,r.mapModelToSubscriptions=new Map,r.normalizeBeforeSubmit=d.Z,r._disposeChild=function(e){r._unsubscribeChild(e),e.owner=null},r._buildChild=function(e){var t=r.childFactory(e);return r._subscribeChild(t),t},r.childFactory=t?function(e){var n=t.build((0,f.bD)(e));return r._linkChild(n)}:function(e){return new m(null,(0,f.bD)(e),r)};var i=r.defaultValue.map(r._buildChild);return r.children$=new c.X(i),r}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._value$?this._value$.value:this.getRawValue()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value$",{get:function(){return this._getValue$(!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valid$",{get:function(){return this._getValid$(!0)},enumerable:!1,configurable:!0}),t.prototype._getValue$=function(e){return void 0===e&&(e=!1),(0,C.P)(e,this._displayName),this._value$||this._initValue$(),this._value$},t.prototype._getValid$=function(e){return void 0===e&&(e=!1),(0,C.v)(e,this._displayName),this._valid$||this._initValid$(),this._valid$},t.prototype.reset=function(){var e=this,t=(0,f.or)(this.initialValue,(function(){return e.defaultValue})).map(this._buildChild);this.children$.next(t)},t.prototype.clear=function(){this.initialValue=void 0;var e=this.defaultValue.map(this._buildChild);this.children$.next(e)},t.prototype.clearError=function(){this.error$.next(null);for(var e=this.children,t=e.length,n=0;n=t.length);n+=1){var r=e[n],i=t[n];if((0,s.lp)(i)){var o=i.getModel();o&&o.patchValue(r)}else(0,s.vP)(i)&&i.patchValue(r)}if(e.length<=t.length)this.splice(e.length,t.length-e.length);else for(n=t.length;n{"use strict";n.d(t,{GI:()=>i,Xj:()=>o,q3:()=>u});var r=n(27378),i=(0,r.createContext)(null);function o(){var e=(0,r.useContext)(i);if(null===e)throw new Error("Component must be used under Form");return e}i.displayName="ZentFormChildrenContext";var u=(0,r.createContext)({})},72118:(e,t,n)=>{"use strict";n.d(t,{h:()=>h});var r=n(59312),i=n(24246),o=n(27378),u=n(60042),l=n.n(u),a=n(68150),s=n(37882),c=n(77828);function d(e){var t=e.childProps,n=e.props,u=t.value,l=(0,r._T)(t,["value"]),s=(0,c.Q)(t.onChange),d=(0,o.useCallback)((function(e){var t;null===(t=s.current)||void 0===t||t.call(s,e.target.checked)}),[s]);return(0,i.jsx)(a.ZP,(0,r.pi)({},n.props,l,{checked:u,onChange:d}),void 0)}function h(e){var t=e.className,n=(0,r._T)(e,["className"]);return(0,i.jsx)(s.Wi,(0,r.pi)({},n,{className:l()(t,"zent-form-checkbox-field"),defaultValue:e.defaultValue||!1},{children:function(t){return(0,i.jsx)(d,{childProps:t,props:e},void 0)}}),void 0)}},69717:(e,t,n)=>{"use strict";n.d(t,{I:()=>c});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(4008),a=n(37882),s=[];function c(e){var t=e.className,n=(0,r._T)(e,["className"]);return(0,i.jsx)(a.Wi,(0,r.pi)({},n,{className:u()(t,"zent-form-checkbox-group-field"),defaultValue:e.defaultValue||s},{children:function(t){return function(e,t){return(0,i.jsx)(l.c,(0,r.pi)({},t.props,e,{children:t.children}),void 0)}(t,e)}}),void 0)}},34954:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var r=n(59312),i=n(24246),o=n(93531),u=n(37882),l=function(e){return(0,i.jsx)(u.Wi,(0,r.pi)({},e,{defaultValue:e.defaultValue||""},{children:function(t){return function(e,t){var n=e.value,u=(0,r._T)(e,["value"]);return(0,i.jsx)(o.Z,(0,r.pi)({},t.props,u,{color:n}),void 0)}(t,e)}}),void 0)}},89239:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var r=n(59312),i=n(24246),o=n(39311),u=n(37882),l=n(45657),a=function(e){var t;return(0,i.jsx)(u.Wi,(0,r.pi)({},e,{defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:l.cU},{children:function(t){return(0,i.jsx)(o.D,(0,r.pi)({},e.props,t),void 0)}}),void 0)}},73811:(e,t,n)=>{"use strict";n.d(t,{j:()=>h});var r=n(59312),i=n(24246),o=n(27378),u=n(60042),l=n.n(u),a=n(37882),s=n(82645),c=n(62940),d=n(78513);function h(e){var t,n=e.className,u=(0,r._T)(e,["className"]);return o.useEffect((function(){var t;(0,c.v)(!("defaultFileList"in(null!==(t=e.props)&&void 0!==t?t:{})),"defaultFileList","FormImageUploadField")}),[]),(0,i.jsx)(a.Wi,(0,r.pi)({},u,{className:l()(n,"zent-form-upload-field"),defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:[]},{children:function(t){return function(e,t){var n=e.value,o=e.onChange;return(0,i.jsx)(s.U,(0,r.pi)({},(0,d.Z)(t.props,["defaultFileList"]),{fileList:n,onChange:o}),void 0)}(t,e)}}),void 0)}},47287:(e,t,n)=>{"use strict";n.d(t,{C:()=>h});var r=n(59312),i=n(24246),o=n(27378),u=n(82285),l=n(37882),a=n(45657),s=n(62940),c=n(77828),d=function(e){var t=e.childProps,n=e.props,l=(0,c.Q)(t.onChange),a=(0,o.useCallback)((function(e){var t;null===(t=l.current)||void 0===t||t.call(l,e.target.value)}),[l]);return(0,i.jsx)(u.I,(0,r.pi)({},n.props,t,{onChange:a}),void 0)},h=function(e){var t=e.validateOccasion,n=void 0===t?a.pC.Blur:t;return o.useEffect((function(){var t;(0,s.v)(!("defaultValue"in(null!==(t=e.props)&&void 0!==t?t:{})),"defaultValue","FormInputField")}),[]),(0,i.jsx)(l.Wi,(0,r.pi)({},e,{defaultValue:e.defaultValue||"",touchWhen:a.rw.Blur,validateOccasion:n},{children:function(t){return(0,i.jsx)(d,{childProps:t,props:e},void 0)}}),void 0)}},61705:(e,t,n)=>{"use strict";n.d(t,{w:()=>l});var r=n(59312),i=n(24246),o=n(32254),u=n(37882);function l(e){return(0,i.jsx)(u.Wi,(0,r.pi)({},e,{defaultValue:e.defaultValue||""},{children:function(t){return(0,i.jsx)(o.Z,(0,r.pi)({},e.props,t),void 0)}}),void 0)}(0,i.jsx)(o.Z,{},void 0)},69220:(e,t,n)=>{"use strict";n.d(t,{x:()=>h});var r=n(59312),i=n(24246),o=n(27378),u=n(60042),l=n.n(u),a=n(4246),s=n(37882),c=n(77828);function d(e){var t=e.childProps,n=e.props,u=(0,c.Q)(t.onChange),l=(0,o.useCallback)((function(e){var t;null===(t=u.current)||void 0===t||t.call(u,e.target.value)}),[u]);return(0,i.jsx)(a.E,(0,r.pi)({},n.props,t,{onChange:l},{children:n.children}),void 0)}function h(e){var t,n=e.className,o=(0,r._T)(e,["className"]);return(0,i.jsx)(s.Wi,(0,r.pi)({},o,{className:l()(n,"zent-form-radio-group-field"),defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:null},{children:function(t){return(0,i.jsx)(d,{childProps:t,props:e},void 0)}}),void 0)}},78518:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(59312),i=n(24246),o=n(7360),u=n(37882);function l(e){var t,n;return(0,i.jsx)(u.Wi,(0,r.pi)({},e,{defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:(null===(n=e.props)||void 0===n?void 0:n.multiple)?[]:null},{children:function(t){return function(e,t){return(0,i.jsx)(o.Z,(0,r.pi)({},t.props,e),void 0)}(t,e)}}),void 0)}},57925:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(37882),a=n(50081);function s(e){var t,n=e.className,o=(0,r._T)(e,["className"]);return(0,i.jsx)(l.Wi,(0,r.pi)({},o,{className:u()(n,"zent-form-single-upload-field"),defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:null},{children:function(t){return function(e,t){var n=e.value,o=e.onChange;return(0,i.jsx)(a.x,(0,r.pi)({},t.props,{value:n,onChange:o}),void 0)}(t,e)}}),void 0)}},40027:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(56377).Z,a=n(37882),s=function(e){var t=e.className,n=(0,r._T)(e,["className"]);return(0,i.jsx)(a.Wi,(0,r.pi)({},n,{className:u()(t,"zent-form-switch-field"),defaultValue:"boolean"==typeof e.defaultValue&&e.defaultValue},{children:function(t){return function(e,t){var n=e.value,o=(0,r._T)(e,["value"]);return(0,i.jsx)(l,(0,r.pi)({},t.props,o,{checked:n}),void 0)}(t,e)}}),void 0)}},75774:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(59312),i=n(24246),o=n(45657),u=n(91419),l=n(37882),a=function(e){var t;return(0,i.jsx)(l.Wi,(0,r.pi)({},e,{defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:o.Nn},{children:function(t){return(0,i.jsx)(u.X,(0,r.pi)({},e.props,t),void 0)}}),void 0)}},12729:(e,t,n)=>{"use strict";n.d(t,{U:()=>h});var r=n(59312),i=n(24246),o=n(27378),u=n(60042),l=n.n(u),a=n(37882),s=n(37122),c=n(62940),d=n(78513);function h(e){var t,n=e.className,u=(0,r._T)(e,["className"]);return o.useEffect((function(){var t;(0,c.v)(!("defaultFileList"in(null!==(t=e.props)&&void 0!==t?t:{})),"defaultFileList","FormUploadField")}),[]),(0,i.jsx)(a.Wi,(0,r.pi)({},u,{className:l()(n,"zent-form-upload-field"),defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:[]},{children:function(t){return function(e,t){var n=e.value,o=e.onChange;return(0,i.jsx)(s.g,(0,r.pi)({},(0,d.Z)(t.props,["defaultFileList"]),{fileList:n,onChange:o}),void 0)}(t,e)}}),void 0)}},87262:(e,t,n)=>{"use strict";n.d(t,{q3:()=>o,RV:()=>u,Gc:()=>l});var r=n(27378),i=n(64607),o=(0,r.createContext)(null);o.displayName="FormContext";var u=o.Provider;function l(e){void 0===e&&(e=!1);var t=(0,r.useContext)(o);if(null===t&&!e)throw i.tw;return t}t.ZP=o},64607:(e,t,n)=>{"use strict";n.d(t,{tw:()=>l,bA:()=>a,Uu:()=>s,Od:()=>c,k2:()=>d,Rk:()=>h});var r=n(59312),i=n(38121),o=n(97858),u=function(e){function t(t,n){var r=e.call(this,t+".\nThe possible reason(s) for this error: \n"+((0,o.kJ)(n)?n.map((function(e,t){return" "+(t+1)+". "+e})).join("\n"):" "+n)+"\n")||this;return r.name="FormulrError",r}return(0,r.ZT)(t,e),t}(Error),l=new u("FormContext not found",["Using form hooks outside the form context","There are two copies of zent in your project, run `yarn list zent` to check","Mixed use of Form from zent and formulr, formulr is a deprecate package"]),a=function(e){var t=function(e,t){if(!e)return t;if(e instanceof Error)return e.name+": "+e.message+"\n"+e.stack;try{return JSON.stringify(e,null,2)}catch(n){return"function"==typeof e.toString?e.toString():t}}(e,"Unknown validator runtime error");return new u("A runtime error occurred in a form validator\n"+t,["Make sure custom validators do not throw runtime errors","The returned Promise object of async validators should never be rejected"])},s=function(e,t,n){return new u("Model type mismatch","Model '"+e+"' is expected to be a '"+t+"', but got a '"+(0,i.Jb)(n)+"'.")},c=function(e){return new u("Model not found","Model '"+e+"' is not found in this form. Make sure model name is correct.")},d=function(e){return new u("Expected a 'ModelRef' instance or 'BasicModel' instance, got "+typeof e,"The first argument to form hooks is an unexpected type rather than string or 'Model'")},h=function(e){return new u("Model is disposed",["You are swapping two different Fields with the same 'name' in View mode and 'destroyOnUnmount' is set on the Field being swapped out","You are using a disposed "+e+" in your view, your UI and models are likely in a broken state"])}},89466:(e,t,n)=>{"use strict";n.d(t,{w:()=>f,z:()=>v});var r=n(27378),i=n(87262),o=n(39612),u=n(38121),l=n(76156),a=n(97858),s=n(39177),c=n(64607),d=n(12482),h=n(58126),p=n(55390);function f(e,t){void 0===t&&(t=[]);var n=(0,i.Gc)(),h=n.parent,f=n.strategy,v=n.form,m=function(e,t,n){return(0,r.useMemo)((function(){var r;if("string"==typeof e){var i=t.get(e);if(n===o.d.View)if(i&&(0,u.wq)(i))r=i;else{r=new l.y({});var a={},h=t.getPatchedValue(e);if((0,s.pC)(h)){var p=(0,s.U2)(h);(0,d.Z)(p)&&(a=p)}r.patchedValue=a,t.registerChild(e,r)}else{if(!i)throw(0,c.Od)(e);if(!(0,u.wq)(i))throw(0,c.Uu)(e,"FieldSetModel",i);r=i}}else(0,u.lp)(e)?(i=e.getModel())&&(0,u.wq)(i)?r=i:((r=new l.y({})).patchedValue=(0,s.or)(e.patchedValue,(function(){return(0,s.or)(e.initialValue,(function(){return{}}))})),e.setModel(r)):r=e;return r}),[e,t,n])}(e,h,f);f!==o.d.View||"string"!=typeof e&&!(0,u.lp)(e)||(m.validators=t);var b=(0,r.useMemo)((function(){return{strategy:f,form:v,parent:m}}),[f,v,m]);return(0,p.R)(m.error$),(0,a.yq)(e,m,h),[b,m]}function v(e,t){var n=(0,r.useState)(e.get(t)),i=n[0],o=n[1];return(0,r.useEffect)((function(){var n=(0,h.h)(e,t).subscribe((function(t){o(e.get(t))}));return function(){return n.unsubscribe()}}),[e,t]),i}},79280:(e,t,n)=>{"use strict";n.d(t,{RI:()=>s,kH:()=>c,sV:()=>d,Jk:()=>h});var r=n(27378),i=n(91102),o=n(54779),u=n(29951),l=n(97858);function a(){for(var e=[],t=0;t{"use strict";n.d(t,{U:()=>p});var r=n(27378),i=n(39612),o=n(38121),u=n(92531),l=n(87262),a=n(97858),s=n(39177),c=n(64607),d=n(55390);function h(e){return"function"==typeof e}function p(e,t,n){void 0===n&&(n=[]);var p=(0,l.Gc)("string"!=typeof e),f=function(e,t,n){return(0,r.useMemo)((function(){var r;if("string"==typeof t){var l=null!=e?e:{},a=l.strategy,d=l.parent,p=d.get(t);if(a===i.d.View)if(p&&(0,o.DB)(p))r=p;else{var f=(0,s.or)(d.getPatchedValue(t),h(n)?n:function(){return n});r=new u.W(f),d.registerChild(t,r)}else{if(!p)throw(0,c.Od)(t);if(!(0,o.DB)(p))throw(0,c.Uu)(t,"FieldModel",p);r=p}}else(0,o.lp)(t)?(p=t.getModel())&&(0,o.DB)(p)?r=p:(f=(0,s.or)(t.patchedValue,(function(){return(0,s.or)(t.initialValue,h(n)?n:function(){return n})})),r=new u.W(f),t.setModel(r)):r=t;return r}),[t,null==e?void 0:e.parent,null==e?void 0:e.strategy,null==e?void 0:e.form])}(p,e,t);return(0,d.R)(f.value$),(0,d.R)(f.error$),(null==p?void 0:p.strategy)!==i.d.View||"string"!=typeof e&&!(0,o.lp)(e)||(f.validators=n),(0,a.yq)(e,f,null==p?void 0:p.parent),f}},58126:(e,t,n)=>{"use strict";n.d(t,{V:()=>p,h:()=>f});var r=n(59312),i=n(24246),o=n(27378),u=n(13918),l=n(23868),a=n(98125),s=n(93976),c=n(87262),d=n(38121),h=n(45272);function p(e){var t=e.name,n=e.model,u=e.children,l=(0,c.Gc)(),a=(0,h.g)(l,t,n,d.wq),s=(0,o.useMemo)((function(){return(0,r.pi)((0,r.pi)({},l),{parent:a})}),[l,a]);return a?(0,i.jsx)(c.ZP.Provider,(0,r.pi)({value:s},{children:u}),a.id):null}function f(e,t){return(0,u.T)(e.childRegister$,e.childRemove$).pipe((0,a.Q)(l.E),(0,s.h)((function(e){return e===t})))}},45272:(e,t,n)=>{"use strict";n.d(t,{g:()=>u});var r=n(27378),i=n(42690),o=n(58126);function u(e,t,n,u){var l=(null!=e?e:{}).parent,a=(0,r.useMemo)((function(){if("string"==typeof t){var e=l.get(t);if(u(e))return e}return u(n)?n:null}),[t,n,u,l]),s=(0,r.useState)(a),c=s[0],d=s[1];return(0,r.useEffect)((function(){if(!t)return i.Z;var e=l.get(t);u(e)&&d(e);var n=(0,o.h)(l,t).subscribe((function(e){var t=l.get(e);u(t)&&d(t)}));return function(){return n.unsubscribe()}}),[t,l,a,u]),c}},39177:(e,t,n)=>{"use strict";n.d(t,{bD:()=>i,Hq:()=>o,or:()=>u,pC:()=>l,U2:()=>a});var r=Symbol("some"),i=function(e){var t;return(t={})[r]=!0,t.value=e,t},o=function(){return null};function u(e,t){return e?e.value:t()}function l(e){return!!e}function a(e){return e.value}},31825:(e,t,n)=>{"use strict";n.d(t,{e:()=>s});var r=n(44879),i=n(9071),o=n(29951),u=n(18462),l=n(39177),a=n(38121),s=function(){function e(e){this.id=e,this.validate$=new r.x,this.validators=[],this.initialValue=(0,l.Hq)(),this.destroyOnUnmount=!1,this.subscriptions=[],this.error$=new i.X(null),this.subscriptions.push(this.validate$.pipe((0,u.w)((0,o.Gu)(this))).subscribe(new o.bg(this)))}return Object.defineProperty(e.prototype,"value",{get:function(){return this._getValue$().value},set:function(e){this.patchValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"form",{get:function(){var e;return null===(e=this.owner)||void 0===e?void 0:e.form},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions=[],this.owner=null,this.clear(),this.clearError()},e.prototype.valid=function(){return this._getValid$().value},e.prototype.triggerValidate=function(e){var t,n=this;if(this.owner!==this&&!(e&o.GP.StopPropagation)){var r=e&~o.GP.IncludeChildrenRecursively;null===(t=this.owner)||void 0===t||t.validate(r)}return new Promise((function(t,r){n.validate$.next({option:e,resolve:t,reject:r})}))},Object.defineProperty(e.prototype,"error",{get:function(){return this.error$.getValue()},set:function(e){this.error$.next(e)},enumerable:!1,configurable:!0}),e}();s.prototype[a.kI]=!0},92531:(e,t,n)=>{"use strict";n.d(t,{W:()=>f});var r=n(59312),i=n(9071),o=n(54779),u=n(31825),l=n(39177),a=n(29951),s=n(31256),c=n(70453),d=n(38121),h=n(11931),p=n(64607),f=function(e){function t(t){var n=e.call(this,(0,c.Z)("field-"))||this;return n.defaultValue=t,n._displayName="FieldModel",n._value$=new i.X(n.defaultValue),n._valid$=new i.X(!0),n.isTouched=!1,n.isCompositing=!1,n.normalizeBeforeSubmit=o.Z,n.owner=null,n}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"value$",{get:function(){return this._value$},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valid$",{get:function(){return this._valid$},enumerable:!1,configurable:!0}),t.prototype._getValue$=function(){return this._value$},t.prototype._getValid$=function(){return this._valid$},t.prototype.reset=function(){var e=this;this._getValue$().next((0,l.or)(this.initialValue,(function(){return e.defaultValue})))},t.prototype.clear=function(){this.initialValue=(0,l.Hq)(),this._getValue$().next(this.defaultValue)},t.prototype.clearError=function(){this.error$.next(null)},t.prototype.initialize=function(e){this.initialValue=(0,l.bD)(e),this._getValue$().next(e)},t.prototype.getRawValue=function(){return this._getValue$().getValue()},t.prototype.getSubmitValue=function(){return(0,this.normalizeBeforeSubmit)(this._getValue$().getValue())},t.prototype.validate=function(e){var t=this;return void 0===e&&(e=a.GP.Default),this.triggerValidate(e).then((function(e){return t._getValid$().next((0,s.Z)(e)),e}),(function(e){throw(0,p.bA)(e)}))},t.prototype.patchValue=function(e){this._getValue$().next(e)},t.prototype.pristine=function(){var e=this._getValue$().getValue();return(0,l.pC)(this.initialValue)?e===(0,l.U2)(this.initialValue):e===this.defaultValue},t.prototype.dirty=function(){return!this.pristine()},t.prototype.touched=function(){return this.isTouched},t.prototype.dispose=function(){e.prototype.dispose.call(this),this._getValue$().complete(),this._getValid$().complete(),this._valid$=(0,h.P)(this._displayName,!1),this._value$=(0,h.P)(this._displayName,this.defaultValue)},t}(u.e);f.prototype[d.ET]=!0},39612:(e,t,n)=>{"use strict";n.d(t,{d:()=>r,a:()=>d});var r,i=n(59312),o=n(9071),u=n(76156),l=n(29951),a=n(70453),s=n(38121),c=n(11931);!function(e){e[e.Model=0]="Model",e[e.View=1]="View"}(r||(r={}));var d=function(e){function t(t){var n=e.call(this,t,(0,a.Z)("form-"))||this;n.children=t,n._displayName="FormModel",n.workingValidators=new Set,n.isValidating$=new o.X(!1),n.owner=n;for(var r=Object.keys(t),i=r.length,u=0;u0;e!==this.isValidating$.getValue()&&this.isValidating$.next(e)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.workingValidators.clear(),this.isValidating$.complete(),this.isValidating$=(0,c.P)(this._displayName,!1)},t}(u.y);d.prototype[s.er]=!0},38121:(e,t,n)=>{"use strict";n.d(t,{er:()=>r,kI:()=>i,ET:()=>o,$p:()=>u,ih:()=>l,P$:()=>a,vP:()=>s,DB:()=>c,lp:()=>d,L4:()=>h,wq:()=>p,Jb:()=>f});var r=Symbol("form"),i=Symbol("model"),o=Symbol("field"),u=Symbol("ref"),l=Symbol("field-array"),a=Symbol("set");function s(e){return Boolean(null==e?void 0:e[i])}function c(e){return!(!e||!e[o])}function d(e){return!(!e||!e[u])}function h(e){return!(!e||!e[l])}function p(e){return!(!e||!e[a])}function f(e){return c(e)?"FieldModel":h(e)?"FieldArrayModel":p(e)?"FieldSetModel":(t=e)&&t[r]?"FormModel":d(e)?"ModelRef":s(e)?"BasicModel":"unknown";var t}},11931:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(9071),i=n(64607);function o(e,t){var n=new r.X(t);return n.error((0,i.Rk)(e)),n}},76156:(e,t,n)=>{"use strict";n.d(t,{y:()=>y});var r=n(59312),i=n(44879),o=n(9071),u=n(72551),l=n(54779),a=n(31256),s=n(12482),c=n(78513),d=n(70453),h=n(39177),p=n(29951),f=n(63716),v=n(31825),m=n(38121),b=n(11931),y=function(e){function t(t,n){void 0===n&&(n=(0,d.Z)("field-set-"));var r=e.call(this,n)||this;r._displayName="FieldSetModel",r.patchedValue=null,r.childRegister$=new i.x,r.childRemove$=new i.x,r.children={},r.owner=null,r.invalidModels=new Set,r.mapModelToSubscriptions=new Map,r.normalizeBeforeSubmit=l.Z;for(var o=Object.keys(t),u=o.length,a=0;a{"use strict";n.d(t,{Z$:()=>i,yq:()=>o,kJ:()=>u});var r=n(27378);function i(e){return e.length?e[e.length-1]:null}function o(e,t,n){(0,r.useEffect)((function(){return function(){"string"==typeof e&&t.destroyOnUnmount&&(n.removeChild(e),t.dispose())}}),[e,t,n])}var u=Array.isArray},29951:(e,t,n)=>{"use strict";n.d(t,{bg:()=>C,GP:()=>r,YC:()=>V,Iq:()=>g,Gu:()=>$});var r,i=n(45418),o=n(34878),u=n(7566),l=n(1537),a=n(93976),s=n(5185),c=n(67244),d=n(19302),h=n(87349),p=n(38121),f=n(59312),v=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.callback=n,i.value=r,i}return(0,f.ZT)(t,e),t.prototype._next=function(e){var t,n;this.value=e,null===(n=(t=this.destination).next)||void 0===n||n.call(t,e)},t.prototype._complete=function(){var e,t,n,r;try{(0,this.callback)(this.value)}catch(n){null===(t=(e=this.destination).error)||void 0===t||t.call(e,n)}null===(r=(n=this.destination).complete)||void 0===r||r.call(n)},t}(n(1443).Lv),m=function(){function e(e,t){this.callback=e,this.defaultValue=t}return e.prototype.call=function(e,t){return t.subscribe(new v(e,this.callback,this.defaultValue))},e}(),b=n(31256),y=Symbol("AsyncValidator");function g(e){return!!e[y]}function V(e){var t;return(t={})[y]=!0,t.validator=e,t}!function(e){e[e.Empty=0]="Empty",e[e.IncludeAsync=2]="IncludeAsync",e[e.IncludeUntouched=4]="IncludeUntouched",e[e.IncludeChildrenRecursively=8]="IncludeChildrenRecursively",e[e.ExcludePristine=16]="ExcludePristine",e[e.StopPropagation=32]="StopPropagation",e[e.Default=0]="Default"}(r||(r={}));var C=function(){function e(e){this.model=e}return e.prototype.next=function(e){this.model.error=e},e}(),_=function(){function e(e){this.model=e}return e.prototype.getSection=function(){return this.model.owner},e.prototype.getSectionValue=function(){for(var e=[],t=0;t{"use strict";n.d(t,{y:()=>c});var r=n(59312),i=n(29951),o=n(34878),u=n(45418),l=n(18462),a=n(85636);function s(e,t,n){return e&&(0,r.pi)((0,r.pi)({},e),{message:t(n)})}function c(e){return function(t){var n=(0,i.Iq)(t)?(0,i.YC)((function(n,r){var i=t.validator(n,r);return i&&(0,o.Dp)(i).pipe((0,l.w)((function(t){return(0,u.of)(s(t,e,r))})))})):function(n,r){return s(t(n,r),e,r)};return(0,a.lL)(t)&&(0,a.Ge)(n),n}}},17323:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(29951),i=n(85636);function o(e){return function(t){var n=(0,r.Iq)(t)?(0,r.YC)((function(n,r){return e(r)?t.validator(n,r):null})):function(n,r){return e(r)?t(n,r):null};return(0,i.lL)(t)&&(0,i.Ge)(n),n}}},85636:(e,t,n)=>{"use strict";n.d(t,{tk:()=>o,Ge:()=>u,lL:()=>l,C1:()=>a,Do:()=>s,Ei:()=>c,BS:()=>d,uj:()=>h}),n(9828);var r=n(31256),i=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/;var o=Symbol("required");function u(e){e.$$id=o}function l(e){return e.$$id===o}function a(e){function t(t){return n=t,(0,r.Z)(n)||0===n.length?{name:"required",message:e,actual:t}:null;var n}return t.$$id=o,t}function s(e){return function(t){return i.test(t)?null:{name:"email",message:e,actual:t}}}function c(e,t){return function(n){return n.lengthe?{name:"maxLength",message:t,actual:n,limit:e}:null}}function h(e,t){return function(n){return e.test(n)?null:{name:"pattern",message:t,actual:n,pattern:e}}}},63716:(e,t,n)=>{"use strict";n.d(t,{P:()=>i,v:()=>o});var r=n(52254);function i(e,t){(0,r.W)(!e,"form-subscribe-value-"+t,"Subscribe `value` of %s might cause performance issues, do it with caution.",t)}function o(e,t){(0,r.W)(!e,"form-subscribe-valid-"+t,"Subscribe `valid` of %s might cause performance issues, do it with caution.",t)}},45657:(e,t,n)=>{"use strict";n.d(t,{bd:()=>h,pC:()=>r,rw:()=>i,cU:()=>p,Nn:()=>f,Te:()=>v,M6:()=>m});var r,i,o=n(24246),u=n(27378),l=n(24399),a=n(23807),s=n(38836),c=n(59935),d="HH:mm:ss";function h(e){return!!e.name}function p(){return[new Date,new Date]}function f(){return[(0,l.Z)(new Date,d),(0,l.Z)((0,a.Z)(),d)]}function v(e){return null==e?null:(0,o.jsx)(s.X,{children:e.message},void 0)}function m(e,t){var n=(0,c.Xj)(),r=(0,u.useRef)(n.children.length);(0,u.useEffect)((function(){var i={valid:function(){return e.valid()},getDOMNode:function(){return t&&t.current}};return r.current{"use strict";n.d(t,{v:()=>i});var r=n(52254);function i(e,t,n){(0,r.W)(e,n+"-"+t,"Do not use 'props."+t+"' in '"+n+"'.\nForm fields are controlled components, use 'defaultValue' prop in '"+n+"' to set default value.")}},32254:(e,t,n)=>{"use strict";var r=n(80964);t.Z=r.Z},4246:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(27378),a=n(57961),s=n(1348);function c(e){var t=(0,l.useContext)(s.d),n=e.value,o=e.disabled,c=void 0===o?t.value:o,d=e.readOnly,h=void 0!==d&&d,p=e.isValueEqual,f=void 0===p?Object.is:p,v=e.className,m=e.style,b=e.children,y=e.onChange,g=(0,l.useMemo)((function(){return{value:n,disabled:c,readOnly:h,isValueEqual:f,onRadioChange:y}}),[n,c,h,f,y]);return(0,i.jsx)(a.Z.Provider,(0,r.pi)({value:g},{children:(0,i.jsx)("div",(0,r.pi)({className:u()("zent-radio-group",v),style:m,"data-zv":"10.0.10"},{children:b}),void 0)}),void 0)}t.Z=c},57961:(e,t,n)=>{"use strict";var r=(0,n(27378).createContext)(null);r.displayName="RadioGroupContext",t.Z=r},71457:(e,t,n)=>{"use strict";n.d(t,{Y:()=>f,Z:()=>v});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(1535),a=n(27378);function s(e,t){var n=(0,a.useRef)(t);n.current=t;var i=e&&e.onRadioChange;return(0,a.useCallback)((function(e){var t=function(e,t){var n=Object.create(e);return n.target=(0,r.pi)((0,r.pi)({},t),{type:"radio",checked:e.target.checked}),n}(e,n.current);if(i)i(t);else{var o=n.current.onChange;o&&o(t)}}),[i])}function c(e,t,n){var r=function(e,t,n){return"boolean"==typeof n.disabled?n.disabled:t&&"boolean"==typeof t.disabled?t.disabled:e.value}(e,t,n),i=function(e,t){return"boolean"==typeof t.readOnly?t.readOnly:!!e&&e.readOnly}(t,n);return{checked:t?t.isValueEqual(t.value,n.value):!!n.checked,disabled:r,readOnly:i}}var d=n(4246),h=n(1348),p=n(57961);function f(e){var t=e.className,n=e.style,o=e.children,d=(e.value,e.width),f=e.labelStyle,v=(e.onMouseEnter,e.onMouseLeave,(0,r._T)(e,["className","style","children","value","width","labelStyle","onMouseEnter","onMouseLeave"])),m=(0,a.useContext)(h.d),b=(0,a.useContext)(p.Z),y=c(m,b,e),g=y.checked,V=y.disabled,C=y.readOnly,_=s(b,e),w=u()(t,"zent-radio-wrap",{"zent-radio-checked":!!g,"zent-radio-disabled":V||C}),$=(0,l.Z)(d),x=(0,r.pi)((0,r.pi)({},n),$);return(0,i.jsxs)("label",(0,r.pi)({className:w,style:x,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-zv":"10.0.10"},{children:[(0,i.jsxs)("span",(0,r.pi)({className:"zent-radio","data-zv":"10.0.10"},{children:[(0,i.jsx)("span",{className:"zent-radio-inner","data-zv":"10.0.10"},void 0),(0,i.jsx)("input",(0,r.pi)({},v,{type:"radio",checked:!!g,disabled:V,readOnly:C,onChange:_,"data-zv":"10.0.10"}),void 0)]}),void 0),void 0!==o&&(0,i.jsx)("span",(0,r.pi)({className:"zent-radio-label",style:f,"data-zv":"10.0.10"},{children:o}),void 0)]}),void 0)}f.Button=function(e){var t=e.className,n=e.style,o=e.children,d=(e.value,e.width),f=e.onMouseEnter,v=e.onMouseLeave,m=(0,r._T)(e,["className","style","children","value","width","onMouseEnter","onMouseLeave"]),b=(0,a.useContext)(h.d),y=(0,a.useContext)(p.Z);if(!y)throw new Error("Radio.Button must be nested within Radio.Group");var g=c(b,y,e),V=g.checked,C=g.disabled,_=g.readOnly,w=s(y,e),$=u()(t,"zent-radio-button",{"zent-radio-button--checked":!!V,"zent-radio-button--disabled":C||_}),x=(0,l.Z)(d),S=(0,r.pi)((0,r.pi)({},n),x);return(0,i.jsxs)("label",(0,r.pi)({className:$,style:S,onMouseEnter:f,onMouseLeave:v,"data-zv":"10.0.10"},{children:[(0,i.jsx)("input",(0,r.pi)({},m,{type:"radio",checked:!!V,disabled:C,readOnly:_,onChange:w,"data-zv":"10.0.10"}),void 0),(0,i.jsx)("span",(0,r.pi)({className:"zent-radio-button__content","data-zv":"10.0.10"},{children:o}),void 0)]}),void 0)},f.Group=d.Z;var v=f},7360:(e,t,n)=>{"use strict";var r=n(95388);t.Z=r.Z},56377:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});var r=n(59312),i=n(24246),o=n(27378),u=n(60042),l=n.n(u),a=n(1348),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.toggle=function(){var e=t.props,n=e.onChange,r=e.checked;n&&n(!r)},t}return(0,r.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.className,r=t.size,o=t.disabled,u=void 0===o?this.context.value:o,a=t.loading,s=t.checked,c=u||a,d=l()(((e={})["zent-switch-"+r]="default"!==r,e["zent-switch-disabled"]=c,e["zent-switch-loading"]=a,e["zent-switch-checked"]=s,e),"zent-switch",n);return(0,i.jsx)("div",{className:d,onClick:c?void 0:this.toggle,"data-zv":"10.0.10"},void 0)},t.defaultProps={size:"default"},t.contextType=a.d,t}(o.Component);t.Z=s},58801:(e,t,n)=>{"use strict";function r(){var e=window.pageXOffset,t=window.pageYOffset;return{x:void 0!==e?e:(document.documentElement||document.body.parentNode||document.body).scrollLeft,y:void 0!==t?t:(document.documentElement||document.body.parentNode||document.body).scrollTop}}n.d(t,{Z:()=>r})},1535:(e,t,n)=>{"use strict";function r(e){return"string"==typeof e||"number"==typeof e?{width:e}:{}}n.d(t,{Z:()=>r})},54779:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{Z:()=>r})},52254:(e,t,n)=>{"use strict";n.d(t,{W:()=>r}),n(59312);var r=function(e,t,n){for(var r=[],i=3;i{"use strict";n.d(t,{X:()=>h});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(27378),a=n(1535),s=n(23130),c=n(1348),d=n(4008);function h(e){var t=(0,l.useContext)(c.d),n=(0,l.useContext)(s.Z),o=(0,l.useRef)(e);o.current=e;var d,h=n&&n.onChange,p=(0,l.useCallback)((function(e){var t=o.current,n=t.value,i=t.onChange;if(h)h(n);else if(i){var u=Object.create(e);u.target=(0,r.pi)((0,r.pi)({},o.current),{type:"checkbox",checked:e.target.checked}),i(u)}}),[h]),f=(e.checked,e.className),v=e.style,m=(e.disabled,e.readOnly,e.children),b=e.indeterminate,y=e.width,g=(e.value,e.labelStyle),V=e.onMouseEnter,C=e.onMouseLeave,_=(0,r._T)(e,["checked","className","style","disabled","readOnly","children","indeterminate","width","value","labelStyle","onMouseEnter","onMouseLeave"]),w=function(e,t){return"boolean"==typeof t.readOnly?t.readOnly:!!e&&e.readOnly}(n,e),$=function(e,t,n){return"boolean"==typeof n.disabled?n.disabled:t?t.disabled:e.value}(t,n,e);if(n){var x=n.value,S=n.isValueEqual;d=-1!==x.findIndex((function(t){return S(t,e.value)}))}else d=!!e.checked;return(0,i.jsxs)("label",(0,r.pi)({className:u()("zent-checkbox-wrap",f,{"zent-checkbox-checked":!!d,"zent-checkbox-disabled":$||w,"zent-checkbox-indeterminate":b}),style:(0,r.pi)((0,r.pi)({},v),(0,a.Z)(y)),onMouseEnter:V,onMouseLeave:C,"data-zv":"10.0.10"},{children:[(0,i.jsxs)("span",(0,r.pi)({className:"zent-checkbox","data-zv":"10.0.10"},{children:[(0,i.jsx)("span",{className:"zent-checkbox-inner","data-zv":"10.0.10"},void 0),(0,i.jsx)("input",(0,r.pi)({},_,{type:"checkbox",checked:d&&!b,disabled:$,readOnly:w,onChange:p,"data-zv":"10.0.10"}),void 0)]}),void 0),null!=m&&!0!==m&&!1!==m?(0,i.jsx)("div",(0,r.pi)({className:"zent-checkbox-label",style:g,"data-zv":"10.0.10"},{children:m}),void 0):null]}),void 0)}h.Group=d.Z,t.Z=h},4008:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(59312),i=n(24246),o=n(27378),u=n(60042),l=n.n(u),a=n(41925),s=n(23130),c=n(1348),d=s.Z.Provider,h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getGroupContext=(0,a.Z)((function(e,n,r,i){return{value:Array.isArray(e)?e:[],disabled:n,readOnly:r,isValueEqual:i,onChange:t.onCheckboxChange}})),t.onCheckboxChange=function(e){var n=t.props,r=n.isValueEqual,i=n.onChange,o=n.value;if(i){var u=o?o.slice():[],l=u.findIndex((function(t){return r(t,e)}));-1!==l?u.splice(l,1):u.push(e),i(u)}},t}return(0,r.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.style,o=e.children,u=e.value,a=e.disabled,s=void 0===a?this.context.value:a,c=e.readOnly,h=void 0!==c&&c,p=e.isValueEqual,f=l()("zent-checkbox-group",t);return(0,i.jsx)(d,(0,r.pi)({value:this.getGroupContext(u,s,h,p)},{children:(0,i.jsx)("div",(0,r.pi)({className:f,style:n,"data-zv":"10.0.10"},{children:o}),void 0)}),void 0)},t.defaultProps={isValueEqual:Object.is,value:[]},t.contextType=c.d,t}(o.Component);t.Z=h},23130:(e,t,n)=>{"use strict";var r=n(27378);t.Z=(0,r.createContext)(null)},68150:(e,t,n)=>{"use strict";var r=n(33938);t.ZP=r.Z},91419:(e,t,n)=>{"use strict";n.d(t,{X:()=>$});var r=n(59312),i=n(24246),o=n(27378),u=n(52074),l=n(60042),a=n.n(l),s=n(50456),c=n(44639),d=n(77828),h=n(41507),p=n(32046),f=n(80280),v=n(11128),m=f.k.START,b=f.k.END,y=c.Z.Provider,g=function(e){var t=e.value,n=e.onChange,u=e.disabledTime,l=e.onClose,c=e.onOpen,f=e.defaultTime,g=e.placeholder,V=e.PickerComponent,C=e.className,_=e.seperator,w=e.name,$=(0,r._T)(e,["value","onChange","disabledTime","onClose","onOpen","defaultTime","placeholder","PickerComponent","className","seperator","name"]),x=(0,o.useRef)($);x.current=$;var S=x.current.format,M=(0,d.Q)(n),j=(0,p.Z)(v.Y5,t),P=j.selected,z=j.setSelected,k=P[0],Z=P[1],E=(0,o.useCallback)((function(e){return function(t){var n,r=e===m?[t,Z]:[k,t];z(r),null===(n=M.current)||void 0===n||n.call(M,r)}}),[k,Z,M,z]),T=(0,p.K)(P,S,new Date),N=(0,h.Z)({selected:T,disabledTime:u}),O=N.disabledStartTimes,R=N.disabledConfirm,F=N.disabledEndTimes,B=(0,o.useCallback)((function(){var e;return null==O?void 0:O(null!==(e=T[0])&&void 0!==e?e:(0,s.Z)())}),[O,T]),U=(0,o.useCallback)((function(){var e;return null==F?void 0:F(null!==(e=T[1])&&void 0!==e?e:(0,s.Z)())}),[F,T]);return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",(0,r.pi)({className:a()("zent-datepicker",C),"data-zv":"10.0.10"},{children:(0,i.jsxs)(y,(0,r.pi)({value:{confirmStatus:R}},{children:[(0,i.jsx)(V,(0,r.pi)({},x.current,{value:k,onChange:E(m),defaultTime:null==f?void 0:f[0],disabledTime:B,onOpen:function(){return null==c?void 0:c(m)},onClose:function(){return null==l?void 0:l(m)},name:null==w?void 0:w[0],placeholder:g[0]}),void 0),(0,i.jsx)("span",(0,r.pi)({className:"zent-datepicker-seperator","data-zv":"10.0.10"},{children:_}),void 0),(0,i.jsx)(V,(0,r.pi)({},x.current,{value:Z,onChange:E(b),defaultTime:null==f?void 0:f[1],disabledTime:U,onOpen:function(){return null==c?void 0:c(b)},onClose:function(){return null==l?void 0:l(b)},name:null==w?void 0:w[1],placeholder:g[1]}),void 0)]}),void 0)}),void 0)},void 0)},V=n(1348),C=n(12691),_=n(7178),w=C.Z.Provider,$=function(e){var t=(0,o.useContext)(V.d),n=(0,r.pi)((0,r.pi)({},v.V2),e),l=n.format,a=n.placeholder,s=n.width,c=n.disabled,d=void 0===c?t.value:c;return(0,i.jsx)(u.Z,(0,r.pi)({componentName:"TimePicker"},{children:function(e){return(0,i.jsx)(w,(0,r.pi)({value:{i18n:e}},{children:(0,i.jsx)(g,(0,r.pi)({},n,{format:l,placeholder:a||[e.startTime,e.endTime],disabled:d,seperator:e.to,width:null!=s?s:v.on,PickerComponent:_.Z}),void 0)}),void 0)}}),void 0)}},12030:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(27378),a=n(59935),s=function(e){var t=e.children,n=e.required,o=(0,l.useContext)(a.q3).labelStyle;return(0,i.jsx)("label",(0,r.pi)({className:u()("zent-form-label",{"zent-form-label-required":n,"zent-form-label-empty":!t}),style:o,"data-zv":"10.0.10"},{children:t}),void 0)},c=(0,l.forwardRef)((function(e,t){var n=e.className,o=e.style,c=e.label,d=e.children,h=e.required,p=e.invalid,f=e.withoutLabel,v=(0,l.useContext)(a.q3).controlStyle;return(0,i.jsxs)("div",(0,r.pi)({ref:t,className:u()("zent-form-control",{"has-error":p},n),style:(0,r.pi)((0,r.pi)({},v),o),"data-zv":"10.0.10"},{children:[f?null:(0,i.jsx)(s,(0,r.pi)({required:h},{children:c}),void 0),(0,i.jsx)("div",(0,r.pi)({className:"zent-form-control-content","data-zv":"10.0.10"},{children:d}),void 0)]}),void 0)}));c.displayName="ZentFormControl"},38836:(e,t,n)=>{"use strict";n.d(t,{X:()=>l});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=(0,n(27378).forwardRef)((function(e,t){var n=e.className,o=e.style,l=e.children;return(0,i.jsx)("div",(0,r.pi)({ref:t,className:u()("zent-form-error","zent-font-small",n),style:o,"data-zv":"10.0.10"},{children:l}),void 0)}));l.displayName="ZentFormError"},37882:(e,t,n)=>{"use strict";n.d(t,{Wi:()=>C});var r=n(59312),i=n(24246),o=n(27378),u=n(29951),l=n(85636),a=n(49407),s=n(38121),c=n(79280),d=n(45657),h=n(12030),p=n(60042),f=n.n(p),v=function(e){var t=e.className,n=e.style,o=e.children;return(0,i.jsx)("div",(0,r.pi)({className:f()("zent-form-notice",t),style:n,"data-zv":"10.0.10"},{children:o}),void 0)},m=function(e){var t=e.children,n=e.className,o=e.style;return(0,i.jsx)("div",(0,r.pi)({className:f()("zent-form-description",n),style:o,"data-zv":"10.0.10"},{children:t}),void 0)},b=n(54779),y=n(74566);function g(){return u.GP.Default}function V(e,t){var n=e.validators,r=e.required;return n=null!=n?n:[],r&&!n.some((function(e){return e.$$id===l.tk}))&&(n=[l.C1("string"==typeof r?r:t.required)].concat(n)),n}function C(e){var t,n,l,p=(n="Form",l=(0,o.useContext)(y.Z),(0,o.useMemo)((function(){var e=l.Form;return"function"==typeof e?e():e}),[l,n]));if((0,d.bd)(e)){var f=e.name,C=e.defaultValue,_=e.destroyOnUnmount,w=e.normalizeBeforeSubmit;(t=(0,a.U)(f,C,V(e,p))).destroyOnUnmount=Boolean(_),"function"==typeof w&&(t.normalizeBeforeSubmit=w)}else t=(0,s.lp)(e.model)?(0,a.U)(e.model,e.defaultValue,V(e,p)):(0,a.U)(e.model);!function(e,t){(0,o.useEffect)((function(){void 0!==t&&e.initialize(t)}),[e,t])}(t,e.initialValue),(0,o.useImperativeHandle)(e.modelRef,(function(){return t}),[t]);var $=e.className,x=e.style,S=e.label,M=e.required,j=e.before,P=e.after,z=e.notice,k=e.helpDesc,Z=e.withoutError,E=e.renderError,T=void 0===E?d.Te:E,N=e.children,O=e.validateOccasion,R=void 0===O?d.pC.Default:O,F=e.getValidateOption,B=void 0===F?g:F,U=e.normalize,D=void 0===U?b.Z:U,I=e.normalizeBeforeBlur,G=e.format,q=void 0===G?b.Z:G,A=e.withoutLabel,L=e.touchWhen,W=void 0===L?d.rw.Change:L,X=(0,o.useRef)(null);(0,d.M6)(t,X);var H,Y=(0,o.useCallback)((function(e){var n=t.value;return D(e,n)}),[t,D]),J=(0,o.useCallback)((function(e){return t.value=e}),[t]),K=c.sV(t,null!=(H=B("change"))?H:u.GP.Default,e.onChange),Q=e.onChange,ee=c.RI((function(){W===d.rw.Change&&(t.isTouched=!0)}),c.kH(Y,d.pC.Change&R?K:function(e){J(e),null==Q||Q(e)}),[t,W,Y,R,K,Q]),te=e.onBlur,ne=(0,o.useCallback)((function(e){W===d.rw.Blur&&(t.isTouched=!0),I&&(t.value=I(t.value)),R&d.pC.Blur&&t.validate(B("blur")),null==te||te(e)}),[B,R,I,W,t,te]),re=c.Jk(t,{onCompositionStart:e.onCompositionStart,onCompositionEnd:e.onCompositionEnd}),ie=re.onCompositionStart,oe=re.onCompositionEnd;return(0,i.jsxs)(h.N,(0,r.pi)({ref:X,className:$,style:x,label:S,required:!!M,invalid:!!t.error,withoutLabel:A},{children:[(0,i.jsxs)("div",(0,r.pi)({className:"zent-form-control-content-inner","data-zv":"10.0.10"},{children:[j,N({value:q(t.value),onChange:ee,onCompositionStart:ie,onCompositionEnd:oe,onBlur:ne}),P]}),void 0),Z?null:T(t.error),!!z&&(0,i.jsx)(v,{children:z},void 0),!!k&&(0,i.jsx)(m,{children:k},void 0)]}),void 0)}},70158:(e,t,n)=>{"use strict";n.d(t,{C:()=>c});var r=n(59312),i=n(24246),o=n(89466),u=n(87262),l=n(45657),a=n(27378),s=n(55390);function c(e){var t=e,n=t.scrollAnchorRef,c=t.renderError,d=void 0===c?l.Te:c,h=t.validators,p=t.modelRef,f=e.name,v=e.model,m=(0,o.w)(null!=f?f:v,h),b=m[0],y=m[1];if(function(e){return void 0!==e.name}(e)){var g=e.normalizeBeforeSubmit,V=e.destroyOnUnmount;y.destroyOnUnmount=Boolean(V),g&&(y.normalizeBeforeSubmit=g)}return(0,a.useImperativeHandle)(p,(function(){return y}),[y]),(0,l.M6)(y,n),(0,s.R)(y.error$),(0,i.jsxs)(u.RV,(0,r.pi)({value:b},{children:[e.children,d(y.error)]}),void 0)}},49633:(e,t,n)=>{"use strict";n.d(t,{l0:()=>ke});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(27378),a=n(39612),s=n(38121),c=n(9071),d=n(54779),h=n(31825),p=n(29951),f=n(39177),v=n(70453),m=function(){function e(e,t,n){void 0===e&&(e=null),void 0===t&&(t=(0,f.Hq)()),this.initialValue=t,this.patchedValue=(0,f.Hq)(),this.id=(0,v.Z)("model-ref-"),this._owner=null,this.model$=new c.X(e),this.owner=n}return Object.defineProperty(e.prototype,"owner",{get:function(){return this._owner},set:function(e){this._owner=e;var t=this.getModel();t&&(t.owner=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"form",{get:function(){var e;return null===(e=this.owner)||void 0===e?void 0:e.form},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"validators",{get:function(){var e,t;return null!==(t=null===(e=this.model$.getValue())||void 0===e?void 0:e.validators)&&void 0!==t?t:[]},set:function(e){var t=this.model$.getValue();t&&(t.validators=e)},enumerable:!1,configurable:!0}),e.prototype.getModel=function(){return this.model$.getValue()},e.prototype.setModel=function(e){var t=this.getModel();t&&t.dispose(),e&&(e.owner=this.owner),this.model$.next(e)},e.prototype.getParent=function(){return this.owner},e.prototype.dirty=function(){var e=this.getModel();return!!e&&e.dirty()},e.prototype.touched=function(){var e=this.getModel();return!!e&&e.touched()},e.prototype.validate=function(e){void 0===e&&(e=p.GP.Default);var t=this.getModel();return t?t.validate(e):Promise.resolve()},e.prototype.getRawValue=function(){var e;return null===(e=this.getModel())||void 0===e?void 0:e.getRawValue()},e.prototype.pristine=function(){var e=this.getModel();return!e||e.pristine()},e.prototype.valid=function(){var e=this.getModel();return!e||e.valid()},Object.defineProperty(e.prototype,"error",{get:function(){var e;return null===(e=this.getModel())||void 0===e?void 0:e.error},set:function(e){var t=this.getModel();t&&(t.error=e)},enumerable:!1,configurable:!0}),e.prototype.patchValue=function(e){var t;null===(t=this.getModel())||void 0===t||t.patchValue(e)},e.prototype.initialize=function(e){var t;null===(t=this.getModel())||void 0===t||t.initialize(e)},e.prototype.reset=function(){var e;null===(e=this.getModel())||void 0===e||e.reset()},e.prototype.clear=function(){var e;null===(e=this.getModel())||void 0===e||e.clear()},e.prototype.clearError=function(){var e;null===(e=this.getModel())||void 0===e||e.clearError()},e.prototype.dispose=function(){var e;null===(e=this.getModel())||void 0===e||e.dispose(),this.model$.next(null)},e.prototype.getSubmitValue=function(){var e;null===(e=this.getModel())||void 0===e||e.getSubmitValue()},e}();m.prototype[s.$p]=!0;var b=n(31256),y=n(97514),g=n(72012),V=n(64607),C=n(63716),_=n(11931),w=function(e){function t(t,n){var r=e.call(this,(0,v.Z)("field-array-"))||this;r.defaultValue=n,r._displayName="FieldArrayModel",r.owner=null,r.invalidModels=new Set,r.mapModelToSubscriptions=new Map,r.normalizeBeforeSubmit=d.Z,r._disposeChild=function(e){r._unsubscribeChild(e),e.owner=null},r._buildChild=function(e){var t=r.childFactory(e);return r._subscribeChild(t),t},r.childFactory=t?function(e){var n=t.build((0,f.bD)(e));return r._linkChild(n)}:function(e){return new m(null,(0,f.bD)(e),r)};var i=r.defaultValue.map(r._buildChild);return r.children$=new c.X(i),r}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._value$?this._value$.value:this.getRawValue()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value$",{get:function(){return this._getValue$(!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valid$",{get:function(){return this._getValid$(!0)},enumerable:!1,configurable:!0}),t.prototype._getValue$=function(e){return void 0===e&&(e=!1),(0,C.P)(e,this._displayName),this._value$||this._initValue$(),this._value$},t.prototype._getValid$=function(e){return void 0===e&&(e=!1),(0,C.v)(e,this._displayName),this._valid$||this._initValid$(),this._valid$},t.prototype.reset=function(){var e=this,t=(0,f.or)(this.initialValue,(function(){return e.defaultValue})).map(this._buildChild);this.children$.next(t)},t.prototype.clear=function(){this.initialValue=void 0;var e=this.defaultValue.map(this._buildChild);this.children$.next(e)},t.prototype.clearError=function(){this.error$.next(null);for(var e=this.children,t=e.length,n=0;n=t.length);n+=1){var r=e[n],i=t[n];if((0,s.lp)(i)){var o=i.getModel();o&&o.patchValue(r)}else(0,s.vP)(i)&&i.patchValue(r)}if(e.length<=t.length)this.splice(e.length,t.length-e.length);else for(n=t.length;n{"use strict";n.d(t,{GI:()=>i,Xj:()=>o,q3:()=>u});var r=n(27378),i=(0,r.createContext)(null);function o(){var e=(0,r.useContext)(i);if(null===e)throw new Error("Component must be used under Form");return e}i.displayName="ZentFormChildrenContext";var u=(0,r.createContext)({})},72118:(e,t,n)=>{"use strict";n.d(t,{h:()=>h});var r=n(59312),i=n(24246),o=n(27378),u=n(60042),l=n.n(u),a=n(68150),s=n(37882),c=n(77828);function d(e){var t=e.childProps,n=e.props,u=t.value,l=(0,r._T)(t,["value"]),s=(0,c.Q)(t.onChange),d=(0,o.useCallback)((function(e){var t;null===(t=s.current)||void 0===t||t.call(s,e.target.checked)}),[s]);return(0,i.jsx)(a.ZP,(0,r.pi)({},n.props,l,{checked:u,onChange:d}),void 0)}function h(e){var t=e.className,n=(0,r._T)(e,["className"]);return(0,i.jsx)(s.Wi,(0,r.pi)({},n,{className:l()(t,"zent-form-checkbox-field"),defaultValue:e.defaultValue||!1},{children:function(t){return(0,i.jsx)(d,{childProps:t,props:e},void 0)}}),void 0)}},69717:(e,t,n)=>{"use strict";n.d(t,{I:()=>c});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(4008),a=n(37882),s=[];function c(e){var t=e.className,n=(0,r._T)(e,["className"]);return(0,i.jsx)(a.Wi,(0,r.pi)({},n,{className:u()(t,"zent-form-checkbox-group-field"),defaultValue:e.defaultValue||s},{children:function(t){return function(e,t){return(0,i.jsx)(l.c,(0,r.pi)({},t.props,e,{children:t.children}),void 0)}(t,e)}}),void 0)}},34954:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var r=n(59312),i=n(24246),o=n(93531),u=n(37882),l=function(e){return(0,i.jsx)(u.Wi,(0,r.pi)({},e,{defaultValue:e.defaultValue||""},{children:function(t){return function(e,t){var n=e.value,u=(0,r._T)(e,["value"]);return(0,i.jsx)(o.Z,(0,r.pi)({},t.props,u,{color:n}),void 0)}(t,e)}}),void 0)}},89239:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var r=n(59312),i=n(24246),o=n(1937),u=n(37882),l=n(45657),a=function(e){var t;return(0,i.jsx)(u.Wi,(0,r.pi)({},e,{defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:l.cU},{children:function(t){return(0,i.jsx)(o.D,(0,r.pi)({},e.props,t),void 0)}}),void 0)}},73811:(e,t,n)=>{"use strict";n.d(t,{j:()=>h});var r=n(59312),i=n(24246),o=n(27378),u=n(60042),l=n.n(u),a=n(37882),s=n(82645),c=n(62940),d=n(78513);function h(e){var t,n=e.className,u=(0,r._T)(e,["className"]);return o.useEffect((function(){var t;(0,c.v)(!("defaultFileList"in(null!==(t=e.props)&&void 0!==t?t:{})),"defaultFileList","FormImageUploadField")}),[]),(0,i.jsx)(a.Wi,(0,r.pi)({},u,{className:l()(n,"zent-form-upload-field"),defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:[]},{children:function(t){return function(e,t){var n=e.value,o=e.onChange;return(0,i.jsx)(s.U,(0,r.pi)({},(0,d.Z)(t.props,["defaultFileList"]),{fileList:n,onChange:o}),void 0)}(t,e)}}),void 0)}},47287:(e,t,n)=>{"use strict";n.d(t,{C:()=>h});var r=n(59312),i=n(24246),o=n(27378),u=n(82285),l=n(37882),a=n(45657),s=n(62940),c=n(77828),d=function(e){var t=e.childProps,n=e.props,l=(0,c.Q)(t.onChange),a=(0,o.useCallback)((function(e){var t;null===(t=l.current)||void 0===t||t.call(l,e.target.value)}),[l]);return(0,i.jsx)(u.I,(0,r.pi)({},n.props,t,{onChange:a}),void 0)},h=function(e){var t=e.validateOccasion,n=void 0===t?a.pC.Blur:t;return o.useEffect((function(){var t;(0,s.v)(!("defaultValue"in(null!==(t=e.props)&&void 0!==t?t:{})),"defaultValue","FormInputField")}),[]),(0,i.jsx)(l.Wi,(0,r.pi)({},e,{defaultValue:e.defaultValue||"",touchWhen:a.rw.Blur,validateOccasion:n},{children:function(t){return(0,i.jsx)(d,{childProps:t,props:e},void 0)}}),void 0)}},61705:(e,t,n)=>{"use strict";n.d(t,{w:()=>l});var r=n(59312),i=n(24246),o=n(32254),u=n(37882);function l(e){return(0,i.jsx)(u.Wi,(0,r.pi)({},e,{defaultValue:e.defaultValue||""},{children:function(t){return(0,i.jsx)(o.Z,(0,r.pi)({},e.props,t),void 0)}}),void 0)}(0,i.jsx)(o.Z,{},void 0)},69220:(e,t,n)=>{"use strict";n.d(t,{x:()=>h});var r=n(59312),i=n(24246),o=n(27378),u=n(60042),l=n.n(u),a=n(4246),s=n(37882),c=n(77828);function d(e){var t=e.childProps,n=e.props,u=(0,c.Q)(t.onChange),l=(0,o.useCallback)((function(e){var t;null===(t=u.current)||void 0===t||t.call(u,e.target.value)}),[u]);return(0,i.jsx)(a.E,(0,r.pi)({},n.props,t,{onChange:l},{children:n.children}),void 0)}function h(e){var t,n=e.className,o=(0,r._T)(e,["className"]);return(0,i.jsx)(s.Wi,(0,r.pi)({},o,{className:l()(n,"zent-form-radio-group-field"),defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:null},{children:function(t){return(0,i.jsx)(d,{childProps:t,props:e},void 0)}}),void 0)}},78518:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(59312),i=n(24246),o=n(7360),u=n(37882);function l(e){var t,n;return(0,i.jsx)(u.Wi,(0,r.pi)({},e,{defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:(null===(n=e.props)||void 0===n?void 0:n.multiple)?[]:null},{children:function(t){return function(e,t){return(0,i.jsx)(o.Z,(0,r.pi)({},t.props,e),void 0)}(t,e)}}),void 0)}},57925:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(37882),a=n(50081);function s(e){var t,n=e.className,o=(0,r._T)(e,["className"]);return(0,i.jsx)(l.Wi,(0,r.pi)({},o,{className:u()(n,"zent-form-single-upload-field"),defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:null},{children:function(t){return function(e,t){var n=e.value,o=e.onChange;return(0,i.jsx)(a.x,(0,r.pi)({},t.props,{value:n,onChange:o}),void 0)}(t,e)}}),void 0)}},40027:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(56377).Z,a=n(37882),s=function(e){var t=e.className,n=(0,r._T)(e,["className"]);return(0,i.jsx)(a.Wi,(0,r.pi)({},n,{className:u()(t,"zent-form-switch-field"),defaultValue:"boolean"==typeof e.defaultValue&&e.defaultValue},{children:function(t){return function(e,t){var n=e.value,o=(0,r._T)(e,["value"]);return(0,i.jsx)(l,(0,r.pi)({},t.props,o,{checked:n}),void 0)}(t,e)}}),void 0)}},75774:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(59312),i=n(24246),o=n(45657),u=n(91419),l=n(37882),a=function(e){var t;return(0,i.jsx)(l.Wi,(0,r.pi)({},e,{defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:o.Nn},{children:function(t){return(0,i.jsx)(u.X,(0,r.pi)({},e.props,t),void 0)}}),void 0)}},12729:(e,t,n)=>{"use strict";n.d(t,{U:()=>h});var r=n(59312),i=n(24246),o=n(27378),u=n(60042),l=n.n(u),a=n(37882),s=n(37122),c=n(62940),d=n(78513);function h(e){var t,n=e.className,u=(0,r._T)(e,["className"]);return o.useEffect((function(){var t;(0,c.v)(!("defaultFileList"in(null!==(t=e.props)&&void 0!==t?t:{})),"defaultFileList","FormUploadField")}),[]),(0,i.jsx)(a.Wi,(0,r.pi)({},u,{className:l()(n,"zent-form-upload-field"),defaultValue:null!==(t=e.defaultValue)&&void 0!==t?t:[]},{children:function(t){return function(e,t){var n=e.value,o=e.onChange;return(0,i.jsx)(s.g,(0,r.pi)({},(0,d.Z)(t.props,["defaultFileList"]),{fileList:n,onChange:o}),void 0)}(t,e)}}),void 0)}},87262:(e,t,n)=>{"use strict";n.d(t,{q3:()=>o,RV:()=>u,Gc:()=>l});var r=n(27378),i=n(64607),o=(0,r.createContext)(null);o.displayName="FormContext";var u=o.Provider;function l(e){void 0===e&&(e=!1);var t=(0,r.useContext)(o);if(null===t&&!e)throw i.tw;return t}t.ZP=o},64607:(e,t,n)=>{"use strict";n.d(t,{tw:()=>l,bA:()=>a,Uu:()=>s,Od:()=>c,k2:()=>d,Rk:()=>h});var r=n(59312),i=n(38121),o=n(97858),u=function(e){function t(t,n){var r=e.call(this,t+".\nThe possible reason(s) for this error: \n"+((0,o.kJ)(n)?n.map((function(e,t){return" "+(t+1)+". "+e})).join("\n"):" "+n)+"\n")||this;return r.name="FormulrError",r}return(0,r.ZT)(t,e),t}(Error),l=new u("FormContext not found",["Using form hooks outside the form context","There are two copies of zent in your project, run `yarn list zent` to check","Mixed use of Form from zent and formulr, formulr is a deprecate package"]),a=function(e){var t=function(e,t){if(!e)return t;if(e instanceof Error)return e.name+": "+e.message+"\n"+e.stack;try{return JSON.stringify(e,null,2)}catch(n){return"function"==typeof e.toString?e.toString():t}}(e,"Unknown validator runtime error");return new u("A runtime error occurred in a form validator\n"+t,["Make sure custom validators do not throw runtime errors","The returned Promise object of async validators should never be rejected"])},s=function(e,t,n){return new u("Model type mismatch","Model '"+e+"' is expected to be a '"+t+"', but got a '"+(0,i.Jb)(n)+"'.")},c=function(e){return new u("Model not found","Model '"+e+"' is not found in this form. Make sure model name is correct.")},d=function(e){return new u("Expected a 'ModelRef' instance or 'BasicModel' instance, got "+typeof e,"The first argument to form hooks is an unexpected type rather than string or 'Model'")},h=function(e){return new u("Model is disposed",["You are swapping two different Fields with the same 'name' in View mode and 'destroyOnUnmount' is set on the Field being swapped out","You are using a disposed "+e+" in your view, your UI and models are likely in a broken state"])}},89466:(e,t,n)=>{"use strict";n.d(t,{w:()=>f,z:()=>v});var r=n(27378),i=n(87262),o=n(39612),u=n(38121),l=n(76156),a=n(97858),s=n(39177),c=n(64607),d=n(12482),h=n(58126),p=n(55390);function f(e,t){void 0===t&&(t=[]);var n=(0,i.Gc)(),h=n.parent,f=n.strategy,v=n.form,m=function(e,t,n){return(0,r.useMemo)((function(){var r;if("string"==typeof e){var i=t.get(e);if(n===o.d.View)if(i&&(0,u.wq)(i))r=i;else{r=new l.y({});var a={},h=t.getPatchedValue(e);if((0,s.pC)(h)){var p=(0,s.U2)(h);(0,d.Z)(p)&&(a=p)}r.patchedValue=a,t.registerChild(e,r)}else{if(!i)throw(0,c.Od)(e);if(!(0,u.wq)(i))throw(0,c.Uu)(e,"FieldSetModel",i);r=i}}else(0,u.lp)(e)?(i=e.getModel())&&(0,u.wq)(i)?r=i:((r=new l.y({})).patchedValue=(0,s.or)(e.patchedValue,(function(){return(0,s.or)(e.initialValue,(function(){return{}}))})),e.setModel(r)):r=e;return r}),[e,t,n])}(e,h,f);f!==o.d.View||"string"!=typeof e&&!(0,u.lp)(e)||(m.validators=t);var b=(0,r.useMemo)((function(){return{strategy:f,form:v,parent:m}}),[f,v,m]);return(0,p.R)(m.error$),(0,a.yq)(e,m,h),[b,m]}function v(e,t){var n=(0,r.useState)(e.get(t)),i=n[0],o=n[1];return(0,r.useEffect)((function(){var n=(0,h.h)(e,t).subscribe((function(t){o(e.get(t))}));return function(){return n.unsubscribe()}}),[e,t]),i}},79280:(e,t,n)=>{"use strict";n.d(t,{RI:()=>s,kH:()=>c,sV:()=>d,Jk:()=>h});var r=n(27378),i=n(91102),o=n(54779),u=n(29951),l=n(97858);function a(){for(var e=[],t=0;t{"use strict";n.d(t,{U:()=>p});var r=n(27378),i=n(39612),o=n(38121),u=n(92531),l=n(87262),a=n(97858),s=n(39177),c=n(64607),d=n(55390);function h(e){return"function"==typeof e}function p(e,t,n){void 0===n&&(n=[]);var p=(0,l.Gc)("string"!=typeof e),f=function(e,t,n){return(0,r.useMemo)((function(){var r;if("string"==typeof t){var l=null!=e?e:{},a=l.strategy,d=l.parent,p=d.get(t);if(a===i.d.View)if(p&&(0,o.DB)(p))r=p;else{var f=(0,s.or)(d.getPatchedValue(t),h(n)?n:function(){return n});r=new u.W(f),d.registerChild(t,r)}else{if(!p)throw(0,c.Od)(t);if(!(0,o.DB)(p))throw(0,c.Uu)(t,"FieldModel",p);r=p}}else(0,o.lp)(t)?(p=t.getModel())&&(0,o.DB)(p)?r=p:(f=(0,s.or)(t.patchedValue,(function(){return(0,s.or)(t.initialValue,h(n)?n:function(){return n})})),r=new u.W(f),t.setModel(r)):r=t;return r}),[t,null==e?void 0:e.parent,null==e?void 0:e.strategy,null==e?void 0:e.form])}(p,e,t);return(0,d.R)(f.value$),(0,d.R)(f.error$),(null==p?void 0:p.strategy)!==i.d.View||"string"!=typeof e&&!(0,o.lp)(e)||(f.validators=n),(0,a.yq)(e,f,null==p?void 0:p.parent),f}},58126:(e,t,n)=>{"use strict";n.d(t,{V:()=>p,h:()=>f});var r=n(59312),i=n(24246),o=n(27378),u=n(13918),l=n(23868),a=n(98125),s=n(93976),c=n(87262),d=n(38121),h=n(45272);function p(e){var t=e.name,n=e.model,u=e.children,l=(0,c.Gc)(),a=(0,h.g)(l,t,n,d.wq),s=(0,o.useMemo)((function(){return(0,r.pi)((0,r.pi)({},l),{parent:a})}),[l,a]);return a?(0,i.jsx)(c.ZP.Provider,(0,r.pi)({value:s},{children:u}),a.id):null}function f(e,t){return(0,u.T)(e.childRegister$,e.childRemove$).pipe((0,a.Q)(l.E),(0,s.h)((function(e){return e===t})))}},45272:(e,t,n)=>{"use strict";n.d(t,{g:()=>u});var r=n(27378),i=n(42690),o=n(58126);function u(e,t,n,u){var l=(null!=e?e:{}).parent,a=(0,r.useMemo)((function(){if("string"==typeof t){var e=l.get(t);if(u(e))return e}return u(n)?n:null}),[t,n,u,l]),s=(0,r.useState)(a),c=s[0],d=s[1];return(0,r.useEffect)((function(){if(!t)return i.Z;var e=l.get(t);u(e)&&d(e);var n=(0,o.h)(l,t).subscribe((function(e){var t=l.get(e);u(t)&&d(t)}));return function(){return n.unsubscribe()}}),[t,l,a,u]),c}},39177:(e,t,n)=>{"use strict";n.d(t,{bD:()=>i,Hq:()=>o,or:()=>u,pC:()=>l,U2:()=>a});var r=Symbol("some"),i=function(e){var t;return(t={})[r]=!0,t.value=e,t},o=function(){return null};function u(e,t){return e?e.value:t()}function l(e){return!!e}function a(e){return e.value}},31825:(e,t,n)=>{"use strict";n.d(t,{e:()=>s});var r=n(44879),i=n(9071),o=n(29951),u=n(18462),l=n(39177),a=n(38121),s=function(){function e(e){this.id=e,this.validate$=new r.x,this.validators=[],this.initialValue=(0,l.Hq)(),this.destroyOnUnmount=!1,this.subscriptions=[],this.error$=new i.X(null),this.subscriptions.push(this.validate$.pipe((0,u.w)((0,o.Gu)(this))).subscribe(new o.bg(this)))}return Object.defineProperty(e.prototype,"value",{get:function(){return this._getValue$().value},set:function(e){this.patchValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"form",{get:function(){var e;return null===(e=this.owner)||void 0===e?void 0:e.form},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions=[],this.owner=null,this.clear(),this.clearError()},e.prototype.valid=function(){return this._getValid$().value},e.prototype.triggerValidate=function(e){var t,n=this;if(this.owner!==this&&!(e&o.GP.StopPropagation)){var r=e&~o.GP.IncludeChildrenRecursively;null===(t=this.owner)||void 0===t||t.validate(r)}return new Promise((function(t,r){n.validate$.next({option:e,resolve:t,reject:r})}))},Object.defineProperty(e.prototype,"error",{get:function(){return this.error$.getValue()},set:function(e){this.error$.next(e)},enumerable:!1,configurable:!0}),e}();s.prototype[a.kI]=!0},92531:(e,t,n)=>{"use strict";n.d(t,{W:()=>f});var r=n(59312),i=n(9071),o=n(54779),u=n(31825),l=n(39177),a=n(29951),s=n(31256),c=n(70453),d=n(38121),h=n(11931),p=n(64607),f=function(e){function t(t){var n=e.call(this,(0,c.Z)("field-"))||this;return n.defaultValue=t,n._displayName="FieldModel",n._value$=new i.X(n.defaultValue),n._valid$=new i.X(!0),n.isTouched=!1,n.isCompositing=!1,n.normalizeBeforeSubmit=o.Z,n.owner=null,n}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"value$",{get:function(){return this._value$},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valid$",{get:function(){return this._valid$},enumerable:!1,configurable:!0}),t.prototype._getValue$=function(){return this._value$},t.prototype._getValid$=function(){return this._valid$},t.prototype.reset=function(){var e=this;this._getValue$().next((0,l.or)(this.initialValue,(function(){return e.defaultValue})))},t.prototype.clear=function(){this.initialValue=(0,l.Hq)(),this._getValue$().next(this.defaultValue)},t.prototype.clearError=function(){this.error$.next(null)},t.prototype.initialize=function(e){this.initialValue=(0,l.bD)(e),this._getValue$().next(e)},t.prototype.getRawValue=function(){return this._getValue$().getValue()},t.prototype.getSubmitValue=function(){return(0,this.normalizeBeforeSubmit)(this._getValue$().getValue())},t.prototype.validate=function(e){var t=this;return void 0===e&&(e=a.GP.Default),this.triggerValidate(e).then((function(e){return t._getValid$().next((0,s.Z)(e)),e}),(function(e){throw(0,p.bA)(e)}))},t.prototype.patchValue=function(e){this._getValue$().next(e)},t.prototype.pristine=function(){var e=this._getValue$().getValue();return(0,l.pC)(this.initialValue)?e===(0,l.U2)(this.initialValue):e===this.defaultValue},t.prototype.dirty=function(){return!this.pristine()},t.prototype.touched=function(){return this.isTouched},t.prototype.dispose=function(){e.prototype.dispose.call(this),this._getValue$().complete(),this._getValid$().complete(),this._valid$=(0,h.P)(this._displayName,!1),this._value$=(0,h.P)(this._displayName,this.defaultValue)},t}(u.e);f.prototype[d.ET]=!0},39612:(e,t,n)=>{"use strict";n.d(t,{d:()=>r,a:()=>d});var r,i=n(59312),o=n(9071),u=n(76156),l=n(29951),a=n(70453),s=n(38121),c=n(11931);!function(e){e[e.Model=0]="Model",e[e.View=1]="View"}(r||(r={}));var d=function(e){function t(t){var n=e.call(this,t,(0,a.Z)("form-"))||this;n.children=t,n._displayName="FormModel",n.workingValidators=new Set,n.isValidating$=new o.X(!1),n.owner=n;for(var r=Object.keys(t),i=r.length,u=0;u0;e!==this.isValidating$.getValue()&&this.isValidating$.next(e)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.workingValidators.clear(),this.isValidating$.complete(),this.isValidating$=(0,c.P)(this._displayName,!1)},t}(u.y);d.prototype[s.er]=!0},38121:(e,t,n)=>{"use strict";n.d(t,{er:()=>r,kI:()=>i,ET:()=>o,$p:()=>u,ih:()=>l,P$:()=>a,vP:()=>s,DB:()=>c,lp:()=>d,L4:()=>h,wq:()=>p,Jb:()=>f});var r=Symbol("form"),i=Symbol("model"),o=Symbol("field"),u=Symbol("ref"),l=Symbol("field-array"),a=Symbol("set");function s(e){return Boolean(null==e?void 0:e[i])}function c(e){return!(!e||!e[o])}function d(e){return!(!e||!e[u])}function h(e){return!(!e||!e[l])}function p(e){return!(!e||!e[a])}function f(e){return c(e)?"FieldModel":h(e)?"FieldArrayModel":p(e)?"FieldSetModel":(t=e)&&t[r]?"FormModel":d(e)?"ModelRef":s(e)?"BasicModel":"unknown";var t}},11931:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(9071),i=n(64607);function o(e,t){var n=new r.X(t);return n.error((0,i.Rk)(e)),n}},76156:(e,t,n)=>{"use strict";n.d(t,{y:()=>y});var r=n(59312),i=n(44879),o=n(9071),u=n(72551),l=n(54779),a=n(31256),s=n(12482),c=n(78513),d=n(70453),h=n(39177),p=n(29951),f=n(63716),v=n(31825),m=n(38121),b=n(11931),y=function(e){function t(t,n){void 0===n&&(n=(0,d.Z)("field-set-"));var r=e.call(this,n)||this;r._displayName="FieldSetModel",r.patchedValue=null,r.childRegister$=new i.x,r.childRemove$=new i.x,r.children={},r.owner=null,r.invalidModels=new Set,r.mapModelToSubscriptions=new Map,r.normalizeBeforeSubmit=l.Z;for(var o=Object.keys(t),u=o.length,a=0;a{"use strict";n.d(t,{Z$:()=>i,yq:()=>o,kJ:()=>u});var r=n(27378);function i(e){return e.length?e[e.length-1]:null}function o(e,t,n){(0,r.useEffect)((function(){return function(){"string"==typeof e&&t.destroyOnUnmount&&(n.removeChild(e),t.dispose())}}),[e,t,n])}var u=Array.isArray},29951:(e,t,n)=>{"use strict";n.d(t,{bg:()=>C,GP:()=>r,YC:()=>V,Iq:()=>g,Gu:()=>$});var r,i=n(45418),o=n(34878),u=n(7566),l=n(1537),a=n(93976),s=n(5185),c=n(67244),d=n(19302),h=n(87349),p=n(38121),f=n(59312),v=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.callback=n,i.value=r,i}return(0,f.ZT)(t,e),t.prototype._next=function(e){var t,n;this.value=e,null===(n=(t=this.destination).next)||void 0===n||n.call(t,e)},t.prototype._complete=function(){var e,t,n,r;try{(0,this.callback)(this.value)}catch(n){null===(t=(e=this.destination).error)||void 0===t||t.call(e,n)}null===(r=(n=this.destination).complete)||void 0===r||r.call(n)},t}(n(1443).Lv),m=function(){function e(e,t){this.callback=e,this.defaultValue=t}return e.prototype.call=function(e,t){return t.subscribe(new v(e,this.callback,this.defaultValue))},e}(),b=n(31256),y=Symbol("AsyncValidator");function g(e){return!!e[y]}function V(e){var t;return(t={})[y]=!0,t.validator=e,t}!function(e){e[e.Empty=0]="Empty",e[e.IncludeAsync=2]="IncludeAsync",e[e.IncludeUntouched=4]="IncludeUntouched",e[e.IncludeChildrenRecursively=8]="IncludeChildrenRecursively",e[e.ExcludePristine=16]="ExcludePristine",e[e.StopPropagation=32]="StopPropagation",e[e.Default=0]="Default"}(r||(r={}));var C=function(){function e(e){this.model=e}return e.prototype.next=function(e){this.model.error=e},e}(),_=function(){function e(e){this.model=e}return e.prototype.getSection=function(){return this.model.owner},e.prototype.getSectionValue=function(){for(var e=[],t=0;t{"use strict";n.d(t,{y:()=>c});var r=n(59312),i=n(29951),o=n(34878),u=n(45418),l=n(18462),a=n(85636);function s(e,t,n){return e&&(0,r.pi)((0,r.pi)({},e),{message:t(n)})}function c(e){return function(t){var n=(0,i.Iq)(t)?(0,i.YC)((function(n,r){var i=t.validator(n,r);return i&&(0,o.Dp)(i).pipe((0,l.w)((function(t){return(0,u.of)(s(t,e,r))})))})):function(n,r){return s(t(n,r),e,r)};return(0,a.lL)(t)&&(0,a.Ge)(n),n}}},17323:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(29951),i=n(85636);function o(e){return function(t){var n=(0,r.Iq)(t)?(0,r.YC)((function(n,r){return e(r)?t.validator(n,r):null})):function(n,r){return e(r)?t(n,r):null};return(0,i.lL)(t)&&(0,i.Ge)(n),n}}},85636:(e,t,n)=>{"use strict";n.d(t,{tk:()=>o,Ge:()=>u,lL:()=>l,C1:()=>a,Do:()=>s,Ei:()=>c,BS:()=>d,uj:()=>h}),n(9828);var r=n(31256),i=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/;var o=Symbol("required");function u(e){e.$$id=o}function l(e){return e.$$id===o}function a(e){function t(t){return n=t,(0,r.Z)(n)||0===n.length?{name:"required",message:e,actual:t}:null;var n}return t.$$id=o,t}function s(e){return function(t){return i.test(t)?null:{name:"email",message:e,actual:t}}}function c(e,t){return function(n){return n.lengthe?{name:"maxLength",message:t,actual:n,limit:e}:null}}function h(e,t){return function(n){return e.test(n)?null:{name:"pattern",message:t,actual:n,pattern:e}}}},63716:(e,t,n)=>{"use strict";n.d(t,{P:()=>i,v:()=>o});var r=n(52254);function i(e,t){(0,r.W)(!e,"form-subscribe-value-"+t,"Subscribe `value` of %s might cause performance issues, do it with caution.",t)}function o(e,t){(0,r.W)(!e,"form-subscribe-valid-"+t,"Subscribe `valid` of %s might cause performance issues, do it with caution.",t)}},45657:(e,t,n)=>{"use strict";n.d(t,{bd:()=>h,pC:()=>r,rw:()=>i,cU:()=>p,Nn:()=>f,Te:()=>v,M6:()=>m});var r,i,o=n(24246),u=n(27378),l=n(24399),a=n(23807),s=n(38836),c=n(59935),d="HH:mm:ss";function h(e){return!!e.name}function p(){return[new Date,new Date]}function f(){return[(0,l.Z)(new Date,d),(0,l.Z)((0,a.Z)(),d)]}function v(e){return null==e?null:(0,o.jsx)(s.X,{children:e.message},void 0)}function m(e,t){var n=(0,c.Xj)(),r=(0,u.useRef)(n.children.length);(0,u.useEffect)((function(){var i={valid:function(){return e.valid()},getDOMNode:function(){return t&&t.current}};return r.current{"use strict";n.d(t,{v:()=>i});var r=n(52254);function i(e,t,n){(0,r.W)(e,n+"-"+t,"Do not use 'props."+t+"' in '"+n+"'.\nForm fields are controlled components, use 'defaultValue' prop in '"+n+"' to set default value.")}},32254:(e,t,n)=>{"use strict";var r=n(80964);t.Z=r.Z},4246:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(27378),a=n(57961),s=n(1348);function c(e){var t=(0,l.useContext)(s.d),n=e.value,o=e.disabled,c=void 0===o?t.value:o,d=e.readOnly,h=void 0!==d&&d,p=e.isValueEqual,f=void 0===p?Object.is:p,v=e.className,m=e.style,b=e.children,y=e.onChange,g=(0,l.useMemo)((function(){return{value:n,disabled:c,readOnly:h,isValueEqual:f,onRadioChange:y}}),[n,c,h,f,y]);return(0,i.jsx)(a.Z.Provider,(0,r.pi)({value:g},{children:(0,i.jsx)("div",(0,r.pi)({className:u()("zent-radio-group",v),style:m,"data-zv":"10.0.10"},{children:b}),void 0)}),void 0)}t.Z=c},57961:(e,t,n)=>{"use strict";var r=(0,n(27378).createContext)(null);r.displayName="RadioGroupContext",t.Z=r},71457:(e,t,n)=>{"use strict";n.d(t,{Y:()=>f,Z:()=>v});var r=n(59312),i=n(24246),o=n(60042),u=n.n(o),l=n(1535),a=n(27378);function s(e,t){var n=(0,a.useRef)(t);n.current=t;var i=e&&e.onRadioChange;return(0,a.useCallback)((function(e){var t=function(e,t){var n=Object.create(e);return n.target=(0,r.pi)((0,r.pi)({},t),{type:"radio",checked:e.target.checked}),n}(e,n.current);if(i)i(t);else{var o=n.current.onChange;o&&o(t)}}),[i])}function c(e,t,n){var r=function(e,t,n){return"boolean"==typeof n.disabled?n.disabled:t&&"boolean"==typeof t.disabled?t.disabled:e.value}(e,t,n),i=function(e,t){return"boolean"==typeof t.readOnly?t.readOnly:!!e&&e.readOnly}(t,n);return{checked:t?t.isValueEqual(t.value,n.value):!!n.checked,disabled:r,readOnly:i}}var d=n(4246),h=n(1348),p=n(57961);function f(e){var t=e.className,n=e.style,o=e.children,d=(e.value,e.width),f=e.labelStyle,v=(e.onMouseEnter,e.onMouseLeave,(0,r._T)(e,["className","style","children","value","width","labelStyle","onMouseEnter","onMouseLeave"])),m=(0,a.useContext)(h.d),b=(0,a.useContext)(p.Z),y=c(m,b,e),g=y.checked,V=y.disabled,C=y.readOnly,_=s(b,e),w=u()(t,"zent-radio-wrap",{"zent-radio-checked":!!g,"zent-radio-disabled":V||C}),$=(0,l.Z)(d),x=(0,r.pi)((0,r.pi)({},n),$);return(0,i.jsxs)("label",(0,r.pi)({className:w,style:x,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-zv":"10.0.10"},{children:[(0,i.jsxs)("span",(0,r.pi)({className:"zent-radio","data-zv":"10.0.10"},{children:[(0,i.jsx)("span",{className:"zent-radio-inner","data-zv":"10.0.10"},void 0),(0,i.jsx)("input",(0,r.pi)({},v,{type:"radio",checked:!!g,disabled:V,readOnly:C,onChange:_,"data-zv":"10.0.10"}),void 0)]}),void 0),void 0!==o&&(0,i.jsx)("span",(0,r.pi)({className:"zent-radio-label",style:f,"data-zv":"10.0.10"},{children:o}),void 0)]}),void 0)}f.Button=function(e){var t=e.className,n=e.style,o=e.children,d=(e.value,e.width),f=e.onMouseEnter,v=e.onMouseLeave,m=(0,r._T)(e,["className","style","children","value","width","onMouseEnter","onMouseLeave"]),b=(0,a.useContext)(h.d),y=(0,a.useContext)(p.Z);if(!y)throw new Error("Radio.Button must be nested within Radio.Group");var g=c(b,y,e),V=g.checked,C=g.disabled,_=g.readOnly,w=s(y,e),$=u()(t,"zent-radio-button",{"zent-radio-button--checked":!!V,"zent-radio-button--disabled":C||_}),x=(0,l.Z)(d),S=(0,r.pi)((0,r.pi)({},n),x);return(0,i.jsxs)("label",(0,r.pi)({className:$,style:S,onMouseEnter:f,onMouseLeave:v,"data-zv":"10.0.10"},{children:[(0,i.jsx)("input",(0,r.pi)({},m,{type:"radio",checked:!!V,disabled:C,readOnly:_,onChange:w,"data-zv":"10.0.10"}),void 0),(0,i.jsx)("span",(0,r.pi)({className:"zent-radio-button__content","data-zv":"10.0.10"},{children:o}),void 0)]}),void 0)},f.Group=d.Z;var v=f},7360:(e,t,n)=>{"use strict";var r=n(95388);t.Z=r.Z},56377:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});var r=n(59312),i=n(24246),o=n(27378),u=n(60042),l=n.n(u),a=n(1348),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.toggle=function(){var e=t.props,n=e.onChange,r=e.checked;n&&n(!r)},t}return(0,r.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.className,r=t.size,o=t.disabled,u=void 0===o?this.context.value:o,a=t.loading,s=t.checked,c=u||a,d=l()(((e={})["zent-switch-"+r]="default"!==r,e["zent-switch-disabled"]=c,e["zent-switch-loading"]=a,e["zent-switch-checked"]=s,e),"zent-switch",n);return(0,i.jsx)("div",{className:d,onClick:c?void 0:this.toggle,"data-zv":"10.0.10"},void 0)},t.defaultProps={size:"default"},t.contextType=a.d,t}(o.Component);t.Z=s},58801:(e,t,n)=>{"use strict";function r(){var e=window.pageXOffset,t=window.pageYOffset;return{x:void 0!==e?e:(document.documentElement||document.body.parentNode||document.body).scrollLeft,y:void 0!==t?t:(document.documentElement||document.body.parentNode||document.body).scrollTop}}n.d(t,{Z:()=>r})},1535:(e,t,n)=>{"use strict";function r(e){return"string"==typeof e||"number"==typeof e?{width:e}:{}}n.d(t,{Z:()=>r})},54779:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{Z:()=>r})},52254:(e,t,n)=>{"use strict";n.d(t,{W:()=>r}),n(59312);var r=function(e,t,n){for(var r=[],i=3;i{"use strict";s.r(a),s.d(a,{default:()=>_});var t=s(73118),p=s(73450),e=s(27378),o=s(57318),c=s(75795),l=s(72455),u=s(40167),i=s(33749),k=s(38923),r=s(7178),d=s(74552),m=s(91419),g=s(39311),h=s(29018),y=s(1348),b=s(23476),v=s(71990),f=s(17703),D=s(39643),C=s(77888),w=s(44525),j=s(84614),P=s(56540),T=s(24246);function N(n,a){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),s.push.apply(s,t)}return s}function V(n){for(var a=1;a{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeTime",(n=>{this.setState({timeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedDateValue:n})})),(0,p.Z)(this,"onChangeWeek",(n=>{this.setState({weekValue:n})})),(0,p.Z)(this,"onChangeMonth",(n=>{this.setState({monthValue:n})})),(0,p.Z)(this,"onChangeQuarter",(n=>{this.setState({quarterValue:n})})),(0,p.Z)(this,"onChangeYear",(n=>{this.setState({yearValue:n})})),(0,p.Z)(this,"onChangeCombinedTime",(n=>{this.setState({combinedTimeValue:n})})),(0,p.Z)(this,"onChangeTimeRange",(n=>{this.setState({timeRangeValue:n})}))}render(){var n=this.state,a=n.dateValue,s=n.rangeValue,t=n.timeValue,p=n.combinedTimeValue,e=n.timeRangeValue,o=n.combinedDateValue,y=n.weekValue,b=n.monthValue,v=n.quarterValue,f=n.yearValue;return(0,T.jsxs)("div",{className:"zent-datepicker-example",children:[(0,T.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate}),(0,T.jsx)("br",{}),(0,T.jsx)(l.fl,{className:"zent-datepicker-demo",value:y,onChange:this.onChangeWeek}),(0,T.jsx)("br",{}),(0,T.jsx)(u.l,{className:"zent-datepicker-demo",value:b,onChange:this.onChangeMonth}),(0,T.jsx)("br",{}),(0,T.jsx)(i.n,{className:"zent-datepicker-demo",value:v,onChange:this.onChangeQuarter}),(0,T.jsx)("br",{}),(0,T.jsx)(k.q,{className:"zent-datepicker-demo",value:f,onChange:this.onChangeYear}),(0,T.jsx)("br",{}),(0,T.jsx)(r.j,{className:"zent-datepicker-demo",value:t,secondStep:15,onChange:this.onChangeTime}),(0,T.jsx)("br",{}),(0,T.jsx)(d.i,{className:"zent-datepicker-demo",value:p,secondStep:15,onChange:this.onChangeCombinedTime}),(0,T.jsx)("br",{}),(0,T.jsx)(m.X,{className:"zent-datepicker-demo",value:e,onChange:this.onChangeTimeRange}),(0,T.jsx)("br",{}),(0,T.jsx)(g.D,{className:"zent-datepicker-demo",value:s,onChange:this.onChangeRange,dateSpan:30}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,{className:"zent-datepicker-demo",value:o,onChange:this.onChangeCombinedDate,dateSpan:60})]})}}return(0,T.jsx)(n,{})},x=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})}))}render(){var n=this.state,a=n.dateValue,s=n.rangeValue,t=n.combinedValue;return(0,T.jsxs)("div",{children:[(0,T.jsx)(c.M,{className:"zent-datepicker-demo",showTime:!0,format:"YYYY-MM-DD HH:mm:ss",value:a,onChange:this.onChangeDate}),(0,T.jsx)("br",{}),(0,T.jsx)(g.D,{className:"zent-datepicker-demo",showTime:{format:"HH:mm",defaultTime:["00:00","23:59"]},format:"YYYY-MM-DD HH:mm",value:s,onChange:this.onChangeRange}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,{className:"zent-datepicker-demo",value:t,showTime:{format:"HH:mm:ss",defaultTime:["12:00:00","23:59:59"]},format:"YYYY-MM-DD HH:mm:ss",onChange:this.onChangeCombinedDate})]})}}return(0,T.jsx)(n,{})},z=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeDate2",(n=>{this.setState({dateValue2:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})})),(0,p.Z)(this,"onDisabledRange",((n,a)=>"start"===a&&15===n.getDate())),(0,p.Z)(this,"onDisabledCombinedDate",(n=>n.getDate()<9))}render(){var n=this.state,a=n.dateValue,s=n.dateValue2,t=n.rangeValue,p=n.combinedValue;return(0,T.jsxs)("div",{children:[(0,T.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate,disabledDate:n=>1===n.getDay()}),(0,T.jsx)("br",{}),(0,T.jsx)(c.M,{value:s,className:"zent-datepicker-demo",onChange:this.onChangeDate2,disabledDate:{min:"2020-6-15"}}),(0,T.jsx)("br",{}),(0,T.jsx)(g.D,{className:"zent-datepicker-demo",value:t,onChange:this.onChangeRange,disabledDate:this.onDisabledRange}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,{className:"zent-datepicker-demo",value:p,onChange:this.onChangeCombinedDate,disabledDate:this.onDisabledCombinedDate})]})}}return(0,T.jsx)(n,{})},R=function(){var n=n=>Array.from({length:n},((n,a)=>a));class a extends e.Component{constructor(...a){super(...a),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeTime",(n=>{this.setState({timeValue:n})})),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedTime",(n=>{this.setState({combinedTimeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})})),(0,p.Z)(this,"disabledTime1",(()=>({disabledHours:()=>[2]}))),(0,p.Z)(this,"disabledTime2",(a=>{var s=new Date,t=s.getHours(),p=s.getMinutes(),e=s.getSeconds();return(0,C.Z)(a,s)?{disabledHours:()=>n(t),disabledMinutes:a=>a===t?n(p):[],disabledSeconds:(a,s)=>a===t&&s===p?n(e):[]}:{}})),(0,p.Z)(this,"disabledTime3",((n,a)=>"start"===a?{disabledHours:()=>[3,4,5],disabledMinutes:()=>[],disabledSeconds:()=>[]}:{})),(0,p.Z)(this,"disabledProps",(0,D.jA)([new Date,(0,w.Z)(new Date,4)]))}render(){var n=this.state,a=n.timeValue,s=n.dateValue,t=n.rangeValue,p=n.combinedValue,e=n.combinedTimeValue;return(0,T.jsxs)("div",{children:[(0,T.jsx)(r.j,{className:"zent-datepicker-demo",value:a,onChange:this.onChangeTime,disabledTime:this.disabledTime1}),(0,T.jsx)("br",{}),(0,T.jsx)(c.M,{className:"zent-datepicker-demo",showTime:!0,format:"YYYY-MM-DD HH:mm:ss",value:s,disabledDate:{min:new Date},onChange:this.onChangeDate,disabledTime:this.disabledTime2}),(0,T.jsx)("br",{}),(0,T.jsx)(g.D,{className:"zent-datepicker-demo",showTime:{format:"HH:mm",defaultTime:[n=>(0,C.Z)(n,new Date)?"12:30":"00:00","23:59"]},format:"YYYY-MM-DD HH:mm",value:t,onChange:this.onChangeRange,disabledTime:this.disabledTime3}),(0,T.jsx)("br",{}),(0,T.jsx)(d.i,{className:"zent-datepicker-demo",value:e,onChange:this.onChangeCombinedTime,disabledTime:this.disabledTime3}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,V({className:"zent-datepicker-demo",value:p,onChange:this.onChangeCombinedDate,showTime:{defaultTime:[n=>(0,C.Z)(n,new Date)?"12:30:00":"00:00:00","23:59:59"]},format:"YYYY-MM-DD HH:mm:ss"},this.disabledProps))]})}}return(0,T.jsx)(a,{})},Y=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeDate1",(n=>{this.setState({dateValue1:n})})),(0,p.Z)(this,"onChangeDate2",(n=>{this.setState({dateValue2:n})}))}handleSubmit(n){n.preventDefault()}render(){var n=this.state,a=n.dateValue,s=n.dateValue1,t=n.dateValue2;return(0,T.jsxs)("div",{children:[(0,T.jsx)("div",{className:"zent-datepicker-demo",children:"string:"}),(0,T.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate}),(0,T.jsx)("br",{}),(0,T.jsx)("div",{className:"zent-datepicker-demo",children:"number:"}),(0,T.jsx)(c.M,{value:s,className:"zent-datepicker-demo",onChange:this.onChangeDate1,valueType:"number"}),(0,T.jsx)("br",{}),(0,T.jsx)("div",{className:"zent-datepicker-demo",children:"date:"}),(0,T.jsx)(c.M,{value:t,className:"zent-datepicker-demo",onChange:this.onChangeDate2,valueType:"date"}),(0,T.jsx)("br",{})]})}}return(0,T.jsx)(n,{})},M=function(){return(0,T.jsxs)("div",{children:[(0,T.jsx)(c.M,{className:"zent-datepicker-demo",value:"2020-01-01",disabled:!0}),(0,T.jsx)("br",{}),(0,T.jsx)(g.D,{className:"zent-datepicker-demo",disabled:[!0,!1]}),(0,T.jsx)("br",{}),(0,T.jsx)(r.j,{className:"zent-datepicker-demo",value:"06:06:06",disabled:!0}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,{className:"zent-datepicker-demo",disabled:!0}),(0,T.jsx)("br",{}),(0,T.jsx)(y.x,{children:(0,T.jsx)(g.D,{className:"zent-datepicker-demo",disabled:!1})})]})},q=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeMonth",(n=>{this.setState({monthValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})})),(0,p.Z)(this,"onChangeTime",(n=>{this.setState({timeValue:n})}))}render(){var n=this.state,a=n.dateValue,s=n.monthValue,t=n.rangeValue,p=n.combinedValue,e=n.timeValue;return(0,T.jsxs)("div",{children:[(0,T.jsx)(c.M,{className:"zent-datepicker-demo",value:a,defaultDate:"2008-08-08",onChange:this.onChangeDate}),(0,T.jsx)("br",{}),(0,T.jsx)(u.l,{className:"zent-datepicker-demo",value:s,defaultDate:"2010-07",onChange:this.onChangeMonth}),(0,T.jsx)("br",{}),(0,T.jsx)(g.D,{className:"zent-datepicker-demo",value:t,defaultDate:["2016-01-01","2017-01-01"],onChange:this.onChangeRange}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,{className:"zent-datepicker-demo",value:p,defaultDate:["2018-01-01","2018-02-01"],onChange:this.onChangeCombinedDate}),(0,T.jsx)("br",{}),(0,T.jsx)(r.j,{className:"zent-datepicker-demo",value:e,defaultTime:"12:12:13",onChange:this.onChangeTime})]})}}return(0,T.jsx)(n,{})},Z=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{dateValue:"2020-05-11",dateValue2:"2020-05-11",openPanel:!0}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n,openPanel:!1})})),(0,p.Z)(this,"onChangeDate2",(n=>{}))}render(){var n=this.state,a=n.dateValue,s=n.dateValue2,t=n.openPanel;return(0,T.jsxs)("div",{className:"zent-datepicker-example",children:[(0,T.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate,openPanel:t,onOpen:()=>{b.g.info("open")},onClose:()=>{b.g.info("close")}}),(0,T.jsx)("br",{}),(0,T.jsx)(c.M,{className:"zent-datepicker-demo",value:s,onChange:this.onChangeDate2,openPanel:!1}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,{className:"zent-datepicker-demo",onOpen:()=>{b.g.info("open")},onClose:()=>{b.g.info("close")}})]})}}return(0,T.jsx)(n,{})},H=function(){var n=new Date,a=()=>{var a=(0,e.useState)([n,(0,j.Z)(n,1)]),s=(0,t.Z)(a,2),p=s[0],o=s[1],c=(0,e.useState)(null),l=(0,t.Z)(c,2),u=l[0],i=l[1];return(0,T.jsxs)("div",{children:[(0,T.jsx)("div",{className:"zent-datepicker-calendar-demo-wrapper",children:(0,T.jsx)("div",{children:(0,T.jsx)(v.Z,{selected:u,defaultPanelDate:n,onSelected:(n,a)=>{i(n)},disabledPanelDate:()=>!1})})}),(0,T.jsx)("div",{className:"zent-datepicker-calendar-demo-wrapper",children:(0,T.jsx)(f.i,{value:p,onChange:(n,a)=>{o(n)},showTime:!0,hideConfirm:!0,valueType:"string",format:"YYYY-MM-DD HH:mm:ss",disabledDate:()=>!1,leftClassName:"zent-datepicker-calendar-demo-left",rightClassName:"zent-datepicker-calendar-demo-right",footerClassName:"zent-datepicker-calendar-demo-footer"})})]})};return(0,T.jsx)(a,{})},O=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"lunarValueFormatter",(n=>P.q7.fromDate(n).toString())),(0,p.Z)(this,"handleDateChange",(n=>{this.setState({date:n})}))}render(){var n=this.state.date;return(0,T.jsx)(c.M,{showLunarDate:!0,lunarValueFormatter:this.lunarValueFormatter,value:n,onChange:this.handleDateChange})}}return(0,T.jsx)(n,{})};function A(n){return(0,T.jsx)(n.tag,V(V({},n.attributes),{},{dangerouslySetInnerHTML:{__html:n.html}}))}function W(n){return(0,T.jsx)(A,{tag:"section",html:n.html,attributes:{className:"zandoc-react-markdown"}})}function E(n){return(0,T.jsx)(A,{tag:"style",html:n.style})}function F(n,a){for(;n;)return n.offsetTop&&"static"!==getComputedStyle(n).position&&(a+=n.offsetTop),F(n.parentNode,a);return a}class I extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{showCode:!1}),(0,p.Z)(this,"toggle",(()=>{this.setState({showCode:!this.state.showCode})}))}render(){var n=this.state.showCode,a=this.props,s=a.title,t=a.src,p=a.children;return(0,T.jsxs)("div",{className:"zandoc-react-demo",children:[(0,T.jsx)("div",{className:"zandoc-react-demo__preview",children:p}),(0,T.jsxs)("div",{className:"zandoc-react-demo__bottom",onClick:this.toggle,children:[(0,T.jsx)("div",{className:"zandoc-react-demo__title",children:(0,T.jsx)("p",{children:s||""})}),(0,T.jsx)("i",{className:"zenticon zenticon-caret-up zandoc-react-demo__toggle ".concat(n?"zandoc-react-demo__toggle-on":"zandoc-react-demo__toggle-off")})]}),n&&(0,T.jsx)("pre",{className:"zandoc-react-demo__code",children:(0,T.jsx)(A,{tag:"code",html:t,attributes:{className:"language-jsx"}})})]})}}class _ extends e.Component{componentDidMount(){var n=location.hash;if(n){var a=document.querySelector('a[href="'.concat(n,'"]'));a&&(0,o.l)(document.documentElement,0,F(a,-9))}}render(){return e.createElement("div",{className:"zandoc-react-container"},e.createElement(E,{style:".zent-datepicker-demo{\n\t\tmargin-bottom: 10px;\n\t}\n\n.zent-datepicker-calendar-demo-wrapper{\n\t\tdisplay:flex;\n\t\tmargin-bottom:20px;\n\t}\n\n.zent-datepicker-calendar-demo-wrapper .zent-datepicker-calendar-demo-footer{\n\t\t\tborder:none;\n\t\t}\n\t.zent-datepicker-calendar-demo-left{\n\t\tmargin-right:10px;\n\t\tborder-right:1px solid #ccc;\n\t}\n\t.zent-datepicker-calendar-demo-right{\n\t\tmargin-left:10px\n\t}"}),e.createElement(W,{html:'

DatePicker

\n

DateTime pickers, provides basic time choosing functionality.

\n

Guides

\n
    \n
  • Included pickers:DatePicker,WeekPicker,MonthPicker,QuarterPicker,YearPicker,DateRangePicker,CombinedDateRangePicker,TimePicker,TimeRangePicker , CombinedTimeRangePicker ,SingleCalendarDatePanelPicker and CombinedPanelRangePicker
  • \n
  • DatePicker ,CombinedDateRangePicker , DateRangePicker , SingleCalendarDatePanelPicker and CombinedPanelRangePicker can use showTime to allow time selection.
  • \n
\n

Demos

'}),e.createElement(I,{title:"Basic usage of DatePicker, WeekPicker, MonthPicker and RangePicker",id:"Demobasic",src:'import {\n DatePicker,\n DateRangePicker,\n WeekPicker,\n MonthPicker,\n YearPicker,\n TimePicker,\n CombinedTimeRangePicker,\n CombinedDateRangePicker,\n QuarterPicker,\n TimeRangePicker,\n} from \'zent\';\n\nclass DatePickerBasic extends Component {\n state = {};\n\n onChangeDate = val => {\n console.log(\'demo onChangeDate\', val);\n this.setState({\n dateValue: val,\n });\n };\n onChangeRange = val => {\n console.log(\'demo onChangeRange\', val);\n this.setState({\n rangeValue: val,\n });\n };\n onChangeTime = val => {\n console.log(\'demo onChangeTime\', val);\n this.setState({\n timeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n console.log(\'demo onChangeCombinedDate\', val);\n this.setState({\n combinedDateValue: val,\n });\n };\n onChangeWeek = val => {\n console.log(\'demo onChangeWeek\', val);\n this.setState({\n weekValue: val,\n });\n };\n onChangeMonth = val => {\n console.log(\'demo onChangeMonth\', val);\n this.setState({\n monthValue: val,\n });\n };\n onChangeQuarter = val => {\n console.log(\'demo onChangeQuarter\', val);\n this.setState({\n quarterValue: val,\n });\n };\n onChangeYear = val => {\n console.log(\'demo onChangeYear\', val);\n this.setState({\n yearValue: val,\n });\n };\n onChangeCombinedTime = val => {\n console.log(\'demo onChangeCombinedTime\', val);\n this.setState({\n combinedTimeValue: val,\n });\n };\n onChangeTimeRange = val => {\n console.log(\'demo onChangeTimeRange\', val);\n this.setState({\n timeRangeValue: val,\n });\n };\n render() {\n const {\n dateValue,\n rangeValue,\n timeValue,\n combinedTimeValue,\n timeRangeValue,\n combinedDateValue,\n weekValue,\n monthValue,\n quarterValue,\n yearValue,\n } = this.state;\n return (\n <div className="zent-datepicker-example">\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n />\n <br />\n <WeekPicker\n className="zent-datepicker-demo"\n value={weekValue}\n onChange={this.onChangeWeek}\n />\n <br />\n <MonthPicker\n className="zent-datepicker-demo"\n value={monthValue}\n onChange={this.onChangeMonth}\n />\n <br />\n <QuarterPicker\n className="zent-datepicker-demo"\n value={quarterValue}\n onChange={this.onChangeQuarter}\n />\n <br />\n <YearPicker\n className="zent-datepicker-demo"\n value={yearValue}\n onChange={this.onChangeYear}\n />\n <br />\n <TimePicker\n className="zent-datepicker-demo"\n value={timeValue}\n secondStep={15}\n onChange={this.onChangeTime}\n />\n <br />\n <CombinedTimeRangePicker\n className="zent-datepicker-demo"\n value={combinedTimeValue}\n secondStep={15}\n onChange={this.onChangeCombinedTime}\n />\n <br />\n <TimeRangePicker\n className="zent-datepicker-demo"\n value={timeRangeValue}\n onChange={this.onChangeTimeRange}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n value={rangeValue}\n onChange={this.onChangeRange}\n dateSpan={30}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedDateValue}\n onChange={this.onChangeCombinedDate}\n dateSpan={60}\n />\n </div>\n );\n }\n}\nReactDOM.render(<DatePickerBasic />, mountNode);'},e.createElement(S)),e.createElement(I,{title:"Set showTime to true to allow time selection",id:"Demoshowtime",src:'import { DatePicker, DateRangePicker, CombinedDateRangePicker } from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n console.log(\'demo onChange\', val);\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeRange = val => {\n console.log(\'demo onChangeRange\', val);\n this.setState({\n rangeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n console.log(\'demo onChangeCombinedDate\', val);\n this.setState({\n combinedValue: val,\n });\n };\n render() {\n const { dateValue, rangeValue, combinedValue } = this.state;\n return (\n <div>\n <DatePicker\n className="zent-datepicker-demo"\n showTime\n format="YYYY-MM-DD HH:mm:ss"\n value={dateValue}\n onChange={this.onChangeDate}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n showTime={{ format: \'HH:mm\', defaultTime: [\'00:00\', \'23:59\'] }}\n format="YYYY-MM-DD HH:mm"\n value={rangeValue}\n onChange={this.onChangeRange}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n showTime={{\n format: \'HH:mm:ss\',\n defaultTime: [\'12:00:00\', \'23:59:59\'],\n }}\n format="YYYY-MM-DD HH:mm:ss"\n onChange={this.onChangeCombinedDate}\n />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(x)),e.createElement(I,{title:"Disabled date can be controlled by disabledDate callback",id:"Demodisableddate",src:'import { DatePicker, WeekPicker, CombinedDateRangePicker } from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeDate2 = val => {\n console.log(\'onChangeDate2\', val);\n this.setState({\n dateValue2: val,\n });\n };\n\n onChangeRange = val => {\n this.setState({\n rangeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n this.setState({\n combinedValue: val,\n });\n };\n\n onDisabledRange = (val, type) =>\n type === \'start\' ? val.getDate() === 15 : false;\n\n onDisabledCombinedDate = val => val.getDate() < 9;\n\n render() {\n const { dateValue, dateValue2, rangeValue, combinedValue } = this.state;\n return (\n <div>\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n disabledDate={date => date.getDay() === 1}\n />\n <br />\n <DatePicker\n value={dateValue2}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate2}\n disabledDate={{ min: \'2020-6-15\' }}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n value={rangeValue}\n onChange={this.onChangeRange}\n disabledDate={this.onDisabledRange}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n onChange={this.onChangeCombinedDate}\n disabledDate={this.onDisabledCombinedDate}\n />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(z)),e.createElement(I,{title:"Set showTime to true to allow time selection",id:"Demodisabledtime",src:'import {\n TimePicker,\n DatePicker,\n DateRangePicker,\n CombinedTimeRangePicker,\n CombinedDateRangePicker,\n} from \'zent\';\nimport {\n disabledTimeWithMax,\n disabledTimeWithRange,\n getDisabledDateAndTimeWithRangeProps,\n} from \'zent/es/date-picker/disabledHelpers\';\nimport { isSameDay, addDays, parse } from \'date-fns\';\n\nconst initArray = targetNum => {\n return Array.from({ length: targetNum }, (_, index) => index);\n};\n\nclass Demo extends Component {\n state = {};\n\n onChangeTime = val => {\n console.log(\'demo onChangeTime\', val);\n this.setState({\n timeValue: val,\n });\n };\n onChangeDate = val => {\n console.log(\'demo onChangeDate\', val);\n this.setState({\n dateValue: val,\n });\n };\n onChangeRange = val => {\n console.log(\'demo onChangeRange\', val);\n this.setState({\n rangeValue: val,\n });\n };\n onChangeCombinedTime = val => {\n console.log(\'demo onChangeCombinedTime\', val);\n this.setState({\n combinedTimeValue: val,\n });\n };\n onChangeCombinedDate = val => {\n console.log(\'demo onChangeCombinedDate\', val);\n this.setState({\n combinedValue: val,\n });\n };\n\n disabledTime1 = () => ({\n disabledHours: () => [2],\n });\n\n disabledTime2 = date => {\n const min = new Date();\n const hour = min.getHours();\n const minute = min.getMinutes();\n const second = min.getSeconds();\n const isSame = isSameDay(date, min);\n return isSame\n ? {\n disabledHours: () => initArray(hour),\n disabledMinutes: hourValue =>\n hourValue === hour ? initArray(minute) : [],\n disabledSeconds: (hourValue, minuteValue) =>\n hourValue === hour && minuteValue === minute\n ? initArray(second)\n : [],\n }\n : {};\n };\n\n disabledTime3 = (date, type) => {\n return type === \'start\'\n ? {\n disabledHours: () => [3, 4, 5],\n disabledMinutes: () => [],\n disabledSeconds: () => [],\n }\n : {};\n };\n\n disabledProps = getDisabledDateAndTimeWithRangeProps([new Date(), addDays(new Date(), 4)]);\n\n render() {\n const {\n timeValue,\n dateValue,\n rangeValue,\n combinedValue,\n combinedTimeValue,\n } = this.state;\n return (\n <div>\n <TimePicker\n className="zent-datepicker-demo"\n value={timeValue}\n onChange={this.onChangeTime}\n disabledTime={this.disabledTime1}\n />\n <br />\n <DatePicker\n className="zent-datepicker-demo"\n showTime\n format="YYYY-MM-DD HH:mm:ss"\n value={dateValue}\n disabledDate={{ min: new Date() }}\n onChange={this.onChangeDate}\n disabledTime={this.disabledTime2}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n showTime={{ format: \'HH:mm\', defaultTime: [\n date => (isSameDay(date, new Date()) ? \'12:30\' : \'00:00\'),\n \'23:59\',\n ], }}\n format="YYYY-MM-DD HH:mm"\n value={rangeValue}\n onChange={this.onChangeRange}\n disabledTime={this.disabledTime3}\n />\n <br />\n <CombinedTimeRangePicker\n className="zent-datepicker-demo"\n value={combinedTimeValue}\n onChange={this.onChangeCombinedTime}\n disabledTime={this.disabledTime3}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n onChange={this.onChangeCombinedDate}\n showTime={{\n defaultTime: [\n date => (isSameDay(date, new Date()) ? \'12:30:00\' : \'00:00:00\'),\n \'23:59:59\',\n ],\n }}\n format="YYYY-MM-DD HH:mm:ss"\n {...this.disabledProps}\n />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(R)),e.createElement(I,{title:"valueType defaults to string, but can be date or number, defaults to the type value",id:"Demovaluetype",src:'import { DatePicker, WeekPicker } from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n console.log(\'valueType is `string`\', val);\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeDate1 = val => {\n console.log(\'valueType is `number`\', val);\n this.setState({\n dateValue1: val,\n });\n };\n onChangeDate2 = val => {\n console.log(\'valueType is `date`\', val);\n this.setState({\n dateValue2: val,\n });\n };\n\n handleSubmit(event) {\n console.log(\'A name was submitted: \', event, dateValue);\n event.preventDefault();\n }\n\n render() {\n const { dateValue, dateValue1, dateValue2 } = this.state;\n return (\n <div>\n <div className="zent-datepicker-demo">string:</div>\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n />\n <br />\n <div className="zent-datepicker-demo">number:</div>\n <DatePicker\n value={dateValue1}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate1}\n valueType="number"\n />\n <br />\n <div className="zent-datepicker-demo">date:</div>\n <DatePicker\n value={dateValue2}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate2}\n valueType="date"\n />\n <br />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(Y)),e.createElement(I,{title:"Disabled input",id:"Demodisabled",src:'import {\n DatePicker,\n CombinedDateRangePicker,\n DateRangePicker,\n Disabled,\n} from \'zent\';\n\nReactDOM.render(\n <div>\n <DatePicker className="zent-datepicker-demo" value="2020-01-01" disabled />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n disabled={[true, false]}\n />\n <br />\n <TimePicker className="zent-datepicker-demo" value="06:06:06" disabled />\n <br />\n <CombinedDateRangePicker className="zent-datepicker-demo" disabled />\n <br />\n <Disabled>\n <DateRangePicker className="zent-datepicker-demo" disabled={false} />\n </Disabled>\n </div>,\n mountNode\n);'},e.createElement(M)),e.createElement(I,{title:"Setting default value.",id:"Demodefaultvalue",src:'import {\n DatePicker,\n MonthPicker,\n DateRangePicker,\n CombinedDateRangePicker,\n TimePicker,\n} from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeMonth = val => {\n this.setState({\n monthValue: val,\n });\n };\n\n onChangeRange = val => {\n this.setState({\n rangeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n this.setState({\n combinedValue: val,\n });\n };\n\n onChangeTime = val => {\n this.setState({\n timeValue: val,\n });\n };\n render() {\n const {\n dateValue,\n monthValue,\n rangeValue,\n combinedValue,\n timeValue,\n } = this.state;\n return (\n <div>\n <DatePicker\n className="zent-datepicker-demo"\n value={dateValue}\n defaultDate="2008-08-08"\n onChange={this.onChangeDate}\n />\n <br />\n <MonthPicker\n className="zent-datepicker-demo"\n value={monthValue}\n defaultDate="2010-07"\n onChange={this.onChangeMonth}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n value={rangeValue}\n defaultDate={[\'2016-01-01\', \'2017-01-01\']}\n onChange={this.onChangeRange}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n defaultDate={[\'2018-01-01\', \'2018-02-01\']}\n onChange={this.onChangeCombinedDate}\n />\n <br />\n <TimePicker\n className="zent-datepicker-demo"\n value={timeValue}\n defaultTime="12:12:13"\n onChange={this.onChangeTime}\n />\n </div>\n );\n }\n}\n\nReactDOM.render(<Demo />, mountNode);'},e.createElement(q)),e.createElement(I,{title:"Callback of onOpen、onClose, openPanel to control the panel's visible",id:"Demovisiblecontrol",src:'import { DatePicker, CombinedDateRangePicker, Notify } from \'zent\';\n\nclass DatePickerBasic extends Component {\n state = {\n dateValue: \'2020-05-11\',\n dateValue2: \'2020-05-11\',\n openPanel: true,\n };\n\n onChangeDate = val => {\n console.log(\'demo onChangeDate1\', val);\n this.setState({\n dateValue: val,\n openPanel: false,\n });\n };\n onChangeDate2 = val => {\n console.log(\'demo onChangeDate2\', val);\n };\n\n render() {\n const {\n dateValue,\n dateValue2,\n\n openPanel,\n } = this.state;\n return (\n <div className="zent-datepicker-example">\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n openPanel={openPanel}\n onOpen={() => {\n Notify.info(\'open\');\n }}\n onClose={() => {\n Notify.info(\'close\');\n }}\n />\n <br />\n <DatePicker\n className="zent-datepicker-demo"\n value={dateValue2}\n onChange={this.onChangeDate2}\n openPanel={false}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n onOpen={() => {\n Notify.info(\'open\');\n }}\n onClose={() => {\n Notify.info(\'close\');\n }}\n />\n </div>\n );\n }\n}\nReactDOM.render(<DatePickerBasic />, mountNode);'},e.createElement(Z)),e.createElement(I,{title:"use basic components such as CombinedPanelRangePicker and DatePanel",id:"Democalendar",src:'import { CombinedPanelRangePicker, SingleCalendarDatePanelPicker } from \'zent\';\nimport { useState } from \'react\';\nimport { addMonths, addDays } from \'date-fns\';\n\nconst now = new Date();\nconst Demo = () => {\n // merged from props value\n const [selectedRange, setSelectedRange] = useState([now, addMonths(now, 1)]);\n const [selectedDate, setSelectedDate] = useState(null);\n\n const onSelectedRange = (value, finished) => {\n console.log(\'this is onSelectedRange\', value, finished);\n setSelectedRange(value);\n };\n\n const onSelectedDate = (value, finished) => {\n console.log(\'this is onSelectedDate\', value, finished);\n setSelectedDate(value);\n };\n\n return (\n <div>\n <div className="zent-datepicker-calendar-demo-wrapper">\n <div>\n <SingleCalendarDatePanelPicker\n selected={selectedDate}\n defaultPanelDate={now}\n onSelected={onSelectedDate}\n disabledPanelDate={() => false}\n />\n </div>\n </div>\n <div className="zent-datepicker-calendar-demo-wrapper">\n <CombinedPanelRangePicker\n value={selectedRange}\n onChange={onSelectedRange}\n showTime\n hideConfirm={true}\n valueType="string"\n format="YYYY-MM-DD HH:mm:ss"\n disabledDate={() => false}\n leftClassName="zent-datepicker-calendar-demo-left"\n rightClassName="zent-datepicker-calendar-demo-right"\n footerClassName="zent-datepicker-calendar-demo-footer"\n />\n </div>\n </div>\n );\n};\n\nReactDOM.render(<Demo />, mountNode);'},e.createElement(H)),e.createElement(I,{title:"Lunar date picker",id:"Demolunar",src:'import { DatePicker } from \'zent\';\nimport { useState } from \'react\';\n\nimport { Lunar } from \'pure-lunar-typescript\';\n\nclass LunarDatePickerDemo extends Component {\n state = {};\n\n lunarValueFormatter = date => {\n const d = Lunar.fromDate(date);\n return d.toString();\n };\n\n handleDateChange = val => {\n this.setState({\n date: val,\n });\n };\n\n render() {\n const { date } = this.state;\n return (\n <DatePicker\n showLunarDate\n lunarValueFormatter={this.lunarValueFormatter}\n value={date}\n onChange={this.handleDateChange}\n />\n );\n }\n}\n\nReactDOM.render(<LunarDatePickerDemo />, mountNode);'},e.createElement(O)),e.createElement(W,{html:'

API

\n

Common API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected date--Yes
onChangeCallback when the selected time is changing--Yes
valueTypeSet \nonChange\n\'s value type, options:\n\'string\'\n \n|\n \n\'number\'\n \n|\n \n\'date\'string\'string\'No
formatFormat string datestringDifferent pickers have different valuesNo
disabledDateSpecify the date that cannot be selected(date: Date) => {}\n \n|\n \nIDisableDateMap-No
defaultDateDefault date valuestring\n \n|\n \nDate\n \n|\n \nnumbernew Date()No
disabledDetermine whether the DatePicker is disabledbooleanfalseNo
canClearWhether the date can be clearedbooleantrueNo
openPanelThe open state of pickerbooleanfalseNo
onOpenCallback when the popup is popped upfunction-No
onCloseCallback when the popup is closedfunction-No
widthTo set the width of inputstring\n \n|\n \nnumber-No
classNameCusotm classNamestring\'\'No
\n
interface IDisableDateMap {\n  min?: string | Date | number; // The minimium selectable date\n  max?: string | Date | number; // The maximum selectable date\n}
\n

DatePicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected datestring\n \n|\n \nDate\n \n|\n \nnumber-Yes
onChangeCallback when the selected date is changing(date: string | Date | number) => {}-Yes
placeholderThe placeholder of date inputstring\'Please select a date\'No
formatTo set the date formatstring\'YYYY-MM-DD\'No
hideFooterWhether to show footerbooleanfalseNo
showTimeTo provide an additional time selectionboolean\n \n|\n \nobjectfalseNo
disabledTimeTo specify the time that cannot be selected(date?: Date) => IDisabledTimeOption-No
showLunarDateWhether to display lunar datebooleanfalseNo
lunarValueFormatterFormat lunar date backfill value(date: Date) => string-No
\n

Additional

\n
    \n
  • When return value of showTime is an object, to provide an additional time selection, there are some properties within this object: formathourStepminuteStepsecondStep, but redefines the type of defaultTime to be string | (date: Date) => string
  • \n
  • disabledTime only works with showTime, see the details in TimePicker
  • \n
  • format should be \'YYYY-MM-DD HH:mm:ss\' when showTime is true
  • \n
  • lunarValueFormatter only works with showLunarDate
  • \n
\n

WeekPicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected dateArray<string | Date | number>-Yes
onChangeCallback when the selected date is changing(date: Array<string | Date | number>) => {}-Yes
placeholderThe placeholder of date inputstring\'Please select a week\'No
weekStartsOnTo set the start day of a weekWeekStartsOnMapWeekStartsOnMap.MondayNo
formatTo set the date formatstring\'YYYY-MM-DD\'No
hideFooterWhether to show footerbooleanfalseNo
\n

Additional

\n
    \n
  • value is a range of dates in WeekPicker
  • \n
  • weekStartsOnMap: MondayTuesdayWednesdayThursdayFridaySaturdaySunday
  • \n
\n

YearPicker / MonthPicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected datestring\n \n|\n \nDate\n \n|\n \nnumber-Yes
onChangeCallback when the selected date is changing(date: string | Date | number) => {}-Yes
placeholderThe placeholder of date inputstring\'Please select a year\'\n \n|\n \n\'Please select a month\'No
formatTo set the date formatstring\'YYYY\'\n \n|\n \n\'YYYY-MM\'No
\n

Additional

\n
    \n
  • value is a single date in YearPicker / MonthPicker
  • \n
\n

QuarterPicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected dateArray<string | Date | number>-Yes
onChangeCallback when the selected date is changing(date: Array<string | Date | number>) => {}-Yes
placeholderThe placeholder of date inputstring\'Please select a quarter\'No
formatTo set the date formatstring\'YYYY-MM\'No
\n

Additional

\n
    \n
  • value is a single date in QuarterPicker
  • \n
\n

TimePicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected timestring-Yes
onChangeCallback when the selected time is changing(date: string ) => {}-Yes
defaultTimeTo set default timestring-No
placeholderThe placeholder of time inputstring\'Please select a time\'No
formatTo set the time formatstring\'HH:mm:ss\'No
disabledTimeTo specify the time that cannot be selected() => IDisabledTimeOption-No
hourStepInterval between hours in pickernumber1No
minuteStepInterval between minutes in pickernumber1No
secondStepInterval between seconds in pickernumber1No
\n
interface IDisabledTimeOption {\n  disabledHours?: () => number[];\n  disabledMinutes: (hour: number) => number[];\n  disabledSeconds?: (hour: number, minute: number) => number[];\n}
\n

SingleCalendarDatePanelPicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
selectedSelected dateDate\\|null-
onSelectedCallback when the selected date is changing(date: Date ) => {}-
defaultPanelDateThe default Date of panelDate-
disabledPanelDateThe disabled Date(date:Date) => boolean-
onChangePanelThe callback function of the type of switch panel(type:IPickerType) => {}-
onPanelDateChangeCallback function for the value of the toggle panel(date:Date) => {}-
hideFooterShould hide the footer of panelbooleanfalse
showTimeTo provide an additional timeboolean\n \n|\n \nobjectfalse
disabledTimeTo specify the time that cannot be selected(date?: Date) => IDisabledTimeOption-
popTextThe content when selected a date cellstring-
footerTextThe content on the footer to dump to nowstring-
combinedLeftWhether it is the left calendar of the combined calendar panel, if yes, hide the next month/year icon at the top right of this componentbooleanfalse
combinedRightWhether it is the right calendar of the combined calendar panel, if yes, hide the next month/year icon at the top left of this componentbooleanfalse
hoverRangeDateThe date range for hover[Date,Date]\\|null-
rangeDateThe date range has been selected[Date,Date]\\|null-
\n

DateRangePicker / CombinedDateRangePicker (Base on DatePicker)

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected date rangeArray<string | Date | number>-Yes
onChangeCallback when the selected date range is changing(date: Array<string | Date | number>) => {}-Yes
placeholderThe placeholder of dates input[string, string][\'Start date\',\'End date\']No
defaultDateDefault date range[string, string]-No
dateSpanQuick set the time spannumber-No
\n

Additional

\n
    \n
  • When return value of showTime is an object, defaultTime should be [string | (date: Date) => string, string | (date: Date) => string]. (default: [\'00:00:00\',\'23:59:59\'])
  • \n
  • disabledDate(val, type) or disabledTime(val, type), the type is \'start\' | \'end\'
  • \n
  • Only supports dateSpan for DateRangePicker and CombinedDateRangePicker.
  • \n
  • Definition of disabled and canClear is boolean | boolean[] in DateRangePicker.
  • \n
\n

CombinedPanelRangePicker (基于 DateRangePicker 和 TimePicker )

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected date rangeArray<string \\| Date \\| number>\\| null-Yes
onChangeCallback when the selected date range is changing(date: Array<string \\| Date\\| number>) => {}-Yes
defaultDateDefault date value[string, string]-No
dateSpanQuick set the time spannumber-No
valueTypeSet \nonChange\n\'s value type, options:\n\'string\'\n \n|\n \n\'number\'\n \n|\n \n\'date\'string\'string\'No
formatFormat stringstring\'YYYY-MM-DD\'No
disabledDateSpecify the date that cannot be selected(date: Date) => {}\n \n|\n \nIDisableDateMap-No
showTimeTo provide an additional time selectionboolean\n \n|\n \nobjectfalseNo
hideConfirmhide confirm button in additional time selectionbooleanfalseNo
classNamethe class of this componentstring-No
leftClassNamethe class of the left calendarstring-No
rightClassNamethe class of the right calendarstring-No
footerClassNamethe class of the additional time selectionstring-No
\n

Additional

\n
    \n
  • When return value of showTime is an object, defaultTime should be [string | (date: Date) => string, string | (date: Date) => string]. (default: [\'00:00:00\',\'23:59:59\'])
  • \n
  • disabledDate(val, type) or disabledTime(val, type), the type is \'start\' | \'end\'
  • \n
\n

TimeRangePicker / CombinedTimeRangePicker API (Base on TimePicker)

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected time[string, string]-Yes
onChangeCallback when the selected time is changing(date: [string, string] ) => {}-Yes
defaultTimeTo set default time[string, string]-No
placeholderThe placeholder of time input[string, string][\'Start time\',\'End time\']No
\n

Additional

\n
    \n
  • disabledTime(val, type), the type is \'start\' | \'end\'
  • \n
\n

Functions

\n
    \n
  • Provide some useful functions: e.g. disabledTimeWithRangegetDisabledDateAndTimeWithRangeProps, that can use in your disabledTime handlers. You need to manually import them from zent/es/date-picker/disabledHelpers.
  • \n
\n

Format string

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Format characterOutput
YearYY70 71 ... 29 30
YYYY1970 1971 ... 2029 2030
MonthM1 2 ... 11 1
MM01 02 ... 11 12
MMMJan, Feb ... Nov, Dec
MMMMJanuary, February ... November, December
DateD1 2 ... 30 31
DD01 02 ... 30 31
d0 1 ... 5 6
dddSun, Mon ... Fri, Sat
ddddSunday, Monday ... Friday, Saturday
'}))}}}}]); \ No newline at end of file diff --git a/4195-da3534d20df55bc73806.js b/4195-da3534d20df55bc73806.js new file mode 100644 index 000000000..ce3db1885 --- /dev/null +++ b/4195-da3534d20df55bc73806.js @@ -0,0 +1 @@ +(self.webpackChunkzent_docs=self.webpackChunkzent_docs||[]).push([[4195],{4195:(n,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>_});var t=s(73118),p=s(73450),e=s(27378),o=s(57318),c=s(75795),l=s(72455),u=s(40167),i=s(33749),k=s(38923),r=s(7178),d=s(74552),m=s(91419),g=s(1937),h=s(29018),y=s(1348),b=s(23476),v=s(71990),f=s(17703),D=s(39643),C=s(77888),w=s(44525),j=s(84614),P=s(56540),T=s(24246);function N(n,a){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),s.push.apply(s,t)}return s}function V(n){for(var a=1;a{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeTime",(n=>{this.setState({timeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedDateValue:n})})),(0,p.Z)(this,"onChangeWeek",(n=>{this.setState({weekValue:n})})),(0,p.Z)(this,"onChangeMonth",(n=>{this.setState({monthValue:n})})),(0,p.Z)(this,"onChangeQuarter",(n=>{this.setState({quarterValue:n})})),(0,p.Z)(this,"onChangeYear",(n=>{this.setState({yearValue:n})})),(0,p.Z)(this,"onChangeCombinedTime",(n=>{this.setState({combinedTimeValue:n})})),(0,p.Z)(this,"onChangeTimeRange",(n=>{this.setState({timeRangeValue:n})}))}render(){var n=this.state,a=n.dateValue,s=n.rangeValue,t=n.timeValue,p=n.combinedTimeValue,e=n.timeRangeValue,o=n.combinedDateValue,y=n.weekValue,b=n.monthValue,v=n.quarterValue,f=n.yearValue;return(0,T.jsxs)("div",{className:"zent-datepicker-example",children:[(0,T.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate}),(0,T.jsx)("br",{}),(0,T.jsx)(l.fl,{className:"zent-datepicker-demo",value:y,onChange:this.onChangeWeek}),(0,T.jsx)("br",{}),(0,T.jsx)(u.l,{className:"zent-datepicker-demo",value:b,onChange:this.onChangeMonth}),(0,T.jsx)("br",{}),(0,T.jsx)(i.n,{className:"zent-datepicker-demo",value:v,onChange:this.onChangeQuarter}),(0,T.jsx)("br",{}),(0,T.jsx)(k.q,{className:"zent-datepicker-demo",value:f,onChange:this.onChangeYear}),(0,T.jsx)("br",{}),(0,T.jsx)(r.j,{className:"zent-datepicker-demo",value:t,secondStep:15,onChange:this.onChangeTime}),(0,T.jsx)("br",{}),(0,T.jsx)(d.i,{className:"zent-datepicker-demo",value:p,secondStep:15,onChange:this.onChangeCombinedTime}),(0,T.jsx)("br",{}),(0,T.jsx)(m.X,{className:"zent-datepicker-demo",value:e,onChange:this.onChangeTimeRange}),(0,T.jsx)("br",{}),(0,T.jsx)(g.D,{className:"zent-datepicker-demo",value:s,onChange:this.onChangeRange,dateSpan:30}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,{className:"zent-datepicker-demo",value:o,onChange:this.onChangeCombinedDate,dateSpan:60})]})}}return(0,T.jsx)(n,{})},x=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})}))}render(){var n=this.state,a=n.dateValue,s=n.rangeValue,t=n.combinedValue;return(0,T.jsxs)("div",{children:[(0,T.jsx)(c.M,{className:"zent-datepicker-demo",showTime:!0,format:"YYYY-MM-DD HH:mm:ss",value:a,onChange:this.onChangeDate}),(0,T.jsx)("br",{}),(0,T.jsx)(g.D,{className:"zent-datepicker-demo",showTime:{format:"HH:mm",defaultTime:["00:00","23:59"]},format:"YYYY-MM-DD HH:mm",value:s,onChange:this.onChangeRange}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,{className:"zent-datepicker-demo",value:t,showTime:{format:"HH:mm:ss",defaultTime:["12:00:00","23:59:59"]},format:"YYYY-MM-DD HH:mm:ss",onChange:this.onChangeCombinedDate})]})}}return(0,T.jsx)(n,{})},z=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeDate2",(n=>{this.setState({dateValue2:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})})),(0,p.Z)(this,"onDisabledRange",((n,a)=>"start"===a&&15===n.getDate())),(0,p.Z)(this,"onDisabledCombinedDate",(n=>n.getDate()<9))}render(){var n=this.state,a=n.dateValue,s=n.dateValue2,t=n.rangeValue,p=n.combinedValue;return(0,T.jsxs)("div",{children:[(0,T.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate,disabledDate:n=>1===n.getDay()}),(0,T.jsx)("br",{}),(0,T.jsx)(c.M,{value:s,className:"zent-datepicker-demo",onChange:this.onChangeDate2,disabledDate:{min:"2020-6-15"}}),(0,T.jsx)("br",{}),(0,T.jsx)(g.D,{className:"zent-datepicker-demo",value:t,onChange:this.onChangeRange,disabledDate:this.onDisabledRange}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,{className:"zent-datepicker-demo",value:p,onChange:this.onChangeCombinedDate,disabledDate:this.onDisabledCombinedDate})]})}}return(0,T.jsx)(n,{})},R=function(){var n=n=>Array.from({length:n},((n,a)=>a));class a extends e.Component{constructor(...a){super(...a),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeTime",(n=>{this.setState({timeValue:n})})),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedTime",(n=>{this.setState({combinedTimeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})})),(0,p.Z)(this,"disabledTime1",(()=>({disabledHours:()=>[2]}))),(0,p.Z)(this,"disabledTime2",(a=>{var s=new Date,t=s.getHours(),p=s.getMinutes(),e=s.getSeconds();return(0,C.Z)(a,s)?{disabledHours:()=>n(t),disabledMinutes:a=>a===t?n(p):[],disabledSeconds:(a,s)=>a===t&&s===p?n(e):[]}:{}})),(0,p.Z)(this,"disabledTime3",((n,a)=>"start"===a?{disabledHours:()=>[3,4,5],disabledMinutes:()=>[],disabledSeconds:()=>[]}:{})),(0,p.Z)(this,"disabledProps",(0,D.jA)([new Date,(0,w.Z)(new Date,4)]))}render(){var n=this.state,a=n.timeValue,s=n.dateValue,t=n.rangeValue,p=n.combinedValue,e=n.combinedTimeValue;return(0,T.jsxs)("div",{children:[(0,T.jsx)(r.j,{className:"zent-datepicker-demo",value:a,onChange:this.onChangeTime,disabledTime:this.disabledTime1}),(0,T.jsx)("br",{}),(0,T.jsx)(c.M,{className:"zent-datepicker-demo",showTime:!0,format:"YYYY-MM-DD HH:mm:ss",value:s,disabledDate:{min:new Date},onChange:this.onChangeDate,disabledTime:this.disabledTime2}),(0,T.jsx)("br",{}),(0,T.jsx)(g.D,{className:"zent-datepicker-demo",showTime:{format:"HH:mm",defaultTime:[n=>(0,C.Z)(n,new Date)?"12:30":"00:00","23:59"]},format:"YYYY-MM-DD HH:mm",value:t,onChange:this.onChangeRange,disabledTime:this.disabledTime3}),(0,T.jsx)("br",{}),(0,T.jsx)(d.i,{className:"zent-datepicker-demo",value:e,onChange:this.onChangeCombinedTime,disabledTime:this.disabledTime3}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,V({className:"zent-datepicker-demo",value:p,onChange:this.onChangeCombinedDate,showTime:{defaultTime:[n=>(0,C.Z)(n,new Date)?"12:30:00":"00:00:00","23:59:59"]},format:"YYYY-MM-DD HH:mm:ss"},this.disabledProps))]})}}return(0,T.jsx)(a,{})},Y=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeDate1",(n=>{this.setState({dateValue1:n})})),(0,p.Z)(this,"onChangeDate2",(n=>{this.setState({dateValue2:n})}))}handleSubmit(n){n.preventDefault()}render(){var n=this.state,a=n.dateValue,s=n.dateValue1,t=n.dateValue2;return(0,T.jsxs)("div",{children:[(0,T.jsx)("div",{className:"zent-datepicker-demo",children:"string:"}),(0,T.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate}),(0,T.jsx)("br",{}),(0,T.jsx)("div",{className:"zent-datepicker-demo",children:"number:"}),(0,T.jsx)(c.M,{value:s,className:"zent-datepicker-demo",onChange:this.onChangeDate1,valueType:"number"}),(0,T.jsx)("br",{}),(0,T.jsx)("div",{className:"zent-datepicker-demo",children:"date:"}),(0,T.jsx)(c.M,{value:t,className:"zent-datepicker-demo",onChange:this.onChangeDate2,valueType:"date"}),(0,T.jsx)("br",{})]})}}return(0,T.jsx)(n,{})},M=function(){return(0,T.jsxs)("div",{children:[(0,T.jsx)(c.M,{className:"zent-datepicker-demo",value:"2020-01-01",disabled:!0}),(0,T.jsx)("br",{}),(0,T.jsx)(g.D,{className:"zent-datepicker-demo",disabled:[!0,!1]}),(0,T.jsx)("br",{}),(0,T.jsx)(r.j,{className:"zent-datepicker-demo",value:"06:06:06",disabled:!0}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,{className:"zent-datepicker-demo",disabled:!0}),(0,T.jsx)("br",{}),(0,T.jsx)(y.x,{children:(0,T.jsx)(g.D,{className:"zent-datepicker-demo",disabled:!1})})]})},q=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeMonth",(n=>{this.setState({monthValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})})),(0,p.Z)(this,"onChangeTime",(n=>{this.setState({timeValue:n})}))}render(){var n=this.state,a=n.dateValue,s=n.monthValue,t=n.rangeValue,p=n.combinedValue,e=n.timeValue;return(0,T.jsxs)("div",{children:[(0,T.jsx)(c.M,{className:"zent-datepicker-demo",value:a,defaultDate:"2008-08-08",onChange:this.onChangeDate}),(0,T.jsx)("br",{}),(0,T.jsx)(u.l,{className:"zent-datepicker-demo",value:s,defaultDate:"2010-07",onChange:this.onChangeMonth}),(0,T.jsx)("br",{}),(0,T.jsx)(g.D,{className:"zent-datepicker-demo",value:t,defaultDate:["2016-01-01","2017-01-01"],onChange:this.onChangeRange}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,{className:"zent-datepicker-demo",value:p,defaultDate:["2018-01-01","2018-02-01"],onChange:this.onChangeCombinedDate}),(0,T.jsx)("br",{}),(0,T.jsx)(r.j,{className:"zent-datepicker-demo",value:e,defaultTime:"12:12:13",onChange:this.onChangeTime})]})}}return(0,T.jsx)(n,{})},Z=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{dateValue:"2020-05-11",dateValue2:"2020-05-11",openPanel:!0}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n,openPanel:!1})})),(0,p.Z)(this,"onChangeDate2",(n=>{}))}render(){var n=this.state,a=n.dateValue,s=n.dateValue2,t=n.openPanel;return(0,T.jsxs)("div",{className:"zent-datepicker-example",children:[(0,T.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate,openPanel:t,onOpen:()=>{b.g.info("open")},onClose:()=>{b.g.info("close")}}),(0,T.jsx)("br",{}),(0,T.jsx)(c.M,{className:"zent-datepicker-demo",value:s,onChange:this.onChangeDate2,openPanel:!1}),(0,T.jsx)("br",{}),(0,T.jsx)(h.J,{className:"zent-datepicker-demo",onOpen:()=>{b.g.info("open")},onClose:()=>{b.g.info("close")}})]})}}return(0,T.jsx)(n,{})},H=function(){var n=new Date,a=()=>{var a=(0,e.useState)([n,(0,j.Z)(n,1)]),s=(0,t.Z)(a,2),p=s[0],o=s[1],c=(0,e.useState)(null),l=(0,t.Z)(c,2),u=l[0],i=l[1];return(0,T.jsxs)("div",{children:[(0,T.jsx)("div",{className:"zent-datepicker-calendar-demo-wrapper",children:(0,T.jsx)("div",{children:(0,T.jsx)(v.Z,{selected:u,defaultPanelDate:n,onSelected:(n,a)=>{i(n)},disabledPanelDate:()=>!1})})}),(0,T.jsx)("div",{className:"zent-datepicker-calendar-demo-wrapper",children:(0,T.jsx)(f.i,{value:p,onChange:(n,a)=>{o(n)},showTime:!0,hideConfirm:!0,valueType:"string",format:"YYYY-MM-DD HH:mm:ss",disabledDate:()=>!1,leftClassName:"zent-datepicker-calendar-demo-left",rightClassName:"zent-datepicker-calendar-demo-right",footerClassName:"zent-datepicker-calendar-demo-footer"})})]})};return(0,T.jsx)(a,{})},O=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"lunarValueFormatter",(n=>P.q7.fromDate(n).toString())),(0,p.Z)(this,"handleDateChange",(n=>{this.setState({date:n})}))}render(){var n=this.state.date;return(0,T.jsx)(c.M,{showLunarDate:!0,lunarValueFormatter:this.lunarValueFormatter,value:n,onChange:this.handleDateChange})}}return(0,T.jsx)(n,{})};function A(n){return(0,T.jsx)(n.tag,V(V({},n.attributes),{},{dangerouslySetInnerHTML:{__html:n.html}}))}function W(n){return(0,T.jsx)(A,{tag:"section",html:n.html,attributes:{className:"zandoc-react-markdown"}})}function E(n){return(0,T.jsx)(A,{tag:"style",html:n.style})}function F(n,a){for(;n;)return n.offsetTop&&"static"!==getComputedStyle(n).position&&(a+=n.offsetTop),F(n.parentNode,a);return a}class I extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{showCode:!1}),(0,p.Z)(this,"toggle",(()=>{this.setState({showCode:!this.state.showCode})}))}render(){var n=this.state.showCode,a=this.props,s=a.title,t=a.src,p=a.children;return(0,T.jsxs)("div",{className:"zandoc-react-demo",children:[(0,T.jsx)("div",{className:"zandoc-react-demo__preview",children:p}),(0,T.jsxs)("div",{className:"zandoc-react-demo__bottom",onClick:this.toggle,children:[(0,T.jsx)("div",{className:"zandoc-react-demo__title",children:(0,T.jsx)("p",{children:s||""})}),(0,T.jsx)("i",{className:"zenticon zenticon-caret-up zandoc-react-demo__toggle ".concat(n?"zandoc-react-demo__toggle-on":"zandoc-react-demo__toggle-off")})]}),n&&(0,T.jsx)("pre",{className:"zandoc-react-demo__code",children:(0,T.jsx)(A,{tag:"code",html:t,attributes:{className:"language-jsx"}})})]})}}class _ extends e.Component{componentDidMount(){var n=location.hash;if(n){var a=document.querySelector('a[href="'.concat(n,'"]'));a&&(0,o.l)(document.documentElement,0,F(a,-9))}}render(){return e.createElement("div",{className:"zandoc-react-container"},e.createElement(E,{style:".zent-datepicker-demo{\n\t\tmargin-bottom: 10px;\n\t}\n\n.zent-datepicker-calendar-demo-wrapper{\n\t\tdisplay:flex;\n\t\tmargin-bottom:20px;\n\t}\n\n.zent-datepicker-calendar-demo-wrapper .zent-datepicker-calendar-demo-footer{\n\t\t\tborder:none;\n\t\t}\n\t.zent-datepicker-calendar-demo-left{\n\t\tmargin-right:10px;\n\t\tborder-right:1px solid #ccc;\n\t}\n\t.zent-datepicker-calendar-demo-right{\n\t\tmargin-left:10px\n\t}"}),e.createElement(W,{html:'

DatePicker

\n

DateTime pickers, provides basic time choosing functionality.

\n

Guides

\n
    \n
  • Included pickers:DatePicker,WeekPicker,MonthPicker,QuarterPicker,YearPicker,DateRangePicker,CombinedDateRangePicker,TimePicker,TimeRangePicker , CombinedTimeRangePicker ,SingleCalendarDatePanelPicker and CombinedPanelRangePicker
  • \n
  • DatePicker ,CombinedDateRangePicker , DateRangePicker , SingleCalendarDatePanelPicker and CombinedPanelRangePicker can use showTime to allow time selection.
  • \n
\n

Demos

'}),e.createElement(I,{title:"Basic usage of DatePicker, WeekPicker, MonthPicker and RangePicker",id:"Demobasic",src:'import {\n DatePicker,\n DateRangePicker,\n WeekPicker,\n MonthPicker,\n YearPicker,\n TimePicker,\n CombinedTimeRangePicker,\n CombinedDateRangePicker,\n QuarterPicker,\n TimeRangePicker,\n} from \'zent\';\n\nclass DatePickerBasic extends Component {\n state = {};\n\n onChangeDate = val => {\n console.log(\'demo onChangeDate\', val);\n this.setState({\n dateValue: val,\n });\n };\n onChangeRange = val => {\n console.log(\'demo onChangeRange\', val);\n this.setState({\n rangeValue: val,\n });\n };\n onChangeTime = val => {\n console.log(\'demo onChangeTime\', val);\n this.setState({\n timeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n console.log(\'demo onChangeCombinedDate\', val);\n this.setState({\n combinedDateValue: val,\n });\n };\n onChangeWeek = val => {\n console.log(\'demo onChangeWeek\', val);\n this.setState({\n weekValue: val,\n });\n };\n onChangeMonth = val => {\n console.log(\'demo onChangeMonth\', val);\n this.setState({\n monthValue: val,\n });\n };\n onChangeQuarter = val => {\n console.log(\'demo onChangeQuarter\', val);\n this.setState({\n quarterValue: val,\n });\n };\n onChangeYear = val => {\n console.log(\'demo onChangeYear\', val);\n this.setState({\n yearValue: val,\n });\n };\n onChangeCombinedTime = val => {\n console.log(\'demo onChangeCombinedTime\', val);\n this.setState({\n combinedTimeValue: val,\n });\n };\n onChangeTimeRange = val => {\n console.log(\'demo onChangeTimeRange\', val);\n this.setState({\n timeRangeValue: val,\n });\n };\n render() {\n const {\n dateValue,\n rangeValue,\n timeValue,\n combinedTimeValue,\n timeRangeValue,\n combinedDateValue,\n weekValue,\n monthValue,\n quarterValue,\n yearValue,\n } = this.state;\n return (\n <div className="zent-datepicker-example">\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n />\n <br />\n <WeekPicker\n className="zent-datepicker-demo"\n value={weekValue}\n onChange={this.onChangeWeek}\n />\n <br />\n <MonthPicker\n className="zent-datepicker-demo"\n value={monthValue}\n onChange={this.onChangeMonth}\n />\n <br />\n <QuarterPicker\n className="zent-datepicker-demo"\n value={quarterValue}\n onChange={this.onChangeQuarter}\n />\n <br />\n <YearPicker\n className="zent-datepicker-demo"\n value={yearValue}\n onChange={this.onChangeYear}\n />\n <br />\n <TimePicker\n className="zent-datepicker-demo"\n value={timeValue}\n secondStep={15}\n onChange={this.onChangeTime}\n />\n <br />\n <CombinedTimeRangePicker\n className="zent-datepicker-demo"\n value={combinedTimeValue}\n secondStep={15}\n onChange={this.onChangeCombinedTime}\n />\n <br />\n <TimeRangePicker\n className="zent-datepicker-demo"\n value={timeRangeValue}\n onChange={this.onChangeTimeRange}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n value={rangeValue}\n onChange={this.onChangeRange}\n dateSpan={30}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedDateValue}\n onChange={this.onChangeCombinedDate}\n dateSpan={60}\n />\n </div>\n );\n }\n}\nReactDOM.render(<DatePickerBasic />, mountNode);'},e.createElement(S)),e.createElement(I,{title:"Set showTime to true to allow time selection",id:"Demoshowtime",src:'import { DatePicker, DateRangePicker, CombinedDateRangePicker } from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n console.log(\'demo onChange\', val);\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeRange = val => {\n console.log(\'demo onChangeRange\', val);\n this.setState({\n rangeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n console.log(\'demo onChangeCombinedDate\', val);\n this.setState({\n combinedValue: val,\n });\n };\n render() {\n const { dateValue, rangeValue, combinedValue } = this.state;\n return (\n <div>\n <DatePicker\n className="zent-datepicker-demo"\n showTime\n format="YYYY-MM-DD HH:mm:ss"\n value={dateValue}\n onChange={this.onChangeDate}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n showTime={{ format: \'HH:mm\', defaultTime: [\'00:00\', \'23:59\'] }}\n format="YYYY-MM-DD HH:mm"\n value={rangeValue}\n onChange={this.onChangeRange}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n showTime={{\n format: \'HH:mm:ss\',\n defaultTime: [\'12:00:00\', \'23:59:59\'],\n }}\n format="YYYY-MM-DD HH:mm:ss"\n onChange={this.onChangeCombinedDate}\n />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(x)),e.createElement(I,{title:"Disabled date can be controlled by disabledDate callback",id:"Demodisableddate",src:'import { DatePicker, WeekPicker, CombinedDateRangePicker } from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeDate2 = val => {\n console.log(\'onChangeDate2\', val);\n this.setState({\n dateValue2: val,\n });\n };\n\n onChangeRange = val => {\n this.setState({\n rangeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n this.setState({\n combinedValue: val,\n });\n };\n\n onDisabledRange = (val, type) =>\n type === \'start\' ? val.getDate() === 15 : false;\n\n onDisabledCombinedDate = val => val.getDate() < 9;\n\n render() {\n const { dateValue, dateValue2, rangeValue, combinedValue } = this.state;\n return (\n <div>\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n disabledDate={date => date.getDay() === 1}\n />\n <br />\n <DatePicker\n value={dateValue2}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate2}\n disabledDate={{ min: \'2020-6-15\' }}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n value={rangeValue}\n onChange={this.onChangeRange}\n disabledDate={this.onDisabledRange}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n onChange={this.onChangeCombinedDate}\n disabledDate={this.onDisabledCombinedDate}\n />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(z)),e.createElement(I,{title:"Set showTime to true to allow time selection",id:"Demodisabledtime",src:'import {\n TimePicker,\n DatePicker,\n DateRangePicker,\n CombinedTimeRangePicker,\n CombinedDateRangePicker,\n} from \'zent\';\nimport {\n disabledTimeWithMax,\n disabledTimeWithRange,\n getDisabledDateAndTimeWithRangeProps,\n} from \'zent/es/date-picker/disabledHelpers\';\nimport { isSameDay, addDays, parse } from \'date-fns\';\n\nconst initArray = targetNum => {\n return Array.from({ length: targetNum }, (_, index) => index);\n};\n\nclass Demo extends Component {\n state = {};\n\n onChangeTime = val => {\n console.log(\'demo onChangeTime\', val);\n this.setState({\n timeValue: val,\n });\n };\n onChangeDate = val => {\n console.log(\'demo onChangeDate\', val);\n this.setState({\n dateValue: val,\n });\n };\n onChangeRange = val => {\n console.log(\'demo onChangeRange\', val);\n this.setState({\n rangeValue: val,\n });\n };\n onChangeCombinedTime = val => {\n console.log(\'demo onChangeCombinedTime\', val);\n this.setState({\n combinedTimeValue: val,\n });\n };\n onChangeCombinedDate = val => {\n console.log(\'demo onChangeCombinedDate\', val);\n this.setState({\n combinedValue: val,\n });\n };\n\n disabledTime1 = () => ({\n disabledHours: () => [2],\n });\n\n disabledTime2 = date => {\n const min = new Date();\n const hour = min.getHours();\n const minute = min.getMinutes();\n const second = min.getSeconds();\n const isSame = isSameDay(date, min);\n return isSame\n ? {\n disabledHours: () => initArray(hour),\n disabledMinutes: hourValue =>\n hourValue === hour ? initArray(minute) : [],\n disabledSeconds: (hourValue, minuteValue) =>\n hourValue === hour && minuteValue === minute\n ? initArray(second)\n : [],\n }\n : {};\n };\n\n disabledTime3 = (date, type) => {\n return type === \'start\'\n ? {\n disabledHours: () => [3, 4, 5],\n disabledMinutes: () => [],\n disabledSeconds: () => [],\n }\n : {};\n };\n\n disabledProps = getDisabledDateAndTimeWithRangeProps([new Date(), addDays(new Date(), 4)]);\n\n render() {\n const {\n timeValue,\n dateValue,\n rangeValue,\n combinedValue,\n combinedTimeValue,\n } = this.state;\n return (\n <div>\n <TimePicker\n className="zent-datepicker-demo"\n value={timeValue}\n onChange={this.onChangeTime}\n disabledTime={this.disabledTime1}\n />\n <br />\n <DatePicker\n className="zent-datepicker-demo"\n showTime\n format="YYYY-MM-DD HH:mm:ss"\n value={dateValue}\n disabledDate={{ min: new Date() }}\n onChange={this.onChangeDate}\n disabledTime={this.disabledTime2}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n showTime={{ format: \'HH:mm\', defaultTime: [\n date => (isSameDay(date, new Date()) ? \'12:30\' : \'00:00\'),\n \'23:59\',\n ], }}\n format="YYYY-MM-DD HH:mm"\n value={rangeValue}\n onChange={this.onChangeRange}\n disabledTime={this.disabledTime3}\n />\n <br />\n <CombinedTimeRangePicker\n className="zent-datepicker-demo"\n value={combinedTimeValue}\n onChange={this.onChangeCombinedTime}\n disabledTime={this.disabledTime3}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n onChange={this.onChangeCombinedDate}\n showTime={{\n defaultTime: [\n date => (isSameDay(date, new Date()) ? \'12:30:00\' : \'00:00:00\'),\n \'23:59:59\',\n ],\n }}\n format="YYYY-MM-DD HH:mm:ss"\n {...this.disabledProps}\n />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(R)),e.createElement(I,{title:"valueType defaults to string, but can be date or number, defaults to the type value",id:"Demovaluetype",src:'import { DatePicker, WeekPicker } from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n console.log(\'valueType is `string`\', val);\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeDate1 = val => {\n console.log(\'valueType is `number`\', val);\n this.setState({\n dateValue1: val,\n });\n };\n onChangeDate2 = val => {\n console.log(\'valueType is `date`\', val);\n this.setState({\n dateValue2: val,\n });\n };\n\n handleSubmit(event) {\n console.log(\'A name was submitted: \', event, dateValue);\n event.preventDefault();\n }\n\n render() {\n const { dateValue, dateValue1, dateValue2 } = this.state;\n return (\n <div>\n <div className="zent-datepicker-demo">string:</div>\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n />\n <br />\n <div className="zent-datepicker-demo">number:</div>\n <DatePicker\n value={dateValue1}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate1}\n valueType="number"\n />\n <br />\n <div className="zent-datepicker-demo">date:</div>\n <DatePicker\n value={dateValue2}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate2}\n valueType="date"\n />\n <br />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(Y)),e.createElement(I,{title:"Disabled input",id:"Demodisabled",src:'import {\n DatePicker,\n CombinedDateRangePicker,\n DateRangePicker,\n Disabled,\n} from \'zent\';\n\nReactDOM.render(\n <div>\n <DatePicker className="zent-datepicker-demo" value="2020-01-01" disabled />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n disabled={[true, false]}\n />\n <br />\n <TimePicker className="zent-datepicker-demo" value="06:06:06" disabled />\n <br />\n <CombinedDateRangePicker className="zent-datepicker-demo" disabled />\n <br />\n <Disabled>\n <DateRangePicker className="zent-datepicker-demo" disabled={false} />\n </Disabled>\n </div>,\n mountNode\n);'},e.createElement(M)),e.createElement(I,{title:"Setting default value.",id:"Demodefaultvalue",src:'import {\n DatePicker,\n MonthPicker,\n DateRangePicker,\n CombinedDateRangePicker,\n TimePicker,\n} from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeMonth = val => {\n this.setState({\n monthValue: val,\n });\n };\n\n onChangeRange = val => {\n this.setState({\n rangeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n this.setState({\n combinedValue: val,\n });\n };\n\n onChangeTime = val => {\n this.setState({\n timeValue: val,\n });\n };\n render() {\n const {\n dateValue,\n monthValue,\n rangeValue,\n combinedValue,\n timeValue,\n } = this.state;\n return (\n <div>\n <DatePicker\n className="zent-datepicker-demo"\n value={dateValue}\n defaultDate="2008-08-08"\n onChange={this.onChangeDate}\n />\n <br />\n <MonthPicker\n className="zent-datepicker-demo"\n value={monthValue}\n defaultDate="2010-07"\n onChange={this.onChangeMonth}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n value={rangeValue}\n defaultDate={[\'2016-01-01\', \'2017-01-01\']}\n onChange={this.onChangeRange}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n defaultDate={[\'2018-01-01\', \'2018-02-01\']}\n onChange={this.onChangeCombinedDate}\n />\n <br />\n <TimePicker\n className="zent-datepicker-demo"\n value={timeValue}\n defaultTime="12:12:13"\n onChange={this.onChangeTime}\n />\n </div>\n );\n }\n}\n\nReactDOM.render(<Demo />, mountNode);'},e.createElement(q)),e.createElement(I,{title:"Callback of onOpen、onClose, openPanel to control the panel's visible",id:"Demovisiblecontrol",src:'import { DatePicker, CombinedDateRangePicker, Notify } from \'zent\';\n\nclass DatePickerBasic extends Component {\n state = {\n dateValue: \'2020-05-11\',\n dateValue2: \'2020-05-11\',\n openPanel: true,\n };\n\n onChangeDate = val => {\n console.log(\'demo onChangeDate1\', val);\n this.setState({\n dateValue: val,\n openPanel: false,\n });\n };\n onChangeDate2 = val => {\n console.log(\'demo onChangeDate2\', val);\n };\n\n render() {\n const {\n dateValue,\n dateValue2,\n\n openPanel,\n } = this.state;\n return (\n <div className="zent-datepicker-example">\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n openPanel={openPanel}\n onOpen={() => {\n Notify.info(\'open\');\n }}\n onClose={() => {\n Notify.info(\'close\');\n }}\n />\n <br />\n <DatePicker\n className="zent-datepicker-demo"\n value={dateValue2}\n onChange={this.onChangeDate2}\n openPanel={false}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n onOpen={() => {\n Notify.info(\'open\');\n }}\n onClose={() => {\n Notify.info(\'close\');\n }}\n />\n </div>\n );\n }\n}\nReactDOM.render(<DatePickerBasic />, mountNode);'},e.createElement(Z)),e.createElement(I,{title:"use basic components such as CombinedPanelRangePicker and DatePanel",id:"Democalendar",src:'import { CombinedPanelRangePicker, SingleCalendarDatePanelPicker } from \'zent\';\nimport { useState } from \'react\';\nimport { addMonths, addDays } from \'date-fns\';\n\nconst now = new Date();\nconst Demo = () => {\n // merged from props value\n const [selectedRange, setSelectedRange] = useState([now, addMonths(now, 1)]);\n const [selectedDate, setSelectedDate] = useState(null);\n\n const onSelectedRange = (value, finished) => {\n console.log(\'this is onSelectedRange\', value, finished);\n setSelectedRange(value);\n };\n\n const onSelectedDate = (value, finished) => {\n console.log(\'this is onSelectedDate\', value, finished);\n setSelectedDate(value);\n };\n\n return (\n <div>\n <div className="zent-datepicker-calendar-demo-wrapper">\n <div>\n <SingleCalendarDatePanelPicker\n selected={selectedDate}\n defaultPanelDate={now}\n onSelected={onSelectedDate}\n disabledPanelDate={() => false}\n />\n </div>\n </div>\n <div className="zent-datepicker-calendar-demo-wrapper">\n <CombinedPanelRangePicker\n value={selectedRange}\n onChange={onSelectedRange}\n showTime\n hideConfirm={true}\n valueType="string"\n format="YYYY-MM-DD HH:mm:ss"\n disabledDate={() => false}\n leftClassName="zent-datepicker-calendar-demo-left"\n rightClassName="zent-datepicker-calendar-demo-right"\n footerClassName="zent-datepicker-calendar-demo-footer"\n />\n </div>\n </div>\n );\n};\n\nReactDOM.render(<Demo />, mountNode);'},e.createElement(H)),e.createElement(I,{title:"Lunar date picker",id:"Demolunar",src:'import { DatePicker } from \'zent\';\nimport { useState } from \'react\';\n\nimport { Lunar } from \'pure-lunar-typescript\';\n\nclass LunarDatePickerDemo extends Component {\n state = {};\n\n lunarValueFormatter = date => {\n const d = Lunar.fromDate(date);\n return d.toString();\n };\n\n handleDateChange = val => {\n this.setState({\n date: val,\n });\n };\n\n render() {\n const { date } = this.state;\n return (\n <DatePicker\n showLunarDate\n lunarValueFormatter={this.lunarValueFormatter}\n value={date}\n onChange={this.handleDateChange}\n />\n );\n }\n}\n\nReactDOM.render(<LunarDatePickerDemo />, mountNode);'},e.createElement(O)),e.createElement(W,{html:'

API

\n

Common API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected date--Yes
onChangeCallback when the selected time is changing--Yes
valueTypeSet \nonChange\n\'s value type, options:\n\'string\'\n \n|\n \n\'number\'\n \n|\n \n\'date\'string\'string\'No
formatFormat string datestringDifferent pickers have different valuesNo
disabledDateSpecify the date that cannot be selected(date: Date) => {}\n \n|\n \nIDisableDateMap-No
defaultDateDefault date valuestring\n \n|\n \nDate\n \n|\n \nnumbernew Date()No
disabledDetermine whether the DatePicker is disabledbooleanfalseNo
canClearWhether the date can be clearedbooleantrueNo
openPanelThe open state of pickerbooleanfalseNo
onOpenCallback when the popup is popped upfunction-No
onCloseCallback when the popup is closedfunction-No
widthTo set the width of inputstring\n \n|\n \nnumber-No
classNameCusotm classNamestring\'\'No
\n
interface IDisableDateMap {\n  min?: string | Date | number; // The minimium selectable date\n  max?: string | Date | number; // The maximum selectable date\n}
\n

DatePicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected datestring\n \n|\n \nDate\n \n|\n \nnumber-Yes
onChangeCallback when the selected date is changing(date: string | Date | number) => {}-Yes
placeholderThe placeholder of date inputstring\'Please select a date\'No
formatTo set the date formatstring\'YYYY-MM-DD\'No
hideFooterWhether to show footerbooleanfalseNo
showTimeTo provide an additional time selectionboolean\n \n|\n \nobjectfalseNo
disabledTimeTo specify the time that cannot be selected(date?: Date) => IDisabledTimeOption-No
showLunarDateWhether to display lunar datebooleanfalseNo
lunarValueFormatterFormat lunar date backfill value(date: Date) => string-No
\n

Additional

\n
    \n
  • When return value of showTime is an object, to provide an additional time selection, there are some properties within this object: formathourStepminuteStepsecondStep, but redefines the type of defaultTime to be string | (date: Date) => string
  • \n
  • disabledTime only works with showTime, see the details in TimePicker
  • \n
  • format should be \'YYYY-MM-DD HH:mm:ss\' when showTime is true
  • \n
  • lunarValueFormatter only works with showLunarDate
  • \n
\n

WeekPicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected dateArray<string | Date | number>-Yes
onChangeCallback when the selected date is changing(date: Array<string | Date | number>) => {}-Yes
placeholderThe placeholder of date inputstring\'Please select a week\'No
weekStartsOnTo set the start day of a weekWeekStartsOnMapWeekStartsOnMap.MondayNo
formatTo set the date formatstring\'YYYY-MM-DD\'No
hideFooterWhether to show footerbooleanfalseNo
\n

Additional

\n
    \n
  • value is a range of dates in WeekPicker
  • \n
  • weekStartsOnMap: MondayTuesdayWednesdayThursdayFridaySaturdaySunday
  • \n
\n

YearPicker / MonthPicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected datestring\n \n|\n \nDate\n \n|\n \nnumber-Yes
onChangeCallback when the selected date is changing(date: string | Date | number) => {}-Yes
placeholderThe placeholder of date inputstring\'Please select a year\'\n \n|\n \n\'Please select a month\'No
formatTo set the date formatstring\'YYYY\'\n \n|\n \n\'YYYY-MM\'No
\n

Additional

\n
    \n
  • value is a single date in YearPicker / MonthPicker
  • \n
\n

QuarterPicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected dateArray<string | Date | number>-Yes
onChangeCallback when the selected date is changing(date: Array<string | Date | number>) => {}-Yes
placeholderThe placeholder of date inputstring\'Please select a quarter\'No
formatTo set the date formatstring\'YYYY-MM\'No
\n

Additional

\n
    \n
  • value is a single date in QuarterPicker
  • \n
\n

TimePicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected timestring-Yes
onChangeCallback when the selected time is changing(date: string ) => {}-Yes
defaultTimeTo set default timestring-No
placeholderThe placeholder of time inputstring\'Please select a time\'No
formatTo set the time formatstring\'HH:mm:ss\'No
disabledTimeTo specify the time that cannot be selected() => IDisabledTimeOption-No
hourStepInterval between hours in pickernumber1No
minuteStepInterval between minutes in pickernumber1No
secondStepInterval between seconds in pickernumber1No
\n
interface IDisabledTimeOption {\n  disabledHours?: () => number[];\n  disabledMinutes: (hour: number) => number[];\n  disabledSeconds?: (hour: number, minute: number) => number[];\n}
\n

SingleCalendarDatePanelPicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
selectedSelected dateDate\\|null-
onSelectedCallback when the selected date is changing(date: Date ) => {}-
defaultPanelDateThe default Date of panelDate-
disabledPanelDateThe disabled Date(date:Date) => boolean-
onChangePanelThe callback function of the type of switch panel(type:IPickerType) => {}-
onPanelDateChangeCallback function for the value of the toggle panel(date:Date) => {}-
hideFooterShould hide the footer of panelbooleanfalse
showTimeTo provide an additional timeboolean\n \n|\n \nobjectfalse
disabledTimeTo specify the time that cannot be selected(date?: Date) => IDisabledTimeOption-
popTextThe content when selected a date cellstring-
footerTextThe content on the footer to dump to nowstring-
combinedLeftWhether it is the left calendar of the combined calendar panel, if yes, hide the next month/year icon at the top right of this componentbooleanfalse
combinedRightWhether it is the right calendar of the combined calendar panel, if yes, hide the next month/year icon at the top left of this componentbooleanfalse
hoverRangeDateThe date range for hover[Date,Date]\\|null-
rangeDateThe date range has been selected[Date,Date]\\|null-
\n

DateRangePicker / CombinedDateRangePicker (Base on DatePicker)

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected date rangeArray<string | Date | number>-Yes
onChangeCallback when the selected date range is changing(date: Array<string | Date | number>) => {}-Yes
placeholderThe placeholder of dates input[string, string][\'Start date\',\'End date\']No
defaultDateDefault date range[string, string]-No
dateSpanQuick set the time spannumber-No
\n

Additional

\n
    \n
  • When return value of showTime is an object, defaultTime should be [string | (date: Date) => string, string | (date: Date) => string]. (default: [\'00:00:00\',\'23:59:59\'])
  • \n
  • disabledDate(val, type) or disabledTime(val, type), the type is \'start\' | \'end\'
  • \n
  • Only supports dateSpan for DateRangePicker and CombinedDateRangePicker.
  • \n
  • Definition of disabled and canClear is boolean | boolean[] in DateRangePicker.
  • \n
\n

CombinedPanelRangePicker (基于 DateRangePicker 和 TimePicker )

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected date rangeArray<string \\| Date \\| number>\\| null-Yes
onChangeCallback when the selected date range is changing(date: Array<string \\| Date\\| number>) => {}-Yes
defaultDateDefault date value[string, string]-No
dateSpanQuick set the time spannumber-No
valueTypeSet \nonChange\n\'s value type, options:\n\'string\'\n \n|\n \n\'number\'\n \n|\n \n\'date\'string\'string\'No
formatFormat stringstring\'YYYY-MM-DD\'No
disabledDateSpecify the date that cannot be selected(date: Date) => {}\n \n|\n \nIDisableDateMap-No
showTimeTo provide an additional time selectionboolean\n \n|\n \nobjectfalseNo
hideConfirmhide confirm button in additional time selectionbooleanfalseNo
classNamethe class of this componentstring-No
leftClassNamethe class of the left calendarstring-No
rightClassNamethe class of the right calendarstring-No
footerClassNamethe class of the additional time selectionstring-No
\n

Additional

\n
    \n
  • When return value of showTime is an object, defaultTime should be [string | (date: Date) => string, string | (date: Date) => string]. (default: [\'00:00:00\',\'23:59:59\'])
  • \n
  • disabledDate(val, type) or disabledTime(val, type), the type is \'start\' | \'end\'
  • \n
\n

TimeRangePicker / CombinedTimeRangePicker API (Base on TimePicker)

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PropertyDescriptionTypeDefaultRequired
valueSelected time[string, string]-Yes
onChangeCallback when the selected time is changing(date: [string, string] ) => {}-Yes
defaultTimeTo set default time[string, string]-No
placeholderThe placeholder of time input[string, string][\'Start time\',\'End time\']No
\n

Additional

\n
    \n
  • disabledTime(val, type), the type is \'start\' | \'end\'
  • \n
\n

Functions

\n
    \n
  • Provide some useful functions: e.g. disabledTimeWithRangegetDisabledDateAndTimeWithRangeProps, that can use in your disabledTime handlers. You need to manually import them from zent/es/date-picker/disabledHelpers.
  • \n
\n

Format string

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Format characterOutput
YearYY70 71 ... 29 30
YYYY1970 1971 ... 2029 2030
MonthM1 2 ... 11 1
MM01 02 ... 11 12
MMMJan, Feb ... Nov, Dec
MMMMJanuary, February ... November, December
DateD1 2 ... 30 31
DD01 02 ... 30 31
d0 1 ... 5 6
dddSun, Mon ... Fri, Sat
ddddSunday, Monday ... Friday, Saturday
'}))}}}}]); \ No newline at end of file diff --git a/7045-bdee7e6188ef3ae98b43.js b/7045-bdee7e6188ef3ae98b43.js new file mode 100644 index 000000000..ec8b53c0a --- /dev/null +++ b/7045-bdee7e6188ef3ae98b43.js @@ -0,0 +1 @@ +(self.webpackChunkzent_docs=self.webpackChunkzent_docs||[]).push([[7045],{7045:(n,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>F});var t=s(73118),p=s(73450),e=s(27378),o=s(57318),c=s(75795),l=s(72455),u=s(40167),i=s(33749),k=s(38923),r=s(7178),d=s(74552),m=s(91419),g=s(1937),h=s(29018),b=s(1348),y=s(23476),v=s(71990),f=s(17703),D=s(39643),C=s(77888),w=s(44525),j=s(84614),P=s(56540),V=s(24246);function T(n,a){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),s.push.apply(s,t)}return s}function x(n){for(var a=1;a{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeTime",(n=>{this.setState({timeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedDateValue:n})})),(0,p.Z)(this,"onChangeWeek",(n=>{this.setState({weekValue:n})})),(0,p.Z)(this,"onChangeMonth",(n=>{this.setState({monthValue:n})})),(0,p.Z)(this,"onChangeQuarter",(n=>{this.setState({quarterValue:n})})),(0,p.Z)(this,"onChangeYear",(n=>{this.setState({yearValue:n})})),(0,p.Z)(this,"onChangeCombinedTime",(n=>{this.setState({combinedTimeValue:n})})),(0,p.Z)(this,"onChangeTimeRange",(n=>{this.setState({timeRangeValue:n})}))}render(){var n=this.state,a=n.dateValue,s=n.rangeValue,t=n.timeValue,p=n.combinedTimeValue,e=n.timeRangeValue,o=n.combinedDateValue,b=n.weekValue,y=n.monthValue,v=n.quarterValue,f=n.yearValue;return(0,V.jsxs)("div",{className:"zent-datepicker-example",children:[(0,V.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate}),(0,V.jsx)("br",{}),(0,V.jsx)(l.fl,{className:"zent-datepicker-demo",value:b,onChange:this.onChangeWeek}),(0,V.jsx)("br",{}),(0,V.jsx)(u.l,{className:"zent-datepicker-demo",value:y,onChange:this.onChangeMonth}),(0,V.jsx)("br",{}),(0,V.jsx)(i.n,{className:"zent-datepicker-demo",value:v,onChange:this.onChangeQuarter}),(0,V.jsx)("br",{}),(0,V.jsx)(k.q,{className:"zent-datepicker-demo",value:f,onChange:this.onChangeYear}),(0,V.jsx)("br",{}),(0,V.jsx)(r.j,{className:"zent-datepicker-demo",value:t,secondStep:15,onChange:this.onChangeTime}),(0,V.jsx)("br",{}),(0,V.jsx)(d.i,{className:"zent-datepicker-demo",value:p,secondStep:15,onChange:this.onChangeCombinedTime}),(0,V.jsx)("br",{}),(0,V.jsx)(m.X,{className:"zent-datepicker-demo",value:e,onChange:this.onChangeTimeRange}),(0,V.jsx)("br",{}),(0,V.jsx)(g.D,{className:"zent-datepicker-demo",value:s,onChange:this.onChangeRange,dateSpan:30}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,{className:"zent-datepicker-demo",value:o,onChange:this.onChangeCombinedDate,dateSpan:60})]})}}return(0,V.jsx)(n,{})},z=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})}))}render(){var n=this.state,a=n.dateValue,s=n.rangeValue,t=n.combinedValue;return(0,V.jsxs)("div",{children:[(0,V.jsx)(c.M,{className:"zent-datepicker-demo",showTime:!0,format:"YYYY-MM-DD HH:mm:ss",value:a,onChange:this.onChangeDate}),(0,V.jsx)("br",{}),(0,V.jsx)(g.D,{className:"zent-datepicker-demo",showTime:{format:"HH:mm",defaultTime:["00:00","23:59"]},format:"YYYY-MM-DD HH:mm",value:s,onChange:this.onChangeRange}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,{className:"zent-datepicker-demo",value:t,showTime:{format:"HH:mm:ss",defaultTime:["12:00:00","23:59:59"]},format:"YYYY-MM-DD HH:mm:ss",onChange:this.onChangeCombinedDate})]})}}return(0,V.jsx)(n,{})},N=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeDate2",(n=>{this.setState({dateValue2:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})})),(0,p.Z)(this,"onDisabledRange",((n,a)=>"start"===a&&15===n.getDate())),(0,p.Z)(this,"onDisabledCombinedDate",(n=>n.getDate()<9))}render(){var n=this.state,a=n.dateValue,s=n.dateValue2,t=n.rangeValue,p=n.combinedValue;return(0,V.jsxs)("div",{children:[(0,V.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate,disabledDate:n=>1===n.getDay()}),(0,V.jsx)("br",{}),(0,V.jsx)(c.M,{value:s,className:"zent-datepicker-demo",onChange:this.onChangeDate2,disabledDate:{min:"2020-6-15"}}),(0,V.jsx)("br",{}),(0,V.jsx)(g.D,{className:"zent-datepicker-demo",value:t,onChange:this.onChangeRange,disabledDate:this.onDisabledRange}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,{className:"zent-datepicker-demo",value:p,onChange:this.onChangeCombinedDate,disabledDate:this.onDisabledCombinedDate})]})}}return(0,V.jsx)(n,{})},M=function(){var n=n=>Array.from({length:n},((n,a)=>a));class a extends e.Component{constructor(...a){super(...a),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeTime",(n=>{this.setState({timeValue:n})})),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedTime",(n=>{this.setState({combinedTimeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})})),(0,p.Z)(this,"disabledTime1",(()=>({disabledHours:()=>[2]}))),(0,p.Z)(this,"disabledTime2",(a=>{var s=new Date,t=s.getHours(),p=s.getMinutes(),e=s.getSeconds();return(0,C.Z)(a,s)?{disabledHours:()=>n(t),disabledMinutes:a=>a===t?n(p):[],disabledSeconds:(a,s)=>a===t&&s===p?n(e):[]}:{}})),(0,p.Z)(this,"disabledTime3",((n,a)=>"start"===a?{disabledHours:()=>[3,4,5],disabledMinutes:()=>[],disabledSeconds:()=>[]}:{})),(0,p.Z)(this,"disabledProps",(0,D.jA)([new Date,(0,w.Z)(new Date,4)]))}render(){var n=this.state,a=n.timeValue,s=n.dateValue,t=n.rangeValue,p=n.combinedValue,e=n.combinedTimeValue;return(0,V.jsxs)("div",{children:[(0,V.jsx)(r.j,{className:"zent-datepicker-demo",value:a,onChange:this.onChangeTime,disabledTime:this.disabledTime1}),(0,V.jsx)("br",{}),(0,V.jsx)(c.M,{className:"zent-datepicker-demo",showTime:!0,format:"YYYY-MM-DD HH:mm:ss",value:s,disabledDate:{min:new Date},onChange:this.onChangeDate,disabledTime:this.disabledTime2}),(0,V.jsx)("br",{}),(0,V.jsx)(g.D,{className:"zent-datepicker-demo",showTime:{format:"HH:mm",defaultTime:[n=>(0,C.Z)(n,new Date)?"12:30":"00:00","23:59"]},format:"YYYY-MM-DD HH:mm",value:t,onChange:this.onChangeRange,disabledTime:this.disabledTime3}),(0,V.jsx)("br",{}),(0,V.jsx)(d.i,{className:"zent-datepicker-demo",value:e,onChange:this.onChangeCombinedTime,disabledTime:this.disabledTime3}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,x({className:"zent-datepicker-demo",value:p,onChange:this.onChangeCombinedDate,showTime:{defaultTime:[n=>(0,C.Z)(n,new Date)?"12:30:00":"00:00:00","23:59:59"]},format:"YYYY-MM-DD HH:mm:ss"},this.disabledProps))]})}}return(0,V.jsx)(a,{})},R=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeDate1",(n=>{this.setState({dateValue1:n})})),(0,p.Z)(this,"onChangeDate2",(n=>{this.setState({dateValue2:n})}))}handleSubmit(n){n.preventDefault()}render(){var n=this.state,a=n.dateValue,s=n.dateValue1,t=n.dateValue2;return(0,V.jsxs)("div",{children:[(0,V.jsx)("div",{className:"zent-datepicker-demo",children:"string:"}),(0,V.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate}),(0,V.jsx)("br",{}),(0,V.jsx)("div",{className:"zent-datepicker-demo",children:"number:"}),(0,V.jsx)(c.M,{value:s,className:"zent-datepicker-demo",onChange:this.onChangeDate1,valueType:"number"}),(0,V.jsx)("br",{}),(0,V.jsx)("div",{className:"zent-datepicker-demo",children:"date:"}),(0,V.jsx)(c.M,{value:t,className:"zent-datepicker-demo",onChange:this.onChangeDate2,valueType:"date"}),(0,V.jsx)("br",{})]})}}return(0,V.jsx)(n,{})},Y=function(){return(0,V.jsxs)("div",{children:[(0,V.jsx)(c.M,{className:"zent-datepicker-demo",value:"2020-01-01",disabled:!0}),(0,V.jsx)("br",{}),(0,V.jsx)(g.D,{className:"zent-datepicker-demo",disabled:[!0,!1]}),(0,V.jsx)("br",{}),(0,V.jsx)(r.j,{className:"zent-datepicker-demo",value:"06:06:06",disabled:!0}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,{className:"zent-datepicker-demo",disabled:!0}),(0,V.jsx)("br",{}),(0,V.jsx)(b.x,{children:(0,V.jsx)(g.D,{className:"zent-datepicker-demo",disabled:!1})})]})},q=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeMonth",(n=>{this.setState({monthValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})})),(0,p.Z)(this,"onChangeTime",(n=>{this.setState({timeValue:n})}))}render(){var n=this.state,a=n.dateValue,s=n.monthValue,t=n.rangeValue,p=n.combinedValue,e=n.timeValue;return(0,V.jsxs)("div",{children:[(0,V.jsx)(c.M,{className:"zent-datepicker-demo",value:a,defaultDate:"2008-08-08",onChange:this.onChangeDate}),(0,V.jsx)("br",{}),(0,V.jsx)(u.l,{className:"zent-datepicker-demo",value:s,defaultDate:"2010-07",onChange:this.onChangeMonth}),(0,V.jsx)("br",{}),(0,V.jsx)(g.D,{className:"zent-datepicker-demo",value:t,defaultDate:["2016-01-01","2017-01-01"],onChange:this.onChangeRange}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,{className:"zent-datepicker-demo",value:p,defaultDate:["2018-01-01","2018-02-01"],onChange:this.onChangeCombinedDate}),(0,V.jsx)("br",{}),(0,V.jsx)(r.j,{className:"zent-datepicker-demo",value:e,defaultTime:"12:12:13",onChange:this.onChangeTime})]})}}return(0,V.jsx)(n,{})},H=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{dateValue:"2020-05-11",dateValue2:"2020-05-11",openPanel:!0}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n,openPanel:!1})})),(0,p.Z)(this,"onChangeDate2",(n=>{}))}render(){var n=this.state,a=n.dateValue,s=n.dateValue2,t=n.openPanel;return(0,V.jsxs)("div",{className:"zent-datepicker-example",children:[(0,V.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate,openPanel:t,onOpen:()=>{y.g.info("open")},onClose:()=>{y.g.info("close")}}),(0,V.jsx)("br",{}),(0,V.jsx)(c.M,{className:"zent-datepicker-demo",value:s,onChange:this.onChangeDate2,openPanel:!1}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,{className:"zent-datepicker-demo",onOpen:()=>{y.g.info("open")},onClose:()=>{y.g.info("close")}})]})}}return(0,V.jsx)(n,{})},Z=function(){var n=new Date,a=()=>{var a=(0,e.useState)([n,(0,j.Z)(n,1)]),s=(0,t.Z)(a,2),p=s[0],o=s[1],c=(0,e.useState)(null),l=(0,t.Z)(c,2),u=l[0],i=l[1];return(0,V.jsxs)("div",{children:[(0,V.jsx)("div",{className:"zent-datepicker-calendar-demo-wrapper",children:(0,V.jsx)("div",{children:(0,V.jsx)(v.Z,{selected:u,defaultPanelDate:n,onSelected:(n,a)=>{i(n)},disabledPanelDate:()=>!1})})}),(0,V.jsx)("div",{className:"zent-datepicker-calendar-demo-wrapper",children:(0,V.jsx)(f.i,{value:p,onChange:(n,a)=>{o(n)},showTime:!0,hideConfirm:!0,valueType:"string",format:"YYYY-MM-DD HH:mm:ss",disabledDate:()=>!1,leftClassName:"zent-datepicker-calendar-demo-left",rightClassName:"zent-datepicker-calendar-demo-right",footerClassName:"zent-datepicker-calendar-demo-footer"})})]})};return(0,V.jsx)(a,{})},O=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"lunarValueFormatter",(n=>P.q7.fromDate(n).toString())),(0,p.Z)(this,"handleDateChange",(n=>{this.setState({date:n})}))}render(){var n=this.state.date;return(0,V.jsx)(c.M,{showLunarDate:!0,lunarValueFormatter:this.lunarValueFormatter,value:n,onChange:this.handleDateChange})}}return(0,V.jsx)(n,{})};function A(n){return(0,V.jsx)(n.tag,x(x({},n.attributes),{},{dangerouslySetInnerHTML:{__html:n.html}}))}function E(n){return(0,V.jsx)(A,{tag:"section",html:n.html,attributes:{className:"zandoc-react-markdown"}})}function W(n){return(0,V.jsx)(A,{tag:"style",html:n.style})}function I(n,a){for(;n;)return n.offsetTop&&"static"!==getComputedStyle(n).position&&(a+=n.offsetTop),I(n.parentNode,a);return a}class _ extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{showCode:!1}),(0,p.Z)(this,"toggle",(()=>{this.setState({showCode:!this.state.showCode})}))}render(){var n=this.state.showCode,a=this.props,s=a.title,t=a.src,p=a.children;return(0,V.jsxs)("div",{className:"zandoc-react-demo",children:[(0,V.jsx)("div",{className:"zandoc-react-demo__preview",children:p}),(0,V.jsxs)("div",{className:"zandoc-react-demo__bottom",onClick:this.toggle,children:[(0,V.jsx)("div",{className:"zandoc-react-demo__title",children:(0,V.jsx)("p",{children:s||""})}),(0,V.jsx)("i",{className:"zenticon zenticon-caret-up zandoc-react-demo__toggle ".concat(n?"zandoc-react-demo__toggle-on":"zandoc-react-demo__toggle-off")})]}),n&&(0,V.jsx)("pre",{className:"zandoc-react-demo__code",children:(0,V.jsx)(A,{tag:"code",html:t,attributes:{className:"language-jsx"}})})]})}}class F extends e.Component{componentDidMount(){var n=location.hash;if(n){var a=document.querySelector('a[href="'.concat(n,'"]'));a&&(0,o.l)(document.documentElement,0,I(a,-9))}}render(){return e.createElement("div",{className:"zandoc-react-container"},e.createElement(W,{style:".zent-datepicker-demo{\n\t\tmargin-bottom: 10px;\n\t}\n\n.zent-datepicker-calendar-demo-wrapper{\n\t\tdisplay:flex;\n\t\tmargin-bottom:20px;\n\t}\n\n.zent-datepicker-calendar-demo-wrapper .zent-datepicker-calendar-demo-footer{\n\t\t\tborder:none;\n\t\t}\n\t.zent-datepicker-calendar-demo-left{\n\t\tmargin-right:10px;\n\t\tborder-right:1px solid #ccc;\n\t}\n\t.zent-datepicker-calendar-demo-right{\n\t\tmargin-left:10px\n\t}"}),e.createElement(E,{html:'

DatePicker

\n

时间选择组件, 提供基础的时间、日期、日期时间筛选功能。

\n

使用指南

\n
    \n
  • 包含以下组件:DatePickerWeekPickerMonthPickerQuarterPickerYearPickerDateRangePickerCombinedDateRangePickerTimePickerTimeRangePickerCombinedTimeRangePickerSingleCalendarDatePanelPickerCombinedPanelRangePicker
  • \n
  • DatePickerCombinedDateRangePickerDateRangePickerSingleCalendarDatePanelPickerCombinedPanelRangePicker 可以通过 showTime 属性来支持时间的选择。
  • \n
\n

代码演示

'}),e.createElement(_,{title:"基础的日期、自然周、月份、时间段选择",id:"Demobasic",src:'import {\n DatePicker,\n DateRangePicker,\n WeekPicker,\n MonthPicker,\n YearPicker,\n TimePicker,\n CombinedTimeRangePicker,\n CombinedDateRangePicker,\n QuarterPicker,\n TimeRangePicker,\n} from \'zent\';\n\nclass DatePickerBasic extends Component {\n state = {};\n\n onChangeDate = val => {\n console.log(\'demo onChangeDate\', val);\n this.setState({\n dateValue: val,\n });\n };\n onChangeRange = val => {\n console.log(\'demo onChangeRange\', val);\n this.setState({\n rangeValue: val,\n });\n };\n onChangeTime = val => {\n console.log(\'demo onChangeTime\', val);\n this.setState({\n timeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n console.log(\'demo onChangeCombinedDate\', val);\n this.setState({\n combinedDateValue: val,\n });\n };\n onChangeWeek = val => {\n console.log(\'demo onChangeWeek\', val);\n this.setState({\n weekValue: val,\n });\n };\n onChangeMonth = val => {\n console.log(\'demo onChangeMonth\', val);\n this.setState({\n monthValue: val,\n });\n };\n onChangeQuarter = val => {\n console.log(\'demo onChangeQuarter\', val);\n this.setState({\n quarterValue: val,\n });\n };\n onChangeYear = val => {\n console.log(\'demo onChangeYear\', val);\n this.setState({\n yearValue: val,\n });\n };\n onChangeCombinedTime = val => {\n console.log(\'demo onChangeCombinedTime\', val);\n this.setState({\n combinedTimeValue: val,\n });\n };\n onChangeTimeRange = val => {\n console.log(\'demo onChangeTimeRange\', val);\n this.setState({\n timeRangeValue: val,\n });\n };\n render() {\n const {\n dateValue,\n rangeValue,\n timeValue,\n combinedTimeValue,\n timeRangeValue,\n combinedDateValue,\n weekValue,\n monthValue,\n quarterValue,\n yearValue,\n } = this.state;\n return (\n <div className="zent-datepicker-example">\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n />\n <br />\n <WeekPicker\n className="zent-datepicker-demo"\n value={weekValue}\n onChange={this.onChangeWeek}\n />\n <br />\n <MonthPicker\n className="zent-datepicker-demo"\n value={monthValue}\n onChange={this.onChangeMonth}\n />\n <br />\n <QuarterPicker\n className="zent-datepicker-demo"\n value={quarterValue}\n onChange={this.onChangeQuarter}\n />\n <br />\n <YearPicker\n className="zent-datepicker-demo"\n value={yearValue}\n onChange={this.onChangeYear}\n />\n <br />\n <TimePicker\n className="zent-datepicker-demo"\n value={timeValue}\n secondStep={15}\n onChange={this.onChangeTime}\n />\n <br />\n <CombinedTimeRangePicker\n className="zent-datepicker-demo"\n value={combinedTimeValue}\n secondStep={15}\n onChange={this.onChangeCombinedTime}\n />\n <br />\n <TimeRangePicker\n className="zent-datepicker-demo"\n value={timeRangeValue}\n onChange={this.onChangeTimeRange}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n value={rangeValue}\n onChange={this.onChangeRange}\n dateSpan={30}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedDateValue}\n onChange={this.onChangeCombinedDate}\n dateSpan={60}\n />\n </div>\n );\n }\n}\nReactDOM.render(<DatePickerBasic />, mountNode);'},e.createElement(S)),e.createElement(_,{title:"传入 showTime 同时选择时间和日期",id:"Demoshowtime",src:'import { DatePicker, DateRangePicker, CombinedDateRangePicker } from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n console.log(\'demo onChange\', val);\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeRange = val => {\n console.log(\'demo onChangeRange\', val);\n this.setState({\n rangeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n console.log(\'demo onChangeCombinedDate\', val);\n this.setState({\n combinedValue: val,\n });\n };\n render() {\n const { dateValue, rangeValue, combinedValue } = this.state;\n return (\n <div>\n <DatePicker\n className="zent-datepicker-demo"\n showTime\n format="YYYY-MM-DD HH:mm:ss"\n value={dateValue}\n onChange={this.onChangeDate}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n showTime={{ format: \'HH:mm\', defaultTime: [\'00:00\', \'23:59\'] }}\n format="YYYY-MM-DD HH:mm"\n value={rangeValue}\n onChange={this.onChangeRange}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n showTime={{\n format: \'HH:mm:ss\',\n defaultTime: [\'12:00:00\', \'23:59:59\'],\n }}\n format="YYYY-MM-DD HH:mm:ss"\n onChange={this.onChangeCombinedDate}\n />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(z)),e.createElement(_,{title:"禁用部分日期,可以通过传入 disabledDate 函数来实现",id:"Demodisableddate",src:'import { DatePicker, WeekPicker, CombinedDateRangePicker } from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeDate2 = val => {\n console.log(\'onChangeDate2\', val);\n this.setState({\n dateValue2: val,\n });\n };\n\n onChangeRange = val => {\n this.setState({\n rangeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n this.setState({\n combinedValue: val,\n });\n };\n\n onDisabledRange = (val, type) =>\n type === \'start\' ? val.getDate() === 15 : false;\n\n onDisabledCombinedDate = val => val.getDate() < 9;\n\n render() {\n const { dateValue, dateValue2, rangeValue, combinedValue } = this.state;\n return (\n <div>\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n disabledDate={date => date.getDay() === 1}\n />\n <br />\n <DatePicker\n value={dateValue2}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate2}\n disabledDate={{ min: \'2020-6-15\' }}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n value={rangeValue}\n onChange={this.onChangeRange}\n disabledDate={this.onDisabledRange}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n onChange={this.onChangeCombinedDate}\n disabledDate={this.onDisabledCombinedDate}\n />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(N)),e.createElement(_,{title:"禁用部分时间,可以通过传入 disabledTime 函数来实现",id:"Demodisabledtime",src:'import {\n TimePicker,\n DatePicker,\n DateRangePicker,\n CombinedTimeRangePicker,\n CombinedDateRangePicker,\n} from \'zent\';\nimport {\n disabledTimeWithMax,\n disabledTimeWithRange,\n getDisabledDateAndTimeWithRangeProps,\n} from \'zent/es/date-picker/disabledHelpers\';\nimport { isSameDay, addDays, parse } from \'date-fns\';\n\nconst initArray = targetNum => {\n return Array.from({ length: targetNum }, (_, index) => index);\n};\n\nclass Demo extends Component {\n state = {};\n\n onChangeTime = val => {\n console.log(\'demo onChangeTime\', val);\n this.setState({\n timeValue: val,\n });\n };\n onChangeDate = val => {\n console.log(\'demo onChangeDate\', val);\n this.setState({\n dateValue: val,\n });\n };\n onChangeRange = val => {\n console.log(\'demo onChangeRange\', val);\n this.setState({\n rangeValue: val,\n });\n };\n onChangeCombinedTime = val => {\n console.log(\'demo onChangeCombinedTime\', val);\n this.setState({\n combinedTimeValue: val,\n });\n };\n onChangeCombinedDate = val => {\n console.log(\'demo onChangeCombinedDate\', val);\n this.setState({\n combinedValue: val,\n });\n };\n\n disabledTime1 = () => ({\n disabledHours: () => [2],\n });\n\n disabledTime2 = date => {\n const min = new Date();\n const hour = min.getHours();\n const minute = min.getMinutes();\n const second = min.getSeconds();\n const isSame = isSameDay(date, min);\n return isSame\n ? {\n disabledHours: () => initArray(hour),\n disabledMinutes: hourValue =>\n hourValue === hour ? initArray(minute) : [],\n disabledSeconds: (hourValue, minuteValue) =>\n hourValue === hour && minuteValue === minute\n ? initArray(second)\n : [],\n }\n : {};\n };\n\n disabledTime3 = (date, type) => {\n return type === \'start\'\n ? {\n disabledHours: () => [3, 4, 5],\n disabledMinutes: () => [],\n disabledSeconds: () => [],\n }\n : {};\n };\n\n disabledProps = getDisabledDateAndTimeWithRangeProps([new Date(), addDays(new Date(), 4)]);\n\n render() {\n const {\n timeValue,\n dateValue,\n rangeValue,\n combinedValue,\n combinedTimeValue,\n } = this.state;\n return (\n <div>\n <TimePicker\n className="zent-datepicker-demo"\n value={timeValue}\n onChange={this.onChangeTime}\n disabledTime={this.disabledTime1}\n />\n <br />\n <DatePicker\n className="zent-datepicker-demo"\n showTime\n format="YYYY-MM-DD HH:mm:ss"\n value={dateValue}\n disabledDate={{ min: new Date() }}\n onChange={this.onChangeDate}\n disabledTime={this.disabledTime2}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n showTime={{ format: \'HH:mm\', defaultTime: [\n date => (isSameDay(date, new Date()) ? \'12:30\' : \'00:00\'),\n \'23:59\',\n ], }}\n format="YYYY-MM-DD HH:mm"\n value={rangeValue}\n onChange={this.onChangeRange}\n disabledTime={this.disabledTime3}\n />\n <br />\n <CombinedTimeRangePicker\n className="zent-datepicker-demo"\n value={combinedTimeValue}\n onChange={this.onChangeCombinedTime}\n disabledTime={this.disabledTime3}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n onChange={this.onChangeCombinedDate}\n showTime={{\n defaultTime: [\n date => (isSameDay(date, new Date()) ? \'12:30:00\' : \'00:00:00\'),\n \'23:59:59\',\n ],\n }}\n format="YYYY-MM-DD HH:mm:ss"\n {...this.disabledProps}\n />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(M)),e.createElement(_,{title:"通过设置 valueType 来指定返回值的类型,默认为 string,支持 string | date | number",id:"Demovaluetype",src:'import { DatePicker, WeekPicker } from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n console.log(\'valueType is `string`\', val);\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeDate1 = val => {\n console.log(\'valueType is `number`\', val);\n this.setState({\n dateValue1: val,\n });\n };\n onChangeDate2 = val => {\n console.log(\'valueType is `date`\', val);\n this.setState({\n dateValue2: val,\n });\n };\n\n handleSubmit(event) {\n console.log(\'A name was submitted: \', event, dateValue);\n event.preventDefault();\n }\n\n render() {\n const { dateValue, dateValue1, dateValue2 } = this.state;\n return (\n <div>\n <div className="zent-datepicker-demo">string:</div>\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n />\n <br />\n <div className="zent-datepicker-demo">number:</div>\n <DatePicker\n value={dateValue1}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate1}\n valueType="number"\n />\n <br />\n <div className="zent-datepicker-demo">date:</div>\n <DatePicker\n value={dateValue2}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate2}\n valueType="date"\n />\n <br />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(R)),e.createElement(_,{title:"传入 disabled 使输入框处于禁用状态,优先级高于 Disabled 组件",id:"Demodisabled",src:'import {\n DatePicker,\n CombinedDateRangePicker,\n DateRangePicker,\n Disabled,\n} from \'zent\';\n\nReactDOM.render(\n <div>\n <DatePicker className="zent-datepicker-demo" value="2020-01-01" disabled />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n disabled={[true, false]}\n />\n <br />\n <TimePicker className="zent-datepicker-demo" value="06:06:06" disabled />\n <br />\n <CombinedDateRangePicker className="zent-datepicker-demo" disabled />\n <br />\n <Disabled>\n <DateRangePicker className="zent-datepicker-demo" disabled={false} />\n </Disabled>\n </div>,\n mountNode\n);'},e.createElement(Y)),e.createElement(_,{title:"通过 defaultDate | defaultTime 来控制面板弹出时默认显示的日期。",id:"Demodefaultvalue",src:'import {\n DatePicker,\n MonthPicker,\n DateRangePicker,\n CombinedDateRangePicker,\n TimePicker,\n} from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeMonth = val => {\n this.setState({\n monthValue: val,\n });\n };\n\n onChangeRange = val => {\n this.setState({\n rangeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n this.setState({\n combinedValue: val,\n });\n };\n\n onChangeTime = val => {\n this.setState({\n timeValue: val,\n });\n };\n render() {\n const {\n dateValue,\n monthValue,\n rangeValue,\n combinedValue,\n timeValue,\n } = this.state;\n return (\n <div>\n <DatePicker\n className="zent-datepicker-demo"\n value={dateValue}\n defaultDate="2008-08-08"\n onChange={this.onChangeDate}\n />\n <br />\n <MonthPicker\n className="zent-datepicker-demo"\n value={monthValue}\n defaultDate="2010-07"\n onChange={this.onChangeMonth}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n value={rangeValue}\n defaultDate={[\'2016-01-01\', \'2017-01-01\']}\n onChange={this.onChangeRange}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n defaultDate={[\'2018-01-01\', \'2018-02-01\']}\n onChange={this.onChangeCombinedDate}\n />\n <br />\n <TimePicker\n className="zent-datepicker-demo"\n value={timeValue}\n defaultTime="12:12:13"\n onChange={this.onChangeTime}\n />\n </div>\n );\n }\n}\n\nReactDOM.render(<Demo />, mountNode);'},e.createElement(q)),e.createElement(_,{title:"onOpen、onClose回调,openPanel面板收展受控",id:"Demovisiblecontrol",src:'import { DatePicker, CombinedDateRangePicker, Notify } from \'zent\';\n\nclass DatePickerBasic extends Component {\n state = {\n dateValue: \'2020-05-11\',\n dateValue2: \'2020-05-11\',\n openPanel: true,\n };\n\n onChangeDate = val => {\n console.log(\'demo onChangeDate1\', val);\n this.setState({\n dateValue: val,\n openPanel: false,\n });\n };\n onChangeDate2 = val => {\n console.log(\'demo onChangeDate2\', val);\n };\n\n render() {\n const {\n dateValue,\n dateValue2,\n\n openPanel,\n } = this.state;\n return (\n <div className="zent-datepicker-example">\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n openPanel={openPanel}\n onOpen={() => {\n Notify.info(\'open\');\n }}\n onClose={() => {\n Notify.info(\'close\');\n }}\n />\n <br />\n <DatePicker\n className="zent-datepicker-demo"\n value={dateValue2}\n onChange={this.onChangeDate2}\n openPanel={false}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n onOpen={() => {\n Notify.info(\'open\');\n }}\n onClose={() => {\n Notify.info(\'close\');\n }}\n />\n </div>\n );\n }\n}\nReactDOM.render(<DatePickerBasic />, mountNode);'},e.createElement(H)),e.createElement(_,{title:'使用其中的日历基础组件 "日历组合选择"CombinedPanelRangePicker、"单个日历组件" SingleCalendarDatePanelPicker',id:"Democalendar",src:'import { CombinedPanelRangePicker, SingleCalendarDatePanelPicker } from \'zent\';\nimport { useState } from \'react\';\nimport { addMonths, addDays } from \'date-fns\';\n\nconst now = new Date();\nconst Demo = () => {\n // merged from props value\n const [selectedRange, setSelectedRange] = useState([now, addMonths(now, 1)]);\n const [selectedDate, setSelectedDate] = useState(null);\n\n const onSelectedRange = (value, finished) => {\n console.log(\'this is onSelectedRange\', value, finished);\n setSelectedRange(value);\n };\n\n const onSelectedDate = (value, finished) => {\n console.log(\'this is onSelectedDate\', value, finished);\n setSelectedDate(value);\n };\n\n return (\n <div>\n <div className="zent-datepicker-calendar-demo-wrapper">\n <div>\n <SingleCalendarDatePanelPicker\n selected={selectedDate}\n defaultPanelDate={now}\n onSelected={onSelectedDate}\n disabledPanelDate={() => false}\n />\n </div>\n </div>\n <div className="zent-datepicker-calendar-demo-wrapper">\n <CombinedPanelRangePicker\n value={selectedRange}\n onChange={onSelectedRange}\n showTime\n hideConfirm={true}\n valueType="string"\n format="YYYY-MM-DD HH:mm:ss"\n disabledDate={() => false}\n leftClassName="zent-datepicker-calendar-demo-left"\n rightClassName="zent-datepicker-calendar-demo-right"\n footerClassName="zent-datepicker-calendar-demo-footer"\n />\n </div>\n </div>\n );\n};\n\nReactDOM.render(<Demo />, mountNode);'},e.createElement(Z)),e.createElement(_,{title:"农历日期选择",id:"Demolunar",src:'import { DatePicker } from \'zent\';\nimport { useState } from \'react\';\n\nimport { Lunar } from \'pure-lunar-typescript\';\n\nclass LunarDatePickerDemo extends Component {\n state = {};\n\n lunarValueFormatter = date => {\n const d = Lunar.fromDate(date);\n return d.toString();\n };\n\n handleDateChange = val => {\n this.setState({\n date: val,\n });\n };\n\n render() {\n const { date } = this.state;\n return (\n <DatePicker\n showLunarDate\n lunarValueFormatter={this.lunarValueFormatter}\n value={date}\n onChange={this.handleDateChange}\n />\n );\n }\n}\n\nReactDOM.render(<LunarDatePickerDemo />, mountNode);'},e.createElement(O)),e.createElement(E,{html:'

API

\n

共用的日期组件 API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期--
onChange选择日期回调函数--
valueTypeonChange 返回日期的类型,可选值:\n\'string\'\n \n|\n \n\'number\'\n \n|\n \n\'date\'string\'string\'
format设置字符串日期的格式string不同组件默认值不同,下详
disabledDate不可选择的日期(date: Date) => {}\n \n|\n \nIDisableDateMap-
defaultDate默认面板日期string\n \n|\n \nDate\n \n|\n \nnumbernew Date()
disabled禁用状态booleanfalse
canClear日期是否可清除booleantrue
openPanel控制面板是否打开booleanfalse
onOpen面板打开的回调function-
onClose面板关闭的回调function-
width组件 input 的 宽度string\n \n|\n \nnumber-
className自定义样式类string\'\'
\n
interface IDisableDateMap {\n  min?: string | Date | number; // 最小可选日期\n  max?: string | Date | number; // 最大可选日期\n}
\n

注意:

\n
    \n
  • valueonChange 必须同时提供
  • \n
\n

DatePicker 其他 API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期string\n \n|\n \nDate\n \n|\n \nnumber-
onChange选择日期回调函数(date: string | Date | number) => {}-
placeholder输入框提示文字string\'请选择日期\'
format设置字符串日期的格式string\'YYYY-MM-DD\'
hideFooter隐藏面板底部booleanfalse
showTime是否支持时间选择功能boolean\n \n|\n \nobjectfalse
disabledTime时间禁用判断(date?: Date) => IDisabledTimeOption-
showLunarDate是否显示农历日期booleanfalse
lunarValueFormatter格式化农历日期回填值(date: Date) => string-
\n

注意:

\n
    \n
  • showTime 为对象时,表示支持时间选择,具体属性可参考 TimePicker,包括 formathourStepminuteStepsecondStep,其中 defaultTime 类型定义为 string | (date: Date) => string
  • \n
  • disabledTimeshowTime 开启时生效,可参考 TimePickerIDisabledTimeOption
  • \n
  • showTimeformat 值应为\'YYYY-MM-DD HH:mm:ss\',使用时注意 format 参数
  • \n
  • showTimeformat 值应为\'YYYY-MM-DD HH:mm:ss\',使用时注意 format 参数
  • \n
  • lunarValueFormattershowLunarDate 开启时生效
  • \n
\n

WeekPicker 其他 API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期Array<string | Date | number>-
onChange选择日期回调函数(date: Array<string | Date | number>) => {}-
placeholder输入框提示文字string\'请选择自然周\'
weekStartsOn一周的开始WeekStartsOnMapWeekStartsOnMap.Monday
format设置字符串日期的格式string\'YYYY-MM-DD\'
hideFooter隐藏面板底部booleanfalse
\n

注意:

\n
    \n
  • WeekPickervalueonChange 回调日期均为数组
  • \n
  • WeekStartsOnMap 枚举: \'Sunday\'\'Monday\'\'Tuesday\'\'Wednesday\'\'Thursday\'\'Friday\'\'Saturday\'
  • \n
\n

YearPicker / MonthPicker 其他 API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期string\n \n|\n \nDate\n \n|\n \nnumber-
onChange选择日期回调函数(date: string | Date | number) => {}-
placeholder输入框提示文字string\'请选择年份\'\n \n|\n \n\'请选择月份\'
format设置字符串日期的格式string\'YYYY\'\n \n|\n \n\'YYYY-MM\'
\n

注意:

\n
    \n
  • YearPicker / MonthPickervalueonChange 回调日期均为单个日期
  • \n
\n

QuarterPicker 其他 API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期Array<string | Date | number>-
onChange选择日期回调函数(date: Array<string | Date | number>) => {}-
placeholder输入框提示文字string\'请选择季度\'
format设置字符串日期的格式string\'YYYY-MM\'
\n

注意:

\n
    \n
  • QuarterPickervalueonChange 回调日期均为数组
  • \n
\n

TimePicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value时间string-
onChange选择时间回调函数(date: string ) => {}-
defaultTime默认时间string-
placeholder输入框提示文字string\'请选择时间\'
format返回的时间的格式 (决定面板展示的列)string\'HH:mm:ss\'
disabledTime时间禁用判断() => IDisabledTimeOption-
hourStep小时选项间隔number1
minuteStep分钟选项间隔number1
secondStep秒选项间隔number1
\n
interface IDisabledTimeOption {\n  disabledHours?: () => number[];\n  disabledMinutes: (hour: number) => number[];\n  disabledSeconds?: (hour: number, minute: number) => number[];\n}
\n

SingleCalendarDatePanelPicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
selected日期Date\\|null-
onSelected选择时间回调函数(date: Date ) => {}-
defaultPanelDate默认面板日期Date-
disabledPanelDate日期禁用判断(date:Date) => boolean-
onChangePanel切换面板日期的回调(type:IPickerType) => {}-
onPanelDateChange切换面板日期后,具体面板日期的回调(date:Date) => {}-
hideFooter隐藏面板底部booleanfalse
showTime是否支持时间选择功能boolean\n \n|\n \nobjectfalse
disabledTime时间禁用判断(date?: Date) => IDisabledTimeOption-
popText选中日期后的 pop 文案string-
footerText底部定位到现在的快捷按钮文案string-
combinedLeft是否为组合日历面板的左侧日历,是则隐藏本组件顶部右侧的下个月/下一年booleanfalse
combinedRight是否为组合日历面板的右侧日历,是则隐藏本组件顶部左侧的下个月/下一年booleanfalse
hoverRangeDate指定 hover 的日期区域[Date,Date]\\|null-
rangeDate已选中的日期区域[Date,Date]\\|null-
\n
interface IDisabledTimeOption {\n  disabledHours?: () => number[];\n  disabledMinutes: (hour: number) => number[];\n  disabledSeconds?: (hour: number, minute: number) => number[];\n}
\n

DateRangePicker / CombinedDateRangePicker API (基于 DatePicker)

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期Array<string | Date | number>-
onChange选择日期回调函数(date: Array<string | Date | number>) => {}-
placeholder输入框提示文字[string, string][\'开始日期\',\'结束日期\']
defaultDate默认面板日期[string, string]-
dateSpan日期跨度number-
\n

注意:

\n
    \n
  • showTime 为对象时,defaultTime 类型为 [string | (date: Date) => string, string | (date: Date) => string],表示默认开始时间和默认结束时间(不填为[\'00:00:00\',\'23:59:59\'])
  • \n
  • disabledDatedisabledTime 回调方法的第二个参数均为type?: \'start\' | \'end\'
  • \n
  • dateSpanDateRangePickerCombinedDateRangePicker 组件可用
  • \n
  • DateRangePickerdisabledcanClear 属性类型为 boolean | boolean[]
  • \n
\n

CombinedPanelRangePicker (基于 DateRangePicker 和 TimePicker )

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期Array<string \\| Date \\| number>\\|null-
onChange选择日期回调函数(date: Array<string \\| Date \\| number>) => {}-
defaultDate默认面板日期[string, string]-
dateSpan日期跨度number-
valueTypeonChange 返回日期的类型,可选值:\n\'string\'\n \n|\n \n\'number\'\n \n|\n \n\'date\'string\'string\'
format设置字符串日期的格式string\'YYYY-MM-DD\'
disabledDate不可选择的日期(date: Date) => {}\n \n|\n \nIDisableDateMap-
showTime是否支持时间选择功能boolean\n \n|\n \nobjectfalse
hideConfirm如果开启了 showTime,是否要隐藏 footer 的“确定”按钮booleanfalse
className整个组件的 classstring-
leftClassName左侧日历的 classstring-
rightClassName右侧日历的 classstring-
footerClassName如果开启了 showTime,footer 组件的 classstring-
\n

注意:

\n
    \n
  • showTime 为对象时,defaultTime 类型为 [string | (date: Date) => string, string | (date: Date) => string],表示默认开始时间和默认结束时间(不填为[\'00:00:00\',\'23:59:59\'])
  • \n
  • disabledDatedisabledTime 回调方法的第二个参数均为type?: \'start\' | \'end\'
  • \n
\n

TimeRangePicker / CombinedTimeRangePicker API (基于 TimePicker)

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value时间[string, string]-
onChange选择时间回调函数(date: [string, string] ) => {}-
defaultTime默认时间[string, string]-
placeholder输入框提示文字[string, string][\'开始时间\', \'结束时间\']
\n

注意:

\n
    \n
  • disabledTime 回调方法的第二个参数均为type?: \'start\' | \'end\'
  • \n
\n

工具函数

\n
    \n
  • 提供时间禁用的处理方法:disabledTimeWithRangegetDisabledDateAndTimeWithRangeProps 等,需要从 zent/es/date-picker/disabledHelpers 引入。
  • \n
\n

格式化字符表

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
字符输出
YearYY70 71 ... 29 30
YYYY1970 1971 ... 2029 2030
MonthM1 2 ... 11 1
MM01 02 ... 11 12
MMM1 月, 2 月 ... 11 月, 12 月
MMMM一月, 二月 ... 十一月, 十二月
DateD1 2 ... 30 31
DD01 02 ... 30 31
d0 1 ... 5 6
ddd周日, 周一 ... 周五, 周六
dddd星期日, 星期一 ... 星期五, 星期六
'}))}}}}]); \ No newline at end of file diff --git a/7045-ee1797bd6d313b89295e.js b/7045-ee1797bd6d313b89295e.js deleted file mode 100644 index 5939c5cf1..000000000 --- a/7045-ee1797bd6d313b89295e.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkzent_docs=self.webpackChunkzent_docs||[]).push([[7045],{7045:(n,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>F});var t=s(73118),p=s(73450),e=s(27378),o=s(57318),c=s(75795),l=s(72455),u=s(40167),i=s(33749),k=s(38923),r=s(7178),d=s(74552),m=s(91419),g=s(39311),h=s(29018),b=s(1348),y=s(23476),v=s(71990),f=s(17703),D=s(39643),C=s(77888),w=s(44525),j=s(84614),P=s(56540),V=s(24246);function T(n,a){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),s.push.apply(s,t)}return s}function x(n){for(var a=1;a{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeTime",(n=>{this.setState({timeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedDateValue:n})})),(0,p.Z)(this,"onChangeWeek",(n=>{this.setState({weekValue:n})})),(0,p.Z)(this,"onChangeMonth",(n=>{this.setState({monthValue:n})})),(0,p.Z)(this,"onChangeQuarter",(n=>{this.setState({quarterValue:n})})),(0,p.Z)(this,"onChangeYear",(n=>{this.setState({yearValue:n})})),(0,p.Z)(this,"onChangeCombinedTime",(n=>{this.setState({combinedTimeValue:n})})),(0,p.Z)(this,"onChangeTimeRange",(n=>{this.setState({timeRangeValue:n})}))}render(){var n=this.state,a=n.dateValue,s=n.rangeValue,t=n.timeValue,p=n.combinedTimeValue,e=n.timeRangeValue,o=n.combinedDateValue,b=n.weekValue,y=n.monthValue,v=n.quarterValue,f=n.yearValue;return(0,V.jsxs)("div",{className:"zent-datepicker-example",children:[(0,V.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate}),(0,V.jsx)("br",{}),(0,V.jsx)(l.fl,{className:"zent-datepicker-demo",value:b,onChange:this.onChangeWeek}),(0,V.jsx)("br",{}),(0,V.jsx)(u.l,{className:"zent-datepicker-demo",value:y,onChange:this.onChangeMonth}),(0,V.jsx)("br",{}),(0,V.jsx)(i.n,{className:"zent-datepicker-demo",value:v,onChange:this.onChangeQuarter}),(0,V.jsx)("br",{}),(0,V.jsx)(k.q,{className:"zent-datepicker-demo",value:f,onChange:this.onChangeYear}),(0,V.jsx)("br",{}),(0,V.jsx)(r.j,{className:"zent-datepicker-demo",value:t,secondStep:15,onChange:this.onChangeTime}),(0,V.jsx)("br",{}),(0,V.jsx)(d.i,{className:"zent-datepicker-demo",value:p,secondStep:15,onChange:this.onChangeCombinedTime}),(0,V.jsx)("br",{}),(0,V.jsx)(m.X,{className:"zent-datepicker-demo",value:e,onChange:this.onChangeTimeRange}),(0,V.jsx)("br",{}),(0,V.jsx)(g.D,{className:"zent-datepicker-demo",value:s,onChange:this.onChangeRange,dateSpan:30}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,{className:"zent-datepicker-demo",value:o,onChange:this.onChangeCombinedDate,dateSpan:60})]})}}return(0,V.jsx)(n,{})},z=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})}))}render(){var n=this.state,a=n.dateValue,s=n.rangeValue,t=n.combinedValue;return(0,V.jsxs)("div",{children:[(0,V.jsx)(c.M,{className:"zent-datepicker-demo",showTime:!0,format:"YYYY-MM-DD HH:mm:ss",value:a,onChange:this.onChangeDate}),(0,V.jsx)("br",{}),(0,V.jsx)(g.D,{className:"zent-datepicker-demo",showTime:{format:"HH:mm",defaultTime:["00:00","23:59"]},format:"YYYY-MM-DD HH:mm",value:s,onChange:this.onChangeRange}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,{className:"zent-datepicker-demo",value:t,showTime:{format:"HH:mm:ss",defaultTime:["12:00:00","23:59:59"]},format:"YYYY-MM-DD HH:mm:ss",onChange:this.onChangeCombinedDate})]})}}return(0,V.jsx)(n,{})},N=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeDate2",(n=>{this.setState({dateValue2:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})})),(0,p.Z)(this,"onDisabledRange",((n,a)=>"start"===a&&15===n.getDate())),(0,p.Z)(this,"onDisabledCombinedDate",(n=>n.getDate()<9))}render(){var n=this.state,a=n.dateValue,s=n.dateValue2,t=n.rangeValue,p=n.combinedValue;return(0,V.jsxs)("div",{children:[(0,V.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate,disabledDate:n=>1===n.getDay()}),(0,V.jsx)("br",{}),(0,V.jsx)(c.M,{value:s,className:"zent-datepicker-demo",onChange:this.onChangeDate2,disabledDate:{min:"2020-6-15"}}),(0,V.jsx)("br",{}),(0,V.jsx)(g.D,{className:"zent-datepicker-demo",value:t,onChange:this.onChangeRange,disabledDate:this.onDisabledRange}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,{className:"zent-datepicker-demo",value:p,onChange:this.onChangeCombinedDate,disabledDate:this.onDisabledCombinedDate})]})}}return(0,V.jsx)(n,{})},M=function(){var n=n=>Array.from({length:n},((n,a)=>a));class a extends e.Component{constructor(...a){super(...a),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeTime",(n=>{this.setState({timeValue:n})})),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedTime",(n=>{this.setState({combinedTimeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})})),(0,p.Z)(this,"disabledTime1",(()=>({disabledHours:()=>[2]}))),(0,p.Z)(this,"disabledTime2",(a=>{var s=new Date,t=s.getHours(),p=s.getMinutes(),e=s.getSeconds();return(0,C.Z)(a,s)?{disabledHours:()=>n(t),disabledMinutes:a=>a===t?n(p):[],disabledSeconds:(a,s)=>a===t&&s===p?n(e):[]}:{}})),(0,p.Z)(this,"disabledTime3",((n,a)=>"start"===a?{disabledHours:()=>[3,4,5],disabledMinutes:()=>[],disabledSeconds:()=>[]}:{})),(0,p.Z)(this,"disabledProps",(0,D.jA)([new Date,(0,w.Z)(new Date,4)]))}render(){var n=this.state,a=n.timeValue,s=n.dateValue,t=n.rangeValue,p=n.combinedValue,e=n.combinedTimeValue;return(0,V.jsxs)("div",{children:[(0,V.jsx)(r.j,{className:"zent-datepicker-demo",value:a,onChange:this.onChangeTime,disabledTime:this.disabledTime1}),(0,V.jsx)("br",{}),(0,V.jsx)(c.M,{className:"zent-datepicker-demo",showTime:!0,format:"YYYY-MM-DD HH:mm:ss",value:s,disabledDate:{min:new Date},onChange:this.onChangeDate,disabledTime:this.disabledTime2}),(0,V.jsx)("br",{}),(0,V.jsx)(g.D,{className:"zent-datepicker-demo",showTime:{format:"HH:mm",defaultTime:[n=>(0,C.Z)(n,new Date)?"12:30":"00:00","23:59"]},format:"YYYY-MM-DD HH:mm",value:t,onChange:this.onChangeRange,disabledTime:this.disabledTime3}),(0,V.jsx)("br",{}),(0,V.jsx)(d.i,{className:"zent-datepicker-demo",value:e,onChange:this.onChangeCombinedTime,disabledTime:this.disabledTime3}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,x({className:"zent-datepicker-demo",value:p,onChange:this.onChangeCombinedDate,showTime:{defaultTime:[n=>(0,C.Z)(n,new Date)?"12:30:00":"00:00:00","23:59:59"]},format:"YYYY-MM-DD HH:mm:ss"},this.disabledProps))]})}}return(0,V.jsx)(a,{})},R=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeDate1",(n=>{this.setState({dateValue1:n})})),(0,p.Z)(this,"onChangeDate2",(n=>{this.setState({dateValue2:n})}))}handleSubmit(n){n.preventDefault()}render(){var n=this.state,a=n.dateValue,s=n.dateValue1,t=n.dateValue2;return(0,V.jsxs)("div",{children:[(0,V.jsx)("div",{className:"zent-datepicker-demo",children:"string:"}),(0,V.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate}),(0,V.jsx)("br",{}),(0,V.jsx)("div",{className:"zent-datepicker-demo",children:"number:"}),(0,V.jsx)(c.M,{value:s,className:"zent-datepicker-demo",onChange:this.onChangeDate1,valueType:"number"}),(0,V.jsx)("br",{}),(0,V.jsx)("div",{className:"zent-datepicker-demo",children:"date:"}),(0,V.jsx)(c.M,{value:t,className:"zent-datepicker-demo",onChange:this.onChangeDate2,valueType:"date"}),(0,V.jsx)("br",{})]})}}return(0,V.jsx)(n,{})},Y=function(){return(0,V.jsxs)("div",{children:[(0,V.jsx)(c.M,{className:"zent-datepicker-demo",value:"2020-01-01",disabled:!0}),(0,V.jsx)("br",{}),(0,V.jsx)(g.D,{className:"zent-datepicker-demo",disabled:[!0,!1]}),(0,V.jsx)("br",{}),(0,V.jsx)(r.j,{className:"zent-datepicker-demo",value:"06:06:06",disabled:!0}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,{className:"zent-datepicker-demo",disabled:!0}),(0,V.jsx)("br",{}),(0,V.jsx)(b.x,{children:(0,V.jsx)(g.D,{className:"zent-datepicker-demo",disabled:!1})})]})},q=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n})})),(0,p.Z)(this,"onChangeMonth",(n=>{this.setState({monthValue:n})})),(0,p.Z)(this,"onChangeRange",(n=>{this.setState({rangeValue:n})})),(0,p.Z)(this,"onChangeCombinedDate",(n=>{this.setState({combinedValue:n})})),(0,p.Z)(this,"onChangeTime",(n=>{this.setState({timeValue:n})}))}render(){var n=this.state,a=n.dateValue,s=n.monthValue,t=n.rangeValue,p=n.combinedValue,e=n.timeValue;return(0,V.jsxs)("div",{children:[(0,V.jsx)(c.M,{className:"zent-datepicker-demo",value:a,defaultDate:"2008-08-08",onChange:this.onChangeDate}),(0,V.jsx)("br",{}),(0,V.jsx)(u.l,{className:"zent-datepicker-demo",value:s,defaultDate:"2010-07",onChange:this.onChangeMonth}),(0,V.jsx)("br",{}),(0,V.jsx)(g.D,{className:"zent-datepicker-demo",value:t,defaultDate:["2016-01-01","2017-01-01"],onChange:this.onChangeRange}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,{className:"zent-datepicker-demo",value:p,defaultDate:["2018-01-01","2018-02-01"],onChange:this.onChangeCombinedDate}),(0,V.jsx)("br",{}),(0,V.jsx)(r.j,{className:"zent-datepicker-demo",value:e,defaultTime:"12:12:13",onChange:this.onChangeTime})]})}}return(0,V.jsx)(n,{})},H=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{dateValue:"2020-05-11",dateValue2:"2020-05-11",openPanel:!0}),(0,p.Z)(this,"onChangeDate",(n=>{this.setState({dateValue:n,openPanel:!1})})),(0,p.Z)(this,"onChangeDate2",(n=>{}))}render(){var n=this.state,a=n.dateValue,s=n.dateValue2,t=n.openPanel;return(0,V.jsxs)("div",{className:"zent-datepicker-example",children:[(0,V.jsx)(c.M,{value:a,className:"zent-datepicker-demo",onChange:this.onChangeDate,openPanel:t,onOpen:()=>{y.g.info("open")},onClose:()=>{y.g.info("close")}}),(0,V.jsx)("br",{}),(0,V.jsx)(c.M,{className:"zent-datepicker-demo",value:s,onChange:this.onChangeDate2,openPanel:!1}),(0,V.jsx)("br",{}),(0,V.jsx)(h.J,{className:"zent-datepicker-demo",onOpen:()=>{y.g.info("open")},onClose:()=>{y.g.info("close")}})]})}}return(0,V.jsx)(n,{})},Z=function(){var n=new Date,a=()=>{var a=(0,e.useState)([n,(0,j.Z)(n,1)]),s=(0,t.Z)(a,2),p=s[0],o=s[1],c=(0,e.useState)(null),l=(0,t.Z)(c,2),u=l[0],i=l[1];return(0,V.jsxs)("div",{children:[(0,V.jsx)("div",{className:"zent-datepicker-calendar-demo-wrapper",children:(0,V.jsx)("div",{children:(0,V.jsx)(v.Z,{selected:u,defaultPanelDate:n,onSelected:(n,a)=>{i(n)},disabledPanelDate:()=>!1})})}),(0,V.jsx)("div",{className:"zent-datepicker-calendar-demo-wrapper",children:(0,V.jsx)(f.i,{value:p,onChange:(n,a)=>{o(n)},showTime:!0,hideConfirm:!0,valueType:"string",format:"YYYY-MM-DD HH:mm:ss",disabledDate:()=>!1,leftClassName:"zent-datepicker-calendar-demo-left",rightClassName:"zent-datepicker-calendar-demo-right",footerClassName:"zent-datepicker-calendar-demo-footer"})})]})};return(0,V.jsx)(a,{})},O=function(){class n extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{}),(0,p.Z)(this,"lunarValueFormatter",(n=>P.q7.fromDate(n).toString())),(0,p.Z)(this,"handleDateChange",(n=>{this.setState({date:n})}))}render(){var n=this.state.date;return(0,V.jsx)(c.M,{showLunarDate:!0,lunarValueFormatter:this.lunarValueFormatter,value:n,onChange:this.handleDateChange})}}return(0,V.jsx)(n,{})};function A(n){return(0,V.jsx)(n.tag,x(x({},n.attributes),{},{dangerouslySetInnerHTML:{__html:n.html}}))}function E(n){return(0,V.jsx)(A,{tag:"section",html:n.html,attributes:{className:"zandoc-react-markdown"}})}function W(n){return(0,V.jsx)(A,{tag:"style",html:n.style})}function I(n,a){for(;n;)return n.offsetTop&&"static"!==getComputedStyle(n).position&&(a+=n.offsetTop),I(n.parentNode,a);return a}class _ extends e.Component{constructor(...n){super(...n),(0,p.Z)(this,"state",{showCode:!1}),(0,p.Z)(this,"toggle",(()=>{this.setState({showCode:!this.state.showCode})}))}render(){var n=this.state.showCode,a=this.props,s=a.title,t=a.src,p=a.children;return(0,V.jsxs)("div",{className:"zandoc-react-demo",children:[(0,V.jsx)("div",{className:"zandoc-react-demo__preview",children:p}),(0,V.jsxs)("div",{className:"zandoc-react-demo__bottom",onClick:this.toggle,children:[(0,V.jsx)("div",{className:"zandoc-react-demo__title",children:(0,V.jsx)("p",{children:s||""})}),(0,V.jsx)("i",{className:"zenticon zenticon-caret-up zandoc-react-demo__toggle ".concat(n?"zandoc-react-demo__toggle-on":"zandoc-react-demo__toggle-off")})]}),n&&(0,V.jsx)("pre",{className:"zandoc-react-demo__code",children:(0,V.jsx)(A,{tag:"code",html:t,attributes:{className:"language-jsx"}})})]})}}class F extends e.Component{componentDidMount(){var n=location.hash;if(n){var a=document.querySelector('a[href="'.concat(n,'"]'));a&&(0,o.l)(document.documentElement,0,I(a,-9))}}render(){return e.createElement("div",{className:"zandoc-react-container"},e.createElement(W,{style:".zent-datepicker-demo{\n\t\tmargin-bottom: 10px;\n\t}\n\n.zent-datepicker-calendar-demo-wrapper{\n\t\tdisplay:flex;\n\t\tmargin-bottom:20px;\n\t}\n\n.zent-datepicker-calendar-demo-wrapper .zent-datepicker-calendar-demo-footer{\n\t\t\tborder:none;\n\t\t}\n\t.zent-datepicker-calendar-demo-left{\n\t\tmargin-right:10px;\n\t\tborder-right:1px solid #ccc;\n\t}\n\t.zent-datepicker-calendar-demo-right{\n\t\tmargin-left:10px\n\t}"}),e.createElement(E,{html:'

DatePicker

\n

时间选择组件, 提供基础的时间、日期、日期时间筛选功能。

\n

使用指南

\n
    \n
  • 包含以下组件:DatePickerWeekPickerMonthPickerQuarterPickerYearPickerDateRangePickerCombinedDateRangePickerTimePickerTimeRangePickerCombinedTimeRangePickerSingleCalendarDatePanelPickerCombinedPanelRangePicker
  • \n
  • DatePickerCombinedDateRangePickerDateRangePickerSingleCalendarDatePanelPickerCombinedPanelRangePicker 可以通过 showTime 属性来支持时间的选择。
  • \n
\n

代码演示

'}),e.createElement(_,{title:"基础的日期、自然周、月份、时间段选择",id:"Demobasic",src:'import {\n DatePicker,\n DateRangePicker,\n WeekPicker,\n MonthPicker,\n YearPicker,\n TimePicker,\n CombinedTimeRangePicker,\n CombinedDateRangePicker,\n QuarterPicker,\n TimeRangePicker,\n} from \'zent\';\n\nclass DatePickerBasic extends Component {\n state = {};\n\n onChangeDate = val => {\n console.log(\'demo onChangeDate\', val);\n this.setState({\n dateValue: val,\n });\n };\n onChangeRange = val => {\n console.log(\'demo onChangeRange\', val);\n this.setState({\n rangeValue: val,\n });\n };\n onChangeTime = val => {\n console.log(\'demo onChangeTime\', val);\n this.setState({\n timeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n console.log(\'demo onChangeCombinedDate\', val);\n this.setState({\n combinedDateValue: val,\n });\n };\n onChangeWeek = val => {\n console.log(\'demo onChangeWeek\', val);\n this.setState({\n weekValue: val,\n });\n };\n onChangeMonth = val => {\n console.log(\'demo onChangeMonth\', val);\n this.setState({\n monthValue: val,\n });\n };\n onChangeQuarter = val => {\n console.log(\'demo onChangeQuarter\', val);\n this.setState({\n quarterValue: val,\n });\n };\n onChangeYear = val => {\n console.log(\'demo onChangeYear\', val);\n this.setState({\n yearValue: val,\n });\n };\n onChangeCombinedTime = val => {\n console.log(\'demo onChangeCombinedTime\', val);\n this.setState({\n combinedTimeValue: val,\n });\n };\n onChangeTimeRange = val => {\n console.log(\'demo onChangeTimeRange\', val);\n this.setState({\n timeRangeValue: val,\n });\n };\n render() {\n const {\n dateValue,\n rangeValue,\n timeValue,\n combinedTimeValue,\n timeRangeValue,\n combinedDateValue,\n weekValue,\n monthValue,\n quarterValue,\n yearValue,\n } = this.state;\n return (\n <div className="zent-datepicker-example">\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n />\n <br />\n <WeekPicker\n className="zent-datepicker-demo"\n value={weekValue}\n onChange={this.onChangeWeek}\n />\n <br />\n <MonthPicker\n className="zent-datepicker-demo"\n value={monthValue}\n onChange={this.onChangeMonth}\n />\n <br />\n <QuarterPicker\n className="zent-datepicker-demo"\n value={quarterValue}\n onChange={this.onChangeQuarter}\n />\n <br />\n <YearPicker\n className="zent-datepicker-demo"\n value={yearValue}\n onChange={this.onChangeYear}\n />\n <br />\n <TimePicker\n className="zent-datepicker-demo"\n value={timeValue}\n secondStep={15}\n onChange={this.onChangeTime}\n />\n <br />\n <CombinedTimeRangePicker\n className="zent-datepicker-demo"\n value={combinedTimeValue}\n secondStep={15}\n onChange={this.onChangeCombinedTime}\n />\n <br />\n <TimeRangePicker\n className="zent-datepicker-demo"\n value={timeRangeValue}\n onChange={this.onChangeTimeRange}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n value={rangeValue}\n onChange={this.onChangeRange}\n dateSpan={30}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedDateValue}\n onChange={this.onChangeCombinedDate}\n dateSpan={60}\n />\n </div>\n );\n }\n}\nReactDOM.render(<DatePickerBasic />, mountNode);'},e.createElement(S)),e.createElement(_,{title:"传入 showTime 同时选择时间和日期",id:"Demoshowtime",src:'import { DatePicker, DateRangePicker, CombinedDateRangePicker } from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n console.log(\'demo onChange\', val);\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeRange = val => {\n console.log(\'demo onChangeRange\', val);\n this.setState({\n rangeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n console.log(\'demo onChangeCombinedDate\', val);\n this.setState({\n combinedValue: val,\n });\n };\n render() {\n const { dateValue, rangeValue, combinedValue } = this.state;\n return (\n <div>\n <DatePicker\n className="zent-datepicker-demo"\n showTime\n format="YYYY-MM-DD HH:mm:ss"\n value={dateValue}\n onChange={this.onChangeDate}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n showTime={{ format: \'HH:mm\', defaultTime: [\'00:00\', \'23:59\'] }}\n format="YYYY-MM-DD HH:mm"\n value={rangeValue}\n onChange={this.onChangeRange}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n showTime={{\n format: \'HH:mm:ss\',\n defaultTime: [\'12:00:00\', \'23:59:59\'],\n }}\n format="YYYY-MM-DD HH:mm:ss"\n onChange={this.onChangeCombinedDate}\n />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(z)),e.createElement(_,{title:"禁用部分日期,可以通过传入 disabledDate 函数来实现",id:"Demodisableddate",src:'import { DatePicker, WeekPicker, CombinedDateRangePicker } from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeDate2 = val => {\n console.log(\'onChangeDate2\', val);\n this.setState({\n dateValue2: val,\n });\n };\n\n onChangeRange = val => {\n this.setState({\n rangeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n this.setState({\n combinedValue: val,\n });\n };\n\n onDisabledRange = (val, type) =>\n type === \'start\' ? val.getDate() === 15 : false;\n\n onDisabledCombinedDate = val => val.getDate() < 9;\n\n render() {\n const { dateValue, dateValue2, rangeValue, combinedValue } = this.state;\n return (\n <div>\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n disabledDate={date => date.getDay() === 1}\n />\n <br />\n <DatePicker\n value={dateValue2}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate2}\n disabledDate={{ min: \'2020-6-15\' }}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n value={rangeValue}\n onChange={this.onChangeRange}\n disabledDate={this.onDisabledRange}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n onChange={this.onChangeCombinedDate}\n disabledDate={this.onDisabledCombinedDate}\n />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(N)),e.createElement(_,{title:"禁用部分时间,可以通过传入 disabledTime 函数来实现",id:"Demodisabledtime",src:'import {\n TimePicker,\n DatePicker,\n DateRangePicker,\n CombinedTimeRangePicker,\n CombinedDateRangePicker,\n} from \'zent\';\nimport {\n disabledTimeWithMax,\n disabledTimeWithRange,\n getDisabledDateAndTimeWithRangeProps,\n} from \'zent/es/date-picker/disabledHelpers\';\nimport { isSameDay, addDays, parse } from \'date-fns\';\n\nconst initArray = targetNum => {\n return Array.from({ length: targetNum }, (_, index) => index);\n};\n\nclass Demo extends Component {\n state = {};\n\n onChangeTime = val => {\n console.log(\'demo onChangeTime\', val);\n this.setState({\n timeValue: val,\n });\n };\n onChangeDate = val => {\n console.log(\'demo onChangeDate\', val);\n this.setState({\n dateValue: val,\n });\n };\n onChangeRange = val => {\n console.log(\'demo onChangeRange\', val);\n this.setState({\n rangeValue: val,\n });\n };\n onChangeCombinedTime = val => {\n console.log(\'demo onChangeCombinedTime\', val);\n this.setState({\n combinedTimeValue: val,\n });\n };\n onChangeCombinedDate = val => {\n console.log(\'demo onChangeCombinedDate\', val);\n this.setState({\n combinedValue: val,\n });\n };\n\n disabledTime1 = () => ({\n disabledHours: () => [2],\n });\n\n disabledTime2 = date => {\n const min = new Date();\n const hour = min.getHours();\n const minute = min.getMinutes();\n const second = min.getSeconds();\n const isSame = isSameDay(date, min);\n return isSame\n ? {\n disabledHours: () => initArray(hour),\n disabledMinutes: hourValue =>\n hourValue === hour ? initArray(minute) : [],\n disabledSeconds: (hourValue, minuteValue) =>\n hourValue === hour && minuteValue === minute\n ? initArray(second)\n : [],\n }\n : {};\n };\n\n disabledTime3 = (date, type) => {\n return type === \'start\'\n ? {\n disabledHours: () => [3, 4, 5],\n disabledMinutes: () => [],\n disabledSeconds: () => [],\n }\n : {};\n };\n\n disabledProps = getDisabledDateAndTimeWithRangeProps([new Date(), addDays(new Date(), 4)]);\n\n render() {\n const {\n timeValue,\n dateValue,\n rangeValue,\n combinedValue,\n combinedTimeValue,\n } = this.state;\n return (\n <div>\n <TimePicker\n className="zent-datepicker-demo"\n value={timeValue}\n onChange={this.onChangeTime}\n disabledTime={this.disabledTime1}\n />\n <br />\n <DatePicker\n className="zent-datepicker-demo"\n showTime\n format="YYYY-MM-DD HH:mm:ss"\n value={dateValue}\n disabledDate={{ min: new Date() }}\n onChange={this.onChangeDate}\n disabledTime={this.disabledTime2}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n showTime={{ format: \'HH:mm\', defaultTime: [\n date => (isSameDay(date, new Date()) ? \'12:30\' : \'00:00\'),\n \'23:59\',\n ], }}\n format="YYYY-MM-DD HH:mm"\n value={rangeValue}\n onChange={this.onChangeRange}\n disabledTime={this.disabledTime3}\n />\n <br />\n <CombinedTimeRangePicker\n className="zent-datepicker-demo"\n value={combinedTimeValue}\n onChange={this.onChangeCombinedTime}\n disabledTime={this.disabledTime3}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n onChange={this.onChangeCombinedDate}\n showTime={{\n defaultTime: [\n date => (isSameDay(date, new Date()) ? \'12:30:00\' : \'00:00:00\'),\n \'23:59:59\',\n ],\n }}\n format="YYYY-MM-DD HH:mm:ss"\n {...this.disabledProps}\n />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(M)),e.createElement(_,{title:"通过设置 valueType 来指定返回值的类型,默认为 string,支持 string | date | number",id:"Demovaluetype",src:'import { DatePicker, WeekPicker } from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n console.log(\'valueType is `string`\', val);\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeDate1 = val => {\n console.log(\'valueType is `number`\', val);\n this.setState({\n dateValue1: val,\n });\n };\n onChangeDate2 = val => {\n console.log(\'valueType is `date`\', val);\n this.setState({\n dateValue2: val,\n });\n };\n\n handleSubmit(event) {\n console.log(\'A name was submitted: \', event, dateValue);\n event.preventDefault();\n }\n\n render() {\n const { dateValue, dateValue1, dateValue2 } = this.state;\n return (\n <div>\n <div className="zent-datepicker-demo">string:</div>\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n />\n <br />\n <div className="zent-datepicker-demo">number:</div>\n <DatePicker\n value={dateValue1}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate1}\n valueType="number"\n />\n <br />\n <div className="zent-datepicker-demo">date:</div>\n <DatePicker\n value={dateValue2}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate2}\n valueType="date"\n />\n <br />\n </div>\n );\n }\n}\nReactDOM.render(<Demo />, mountNode);'},e.createElement(R)),e.createElement(_,{title:"传入 disabled 使输入框处于禁用状态,优先级高于 Disabled 组件",id:"Demodisabled",src:'import {\n DatePicker,\n CombinedDateRangePicker,\n DateRangePicker,\n Disabled,\n} from \'zent\';\n\nReactDOM.render(\n <div>\n <DatePicker className="zent-datepicker-demo" value="2020-01-01" disabled />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n disabled={[true, false]}\n />\n <br />\n <TimePicker className="zent-datepicker-demo" value="06:06:06" disabled />\n <br />\n <CombinedDateRangePicker className="zent-datepicker-demo" disabled />\n <br />\n <Disabled>\n <DateRangePicker className="zent-datepicker-demo" disabled={false} />\n </Disabled>\n </div>,\n mountNode\n);'},e.createElement(Y)),e.createElement(_,{title:"通过 defaultDate | defaultTime 来控制面板弹出时默认显示的日期。",id:"Demodefaultvalue",src:'import {\n DatePicker,\n MonthPicker,\n DateRangePicker,\n CombinedDateRangePicker,\n TimePicker,\n} from \'zent\';\n\nclass Demo extends Component {\n state = {};\n\n onChangeDate = val => {\n this.setState({\n dateValue: val,\n });\n };\n\n onChangeMonth = val => {\n this.setState({\n monthValue: val,\n });\n };\n\n onChangeRange = val => {\n this.setState({\n rangeValue: val,\n });\n };\n\n onChangeCombinedDate = val => {\n this.setState({\n combinedValue: val,\n });\n };\n\n onChangeTime = val => {\n this.setState({\n timeValue: val,\n });\n };\n render() {\n const {\n dateValue,\n monthValue,\n rangeValue,\n combinedValue,\n timeValue,\n } = this.state;\n return (\n <div>\n <DatePicker\n className="zent-datepicker-demo"\n value={dateValue}\n defaultDate="2008-08-08"\n onChange={this.onChangeDate}\n />\n <br />\n <MonthPicker\n className="zent-datepicker-demo"\n value={monthValue}\n defaultDate="2010-07"\n onChange={this.onChangeMonth}\n />\n <br />\n <DateRangePicker\n className="zent-datepicker-demo"\n value={rangeValue}\n defaultDate={[\'2016-01-01\', \'2017-01-01\']}\n onChange={this.onChangeRange}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n value={combinedValue}\n defaultDate={[\'2018-01-01\', \'2018-02-01\']}\n onChange={this.onChangeCombinedDate}\n />\n <br />\n <TimePicker\n className="zent-datepicker-demo"\n value={timeValue}\n defaultTime="12:12:13"\n onChange={this.onChangeTime}\n />\n </div>\n );\n }\n}\n\nReactDOM.render(<Demo />, mountNode);'},e.createElement(q)),e.createElement(_,{title:"onOpen、onClose回调,openPanel面板收展受控",id:"Demovisiblecontrol",src:'import { DatePicker, CombinedDateRangePicker, Notify } from \'zent\';\n\nclass DatePickerBasic extends Component {\n state = {\n dateValue: \'2020-05-11\',\n dateValue2: \'2020-05-11\',\n openPanel: true,\n };\n\n onChangeDate = val => {\n console.log(\'demo onChangeDate1\', val);\n this.setState({\n dateValue: val,\n openPanel: false,\n });\n };\n onChangeDate2 = val => {\n console.log(\'demo onChangeDate2\', val);\n };\n\n render() {\n const {\n dateValue,\n dateValue2,\n\n openPanel,\n } = this.state;\n return (\n <div className="zent-datepicker-example">\n <DatePicker\n value={dateValue}\n className="zent-datepicker-demo"\n onChange={this.onChangeDate}\n openPanel={openPanel}\n onOpen={() => {\n Notify.info(\'open\');\n }}\n onClose={() => {\n Notify.info(\'close\');\n }}\n />\n <br />\n <DatePicker\n className="zent-datepicker-demo"\n value={dateValue2}\n onChange={this.onChangeDate2}\n openPanel={false}\n />\n <br />\n <CombinedDateRangePicker\n className="zent-datepicker-demo"\n onOpen={() => {\n Notify.info(\'open\');\n }}\n onClose={() => {\n Notify.info(\'close\');\n }}\n />\n </div>\n );\n }\n}\nReactDOM.render(<DatePickerBasic />, mountNode);'},e.createElement(H)),e.createElement(_,{title:'使用其中的日历基础组件 "日历组合选择"CombinedPanelRangePicker、"单个日历组件" SingleCalendarDatePanelPicker',id:"Democalendar",src:'import { CombinedPanelRangePicker, SingleCalendarDatePanelPicker } from \'zent\';\nimport { useState } from \'react\';\nimport { addMonths, addDays } from \'date-fns\';\n\nconst now = new Date();\nconst Demo = () => {\n // merged from props value\n const [selectedRange, setSelectedRange] = useState([now, addMonths(now, 1)]);\n const [selectedDate, setSelectedDate] = useState(null);\n\n const onSelectedRange = (value, finished) => {\n console.log(\'this is onSelectedRange\', value, finished);\n setSelectedRange(value);\n };\n\n const onSelectedDate = (value, finished) => {\n console.log(\'this is onSelectedDate\', value, finished);\n setSelectedDate(value);\n };\n\n return (\n <div>\n <div className="zent-datepicker-calendar-demo-wrapper">\n <div>\n <SingleCalendarDatePanelPicker\n selected={selectedDate}\n defaultPanelDate={now}\n onSelected={onSelectedDate}\n disabledPanelDate={() => false}\n />\n </div>\n </div>\n <div className="zent-datepicker-calendar-demo-wrapper">\n <CombinedPanelRangePicker\n value={selectedRange}\n onChange={onSelectedRange}\n showTime\n hideConfirm={true}\n valueType="string"\n format="YYYY-MM-DD HH:mm:ss"\n disabledDate={() => false}\n leftClassName="zent-datepicker-calendar-demo-left"\n rightClassName="zent-datepicker-calendar-demo-right"\n footerClassName="zent-datepicker-calendar-demo-footer"\n />\n </div>\n </div>\n );\n};\n\nReactDOM.render(<Demo />, mountNode);'},e.createElement(Z)),e.createElement(_,{title:"农历日期选择",id:"Demolunar",src:'import { DatePicker } from \'zent\';\nimport { useState } from \'react\';\n\nimport { Lunar } from \'pure-lunar-typescript\';\n\nclass LunarDatePickerDemo extends Component {\n state = {};\n\n lunarValueFormatter = date => {\n const d = Lunar.fromDate(date);\n return d.toString();\n };\n\n handleDateChange = val => {\n this.setState({\n date: val,\n });\n };\n\n render() {\n const { date } = this.state;\n return (\n <DatePicker\n showLunarDate\n lunarValueFormatter={this.lunarValueFormatter}\n value={date}\n onChange={this.handleDateChange}\n />\n );\n }\n}\n\nReactDOM.render(<LunarDatePickerDemo />, mountNode);'},e.createElement(O)),e.createElement(E,{html:'

API

\n

共用的日期组件 API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期--
onChange选择日期回调函数--
valueTypeonChange 返回日期的类型,可选值:\n\'string\'\n \n|\n \n\'number\'\n \n|\n \n\'date\'string\'string\'
format设置字符串日期的格式string不同组件默认值不同,下详
disabledDate不可选择的日期(date: Date) => {}\n \n|\n \nIDisableDateMap-
defaultDate默认面板日期string\n \n|\n \nDate\n \n|\n \nnumbernew Date()
disabled禁用状态booleanfalse
canClear日期是否可清除booleantrue
openPanel控制面板是否打开booleanfalse
onOpen面板打开的回调function-
onClose面板关闭的回调function-
width组件 input 的 宽度string\n \n|\n \nnumber-
className自定义样式类string\'\'
\n
interface IDisableDateMap {\n  min?: string | Date | number; // 最小可选日期\n  max?: string | Date | number; // 最大可选日期\n}
\n

注意:

\n
    \n
  • valueonChange 必须同时提供
  • \n
\n

DatePicker 其他 API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期string\n \n|\n \nDate\n \n|\n \nnumber-
onChange选择日期回调函数(date: string | Date | number) => {}-
placeholder输入框提示文字string\'请选择日期\'
format设置字符串日期的格式string\'YYYY-MM-DD\'
hideFooter隐藏面板底部booleanfalse
showTime是否支持时间选择功能boolean\n \n|\n \nobjectfalse
disabledTime时间禁用判断(date?: Date) => IDisabledTimeOption-
showLunarDate是否显示农历日期booleanfalse
lunarValueFormatter格式化农历日期回填值(date: Date) => string-
\n

注意:

\n
    \n
  • showTime 为对象时,表示支持时间选择,具体属性可参考 TimePicker,包括 formathourStepminuteStepsecondStep,其中 defaultTime 类型定义为 string | (date: Date) => string
  • \n
  • disabledTimeshowTime 开启时生效,可参考 TimePickerIDisabledTimeOption
  • \n
  • showTimeformat 值应为\'YYYY-MM-DD HH:mm:ss\',使用时注意 format 参数
  • \n
  • showTimeformat 值应为\'YYYY-MM-DD HH:mm:ss\',使用时注意 format 参数
  • \n
  • lunarValueFormattershowLunarDate 开启时生效
  • \n
\n

WeekPicker 其他 API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期Array<string | Date | number>-
onChange选择日期回调函数(date: Array<string | Date | number>) => {}-
placeholder输入框提示文字string\'请选择自然周\'
weekStartsOn一周的开始WeekStartsOnMapWeekStartsOnMap.Monday
format设置字符串日期的格式string\'YYYY-MM-DD\'
hideFooter隐藏面板底部booleanfalse
\n

注意:

\n
    \n
  • WeekPickervalueonChange 回调日期均为数组
  • \n
  • WeekStartsOnMap 枚举: \'Sunday\'\'Monday\'\'Tuesday\'\'Wednesday\'\'Thursday\'\'Friday\'\'Saturday\'
  • \n
\n

YearPicker / MonthPicker 其他 API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期string\n \n|\n \nDate\n \n|\n \nnumber-
onChange选择日期回调函数(date: string | Date | number) => {}-
placeholder输入框提示文字string\'请选择年份\'\n \n|\n \n\'请选择月份\'
format设置字符串日期的格式string\'YYYY\'\n \n|\n \n\'YYYY-MM\'
\n

注意:

\n
    \n
  • YearPicker / MonthPickervalueonChange 回调日期均为单个日期
  • \n
\n

QuarterPicker 其他 API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期Array<string | Date | number>-
onChange选择日期回调函数(date: Array<string | Date | number>) => {}-
placeholder输入框提示文字string\'请选择季度\'
format设置字符串日期的格式string\'YYYY-MM\'
\n

注意:

\n
    \n
  • QuarterPickervalueonChange 回调日期均为数组
  • \n
\n

TimePicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value时间string-
onChange选择时间回调函数(date: string ) => {}-
defaultTime默认时间string-
placeholder输入框提示文字string\'请选择时间\'
format返回的时间的格式 (决定面板展示的列)string\'HH:mm:ss\'
disabledTime时间禁用判断() => IDisabledTimeOption-
hourStep小时选项间隔number1
minuteStep分钟选项间隔number1
secondStep秒选项间隔number1
\n
interface IDisabledTimeOption {\n  disabledHours?: () => number[];\n  disabledMinutes: (hour: number) => number[];\n  disabledSeconds?: (hour: number, minute: number) => number[];\n}
\n

SingleCalendarDatePanelPicker API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
selected日期Date\\|null-
onSelected选择时间回调函数(date: Date ) => {}-
defaultPanelDate默认面板日期Date-
disabledPanelDate日期禁用判断(date:Date) => boolean-
onChangePanel切换面板日期的回调(type:IPickerType) => {}-
onPanelDateChange切换面板日期后,具体面板日期的回调(date:Date) => {}-
hideFooter隐藏面板底部booleanfalse
showTime是否支持时间选择功能boolean\n \n|\n \nobjectfalse
disabledTime时间禁用判断(date?: Date) => IDisabledTimeOption-
popText选中日期后的 pop 文案string-
footerText底部定位到现在的快捷按钮文案string-
combinedLeft是否为组合日历面板的左侧日历,是则隐藏本组件顶部右侧的下个月/下一年booleanfalse
combinedRight是否为组合日历面板的右侧日历,是则隐藏本组件顶部左侧的下个月/下一年booleanfalse
hoverRangeDate指定 hover 的日期区域[Date,Date]\\|null-
rangeDate已选中的日期区域[Date,Date]\\|null-
\n
interface IDisabledTimeOption {\n  disabledHours?: () => number[];\n  disabledMinutes: (hour: number) => number[];\n  disabledSeconds?: (hour: number, minute: number) => number[];\n}
\n

DateRangePicker / CombinedDateRangePicker API (基于 DatePicker)

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期Array<string | Date | number>-
onChange选择日期回调函数(date: Array<string | Date | number>) => {}-
placeholder输入框提示文字[string, string][\'开始日期\',\'结束日期\']
defaultDate默认面板日期[string, string]-
dateSpan日期跨度number-
\n

注意:

\n
    \n
  • showTime 为对象时,defaultTime 类型为 [string | (date: Date) => string, string | (date: Date) => string],表示默认开始时间和默认结束时间(不填为[\'00:00:00\',\'23:59:59\'])
  • \n
  • disabledDatedisabledTime 回调方法的第二个参数均为type?: \'start\' | \'end\'
  • \n
  • dateSpanDateRangePickerCombinedDateRangePicker 组件可用
  • \n
  • DateRangePickerdisabledcanClear 属性类型为 boolean | boolean[]
  • \n
\n

CombinedPanelRangePicker (基于 DateRangePicker 和 TimePicker )

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value选择的日期Array<string \\| Date \\| number>\\|null-
onChange选择日期回调函数(date: Array<string \\| Date \\| number>) => {}-
defaultDate默认面板日期[string, string]-
dateSpan日期跨度number-
valueTypeonChange 返回日期的类型,可选值:\n\'string\'\n \n|\n \n\'number\'\n \n|\n \n\'date\'string\'string\'
format设置字符串日期的格式string\'YYYY-MM-DD\'
disabledDate不可选择的日期(date: Date) => {}\n \n|\n \nIDisableDateMap-
showTime是否支持时间选择功能boolean\n \n|\n \nobjectfalse
hideConfirm如果开启了 showTime,是否要隐藏 footer 的“确定”按钮booleanfalse
className整个组件的 classstring-
leftClassName左侧日历的 classstring-
rightClassName右侧日历的 classstring-
footerClassName如果开启了 showTime,footer 组件的 classstring-
\n

注意:

\n
    \n
  • showTime 为对象时,defaultTime 类型为 [string | (date: Date) => string, string | (date: Date) => string],表示默认开始时间和默认结束时间(不填为[\'00:00:00\',\'23:59:59\'])
  • \n
  • disabledDatedisabledTime 回调方法的第二个参数均为type?: \'start\' | \'end\'
  • \n
\n

TimeRangePicker / CombinedTimeRangePicker API (基于 TimePicker)

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值是否必须
value时间[string, string]-
onChange选择时间回调函数(date: [string, string] ) => {}-
defaultTime默认时间[string, string]-
placeholder输入框提示文字[string, string][\'开始时间\', \'结束时间\']
\n

注意:

\n
    \n
  • disabledTime 回调方法的第二个参数均为type?: \'start\' | \'end\'
  • \n
\n

工具函数

\n
    \n
  • 提供时间禁用的处理方法:disabledTimeWithRangegetDisabledDateAndTimeWithRangeProps 等,需要从 zent/es/date-picker/disabledHelpers 引入。
  • \n
\n

格式化字符表

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
字符输出
YearYY70 71 ... 29 30
YYYY1970 1971 ... 2029 2030
MonthM1 2 ... 11 1
MM01 02 ... 11 12
MMM1 月, 2 月 ... 11 月, 12 月
MMMM一月, 二月 ... 十一月, 十二月
DateD1 2 ... 30 31
DD01 02 ... 30 31
d0 1 ... 5 6
ddd周日, 周一 ... 周五, 周六
dddd星期日, 星期一 ... 星期五, 星期六
'}))}}}}]); \ No newline at end of file diff --git a/77-f9da879ff42950dd03a0.js b/77-5a0d24387c690a71bc67.js similarity index 93% rename from 77-f9da879ff42950dd03a0.js rename to 77-5a0d24387c690a71bc67.js index 495af3386..5cc352bf6 100644 --- a/77-f9da879ff42950dd03a0.js +++ b/77-5a0d24387c690a71bc67.js @@ -1 +1 @@ -(self.webpackChunkzent_docs=self.webpackChunkzent_docs||[]).push([[77],{77078:(n,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>y});var t=s(73450),p=s(27378),e=s(57318),o=s(39101),c=s(24246);function u(n,a){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),s.push.apply(s,t)}return s}function l(n){for(var a=1;a{this.setState({value:n,chosenDays:a})})),(0,t.Z)(this,"handleChange1",((n,a)=>{this.setState({value1:n,chosenDays1:a})}))}render(){var n=this.state,a=n.value,s=n.chosenDays,t=n.value1,p=n.chosenDays1;return(0,c.jsxs)("div",{children:[(0,c.jsx)(o.$,{onChange:this.handleChange,value:a,format:"YYYY-MM-DD HH:mm:ss",valueType:"number",chosenDays:s}),(0,c.jsx)("br",{}),(0,c.jsx)(o.$,{onChange:this.handleChange1,value:t,format:"YYYY-MM-DD HH:mm:ss",chosenDays:p,preset:[{text:"今天",value:0},{text:"昨天",value:1},{text:"近7天",value:7},{text:"近30天",value:30}]})]})}}return(0,c.jsx)(n,{})},i=function(){class n extends p.Component{constructor(...n){super(...n),(0,t.Z)(this,"state",{}),(0,t.Z)(this,"handleChange",((n,a)=>{this.setState({value:n,chosenDays:a})})),(0,t.Z)(this,"handleChange1",((n,a)=>{this.setState({value1:n,chosenDays1:a})})),(0,t.Z)(this,"handleChange2",((n,a)=>{this.setState({value2:n,chosenDays2:a})}))}render(){var n=this.state,a=n.value,s=n.chosenDays,t=n.value1,p=n.chosenDays1,e=n.value2,u=n.chosenDays2;return(0,c.jsxs)("div",{children:[(0,c.jsx)(o.$,{onChange:this.handleChange,value:a,format:"YYYY-MM-DD HH:mm:ss",valueType:"number",chosenDays:s}),(0,c.jsx)("br",{}),(0,c.jsx)(o.$,{onChange:this.handleChange1,value:t,format:"YYYY-MM-DD HH:mm:ss",chosenDays:p,preset:[{text:"上一周期",value:["2019-01-01","2019-01-02"]},{text:"一月",value:["2019-01-01","2019-01-31"]}]}),(0,c.jsx)("br",{}),(0,c.jsx)(o.$,{onChange:this.handleChange2,value:e,format:"YYYY-MM-DD HH:mm:ss",valueType:"number",chosenDays:u,defaultSelectedPresetIndex:1})]})}}return(0,c.jsx)(n,{})};function k(n){return(0,c.jsx)(n.tag,l(l({},n.attributes),{},{dangerouslySetInnerHTML:{__html:n.html}}))}function d(n){return(0,c.jsx)(k,{tag:"section",html:n.html,attributes:{className:"zandoc-react-markdown"}})}function h(n){return(0,c.jsx)(k,{tag:"style",html:n.style})}function m(n,a){for(;n;)return n.offsetTop&&"static"!==getComputedStyle(n).position&&(a+=n.offsetTop),m(n.parentNode,a);return a}class g extends p.Component{constructor(...n){super(...n),(0,t.Z)(this,"state",{showCode:!1}),(0,t.Z)(this,"toggle",(()=>{this.setState({showCode:!this.state.showCode})}))}render(){var n=this.state.showCode,a=this.props,s=a.title,t=a.src,p=a.children;return(0,c.jsxs)("div",{className:"zandoc-react-demo",children:[(0,c.jsx)("div",{className:"zandoc-react-demo__preview",children:p}),(0,c.jsxs)("div",{className:"zandoc-react-demo__bottom",onClick:this.toggle,children:[(0,c.jsx)("div",{className:"zandoc-react-demo__title",children:(0,c.jsx)("p",{children:s||""})}),(0,c.jsx)("i",{className:"zenticon zenticon-caret-up zandoc-react-demo__toggle ".concat(n?"zandoc-react-demo__toggle-on":"zandoc-react-demo__toggle-off")})]}),n&&(0,c.jsx)("pre",{className:"zandoc-react-demo__code",children:(0,c.jsx)(k,{tag:"code",html:t,attributes:{className:"language-jsx"}})})]})}}class y extends p.Component{componentDidMount(){var n=location.hash;if(n){var a=document.querySelector('a[href="'.concat(n,'"]'));a&&(0,e.l)(document.documentElement,0,m(a,-9))}}render(){return p.createElement("div",{className:"zandoc-react-container"},p.createElement(h,{style:""}),p.createElement(d,{html:'

DateRangeQuickPicker

\n

简单的时间范围选择组件, 提供前 7 天和前 30 天的快速选项.

\n

使用场景

\n

快速选择日期区间

\n

代码演示

'}),p.createElement(g,{title:"基础用法",id:"Demobasic",src:'import { DateRangeQuickPicker } from \'zent\';\n\nclass Simple extends Component {\n state = {};\n\n handleChange = (value, chosenDays) => {\n this.setState({\n value,\n chosenDays,\n });\n };\n\n handleChange1 = (value, chosenDays) => {\n this.setState({\n value1: value,\n chosenDays1: chosenDays,\n });\n };\n\n render() {\n const { value, chosenDays, value1, chosenDays1 } = this.state;\n\n return (\n <div>\n <DateRangeQuickPicker\n onChange={this.handleChange}\n value={value}\n format="YYYY-MM-DD HH:mm:ss"\n valueType="number"\n chosenDays={chosenDays}\n />\n <br />\n <DateRangeQuickPicker\n onChange={this.handleChange1}\n value={value1}\n format="YYYY-MM-DD HH:mm:ss"\n chosenDays={chosenDays1}\n preset={[\n {\n text: \'今天\',\n value: 0,\n },\n {\n text: \'昨天\',\n value: 1,\n },\n {\n text: \'近7天\',\n value: 7,\n },\n {\n text: \'近30天\',\n value: 30,\n },\n ]}\n />\n </div>\n );\n }\n}\n\nReactDOM.render(<Simple />, mountNode);'},p.createElement(r)),p.createElement(g,{title:"快速选择时间范围",id:"Demopreset",src:'import { DateRangeQuickPicker } from \'zent\';\n\nclass Simple extends Component {\n state = {};\n\n handleChange = (value, chosenDays) => {\n this.setState({\n value,\n chosenDays,\n });\n };\n\n handleChange1 = (value, chosenDays) => {\n this.setState({\n value1: value,\n chosenDays1: chosenDays,\n });\n };\n\n handleChange2 = (value, chosenDays) => {\n this.setState({\n value2: value,\n chosenDays2: chosenDays,\n });\n };\n\n render() {\n const {\n value,\n chosenDays,\n value1,\n chosenDays1,\n value2,\n chosenDays2,\n } = this.state;\n\n return (\n <div>\n <DateRangeQuickPicker\n onChange={this.handleChange}\n value={value}\n format="YYYY-MM-DD HH:mm:ss"\n valueType="number"\n chosenDays={chosenDays}\n />\n <br />\n <DateRangeQuickPicker\n onChange={this.handleChange1}\n value={value1}\n format="YYYY-MM-DD HH:mm:ss"\n chosenDays={chosenDays1}\n preset={[\n {\n text: \'上一周期\',\n value: [\'2019-01-01\', \'2019-01-02\'],\n },\n {\n text: \'一月\',\n value: [\'2019-01-01\', \'2019-01-31\'],\n },\n ]}\n />\n <br />\n <DateRangeQuickPicker\n onChange={this.handleChange2}\n value={value2}\n format="YYYY-MM-DD HH:mm:ss"\n valueType="number"\n chosenDays={chosenDays2}\n defaultSelectedPresetIndex={1}\n />\n </div>\n );\n }\n}\n\nReactDOM.render(<Simple />, mountNode);'},p.createElement(i)),p.createElement(d,{html:"

API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值备选值
onChange时间变更回调函数(value, chosenDay) => void
value起始、结束时间array[]
preset自定义快捷选项array[{text: '最近7天', value: 7}, {text: '最近30天', value: 30}]
defaultSelectedPresetIndex默认选中的 preset 元素数组下标number
valueType设置 onChange 的返回值string'''date'\n, \n'number'\n, \n'string'
format返回日期字符串格式string'YYYY-MM-DD'\n 或 \n'YYYY-MM-DD HH:mm:ss'
chosenDays选择天数number\n \n|\n \narray
min可选日期的最小值string\n \n|\n \nDate''
max可选日期的最大值string\n \n|\n \nDate''
className自定义类名string''
"}))}}},39101:(n,a,s)=>{"use strict";s.d(a,{$:()=>h});var t=s(59312),p=s(24246),e=s(27378),o=s(60042),c=s.n(o),u=s(51960),l=s(81224),r=s(17949),i=s(39311),k=s(52074),d=864e5,h=function(n){function a(a){var s,t=n.call(this,a)||this;t.handleTimeChange=function(n){(0,t.props.onChange)(n,NaN)},t.handleChosenDays=function(n){var a=t.props,s=a.format;(0,a.onChange)(function(n,a,s){var t,p,e,o=((e=new Date).setHours(0),e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0),e.getTime());Array.isArray(a)?(t=a[0],p=a[1]):(t=a>1?o-(a-1)*d:o-a*d,p=1===a?o-1e3:Date.now());var c=(0,l.f)(t),r=(0,l.f)(p);return"number"===s?[c.getTime(),r.getTime()]:"date"===s?[c,r]:[(0,u.Z)(c,n),(0,u.Z)(r,n)]}(s,n,a.valueType),n)};var p=a.value,e=a.defaultSelectedPresetIndex,o=a.preset;if("number"==typeof e&&(!p||Array.isArray(p)&&!p.length)){var c=null===(s=o[e])||void 0===s?void 0:s.value;void 0!==c&&t.handleChosenDays(c)}return t}return(0,t.ZT)(a,n),a.prototype.render=function(){var n=this,a=this.props,s=a.className,e=a.format,o=a.value,u=a.chooseDays,l=a.chosenDays,d=a.preset,h=a.min,m=a.max,g=(0,t._T)(a,["className","format","value","chooseDays","chosenDays","preset","min","max"]),y="YYYY-MM-DD"===e,v=null!=l?l:u;return(0,p.jsxs)("div",(0,t.pi)({className:c()("zent-date-range-quick-picker",s),"data-zv":"10.0.10"},{children:[(0,p.jsx)(i.D,(0,t.pi)({value:o,onChange:this.handleTimeChange,format:e,showTime:!y,disabledDate:{min:h,max:m}},g),void 0),(0,p.jsx)("div",(0,t.pi)({className:"zent-date-range-quick-picker__filter","data-zv":"10.0.10"},{children:d.map((function(a,s){return(0,p.jsx)(k.Z,(0,t.pi)({componentName:"RangePicker"},{children:function(e){return(0,p.jsx)("span",(0,t.pi)({className:c()("zent-date-range-quick-picker__btn",{active:(0,r.Z)(v,a.value)}),onClick:n.handleChosenDays.bind(n,a.value),"data-zv":"10.0.10"},{children:a.text||("number"==typeof a.value?e[a.value]:"N/A")}),s)}}),s)}))}),void 0)]}),void 0)},a.defaultProps={className:"",value:[],valueType:"string",format:"YYYY-MM-DD",preset:[{value:7},{value:30}],min:"",max:""},a}(e.Component)},85883:(n,a,s)=>{"use strict";var t=s(92497);a.Z=t.Z}}]); \ No newline at end of file +(self.webpackChunkzent_docs=self.webpackChunkzent_docs||[]).push([[77],{77078:(n,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>y});var t=s(73450),p=s(27378),e=s(57318),o=s(39101),c=s(24246);function u(n,a){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),s.push.apply(s,t)}return s}function l(n){for(var a=1;a{this.setState({value:n,chosenDays:a})})),(0,t.Z)(this,"handleChange1",((n,a)=>{this.setState({value1:n,chosenDays1:a})}))}render(){var n=this.state,a=n.value,s=n.chosenDays,t=n.value1,p=n.chosenDays1;return(0,c.jsxs)("div",{children:[(0,c.jsx)(o.$,{onChange:this.handleChange,value:a,format:"YYYY-MM-DD HH:mm:ss",valueType:"number",chosenDays:s}),(0,c.jsx)("br",{}),(0,c.jsx)(o.$,{onChange:this.handleChange1,value:t,format:"YYYY-MM-DD HH:mm:ss",chosenDays:p,preset:[{text:"今天",value:0},{text:"昨天",value:1},{text:"近7天",value:7},{text:"近30天",value:30}]})]})}}return(0,c.jsx)(n,{})},i=function(){class n extends p.Component{constructor(...n){super(...n),(0,t.Z)(this,"state",{}),(0,t.Z)(this,"handleChange",((n,a)=>{this.setState({value:n,chosenDays:a})})),(0,t.Z)(this,"handleChange1",((n,a)=>{this.setState({value1:n,chosenDays1:a})})),(0,t.Z)(this,"handleChange2",((n,a)=>{this.setState({value2:n,chosenDays2:a})}))}render(){var n=this.state,a=n.value,s=n.chosenDays,t=n.value1,p=n.chosenDays1,e=n.value2,u=n.chosenDays2;return(0,c.jsxs)("div",{children:[(0,c.jsx)(o.$,{onChange:this.handleChange,value:a,format:"YYYY-MM-DD HH:mm:ss",valueType:"number",chosenDays:s}),(0,c.jsx)("br",{}),(0,c.jsx)(o.$,{onChange:this.handleChange1,value:t,format:"YYYY-MM-DD HH:mm:ss",chosenDays:p,preset:[{text:"上一周期",value:["2019-01-01","2019-01-02"]},{text:"一月",value:["2019-01-01","2019-01-31"]}]}),(0,c.jsx)("br",{}),(0,c.jsx)(o.$,{onChange:this.handleChange2,value:e,format:"YYYY-MM-DD HH:mm:ss",valueType:"number",chosenDays:u,defaultSelectedPresetIndex:1})]})}}return(0,c.jsx)(n,{})};function k(n){return(0,c.jsx)(n.tag,l(l({},n.attributes),{},{dangerouslySetInnerHTML:{__html:n.html}}))}function d(n){return(0,c.jsx)(k,{tag:"section",html:n.html,attributes:{className:"zandoc-react-markdown"}})}function h(n){return(0,c.jsx)(k,{tag:"style",html:n.style})}function m(n,a){for(;n;)return n.offsetTop&&"static"!==getComputedStyle(n).position&&(a+=n.offsetTop),m(n.parentNode,a);return a}class g extends p.Component{constructor(...n){super(...n),(0,t.Z)(this,"state",{showCode:!1}),(0,t.Z)(this,"toggle",(()=>{this.setState({showCode:!this.state.showCode})}))}render(){var n=this.state.showCode,a=this.props,s=a.title,t=a.src,p=a.children;return(0,c.jsxs)("div",{className:"zandoc-react-demo",children:[(0,c.jsx)("div",{className:"zandoc-react-demo__preview",children:p}),(0,c.jsxs)("div",{className:"zandoc-react-demo__bottom",onClick:this.toggle,children:[(0,c.jsx)("div",{className:"zandoc-react-demo__title",children:(0,c.jsx)("p",{children:s||""})}),(0,c.jsx)("i",{className:"zenticon zenticon-caret-up zandoc-react-demo__toggle ".concat(n?"zandoc-react-demo__toggle-on":"zandoc-react-demo__toggle-off")})]}),n&&(0,c.jsx)("pre",{className:"zandoc-react-demo__code",children:(0,c.jsx)(k,{tag:"code",html:t,attributes:{className:"language-jsx"}})})]})}}class y extends p.Component{componentDidMount(){var n=location.hash;if(n){var a=document.querySelector('a[href="'.concat(n,'"]'));a&&(0,e.l)(document.documentElement,0,m(a,-9))}}render(){return p.createElement("div",{className:"zandoc-react-container"},p.createElement(h,{style:""}),p.createElement(d,{html:'

DateRangeQuickPicker

\n

简单的时间范围选择组件, 提供前 7 天和前 30 天的快速选项.

\n

使用场景

\n

快速选择日期区间

\n

代码演示

'}),p.createElement(g,{title:"基础用法",id:"Demobasic",src:'import { DateRangeQuickPicker } from \'zent\';\n\nclass Simple extends Component {\n state = {};\n\n handleChange = (value, chosenDays) => {\n this.setState({\n value,\n chosenDays,\n });\n };\n\n handleChange1 = (value, chosenDays) => {\n this.setState({\n value1: value,\n chosenDays1: chosenDays,\n });\n };\n\n render() {\n const { value, chosenDays, value1, chosenDays1 } = this.state;\n\n return (\n <div>\n <DateRangeQuickPicker\n onChange={this.handleChange}\n value={value}\n format="YYYY-MM-DD HH:mm:ss"\n valueType="number"\n chosenDays={chosenDays}\n />\n <br />\n <DateRangeQuickPicker\n onChange={this.handleChange1}\n value={value1}\n format="YYYY-MM-DD HH:mm:ss"\n chosenDays={chosenDays1}\n preset={[\n {\n text: \'今天\',\n value: 0,\n },\n {\n text: \'昨天\',\n value: 1,\n },\n {\n text: \'近7天\',\n value: 7,\n },\n {\n text: \'近30天\',\n value: 30,\n },\n ]}\n />\n </div>\n );\n }\n}\n\nReactDOM.render(<Simple />, mountNode);'},p.createElement(r)),p.createElement(g,{title:"快速选择时间范围",id:"Demopreset",src:'import { DateRangeQuickPicker } from \'zent\';\n\nclass Simple extends Component {\n state = {};\n\n handleChange = (value, chosenDays) => {\n this.setState({\n value,\n chosenDays,\n });\n };\n\n handleChange1 = (value, chosenDays) => {\n this.setState({\n value1: value,\n chosenDays1: chosenDays,\n });\n };\n\n handleChange2 = (value, chosenDays) => {\n this.setState({\n value2: value,\n chosenDays2: chosenDays,\n });\n };\n\n render() {\n const {\n value,\n chosenDays,\n value1,\n chosenDays1,\n value2,\n chosenDays2,\n } = this.state;\n\n return (\n <div>\n <DateRangeQuickPicker\n onChange={this.handleChange}\n value={value}\n format="YYYY-MM-DD HH:mm:ss"\n valueType="number"\n chosenDays={chosenDays}\n />\n <br />\n <DateRangeQuickPicker\n onChange={this.handleChange1}\n value={value1}\n format="YYYY-MM-DD HH:mm:ss"\n chosenDays={chosenDays1}\n preset={[\n {\n text: \'上一周期\',\n value: [\'2019-01-01\', \'2019-01-02\'],\n },\n {\n text: \'一月\',\n value: [\'2019-01-01\', \'2019-01-31\'],\n },\n ]}\n />\n <br />\n <DateRangeQuickPicker\n onChange={this.handleChange2}\n value={value2}\n format="YYYY-MM-DD HH:mm:ss"\n valueType="number"\n chosenDays={chosenDays2}\n defaultSelectedPresetIndex={1}\n />\n </div>\n );\n }\n}\n\nReactDOM.render(<Simple />, mountNode);'},p.createElement(i)),p.createElement(d,{html:"

API

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
参数说明类型默认值备选值
onChange时间变更回调函数(value, chosenDay) => void
value起始、结束时间array[]
preset自定义快捷选项array[{text: '最近7天', value: 7}, {text: '最近30天', value: 30}]
defaultSelectedPresetIndex默认选中的 preset 元素数组下标number
valueType设置 onChange 的返回值string'''date'\n, \n'number'\n, \n'string'
format返回日期字符串格式string'YYYY-MM-DD'\n 或 \n'YYYY-MM-DD HH:mm:ss'
chosenDays选择天数number\n \n|\n \narray
min可选日期的最小值string\n \n|\n \nDate''
max可选日期的最大值string\n \n|\n \nDate''
className自定义类名string''
"}))}}},39101:(n,a,s)=>{"use strict";s.d(a,{$:()=>h});var t=s(59312),p=s(24246),e=s(27378),o=s(60042),c=s.n(o),u=s(51960),l=s(81224),r=s(17949),i=s(1937),k=s(52074),d=864e5,h=function(n){function a(a){var s,t=n.call(this,a)||this;t.handleTimeChange=function(n){(0,t.props.onChange)(n,NaN)},t.handleChosenDays=function(n){var a=t.props,s=a.format;(0,a.onChange)(function(n,a,s){var t,p,e,o=((e=new Date).setHours(0),e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0),e.getTime());Array.isArray(a)?(t=a[0],p=a[1]):(t=a>1?o-(a-1)*d:o-a*d,p=1===a?o-1e3:Date.now());var c=(0,l.f)(t),r=(0,l.f)(p);return"number"===s?[c.getTime(),r.getTime()]:"date"===s?[c,r]:[(0,u.Z)(c,n),(0,u.Z)(r,n)]}(s,n,a.valueType),n)};var p=a.value,e=a.defaultSelectedPresetIndex,o=a.preset;if("number"==typeof e&&(!p||Array.isArray(p)&&!p.length)){var c=null===(s=o[e])||void 0===s?void 0:s.value;void 0!==c&&t.handleChosenDays(c)}return t}return(0,t.ZT)(a,n),a.prototype.render=function(){var n=this,a=this.props,s=a.className,e=a.format,o=a.value,u=a.chooseDays,l=a.chosenDays,d=a.preset,h=a.min,m=a.max,g=(0,t._T)(a,["className","format","value","chooseDays","chosenDays","preset","min","max"]),y="YYYY-MM-DD"===e,v=null!=l?l:u;return(0,p.jsxs)("div",(0,t.pi)({className:c()("zent-date-range-quick-picker",s),"data-zv":"10.0.10"},{children:[(0,p.jsx)(i.D,(0,t.pi)({value:o,onChange:this.handleTimeChange,format:e,showTime:!y,disabledDate:{min:h,max:m}},g),void 0),(0,p.jsx)("div",(0,t.pi)({className:"zent-date-range-quick-picker__filter","data-zv":"10.0.10"},{children:d.map((function(a,s){return(0,p.jsx)(k.Z,(0,t.pi)({componentName:"RangePicker"},{children:function(e){return(0,p.jsx)("span",(0,t.pi)({className:c()("zent-date-range-quick-picker__btn",{active:(0,r.Z)(v,a.value)}),onClick:n.handleChosenDays.bind(n,a.value),"data-zv":"10.0.10"},{children:a.text||("number"==typeof a.value?e[a.value]:"N/A")}),s)}}),s)}))}),void 0)]}),void 0)},a.defaultProps={className:"",value:[],valueType:"string",format:"YYYY-MM-DD",preset:[{value:7},{value:30}],min:"",max:""},a}(e.Component)},85883:(n,a,s)=>{"use strict";var t=s(92497);a.Z=t.Z}}]); \ No newline at end of file diff --git a/9311-efbe3b3cb8fe4b7ca58c.js b/9311-efbe3b3cb8fe4b7ca58c.js deleted file mode 100644 index 30ee948f1..000000000 --- a/9311-efbe3b3cb8fe4b7ca58c.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkzent_docs=self.webpackChunkzent_docs||[]).push([[9311],{75795:(e,n,t)=>{"use strict";t.d(n,{M:()=>b});var r=t(59312),a=t(24246),i=t(27378),o=t(52074),l=t(1348),u=t(42278),s=t(71990),d=t(12691),c=t(90278),v=t(3685),f=t(65410),p=t(11128),m=v.H.date,h=d.Z.Provider,g={format:p.zT},b=function(e){var n=(0,i.useContext)(l.d),t=(0,i.useContext)(d.Z),v=(0,r.pi)((0,r.pi)((0,r.pi)({},p.sn),g),e),b=v.format,Z=v.valueType,D=v.placeholder,x=v.disabled,C=void 0===x?n.value:x,S=(0,i.useCallback)((function(e){return(0,f.RZ)(e,b)}),[b]),y=(0,i.useCallback)((function(e){return e}),[]),T=(0,i.useCallback)((function(e){return(0,c.pB)(e,Z,b)}),[Z,b]);return(0,a.jsx)(o.Z,(0,r.pi)({componentName:"TimePicker"},{children:function(e){return(0,a.jsx)(h,(0,r.pi)({value:(0,r.pi)((0,r.pi)({},t),{i18n:e,generateDate:m,getCallbackValue:T,getSelectedValue:y,getInputText:S})},{children:(0,a.jsx)(u.Z,(0,r.pi)({},v,{disabled:C,placeholder:D||e.date,PanelComponent:s.Z}),void 0)}),void 0)}}),void 0)};n.Z=b},39311:(e,n,t)=>{"use strict";t.d(n,{D:()=>_});var r=t(59312),a=t(24246),i=t(27378),o=t(52074),l=t(75795),u=t(60042),s=t.n(u),d=t(12691),c=t(18270),v=t(98552),f=t(58181),p=t(19570),m=t(55631),h=t(80280),g=h.k.START,b=h.k.END,Z=t(45902),D=t(57569),x=t(77888),C=t(98029);function S(e){return Array.from({length:e+1},(function(e,n){return n}))}var y=t(77828),T=t(41507),j=h.k.START,M=h.k.END,k=function(e){var n=e.placeholder,t=e.value,o=e.disabledDate,l=e.className,u=e.defaultDate,h=(e.valueType,e.onChange),k=e.onClose,P=e.onOpen,N=e.disabledTime,w=e.generateDate,z=e.PickerComponent,Y=e.showTime,H=e.seperator,O=e.name,_=e.dateSpan,F=e.disabled,V=e.canClear,I=(0,r._T)(e,["placeholder","value","disabledDate","className","defaultDate","valueType","onChange","onClose","onOpen","disabledTime","generateDate","PickerComponent","showTime","seperator","name","dateSpan","disabled","canClear"]),R=(0,i.useMemo)((function(){return Array.isArray(F)?F:[F,F]}),[F]),E=(0,i.useMemo)((function(){return Array.isArray(V)?V:[V,V]}),[V]),A=(0,i.useRef)(I);A.current=I;var L=A.current.format,Q=(0,i.useContext)(d.Z).getCallbackRangeValue,U=(0,y.Q)(h),G=(0,c.Z)({value:t,format:L,defaultDate:u}),W=G.selected,q=G.setSelected,B=G.defaultPanelDate,J=W[0],K=W[1],$=(0,Z.P)(Y),X=$[0],ee=$[1],ne=function(e,n,t,r){void 0===r&&(r=0);var a=(0,i.useRef)(n);return a.current=n,[(0,i.useCallback)((function(n){var i,o=(0,v.Z)(n),l=e[1],u=t.isSame,s=t.offsetDate;return!!(null===(i=a.current)||void 0===i?void 0:i.call(a,o,g))||!!l&&(!u(o,l)&&(0,f.Z)(o,l)||!!r&&(0,p.Z)(o,s(l,1-r)))}),[e,a,t,r]),(0,i.useCallback)((function(n){var i,o=(0,m.Z)(n),l=t.isSame,u=t.offsetDate,s=e[0];if(null===(i=a.current)||void 0===i?void 0:i.call(a,o,b))return!0;var d=!!r&&(0,f.Z)(o,u(s,r-1));return!!s&&(!l(o,s)&&(0,p.Z)(o,s)||d)}),[e,a,t,r])]}(W,(0,D.Z)(L,o),w,_),te=ne[0],re=ne[1],ae=(0,i.useCallback)((function(e){return function(n){var t,r=e===j?[n,K]:[J,n];Y||(r=[r[0]?(0,m.Z)(r[0]):r[0],r[1]?(0,v.Z)(r[1]):r[1]]),q(r),null===(t=U.current)||void 0===t||t.call(U,(null==Q?void 0:Q(r))||null)}}),[J,K,Y,U,Q,q]),ie=function(e,n,t){return(0,i.useCallback)(function(e,n,t){if("function"==typeof t)return t;if("object"==typeof n){var r=n,a=r.min,i=r.max;return function(n){if(function(n){return!!a&&(0,p.Z)((0,v.Z)(n),(0,C.Z)(a,e))||!!i&&(0,f.Z)((0,m.Z)(n),(0,C.Z)(i,e))}(n))return{disabledHours:function(){return S(23)},disabledMinutes:function(){return S(59)},disabledSeconds:function(){return S(59)}};if(a&&(0,x.Z)((0,v.Z)(n),(0,C.Z)(a,e))){var t=(0,C.Z)(a,e);return{disabledHours:function(){return S(t.getHours()-1)},disabledMinutes:function(e){return e===t.getHours()?S(t.getMinutes()-1):[]},disabledSeconds:function(e,n){return e===t.getHours()&&n===t.getMinutes()?S(t.getSeconds()-1):[]}}}if(i&&(0,x.Z)((0,m.Z)(n),(0,C.Z)(i,e))){var r=(0,C.Z)(i,e);return{disabledHours:function(){return S(23).slice(r.getHours()+1)},disabledMinutes:function(e){return e===r.getHours()?S(59).slice(r.getMinutes()+1):[]},disabledSeconds:function(e,n){return e===r.getHours()&&n===r.getMinutes()?S(59).slice(r.getSeconds()+1):[]}}}return{disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}}}}return t}(e,n,t),[n,e,t])}(L,o,N),oe=(0,T.Z)({selected:W,disabledTime:ie}),le=oe.disabledStartTimes,ue=oe.disabledEndTimes;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",(0,r.pi)({className:s()("zent-datepicker",l),"data-zv":"10.0.10"},{children:[(0,a.jsx)(z,(0,r.pi)({},A.current,{disabled:R[0],canClear:E[0],defaultDate:B[0],showTime:X,valueType:"date",value:J,disabledTime:le,onChange:ae(j),onOpen:function(){return null==P?void 0:P(j)},onClose:function(){return null==k?void 0:k(j)},disabledDate:te,name:null==O?void 0:O[0],placeholder:n[0]}),void 0),(0,a.jsx)("span",(0,r.pi)({className:"zent-datepicker-seperator","data-zv":"10.0.10"},{children:H}),void 0),(0,a.jsx)(z,(0,r.pi)({},A.current,{disabled:R[1],canClear:E[1],defaultDate:B[1],showTime:ee,valueType:"date",value:K,disabledTime:ue,onChange:ae(M),onOpen:function(){return null==P?void 0:P(M)},onClose:function(){return null==k?void 0:k(M)},disabledDate:re,name:null==O?void 0:O[1],placeholder:n[1]}),void 0)]}),void 0)},void 0)},P=t(1348),N=t(3685),w=t(20985),z=t(11128),Y=N.H.date,H=d.Z.Provider,O={format:z.zT},_=function(e){var n=(0,i.useContext)(P.d),t=(0,r.pi)((0,r.pi)((0,r.pi)({},z.sn),O),e),u=t.placeholder,s=t.valueType,d=t.format,c=t.width,v=t.showTime,f=t.disabled,p=void 0===f?n.value:f,m=(0,i.useCallback)((function(e){return(0,w.F)(s,d,e)}),[s,d]);return(0,a.jsx)(o.Z,(0,r.pi)({componentName:"TimePicker"},{children:function(e){return(0,a.jsx)(H,(0,r.pi)({value:{i18n:e,autoComplete:!!v,getCallbackRangeValue:m}},{children:(0,a.jsx)(k,(0,r.pi)({},t,{disabled:p,width:null!=c?c:v?z.d7:z.on,generateDate:Y,seperator:e.to,placeholder:u||[e.start,e.end],PickerComponent:l.Z}),void 0)}),void 0)}}),void 0)}},7178:(e,n,t)=>{"use strict";t.d(n,{j:()=>j,Z:()=>M});var r=t(59312),a=t(24246),i=t(27378),o=t(52074),l=t(60042),u=t.n(l),s=t(24399),d=t(90072),c=t(47922),v=t(87774),f=t(44639),p=t(32046),m=t(96084),h=t(77828),g=t(45300),b=t(11128),Z=t(280),D=f.Z.Provider,x=function(e){var n=e.onChange,t=e.disabledTime,o=e.onOpen,l=e.onClose,f=e.value,x=e.className,C=e.ContentComponent,S=e.defaultTime,y=e.selectedDate,T=e.autoComplete,j=e.disabled,M=(0,r._T)(e,["onChange","disabledTime","onOpen","onClose","value","className","ContentComponent","defaultTime","selectedDate","autoComplete","disabled"]),k=(0,i.useRef)(M);k.current=M;var P=k.current,N=P.format,w=P.openPanel,z=(0,h.Q)(n),Y=(0,i.useState)(!0),H=Y[0],O=Y[1],_=(0,p.Z)("",f),F=_.selected,V=_.setSelected,I=(0,Z.Z)(null!=f?f:"",V,o,l,j,w),R=I.panelVisible,E=I.setPanelVisible,A=I.onVisibleChange,L=(0,i.useMemo)((function(){return(null==t?void 0:t(y))||{}}),[t,y]),Q=(0,m.Z)({selected:F,disabledTimeOption:L,format:N}),U=(0,i.useMemo)((function(){return(0,s.Z)(new Date,N)}),[N]),G=(0,i.useMemo)((function(){return(0,d.Z)(U,N,y)}),[U,N,y]),W=(0,m.Z)({selected:U,disabledTimeOption:(null==t?void 0:t(G))||{},format:N}),q=(0,i.useCallback)((function(e,n){var t;void 0===n&&(n=!1),O(!1),V(e),(n||T)&&(null===(t=z.current)||void 0===t||t.call(z,e),n&&O(!0),n&&E(null!=w&&w))}),[w,z,V,E,T]),B=(0,i.useCallback)((function(e){var n;e.stopPropagation(),null===(n=z.current)||void 0===n||n.call(z,"")}),[z]),J=(0,i.useMemo)((function(){var e=k.current.hiddenIcon,n=(0,g.Z)(k.current,b.Yj);return(0,a.jsx)("div",(0,r.pi)({"data-zv":"10.0.10"},{children:(0,a.jsx)(v.G,(0,r.pi)({},n,{value:f,disabled:j,hiddenIcon:e,onClearInput:B,panelVisible:R,text:F,icon:"clock-o"}),void 0)}),void 0)}),[f,F,R,k,j,B]),K=(0,i.useMemo)((function(){var e=(0,g.Z)(k.current,b.n2);return(0,a.jsx)("div",(0,r.pi)({className:"zent-datepicker-panel","data-zv":"10.0.10"},{children:(0,a.jsx)(C,(0,r.pi)({},e,{defaultTime:S,disabledTimeOption:L,selected:F,onSelected:q}),void 0)}),void 0)}),[F,k,S,L,q,C]);return(0,a.jsx)("div",(0,r.pi)({className:u()("zent-datepicker",x),"data-zv":"10.0.10"},{children:(0,a.jsx)(D,(0,r.pi)({value:{visibleChange:H,confirmStatus:Q,isDisabledCurrent:W}},{children:(0,a.jsx)(c.Z,{panelVisible:R,onVisibleChange:A,trigger:J,content:K},void 0)}),void 0)}),void 0)};x.defaultProps=b.V2;var C=x,S=t(60419),y=t(1348),T=t(12691).Z.Provider,j=function(e){var n=(0,i.useContext)(y.d),t=(0,r.pi)((0,r.pi)({},b.V2),e),l=t.format,u=t.placeholder,s=t.width,d=t.disabled,c=void 0===d?n.value:d;return(0,a.jsx)(o.Z,(0,r.pi)({componentName:"TimePicker"},{children:function(e){return(0,a.jsx)(T,(0,r.pi)({value:{i18n:e}},{children:(0,a.jsx)(C,(0,r.pi)({},t,{format:l,placeholder:u||e.time,disabled:c,width:null!=s?s:b.d7,ContentComponent:S.Z}),void 0)}),void 0)}}),void 0)},M=j},5034:(e,n,t)=>{"use strict";var r=t(59312),a=t(24246),i=t(60042),o=t.n(i),l=t(27378),u=t(74522),s="zent-datepicker-panel-body-cells",d=function(e){var n,t=e.isInView,r=e.isCurrent,a=e.isSelected,i=e.isDisabled,l=e.isInRange,u=e.isInHoverRange;return o()(s+"_item",((n={})[s+"_over"]=!t,n[s+"_disabled"]=i,n[s+"_available"]=!a&&!i,n[s+"_current"]=t&&r,n[s+"_selected"]=a,n[s+"_in_range"]=!i&&l,n[s+"_in_hover_range"]=!i&&u,n))};n.Z=function(e){var n=e.cells,t=e.onSelected,i=e.col,o=e.popText,c=e.onHover,v=(0,l.useCallback)((function(e){var n=e.isDisabled,r=e.value;n||t(r)}),[t]),f=(0,l.useCallback)((function(e){var n=e.isDisabled,t=e.value;n||null==c||c(t)}),[c]),p=(0,l.useMemo)((function(){var e=[],t=[];return n.map((function(n,l){var c=n.value,p=n.text,m=n.lunarText,h=(0,r._T)(n,["value","text","lunarText"]),g=h.isSelected,b=h.isDisabled,Z=(0,a.jsx)("li",(0,r.pi)({className:d(h),onClick:function(){return v({isDisabled:b,value:c})},"data-zv":"10.0.10"},{children:m?(0,a.jsxs)("div",(0,r.pi)({className:"zent-datepicker-cell-inner zent-datepicker-lunar-cell",onMouseEnter:function(){return f({isDisabled:b,value:c})},onMouseLeave:function(){return f({isDisabled:b,value:null})},"data-zv":"10.0.10"},{children:[(0,a.jsx)("div",(0,r.pi)({"data-zv":"10.0.10"},{children:p}),void 0),(0,a.jsx)("div",(0,r.pi)({className:"zent-datepicker-lunar-cell_text","data-zv":"10.0.10"},{children:m}),void 0)]}),void 0):(0,a.jsx)("div",(0,r.pi)({className:"zent-datepicker-cell-inner",onMouseEnter:function(){return f({isDisabled:b,value:c})},onMouseLeave:function(){return f({isDisabled:b,value:null})},"data-zv":"10.0.10"},{children:p}),void 0)}),c.getTime()),D=o&&g?(0,a.jsx)(u.Z,(0,r.pi)({visible:!0,title:o},{children:Z}),c.getTime()):Z;t.push(D),l%i==i-1&&(e.push((0,a.jsx)("ul",(0,r.pi)({className:s+"_row","data-zv":"10.0.10"},{children:t}),c.getTime())),t=[])})),e}),[n,i,o,v,f]);return(0,a.jsx)("ul",(0,r.pi)({className:s,"data-zv":"10.0.10"},{children:p}),void 0)}},71351:(e,n,t)=>{"use strict";var r=t(59312),a=t(24246);n.Z=function(e){var n=e.rightNode,t=e.leftNode,i=void 0===t?null:t;return(0,a.jsxs)("div",(0,r.pi)({className:"zent-datepicker-panel-footer","data-zv":"10.0.10"},{children:[n,i]}),void 0)}},65892:(e,n,t)=>{"use strict";t.d(n,{D:()=>d});var r=t(59312),a=t(24246),i=t(42690),o=t(27036),l="zent-datepicker-panel-header",u=function(e){var n=e.onClick,t=e.type;return(0,a.jsx)(o.Z,{type:"left"===t?"double-last":"double-next",onClick:n,className:l+"-arrow"},void 0)},s=function(e){var n=e.onClick,t=e.type;return(0,a.jsx)(o.Z,{type:t,onClick:n,className:l+"-arrow"},void 0)},d=function(e){var n=e.text,t=e.unit,i=void 0===t?"":t,o=e.onClick;return(0,a.jsxs)("div",(0,r.pi)({className:l+"-title_clickable",onClick:o,"data-zv":"10.0.10"},{children:[n,i]}),void 0)};n.Z=function(e){var n=e.showSuper,t=void 0!==n&&n,o=e.titleNode,d=e.combinedLeft,c=e.combinedRight,v=e.onPrev,f=e.onNext,p=e.onSuperPrev,m=void 0===p?i.Z:p,h=e.onSuperNext,g=void 0===h?i.Z:h;return(0,a.jsxs)("div",(0,r.pi)({className:l,"data-zv":"10.0.10"},{children:[(0,a.jsx)("div",(0,r.pi)({className:l+"-btns","data-zv":"10.0.10"},{children:!c&&(0,a.jsxs)(a.Fragment,{children:[t&&(0,a.jsx)(u,{onClick:m,type:"left"},void 0),(0,a.jsx)(s,{onClick:v,type:"left"},void 0)]},void 0)}),void 0),(0,a.jsx)("div",(0,r.pi)({className:l+"-title","data-zv":"10.0.10"},{children:o}),void 0),(0,a.jsx)("div",(0,r.pi)({className:l+"-btns","data-zv":"10.0.10"},{children:!d&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s,{onClick:f,type:"right"},void 0),t&&(0,a.jsx)(u,{onClick:g,type:"right"},void 0)]},void 0)}),void 0)]}),void 0)}},47922:(e,n,t)=>{"use strict";var r=t(59312),a=t(24246),i=t(33806);n.Z=function(e){var n=e.trigger,t=e.content,o=e.panelVisible,l=e.onVisibleChange;return(0,a.jsxs)(i.ZP,(0,r.pi)({className:"zent-datepicker-popup",cushion:5,position:i.ZP.Position.AutoBottomLeft,visible:o,onVisibleChange:l},{children:[(0,a.jsx)(i.ZP.Trigger.Click,{children:n},void 0),(0,a.jsx)(i.ZP.Content,{children:t},void 0)]}),void 0)}},87774:(e,n,t)=>{"use strict";t.d(n,{G:()=>v,W:()=>f});var r=t(59312),a=t(24246),i=t(27378),o=t(60042),l=t.n(o),u=t(27036),s=t(58302),d="zent-datepicker-trigger",c=function(e){var n,t=e.disabled,i=e.canClear,o=e.panelVisible,u=e.width,s=e.children,c={width:u};return(0,a.jsx)("div",(0,r.pi)({className:l()(d,(n={"zent-datepicker-can-clear":!t&&i,"zent-datepicker-disabled":t},n[d+"-focus"]=o,n)),style:c,"data-zv":"10.0.10"},{children:s}),void 0)},v=function(e){var n,t,i=e.value,o=e.format,v=e.seperator,f=e.placeholder,p=e.onClearInput,m=e.text,h=e.name,g=e.canClear,b=e.icon,Z=e.hiddenIcon,D=e.disabled,x=(0,r._T)(e,["value","format","seperator","placeholder","onClearInput","text","name","canClear","icon","hiddenIcon","disabled"]),C=Array.isArray(m)?m:[m],S=C[0],y=C[1],T=g&&!!i;return(0,a.jsxs)(c,(0,r.pi)({},x,{disabled:D,canClear:T},{children:[h&&(0,a.jsx)("input",{type:"hidden",name:h,readOnly:!0,value:(0,s.p6)(o,i),"data-zv":"10.0.10"},void 0),(0,a.jsx)("span",(0,r.pi)({className:l()(d+"-input",(n={},n[d+"-empty-input"]=!S||D,n)),"data-zv":"10.0.10"},{children:S||f}),void 0),y&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",(0,r.pi)({className:d+"-seperator","data-zv":"10.0.10"},{children:v}),void 0),(0,a.jsx)("span",(0,r.pi)({className:l()(d+"-input",(t={},t[d+"-empty-input"]=!y,t)),"data-zv":"10.0.10"},{children:y}),void 0)]},void 0),!Z&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.Z,{type:b||"calendar-o"},void 0),T&&(0,a.jsx)(u.Z,{type:"close-circle",onClick:p},void 0)]},void 0)]}),void 0)},f=function(e){var n,t,o=e.format,v=e.value,f=e.selected,p=e.seperator,m=e.placeholder,h=m[0],g=m[1],b=e.name,Z=e.canClear,D=e.icon,x=e.onClearInput,C=e.disabled,S=(0,r._T)(e,["format","value","selected","seperator","placeholder","name","canClear","icon","onClearInput","disabled"]),y=(0,i.useMemo)((function(){return f?(0,s._Q)(f,o):[null,null]}),[f,o]),T=y[0],j=y[1];return(0,a.jsxs)(c,(0,r.pi)({},S,{disabled:C,canClear:Z&&(!!T||!!j)},{children:[b&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("input",{type:"hidden",name:null==b?void 0:b[0],readOnly:!0,value:(0,s.p6)(o,null==v?void 0:v[0]),"data-zv":"10.0.10"},void 0),(0,a.jsx)("input",{readOnly:!0,type:"hidden",name:null==b?void 0:b[1],value:(0,s.p6)(o,null==v?void 0:v[1]),"data-zv":"10.0.10"},void 0)]},void 0),(0,a.jsx)("span",(0,r.pi)({className:l()(d+"-input",(n={},n[d+"-empty-input"]=!T,n)),"data-zv":"10.0.10"},{children:T||h}),void 0),(0,a.jsx)("span",(0,r.pi)({className:d+"-seperator","data-zv":"10.0.10"},{children:p}),void 0),(0,a.jsx)("span",(0,r.pi)({className:l()(d+"-input",(t={},t[d+"-empty-input"]=!j,t)),"data-zv":"10.0.10"},{children:j||g}),void 0),(0,a.jsx)(u.Z,{type:D||"calendar-o"},void 0),(0,a.jsx)(u.Z,{type:"close-circle",onClick:x},void 0)]}),void 0)}},42278:(e,n,t)=>{"use strict";t.d(n,{Z:()=>C});var r=t(59312),a=t(24246),i=t(60042),o=t.n(i),l=t(27378),u=t(47922),s=t(87774),d=t(12691),c=t(44639),v=t(58302),f=t(98029),p=new Date,m=t(57569),h=t(280),g=t(77828),b=t(45300),Z=t(11128),D=c.Z.Provider;function x(e){var n=e.value,t=e.onChange,i=e.onOpen,c=e.onClose,x=e.disabledDate,C=(0,r._T)(e,["value","onChange","onOpen","onClose","disabledDate"]),S=(0,l.useRef)(C);S.current=C;var y=S.current,T=y.defaultDate,j=y.format,M=(y.name,y.width,y.placeholder,y.className),k=(y.valueType,y.disabled),P=(y.canClear,y.openPanel),N=y.PanelComponent,w=(0,r._T)(y,["defaultDate","format","name","width","placeholder","className","valueType","disabled","canClear","openPanel","PanelComponent"]),z=w,Y=z.showLunarDate,H=z.lunarValueFormatter,O=(0,l.useContext)(d.Z),_=O.getSelectedValue,F=O.getCallbackValue,V=O.getInputText,I=(0,g.Q)(t),R=function(e){var n=e.value,t=e.format,r=e.defaultDate,a=(0,l.useState)(p),i=a[0],o=a[1],u=(0,l.useMemo)((function(){return(0,v.sG)(t,n)}),[n,t]),s=(0,l.useState)(u),d=s[0],c=s[1];return(0,l.useEffect)((function(){c(u)}),[u]),(0,l.useEffect)((function(){var e=d||r;o(e?(0,f.Z)(e,t):p)}),[r,d,n,t]),{selected:d,parseValue:u,setSelected:c,defaultPanelDate:i}}({value:n,format:j,defaultDate:T}),E=R.selected,A=R.parseValue,L=R.setSelected,Q=R.defaultPanelDate,U=(0,h.Z)(A,L,i,c,k,P),G=U.panelVisible,W=U.setPanelVisible,q=U.onVisibleChange,B=(0,m.Z)(j,x),J=(0,l.useState)(),K=J[0],$=J[1],X=(0,l.useCallback)((function(e,n){var t;void 0===n&&(n=!0),L((null==_?void 0:_(e))||null),n&&(null===(t=I.current)||void 0===t||t.call(I,(null==F?void 0:F(e))||null),W(null!=P&&P))}),[_,F,I,P,L,W]),ee=(0,l.useCallback)((function(e){var n;e.stopPropagation(),null===(n=I.current)||void 0===n||n.call(I,null)}),[I]),ne=(0,l.useMemo)((function(){return E?Y&&H&&"function"==typeof H?H(E):null==V?void 0:V(E):""}),[E,Y,V,H]),te=(0,l.useMemo)((function(){var e=(0,b.Z)(S.current,Z.Yj);return(0,a.jsx)("div",(0,r.pi)({"data-zv":"10.0.10"},{children:(0,a.jsx)(s.G,(0,r.pi)({},e,{value:n,disabled:k,text:ne,panelVisible:G,onClearInput:ee}),void 0)}),void 0)}),[ne,n,G,S,k,ee]),re=(0,l.useMemo)((function(){var e;return(0,a.jsx)("div",(0,r.pi)({className:o()("zent-datepicker-panel",(e={},e["zent-datepicker-panel_lunar"]=!!Y,e)),"data-zv":"10.0.10"},{children:(0,a.jsx)(N,(0,r.pi)({},w,{selected:E,hoverDate:K,defaultPanelDate:Q,onSelected:X,disabledPanelDate:B}),void 0)}),void 0)}),[Y,N,w,E,K,Q,X,B]);return(0,a.jsx)("div",(0,r.pi)({className:o()("zent-datepicker",M),"data-zv":"10.0.10"},{children:(0,a.jsx)(D,(0,r.pi)({value:{onHover:$}},{children:(0,a.jsx)(u.Z,{panelVisible:G,onVisibleChange:q,trigger:te,content:re},void 0)}),void 0)}),void 0)}x.defaultProps={canClear:!0,width:Z.d7};var C=x},11128:(e,n,t)=>{"use strict";t.d(n,{d7:()=>a,on:()=>i,pX:()=>o,T_:()=>l,zT:()=>u,zS:()=>s,mn:()=>d,Y5:()=>c,nN:()=>v,cO:()=>f,SO:()=>p,Yj:()=>m,n2:()=>h,V2:()=>g,sn:()=>b});var r=t(42690),a=240,i=136,o=360,l="HH:mm:ss",u="YYYY-MM-DD",s="YYYY-MM",d="YYYY",c=["",""],v=1840,f=3e3,p=96,m=["width","name","format","seperator","canClear","placeholder"],h=["format","hourStep","minuteStep","secondStep"],g={format:l,hourStep:1,minuteStep:1,secondStep:1,canClear:!0},b={onChange:r.Z,valueType:"string",canClear:!0,disabledDate:function(){return!1},onOpen:r.Z,onClose:r.Z}},44639:(e,n,t)=>{"use strict";var r=t(27378);n.Z=(0,r.createContext)({})},12691:(e,n,t)=>{"use strict";var r=t(27378),a=t(50642),i=(0,r.createContext)({i18n:(0,a.jI)()});n.Z=i},96084:(e,n,t)=>{"use strict";t.d(n,{Z:()=>i});var r=t(27378),a=t(90072);function i(e){var n=e.disabledTimeOption,t=e.selected,i=e.format,o=(0,r.useState)(!1),l=o[0],u=o[1];return(0,r.useEffect)((function(){var e=(0,a.Z)(t,i,new Date),r=e.getHours(),o=e.getMinutes();u(!t||function(){var e,t;return null===(t=null===(e=null==n?void 0:n.disabledHours)||void 0===e?void 0:e.call(n))||void 0===t?void 0:t.includes(r)}()||function(){var e,t;return null===(t=null===(e=null==n?void 0:n.disabledMinutes)||void 0===e?void 0:e.call(n,r))||void 0===t?void 0:t.includes(o)}()||function(){var t,a;return null===(a=null===(t=null==n?void 0:n.disabledSeconds)||void 0===t?void 0:t.call(n,r,o))||void 0===a?void 0:a.includes(e.getSeconds())}())}),[t,i,n]),l}},57569:(e,n,t)=>{"use strict";t.d(n,{Z:()=>s});var r=t(27378),a=t(19570),i=t(98552),o=t(58181),l=t(55631),u=t(98029);function s(e,n){return(0,r.useCallback)(function(e,n){var t;if("object"==typeof n){var r=n,s=r.min,d=r.max;t=function(n){return!!s&&(0,a.Z)((0,i.Z)(n),(0,u.Z)(s,e))||!!d&&(0,o.Z)((0,l.Z)(n),(0,u.Z)(d,e))}}else t=n;return t}(e,n),[n,e])}},26610:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=t(27378);function a(e){var n=(0,r.useState)(e),t=n[0],a=n[1];return(0,r.useEffect)((function(){a(e)}),[e]),{panelDate:t,setPanelDate:a}}},41507:(e,n,t)=>{"use strict";t.d(n,{Z:()=>v});var r=t(27378),a=t(77888),i=t(53568),o=t(75164),l=t(80280),u=l.k.START,s=l.k.END;function d(e){return Array.from({length:e},(function(e,n){return n}))}function c(e,n){return Array.from({length:n-e},(function(e,t){return n-t}))}function v(e){var n=e.selected,t=e.disabledTime,l=(0,r.useRef)(t);l.current=t;var v=n[0],f=n[1],p=(0,r.useCallback)((function(e){var n,t,r,u,c,f,p,m,h,g=!(!v||!e)&&(0,a.Z)(v,e),b=!(!v||!e)&&(0,i.Z)(v,e),Z=!(!v||!e)&&(0,o.Z)(v,e),D=(null==e?void 0:e.getHours())||0,x=(null==e?void 0:e.getMinutes())||0,C=(null==v?void 0:v.getHours())||0,S=(null==v?void 0:v.getMinutes())||0,y=(null==v?void 0:v.getSeconds())||0,T=(null===(r=null===(n=l.current)||void 0===n?void 0:(t=n.call(l,e,s)).disabledHours)||void 0===r?void 0:r.call(t))||[],j=(null===(f=null===(u=l.current)||void 0===u?void 0:(c=u.call(l,e,s)).disabledMinutes)||void 0===f?void 0:f.call(c,D))||[],M=(null===(h=null===(p=l.current)||void 0===p?void 0:(m=p.call(l,e,s)).disabledSeconds)||void 0===h?void 0:h.call(m,D,x))||[];return{disabledHours:function(){return T.concat(g?d(C):[])},disabledMinutes:function(){return j.concat(g&&b?d(S):[])},disabledSeconds:function(){return M.concat(g&&b&&Z?d(y):[])}}}),[v,l]);return{disabledStartTimes:(0,r.useCallback)((function(e){var n,t,r,s,d,v,p,m,h,g=!(!e||!f)&&(0,a.Z)(e,f),b=!(!e||!f)&&(0,i.Z)(e,f),Z=!(!e||!f)&&(0,o.Z)(e,f),D=(null==e?void 0:e.getHours())||0,x=(null==e?void 0:e.getMinutes())||0,C=(null==f?void 0:f.getHours())||0,S=(null==f?void 0:f.getMinutes())||0,y=(null==f?void 0:f.getSeconds())||0,T=(null===(r=null===(n=l.current)||void 0===n?void 0:(t=n.call(l,e,u)).disabledHours)||void 0===r?void 0:r.call(t))||[],j=(null===(v=null===(s=l.current)||void 0===s?void 0:(d=s.call(l,e,u)).disabledMinutes)||void 0===v?void 0:v.call(d,D))||[],M=(null===(h=null===(p=l.current)||void 0===p?void 0:(m=p.call(l,e,u)).disabledSeconds)||void 0===h?void 0:h.call(m,D,x))||[];return{disabledHours:function(){return T.concat(g?c(C,23):[])},disabledMinutes:function(){return j.concat(g&&b?c(S,59):[])},disabledSeconds:function(){return M.concat(g&&b&&Z?c(y,59):[])}}}),[f,l]),disabledEndTimes:p,disabledConfirm:(0,r.useMemo)((function(){return!v||!f||!!v&&!!f&&v>f}),[v,f])}}},18270:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var r=t(27378),a=t(58302),i=t(84614),o=[new Date,new Date];function l(e){var n=e.value,t=e.format,l=e.defaultDate,u=e.addMonthNum,s=void 0===u?0:u,d=(0,r.useState)(o),c=d[0],v=d[1],f=(0,r.useMemo)((function(){return n?(0,a.r0)(n,t):[null,null]}),[n,t]),p=(0,r.useState)(f),m=p[0],h=p[1];return(0,r.useEffect)((function(){h(f)}),[f]),(0,r.useEffect)((function(){var e=o;(null==m?void 0:m[0])||(null==m?void 0:m[1])?e=function(e,n){var t=e[0],r=e[1];return[null!=t?t:r?(0,i.Z)(r,-n):o[0],null!=r?r:t?(0,i.Z)(t,n):o[1]]}(m,s):(null==l?void 0:l[0])&&(null==l?void 0:l[1])&&(e=(0,a.r0)(l,t)),v(e)}),[l,m,t,s]),{selected:m,parseValue:f,setSelected:h,defaultPanelDate:c,setDefaultPanelDate:v}}},45902:(e,n,t)=>{"use strict";t.d(n,{P:()=>f,Z:()=>p});var r=t(59312),a=t(27378),i=t(50456),o=t(23807),l=t(51960),u=t(11128),s=function(e){return(0,l.Z)((0,i.Z)(),e)},d=function(e){return(0,l.Z)((0,o.Z)(),e)},c=s(u.T_),v=d(u.T_);function f(e){var n=(0,a.useRef)(e);return n.current=e,(0,a.useMemo)((function(){if(!n.current)return[void 0,void 0];if("object"==typeof n.current){var e=n.current,t=e.format,a=void 0===t?u.T_:t,i=e.defaultTime,o=(0,r._T)(e,["format","defaultTime"]),l=(null==i?void 0:i[0])||s(a),f=(null==i?void 0:i[1])||d(a);return[(0,r.pi)({format:a,defaultTime:l},o),(0,r.pi)({format:a,defaultTime:f},o)]}return[{format:u.T_,defaultTime:c},{format:u.T_,defaultTime:v}]}),[n])}function p(e){var n=(0,a.useRef)(e);return n.current=e,(0,a.useMemo)((function(){if(n.current){if("object"==typeof n.current){var e=n.current,t=e.format,a=void 0===t?u.T_:t,i=e.defaultTime,o=(0,r._T)(e,["format","defaultTime"]),l=i||s(a);return(0,r.pi)({format:a,defaultTime:l},o)}return{format:u.T_,defaultTime:c}}}),[n])}},280:(e,n,t)=>{"use strict";t.d(n,{Z:()=>i});var r=t(27378),a=t(77828);function i(e,n,t,i,o,l){var u=(0,r.useState)(null!=l&&l),s=u[0],d=u[1],c=(0,a.Q)(t),v=(0,a.Q)(i),f=(0,r.useRef)(e);f.current=e,(0,r.useEffect)((function(){d(null!=l&&l)}),[l]);var p=(0,r.useCallback)((function(){void 0!==l||o||d(!s)}),[s,l,o]),m=(0,r.useRef)();return(0,r.useEffect)((function(){var e,t;m.current?s?null===(e=null==c?void 0:c.current)||void 0===e||e.call(c):(n(f.current),null===(t=null==v?void 0:v.current)||void 0===t||t.call(v)):m.current=!0}),[s,f,c,v,n]),{panelVisible:s,setPanelVisible:d,onVisibleChange:p}}},32046:(e,n,t)=>{"use strict";t.d(n,{Z:()=>i,K:()=>o});var r=t(27378),a=t(90072);function i(e,n){var t=(0,r.useState)(null!=n?n:e),a=t[0],i=t[1];return(0,r.useEffect)((function(){i(null!=n?n:e)}),[n,e]),{selected:a,setSelected:i}}function o(e,n,t){return e?[e[0]?(0,a.Z)(e[0],n,t):null,e[1]?(0,a.Z)(e[1],n,t):null]:[null,null]}},71990:(e,n,t)=>{"use strict";t.d(n,{Z:()=>_});var r=t(59312),a=t(24246),i=t(27378),o=t(84614),l=t(46013),u=t(96608),s=t(34421),d=t(65892),c=(0,i.memo)((function(e){var n=e.names;return(0,a.jsx)("ul",(0,r.pi)({className:"zent-datepicker-panel-sub_header","data-zv":"10.0.10"},{children:n.map((function(e){return(0,a.jsx)("li",(0,r.pi)({"data-zv":"10.0.10"},{children:e}),e)}))}),void 0)}),(function(){return!0})),v=t(36192),f=t(48988),p=t(90072),m=t(73237),h=t(5034),g=t(44639),b=t(84990),Z=t(3685),D=function(e){var n=(0,i.useContext)(g.Z).onHover,t=e.selected,r=e.popText,o=void 0===r?"":r,l=e.disableRangeOverView,d=void 0!==l&&l,c=e.defaultPanelDate,D=e.rangeDate,x=e.hoverRangeDate,C=e.row,S=void 0===C?6:C,y=e.col,T=void 0===y?7:y,j=e.showTimeOption,M=e.onSelected,k=e.disabledPanelDate,P=e.showLunarDate,N=(0,i.useMemo)((function(){return(0,v.Z)(c)}),[c]),w=(0,i.useMemo)((function(){return(0,b.Z)({offset:N.getDay(),defaultPanelDate:N,selected:t,disabledPanelDate:k,rangeDate:D,hoverRangeDate:x,row:S,col:T,dateConfig:Z.H.date,inView:f.Z,disableRangeOverView:d,showLunarDate:P})}),[d,t,D,x,S,T,N,k,P]),z=(0,i.useCallback)((function(e){var n=j||{},r=n.defaultTime,a=n.format;if(!t)return M(r?(0,p.Z)("function"==typeof r?r(e):r,a,e):e);var i=t;i=(0,u.Z)(i,e.getFullYear()),i=(0,s.Z)(i,e.getMonth()),i=(0,m.Z)(i,e.getDate()),M(i)}),[t,j,M]);return(0,a.jsx)(h.Z,{col:T,cells:w,popText:o,onSelected:z,onHover:n},void 0)},x=t(85883),C=t(90347),S=t(7178),y=t(71351),T=t(12691),j=t(58302),M=t(96084),k=new Date,P=function(e){var n=e.footerText,t=e.showTime,o=e.disabledTime,l=e.showTimeOption,u=e.selected,s=e.onSelected,d=e.disabledPanelDate,c=(0,i.useState)(!1),v=c[0],f=c[1],m=(0,i.useContext)(T.Z),h=m.i18n,g=m.autoComplete,b=(l||{}).format,Z=void 0===b?"":b,D=(0,M.Z)({selected:(0,j.p6)(Z,u),disabledTimeOption:u&&(null==o?void 0:o(u))||{},format:Z}),P=(0,M.Z)({selected:(0,j.p6)(Z,k),disabledTimeOption:(null==o?void 0:o(k))||{},format:Z}),N=(0,i.useMemo)((function(){return u&&d(u)}),[u,d]),w=(0,i.useMemo)((function(){return d(k)}),[d]),z=(0,i.useCallback)((function(){P||w||s(new Date)}),[w,P,s]),Y=(0,i.useCallback)((function(){u&&s(u)}),[u,s]),H=(0,i.useMemo)((function(){return(0,a.jsx)(C.ZP,(0,r.pi)({type:"primary",disabled:D||N||!u||v,onClick:Y,className:"zent-datepicker-panel-footer-btn"},{children:h.confirm}),void 0)}),[h,D,u,N,Y,v]),O=(0,i.useMemo)((function(){return(0,a.jsxs)("div",(0,r.pi)({"data-zv":"10.0.10"},{children:[(0,a.jsx)(C.ZP,(0,r.pi)({disabled:P||w,onClick:z,type:"text"},{children:n}),void 0),!!t&&(D||N?(0,a.jsx)(x.Z,(0,r.pi)({content:D?h.timeErrorPop:h.dateErrorPop,trigger:"hover"},{children:H}),void 0):H)]}),void 0)}),[h,t,n,D,N,w,P,H,z]),_=(0,i.useCallback)((function(e){if(e){var n=(0,p.Z)(e,Z,u||new Date);s(n,!1)}}),[u,Z,s]),F=(0,i.useCallback)((function(){f(!0)}),[]),V=(0,i.useCallback)((function(){f(!1)}),[]),I=(0,i.useMemo)((function(){var e=l||{},n=e.defaultTime,i=(0,r._T)(e,["defaultTime"]),s="function"==typeof n?n(u):n;return t?(0,a.jsx)(S.Z,(0,r.pi)({},i,{defaultTime:s,width:94,selectedDate:u,value:(0,j.p6)(Z,u),hiddenIcon:!0,onChange:_,onOpen:F,onClose:V,disabledTime:o,autoComplete:g}),void 0):null}),[g,u,t,l,Z,o,_,F,V]);return(0,a.jsx)(y.Z,{leftNode:I,rightNode:O},void 0)},N=t(21977),w=t(58345),z=t(45902),Y=t(26610),H=t(77828),O=t(56540),_=function(e){var n=e.defaultPanelDate,t=e.hideFooter,v=void 0!==t&&t,f=e.onSelected,p=e.showTime,m=e.footerText,h=void 0===m?"":m,g=e.combinedLeft,b=e.combinedRight,Z=e.onPanelDateChange,x=(0,r._T)(e,["defaultPanelDate","hideFooter","onSelected","showTime","footerText","combinedLeft","combinedRight","onPanelDateChange"]),C=(0,i.useContext)(T.Z).i18n,S=(0,i.useState)(!1),y=S[0],j=S[1],M=(0,i.useState)(!1),k=M[0],_=M[1],F=(0,Y.Z)(n),V=F.panelDate,I=F.setPanelDate,R=(0,z.Z)(p),E=(0,H.Q)(Z),A=x.showLunarDate,L=(0,i.useMemo)((function(){var e=V.getMonth(),n=C.panel.monthNames[e];return A?n+"("+O.q7.fromDate(new Date(V.getFullYear(),e)).getMonthInChinese()+"月)":n}),[A,C.panel.monthNames,V]),Q=(0,i.useMemo)((function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.D,{text:V.getFullYear(),unit:C.panel.year,onClick:function(){return j(!0)}},void 0),(0,a.jsx)(d.D,{text:L,onClick:function(){return _(!0)}},void 0)]},void 0)}),[V,C.panel.year,L]),U=(0,i.useCallback)((function(e){var n;I(e),null===(n=E.current)||void 0===n||n.call(E,e)}),[I,E]),G=(0,i.useCallback)((function(){U((0,o.Z)(V,-1))}),[V,U]),W=(0,i.useCallback)((function(){U((0,o.Z)(V,1))}),[V,U]),q=(0,i.useCallback)((function(){U((0,l.Z)(V,-1))}),[V,U]),B=(0,i.useCallback)((function(){U((0,l.Z)(V,1))}),[V,U]),J=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.Z,{showSuper:!0,titleNode:Q,combinedLeft:g,combinedRight:b,onPrev:G,onNext:W,onSuperPrev:q,onSuperNext:B},void 0),(0,a.jsx)(c,{names:C.panel.dayNames},void 0),(0,a.jsx)(D,(0,r.pi)({},x,{showTime:p,showTimeOption:R,onSelected:function(e){f(e,!p)},defaultPanelDate:V}),void 0)]},void 0),K=(0,i.useCallback)((function(e){U((0,u.Z)(V,e.getFullYear())),j(!1)}),[V,U]),$=(0,a.jsx)(w.Z,(0,r.pi)({},e,{onSelected:K,defaultPanelDate:V}),void 0),X=(0,i.useCallback)((function(e){var n=e.getMonth(),t=e.getFullYear();U((0,u.Z)((0,s.Z)(V,n),t)),_(!1)}),[V,U]),ee=(0,a.jsx)(N.Z,(0,r.pi)({},e,{defaultPanelDate:V,onSelected:X}),void 0);return(0,a.jsxs)(a.Fragment,{children:[!y&&!k&&J,y&&$,k&&ee,!v&&(0,a.jsx)(P,(0,r.pi)({},e,{showTimeOption:R,footerText:h||(p?C.current.time:C.current.date)}),void 0)]},void 0)}},21977:(e,n,t)=>{"use strict";t.d(n,{Z:()=>b});var r=t(59312),a=t(24246),i=t(27378),o=t(46013),l=t(96608),u=t(65892),s=t(44639),d=t(12691),c=t(5034),v=t(84990),f=t(3685),p=t(34421),m=function(e){var n=e.defaultPanelDate,t=e.onSelected,o=e.selected,l=e.disabledPanelDate,u=e.row,m=void 0===u?4:u,h=e.col,g=void 0===h?3:h,b=(0,i.useContext)(d.Z).i18n,Z=(0,i.useContext)(s.Z).onHover,D=(0,i.useMemo)((function(){return(0,v.Z)({selected:o,disabledPanelDate:l,defaultPanelDate:(0,p.Z)(n,0),texts:b.panel.monthNames,row:m,col:g,dateConfig:f.H.month})}),[o,m,g,n,b,l]);return(0,a.jsx)("div",(0,r.pi)({className:"zent-datepicker-ym-panel-body","data-zv":"10.0.10"},{children:(0,a.jsx)(c.Z,{col:g,cells:D,onSelected:t,onHover:Z},void 0)}),void 0)},h=t(58345),g=t(26610),b=function(e){var n=e.defaultPanelDate,t=e.selected,s=e.onSelected,c=e.disabledPanelDate,v=(0,i.useContext)(d.Z).i18n,f=(0,g.Z)(n),p=f.panelDate,b=f.setPanelDate,Z=(0,i.useState)(!1),D=Z[0],x=Z[1],C=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.Z,{titleNode:(0,a.jsx)(u.D,{text:p.getFullYear(),unit:v.panel.year,onClick:function(){return x(!0)}},void 0),onPrev:function(){return b((0,o.Z)(p,-1))},onNext:function(){return b((0,o.Z)(p,1))}},void 0),(0,a.jsx)(m,{disabledPanelDate:c,defaultPanelDate:p,selected:t,onSelected:s},void 0)]},void 0),S=(0,i.useCallback)((function(e){b((0,l.Z)(p,e.getFullYear())),x(!1)}),[p,b]),y=(0,a.jsx)(h.Z,(0,r.pi)({},e,{onSelected:S,defaultPanelDate:p}),void 0);return(0,a.jsx)(a.Fragment,{children:D?y:C},void 0)}},60419:(e,n,t)=>{"use strict";t.d(n,{Z:()=>M});var r=t(59312),a=t(24246),i=t(27378),o=t(60042),l=t.n(o),u=t(71351),s=t(90347),d=t(12691),c=t(44639),v=t(58302),f=function(e){var n=e.onSelected,t=e.selected,o=e.format,f=(0,i.useContext)(d.Z).i18n,p=(0,i.useContext)(c.Z),m=p.confirmStatus,h=p.isDisabledCurrent,g=(0,i.useCallback)((function(){h||n((0,v.p6)(o,new Date),!0)}),[o,h,n]),b=(0,i.useMemo)((function(){var e;return(0,a.jsx)("a",(0,r.pi)({className:l()((e={},e["zent-datepicker-panel-footer-current_disabled"]=h,e)),onClick:g,"data-zv":"10.0.10"},{children:f.current.time}),void 0)}),[f,h,g]),Z=(0,i.useMemo)((function(){return(0,a.jsx)(s.ZP,(0,r.pi)({type:"primary",className:"zent-datepicker-panel-footer-btn",disabled:m,onClick:function(){return n(t,!0)}},{children:f.confirm}),void 0)}),[f,m,t,n]);return(0,a.jsx)(u.Z,{leftNode:b,rightNode:Z},void 0)},p=t(96394),m=t(60206),h=t(55874),g=t(57318),b=t(79264),Z="zent-datepicker-time-panel-body",D={hour:23,minute:59,second:59},x=function(e){var n=e.type,t=e.step,o=void 0===t?1:t,u=e.selected,s=e.setting,d=e.disabledUnits,v=void 0===d?[]:d,f=(0,i.createRef)(),p=(0,i.useContext)(c.Z).visibleChange,m=function(e,n,t,r){for(var a=[],i=0;i<=n;i+=t)a.push({label:i.toString().padStart(2,"0"),value:i,disabled:r.includes(i)});return a}(0,D[n],o,v);return(0,b.L)((function(){p&&f.current&&(0,g.l)(f.current,0,32*u/o,1),u&&!p&&f.current&&(0,g.l)(f.current,0,32*u/o,160)}),[u,p,f,o]),(0,a.jsx)("div",(0,r.pi)({className:Z+"_scroll",ref:f,"data-zv":"10.0.10"},{children:m.map((function(e){var n,t=e.value,i=e.label,o=e.disabled;return(0,a.jsx)("div",(0,r.pi)({className:l()(Z+"-unit",(n={},n[Z+"-unit_selected"]=t===u,n[Z+"-unit_disabled"]=o,n[Z+"-unit_available"]=!o,n)),onClick:function(){return!o&&s(t)},"data-zv":"10.0.10"},{children:i}),t)}))}),void 0)},C=t(90072),S=new Date,y=new Date(S.getFullYear(),S.getMonth(),S.getDate()),T={hour:p.Z,minute:m.Z,second:h.Z},j=function(e){var n=e.selected,t=e.format,o=e.disabledTimeOption,l=e.hourStep,u=e.minuteStep,s=e.secondStep,d=e.onSelected,c=function(e,n,t){var r=e||n,a=(0,i.useState)(r?(0,C.Z)(r,t,y):y),o=a[0],l=a[1];return(0,i.useEffect)((function(){l(r?(0,C.Z)(r,t,y):y)}),[r,n,t]),{panelTime:o,setPanelTime:l}}(n,e.defaultTime,t),f=c.panelTime,p=c.setPanelTime,m=(0,i.useMemo)((function(){var e=o.disabledHours,n=o.disabledMinutes,r=o.disabledSeconds,a=f.getHours(),i=f.getMinutes();return[{type:"hour",format:"HH",value:a,disabledUnits:(null==e?void 0:e())||[],max:23,step:l},{type:"minute",format:"mm",value:i,disabledUnits:(null==n?void 0:n(a))||[],max:59,step:u},{type:"second",format:"ss",value:f.getSeconds(),disabledUnits:(null==r?void 0:r(a,i))||[],max:59,step:s}].filter((function(e){return-1!==t.indexOf(e.format)}))}),[f,t,o,l,u,s]),h=(0,i.useCallback)((function(e,n){var r=T[n](f,e);p(r),d((0,v.p6)(t,r))}),[f,t,d,p]);return(0,a.jsx)("div",(0,r.pi)({className:"zent-datepicker-time-panel-body","data-zv":"10.0.10"},{children:m.map((function(e){var n=e.type,t=e.value,r=e.step,i=e.disabledUnits;return(0,a.jsx)(x,{type:n,step:r,selected:t,setting:function(e){return h(e,n)},disabledUnits:i},n)}))}),void 0)},M=function(e){var n=e.hideFooter,t=(0,r._T)(e,["hideFooter"]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j,(0,r.pi)({},t),void 0),!n&&(0,a.jsx)(f,(0,r.pi)({},t),void 0)]},void 0)}},58345:(e,n,t)=>{"use strict";t.d(n,{Z:()=>m});var r=t(59312),a=t(24246),i=t(27378),o=t(65892),l=t(5034),u=t(44639),s=t(12691),d=t(84990),c=t(3685),v=t(96608),f=t(11128),p=function(e){var n=e.firstYear,t=e.onSelected,o=e.selected,p=e.defaultPanelDate,m=e.disabledPanelDate,h=e.row,g=void 0===h?4:h,b=e.col,Z=void 0===b?3:b,D=(0,i.useContext)(s.Z).i18n,x=(0,i.useContext)(u.Z).onHover,C=(0,i.useMemo)((function(){return Array.from({length:12},(function(e,t){return n+t<=f.cO?""+(n+t)+D.panel.year:""}))}),[n,D]),S=(0,i.useMemo)((function(){return(0,d.Z)({selected:o,disabledPanelDate:m,defaultPanelDate:(0,v.Z)(p,n),texts:C,row:g,col:Z,dateConfig:c.H.year})}),[o,g,Z,C,p,n,m]);return(0,a.jsx)("div",(0,r.pi)({className:"zent-datepicker-ym-panel-body","data-zv":"10.0.10"},{children:(0,a.jsx)(l.Z,{col:Z,cells:S,onSelected:t,onHover:x},void 0)}),void 0)},m=function(e){var n=e.defaultPanelDate.getFullYear(),t=(0,i.useState)(Math.floor((n-f.nN)/12)),l=t[0],u=t[1],s=(0,i.useMemo)((function(){return f.nN+12*l}),[l]),d=(0,i.useCallback)((function(){return l>0&&u(l-1)}),[l]),c=(0,i.useCallback)((function(){return lf.cO?f.cO:s+11),onPrev:d,onNext:c},void 0),(0,a.jsx)(p,(0,r.pi)({firstYear:s},e),void 0)]},void 0)}},80280:(e,n,t)=>{"use strict";var r,a;t.d(n,{k:()=>r,C:()=>a}),function(e){e.START="start",e.END="end"}(r||(r={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(a||(a={}))},3685:(e,n,t)=>{"use strict";t.d(n,{H:()=>z});var r=t(73237),a=t(25568),i=t(44525),o=t(77888),l=t(55631),u=t(98552),s=t(9385),d=t(89278),c=t(650),v=t(60102),f=t(72754),p=t(34421),m=t(49602),h=t(84614),g=t(22067),b=t(48988),Z=t(36192),D=t(76134),x=t(60613),C=t(44750),S=t(71903),y=t(79636),T=t(1438),j=t(2129),M=t(96608),k=t(30870),P=t(46013),N=t(86353),w=t(14888),z={date:{set:r.Z,get:a.Z,offsetDate:i.Z,isSame:o.Z,startDate:l.Z,endDate:u.Z},week:{set:s.Z,get:d.Z,offsetDate:i.Z,isSame:c.Z,startDate:v.Z,endDate:f.Z},month:{set:p.Z,get:m.Z,offsetDate:h.Z,isSame:function(e,n){return(0,g.Z)(e,n)&&(0,b.Z)(e,n)},startDate:Z.Z,endDate:D.Z},quarter:{set:x.Z,get:C.Z,offsetDate:S.Z,isSame:function(e,n){return(0,g.Z)(e,n)&&(0,y.Z)(e,n)},startDate:T.Z,endDate:j.Z},year:{set:M.Z,get:k.Z,offsetDate:P.Z,isSame:g.Z,startDate:N.Z,endDate:w.Z}}},65410:(e,n,t)=>{"use strict";t.d(n,{RZ:()=>u,kA:()=>s,zG:()=>d,Kv:()=>c});var r=t(30870),a=t(44750),i=t(60102),o=t(72754),l=t(58302);function u(e,n){return e?(0,l.p6)(n,e):""}function s(e,n){return e?n.panel.yearQuarterName({year:(0,r.Z)(e),quarter:(0,a.Z)(e)-1}):""}function d(e,n,t){var r=e&&[(0,i.Z)(e,t),(0,o.Z)(e,t)];return r?(0,l._Q)(r,n):["",""]}function c(e,n){return(0,l._Q)(e,n)}},84990:(e,n,t)=>{"use strict";t.d(n,{Z:()=>u});var r=t(9005),a=t(77888),i=t(58181),o=t(19570),l=t(56540);function u(e){for(var n=e.selected,t=e.rangeDate,a=e.hoverRangeDate,i=e.disabledPanelDate,o=e.defaultPanelDate,u=e.row,d=e.col,c=e.dateConfig,v=e.texts,f=e.offset,p=void 0===f?0:f,m=e.inView,h=e.disableRangeOverView,g=e.showLunarDate,b=c.isSame,Z=c.startDate,D=c.endDate,x=c.offsetDate,C=0,S=[],y=0;y{"use strict";t.d(n,{F:()=>a});var r=t(58302);function a(e,n,t){var a,i;switch(e){case"string":return(0,r._Q)(t,n);case"number":return[(null===(a=t[0])||void 0===a?void 0:a.getTime())||0,(null===(i=t[1])||void 0===i?void 0:i.getTime())||0];default:return t}}},90278:(e,n,t)=>{"use strict";t.d(n,{Mq:()=>i,pB:()=>o,Mp:()=>l});var r=t(58302),a=t(20985);function i(e,n,t){return e?(0,n.startDate)(e,t):null}function o(e,n,t){switch(n){case"string":return(0,r.p6)(t,e);case"number":return e.getTime();default:return e}}function l(e,n,t,r,i){var o,l=r.startDate,u=r.endDate;return o=i?[l(e,i),u(e,i)]:[l(e),u(e)],(0,a.F)(n,t,o)}},58302:(e,n,t)=>{"use strict";t.d(n,{sG:()=>i,p6:()=>o,_Q:()=>l,r0:()=>u});var r=t(51960),a=t(98029);function i(e,n){return n?(0,a.Z)(n,e):null}function o(e,n){return n?(0,r.Z)(n,e):""}function l(e,n){return[o(n,e[0]),o(n,e[1])]}function u(e,n){return[i(n,e[0]),i(n,e[1])]}},57097:(e,n,t)=>{"use strict";t.d(n,{u:()=>f});var r=t(59312),a=t(24246),i=t(27378),o=t(60042),l=t.n(o),u=t(42690),s=t(33806),d=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(n,e),n}(s.ZP.Trigger.Base),c=t(50707),v=s.ZP.Trigger,f=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.popoverRef=(0,i.createRef)(),n}return(0,r.ZT)(n,e),n.prototype.renderContent=function(){var e=this.props.title;return(0,a.jsxs)(s.ZP.Content,{children:[(0,a.jsx)("div",(0,r.pi)({className:"zent-tooltip-v2-inner","data-zv":"10.0.10"},{children:e}),void 0),(0,a.jsx)("i",{className:"zent-tooltip-v2-arrow","data-zv":"10.0.10"},void 0)]},void 0)},n.prototype.renderTrigger=function(){var e=this.props.children;if("click"===this.props.trigger){var n=this.props.closeOnClickOutside,t=void 0===n||n;return(0,a.jsx)(v.Click,(0,r.pi)({closeOnClickOutside:t},{children:e}),void 0)}if("hover"===this.props.trigger){var i=this.props,o=i.mouseLeaveDelay,l=void 0===o?200:o,u=i.mouseEnterDelay,s=void 0===u?200:u,c=i.anchorOnly,f=i.fixMouseEventsOnDisabledChildren;return(0,a.jsx)(v.Hover,(0,r.pi)({showDelay:s,hideDelay:l,anchorOnly:c,fixMouseEventsOnDisabledChildren:f},{children:e}),void 0)}return"focus"===this.props.trigger?(0,a.jsx)(v.Focus,{children:e},void 0):"none"===this.props.trigger?(0,a.jsx)(d,{children:e},void 0):null},n.prototype.render=function(){var e=this.props,n=e.className,t=e.trigger,i=e.visible,o=e.position,d=e.cushion,v=e.centerArrow,f=e.containerSelector,p=e.style,m=l()("zent-tooltip-v2",n),h=this.props.onVisibleChange;return"none"===t&&(h=h||u.Z),(0,a.jsxs)(s.ZP,(0,r.pi)({visible:i,onVisibleChange:h,className:m,cushion:d,position:(0,c.Z)(o,v),containerSelector:f,ref:this.popoverRef,style:p},{children:[this.renderTrigger(),this.renderContent()]}),void 0)},n.defaultProps={trigger:"hover",position:"top-center",cushion:8,centerArrow:!1,containerSelector:"body"},n}(i.Component)},74522:(e,n,t)=>{"use strict";var r=t(57097);n.Z=r.u},55325:(e,n,t)=>{"use strict";t.d(n,{WU:()=>m,Qc:()=>h});var r=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,a="\\d\\d?",i="[^\\s]+",o=/\[([^]*?)\]/gm,l=function(){},u=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],s=["January","February","March","April","May","June","July","August","September","October","November","December"],d=g(s,3),c={dayNamesShort:g(u,3),dayNames:u,monthNamesShort:d,monthNames:s,amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:(e-e%10!=10?1:0)*e%10]}},v={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},f={D:function(e){return String(e.getDate())},DD:function(e){return T(e.getDate())},Do:function(e,n){return n.DoFn(e.getDate())},d:function(e){return String(e.getDay())},dd:function(e){return T(e.getDay())},ddd:function(e,n){return n.dayNamesShort[e.getDay()]},dddd:function(e,n){return n.dayNames[e.getDay()]},M:function(e){return String(e.getMonth()+1)},MM:function(e){return T(e.getMonth()+1)},MMM:function(e,n){return n.monthNamesShort[e.getMonth()]},MMMM:function(e,n){return n.monthNames[e.getMonth()]},YY:function(e){return T(String(e.getFullYear()),4).substr(2)},YYYY:function(e){return T(e.getFullYear(),4)},h:function(e){return String(e.getHours()%12||12)},hh:function(e){return T(e.getHours()%12||12)},H:function(e){return String(e.getHours())},HH:function(e){return T(e.getHours())},m:function(e){return String(e.getMinutes())},mm:function(e){return T(e.getMinutes())},s:function(e){return String(e.getSeconds())},ss:function(e){return T(e.getSeconds())},S:function(e){return String(Math.round(e.getMilliseconds()/100))},SS:function(e){return T(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return T(e.getMilliseconds(),3)},a:function(e,n){return e.getHours()<12?n.amPm[0]:n.amPm[1]},A:function(e,n){return e.getHours()<12?n.amPm[0].toUpperCase():n.amPm[1].toUpperCase()},ZZ:function(e){var n=e.getTimezoneOffset();return(n>0?"-":"+")+T(100*Math.floor(Math.abs(n)/60)+Math.abs(n)%60,4)}},p={D:[a,D],DD:[a,D],Do:["\\d\\d?[^\\s]+",D],M:[a,Z],MM:[a,Z],YY:[a,function(e,n){var t=parseInt(n,10),r=new Date,a=parseInt(String(r.getFullYear()).substr(0,2),10),i=String(t>68?a-1:a)+n;e.year=parseInt(i,10)}],h:[a,x],hh:[a,x],H:[a,x],HH:[a,x],m:[a,C],mm:[a,C],s:[a,S],ss:[a,S],YYYY:["\\d{4}",function(e,n){e.year=parseInt(n,10)}],S:["\\d",function(e,n){e.millisecond=100*parseInt(n,10)}],SS:["\\d{2}",function(e,n){e.millisecond=10*parseInt(n,10)}],SSS:["\\d{3}",function(e,n){e.millisecond=parseInt(n,10)}],d:[a,l],dd:[a,l],ddd:[i,l],dddd:[i,l],MMM:[i,b("monthNamesShort")],MMMM:[i,b("monthNames")],a:[i,y],A:[i,y],ZZ:["[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",function(e,n){var t,r=(n+"").match(/([+-]|\d\d)/gi);r&&(t=60*parseInt(r[1],10)+parseInt(r[2],10),e.timezoneOffset="+"===r[0]?t:-t)}]};function m(e,n,t){if(void 0===t&&(t=c),"number"==typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw new Error("Invalid Date in fecha.format");var a=[];return(n=(n=(n=v[n]||n||v.default).replace(o,(function(e,n){return a.push(n),"@@@"}))).replace(r,(function(n){return n in f?f[n](e,t):n.slice(1,n.length-1)}))).replace(/@@@/g,(function(){return a.shift()}))}function h(e,n,t){if(void 0===t&&(t=c),"string"!=typeof n)throw new Error("Invalid format in fecha.parse");if(n=v[n]||n,e.length>1e3)return null;var a,i={},l=[],u=[],s=(a=n=n.replace(o,(function(e,n){return u.push(n),"@@@"})),a.replace(/[|\\{()[^$+*?.-]/g,"\\$&")).replace(r,(function(e){if(p[e]){var n=p[e];return l.push(n[1]),"("+n[0]+")"}return e}));s=s.replace(/@@@/g,(function(){return u.shift()}));var d=new RegExp(s,"i").exec(e);if(!d)return null;for(var f=1;f{"use strict";t.d(n,{Z:()=>o});var r=t(55325),a=t(24654),i=t(81224);function o(e,n,t){void 0===n&&(n="default"),void 0===t&&(t=a.U1);var o=(0,i.f)(e);return(0,r.WU)(o,n,t)}},81224:(e,n,t)=>{"use strict";function r(e){return!Number.isNaN(+new Date(e))}function a(e){if(void 0===e)throw new Error("expects a date");return(e=e||new Date)instanceof Date||("number"==typeof e&&r(e)&&(e=new Date(e)),"string"==typeof e&&(r(e)||(e=e.replace(/-/g,"/")),r(e)&&(e=new Date(e)))),e}t.d(n,{f:()=>a})},98029:(e,n,t)=>{"use strict";t.d(n,{Z:()=>i});var r=t(55325),a=t(24654);function i(e,n,t){return void 0===n&&(n="default"),void 0===t&&(t=a.U1),e instanceof Date?new Date(e.getTime()):"number"==typeof e?new Date(e):(n=n||"default",(0,r.Qc)(e,n,t)||null)}},77828:(e,n,t)=>{"use strict";t.d(n,{Q:()=>a});var r=t(27378);function a(e){var n=(0,r.useRef)(e);return(0,r.useEffect)((function(){n.current=e}),[e]),n}},45300:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=t(72551);function a(e,n){return null==e?{}:n.reduce((function(n,t){return(0,r.n)(e,t)&&(n[t]=e[t]),n}),{})}}}]); \ No newline at end of file diff --git a/apidoc/classes/Alert.html b/apidoc/classes/Alert.html index 0d0c34337..c58a2ef87 100644 --- a/apidoc/classes/Alert.html +++ b/apidoc/classes/Alert.html @@ -253,7 +253,7 @@

state

@@ -296,7 +296,7 @@

Static defaultProps

defaultProps: { bordered: boolean; closable: boolean; loading: boolean; outline: boolean; type: string } = ...
@@ -326,7 +326,7 @@

Static highlightClassN
highlightClassName: string = 'zent-alert-item-content__highlight'
@@ -803,7 +803,7 @@

render

Returns Element

diff --git a/apidoc/classes/AlertItem.html b/apidoc/classes/AlertItem.html index decf800ca..c8af5d4d2 100644 --- a/apidoc/classes/AlertItem.html +++ b/apidoc/classes/AlertItem.html @@ -761,7 +761,7 @@

render

Returns any

diff --git a/apidoc/classes/AnimateHeight.html b/apidoc/classes/AnimateHeight.html index e70e31f6a..e6f28982e 100644 --- a/apidoc/classes/AnimateHeight.html +++ b/apidoc/classes/AnimateHeight.html @@ -295,7 +295,7 @@

Static defaultProps

defaultProps: { appear: boolean; duration: number; easing: string; overflow: string; transitionPrototype: string } = ...
@@ -503,7 +503,7 @@

componentDidMount

Returns void

@@ -521,7 +521,7 @@

componentDidUpdate

Parameters

@@ -775,7 +775,7 @@

render

Returns Element

diff --git a/apidoc/classes/AutoComplete.html b/apidoc/classes/AutoComplete.html index 1483e958b..6ba94916c 100644 --- a/apidoc/classes/AutoComplete.html +++ b/apidoc/classes/AutoComplete.html @@ -158,7 +158,7 @@

constructor

Type parameters

@@ -186,7 +186,7 @@

blurHandlerPrevented

blurHandlerPrevented: boolean = false
@@ -197,7 +197,7 @@

context

@@ -207,7 +207,7 @@

onSearchKeyDown

onSearchKeyDown: KeyboardEventHandler<HTMLInputElement> = ...
@@ -228,7 +228,7 @@

refMenuItemList

refMenuItemList: RefObject<SelectMenu> = ...
@@ -276,7 +276,7 @@

Static contextType

@@ -286,7 +286,7 @@

Static defaultProps

defaultProps: { contentField: string; filterOption: (searchText: string, item: ISelectMenuItem) => boolean; textField: string; valueField: string; valueFromOptions: boolean; width: number } = ...
@@ -484,7 +484,7 @@

close

  • Returns void

    @@ -787,7 +787,7 @@

    getSelectedValueFromSearchText

  • Parameters

    @@ -846,7 +846,7 @@

    getTransformedItemConfigsFromProps

  • Returns IAutoCompleteMenuObjectItem[]

    @@ -863,7 +863,7 @@

    moveFocusIndexDown

  • Returns void

    @@ -880,7 +880,7 @@

    moveFocusIndexUp

  • Returns void

    @@ -897,7 +897,7 @@

    onSearchBlur

  • Returns void

    @@ -914,7 +914,7 @@

    onSearchTextChange

  • Parameters

    @@ -937,7 +937,7 @@

    onSelect

  • Parameters

    @@ -960,7 +960,7 @@

    open

  • @@ -983,7 +983,7 @@

    render

    Returns Element

    @@ -1000,7 +1000,7 @@

    selectCurrentFocusIndex

  • Parameters

    @@ -1108,7 +1108,7 @@

    togglePopoverOpen

  • Returns void

    @@ -1125,7 +1125,7 @@

    Static getDerivedState
  • Type parameters

    diff --git a/apidoc/classes/Avatar.html b/apidoc/classes/Avatar.html index b32bed9b7..9dd472682 100644 --- a/apidoc/classes/Avatar.html +++ b/apidoc/classes/Avatar.html @@ -189,7 +189,7 @@

    avatarNodeRef

    avatarNodeRef: RefObject<HTMLSpanElement> = ...
    @@ -266,7 +266,7 @@

    state

    @@ -287,7 +287,7 @@

    textNodeRef

    textNodeRef: RefObject<HTMLSpanElement> = ...
    @@ -330,7 +330,7 @@

    Static defaultProps

    defaultProps: { bordered: boolean; shape: string; size: string } = ...
    @@ -532,7 +532,7 @@

    componentDidMount

    Returns void

    @@ -550,7 +550,7 @@

    componentDidUpdate

    Parameters

    @@ -804,7 +804,7 @@

    render

    Returns Element

    @@ -906,7 +906,7 @@

    updateTextScale

  • Returns void

    @@ -923,7 +923,7 @@

    Static getDerivedState
  • Parameters

    diff --git a/apidoc/classes/Badge.html b/apidoc/classes/Badge.html index 2e7cdfd88..cfcc69948 100644 --- a/apidoc/classes/Badge.html +++ b/apidoc/classes/Badge.html @@ -296,7 +296,7 @@

    Static defaultProps

    defaultProps: { className: string; count: number; dot: boolean; maxCount: number; showZero: boolean } = ...
    @@ -793,7 +793,7 @@

    render

    Returns Element

    @@ -810,7 +810,7 @@

    renderCount

  • Returns Element

    diff --git a/apidoc/classes/BasePagination.html b/apidoc/classes/BasePagination.html index 17b3a0691..58449cd8c 100644 --- a/apidoc/classes/BasePagination.html +++ b/apidoc/classes/BasePagination.html @@ -247,7 +247,7 @@

    getLayout

    getLayout: (props: IProps) => PaginationLayout[] = ...
    @@ -278,7 +278,7 @@

    Readonly layoutFn: PaginationLayoutFunction

    @@ -288,7 +288,7 @@

    Readonly name: string

  • @@ -809,7 +809,7 @@

    getLayoutOptions

  • Parameters

    @@ -868,7 +868,7 @@

    getTotal

  • @@ -896,7 +896,7 @@

    getTotalPages

  • Parameters

    @@ -922,7 +922,7 @@

    onPageChange

  • Parameters

    @@ -945,7 +945,7 @@

    onPageSizeChange

  • Parameters

    @@ -1071,7 +1071,7 @@

    shouldUpdateLayout

  • Parameters

    diff --git a/apidoc/classes/BasicBuilder.html b/apidoc/classes/BasicBuilder.html index 719304c16..0eca6ead9 100644 --- a/apidoc/classes/BasicBuilder.html +++ b/apidoc/classes/BasicBuilder.html @@ -157,7 +157,7 @@

    Protected _normalizeBefo
    _normalizeBeforeSubmit: INormalizeBeforeSubmit<Value, any> = ...
    @@ -167,7 +167,7 @@

    Protected _validators

    _validators: IValidators<Value> = []
    @@ -184,7 +184,7 @@

    Abstract build

  • Parameters

    @@ -207,7 +207,7 @@

    normalizeBeforeSubmit

  • Type parameters

    @@ -236,7 +236,7 @@

    validators

  • diff --git a/apidoc/classes/BasicModel.html b/apidoc/classes/BasicModel.html index 3019a43d2..44d46282a 100644 --- a/apidoc/classes/BasicModel.html +++ b/apidoc/classes/BasicModel.html @@ -162,7 +162,7 @@

    Protected constructor

  • Type parameters

    @@ -190,7 +190,7 @@

    Protected _displayName: string

  • @@ -205,7 +205,7 @@

    destroyOnUnmount

    destroyOnUnmount: boolean = false
    @@ -220,7 +220,7 @@

    Readonly error$

    error$: BehaviorSubject<IValidateResult<Value>> = ...
    @@ -239,7 +239,7 @@

    Abstract owner

    @@ -257,7 +257,7 @@

    error

  • @@ -270,7 +270,7 @@

    Returns
    @@ -298,7 +298,7 @@

    form

  • Returns FormModel<UnknownFieldSetModelChildren>

    @@ -315,7 +315,7 @@

    Abstract valid$

  • Returns BehaviorSubject<boolean>

    @@ -333,7 +333,7 @@

    value

  • Returns Value

    @@ -341,7 +341,7 @@

    Returns Value

    Parameters

    @@ -364,7 +364,7 @@

    Abstract value$

  • Returns BehaviorSubject<Value>

    @@ -385,7 +385,7 @@

    Abstract clear

    Returns void

    @@ -403,7 +403,7 @@

    Abstract clearError

    Returns void

    @@ -421,7 +421,7 @@

    Abstract dirty

    Returns boolean

    @@ -439,7 +439,7 @@

    dispose

    Returns void

    @@ -457,7 +457,7 @@

    Abstract getRawValue

    Returns Value

    @@ -475,7 +475,7 @@

    Abstract getSubmitVa

    Returns any

    @@ -493,7 +493,7 @@

    Abstract initialize

    Parameters

    @@ -517,7 +517,7 @@

    Abstract patchValue

    Parameters

    @@ -541,7 +541,7 @@

    Abstract pristine

    Returns boolean

    @@ -559,7 +559,7 @@

    Abstract reset

    Returns void

    @@ -577,7 +577,7 @@

    Abstract touched

    Returns boolean

    @@ -594,7 +594,7 @@

    Protected triggerValidat
  • Parameters

    @@ -618,7 +618,7 @@

    valid

    Returns boolean

    @@ -636,7 +636,7 @@

    Abstract validate

    Parameters

    diff --git a/apidoc/classes/BlockHeader.html b/apidoc/classes/BlockHeader.html index 3f252b7ff..d4ef0f475 100644 --- a/apidoc/classes/BlockHeader.html +++ b/apidoc/classes/BlockHeader.html @@ -295,7 +295,7 @@

    Static defaultProps

    defaultProps: { className: string; position: string; type: string } = ...
    @@ -786,7 +786,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/Breadcrumb.html b/apidoc/classes/Breadcrumb.html index 4bb1c8bd2..3aa99bfea 100644 --- a/apidoc/classes/Breadcrumb.html +++ b/apidoc/classes/Breadcrumb.html @@ -202,7 +202,7 @@

    breadcrumbRef

    breadcrumbRef: RefObject<HTMLDivElement> = ...
    @@ -212,7 +212,7 @@

    contentRef

    contentRef: RefObject<HTMLDivElement> = ...
    @@ -251,7 +251,7 @@

    isMoving

    isMoving: boolean = false
    @@ -299,7 +299,7 @@

    state

    @@ -326,7 +326,7 @@

    Static Item

    Item: typeof BreadcrumbItem = ...
    @@ -369,7 +369,7 @@

    Static defaultProps

    defaultProps: { breads: any[]; className: string } = ...
    @@ -397,7 +397,7 @@

    breadcrumbLeft

  • Returns number

    @@ -414,7 +414,7 @@

    breadcrumbWidth

  • Returns number

    @@ -431,7 +431,7 @@

    contentWidth

  • Returns number

    @@ -622,7 +622,7 @@

    componentDidMount

    Returns void

    @@ -640,7 +640,7 @@

    componentDidUpdate

    Parameters

    @@ -857,7 +857,7 @@

    getFoldItems

  • Returns IBreadcrumbItemProps[]

    @@ -874,7 +874,7 @@

    getOverflowStatus

  • Returns void

    @@ -927,7 +927,7 @@

    handleClickMoveLeft

  • Returns void

    @@ -944,7 +944,7 @@

    handleClickMoveRight

  • Returns void

    @@ -962,7 +962,7 @@

    render

    Returns Element

    @@ -1064,7 +1064,7 @@

    unfoldBreads

  • Returns void

    diff --git a/apidoc/classes/BreadcrumbItem.html b/apidoc/classes/BreadcrumbItem.html index f10c80000..96520d9d1 100644 --- a/apidoc/classes/BreadcrumbItem.html +++ b/apidoc/classes/BreadcrumbItem.html @@ -761,7 +761,7 @@

    render

    Returns {}

    diff --git a/apidoc/classes/Button.html b/apidoc/classes/Button.html index f9da1f5fa..1e00a328a 100644 --- a/apidoc/classes/Button.html +++ b/apidoc/classes/Button.html @@ -188,7 +188,7 @@

    context

    @@ -246,7 +246,7 @@

    Static Directive

    Directive: <ChildProps>(props: IButtonDirectiveProps<ChildProps>) => Element = ...
    @@ -283,7 +283,7 @@

    Static Group

    Group: FC<IButtonGroupProps> = ...
    @@ -294,7 +294,7 @@

    Static contextType

    @@ -304,7 +304,7 @@

    Static defaultProps

    defaultProps: { bordered: boolean; htmlType: string; size: string; type: string } = ...
    @@ -798,7 +798,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/Card.html b/apidoc/classes/Card.html index 9f371cbca..711a3e066 100644 --- a/apidoc/classes/Card.html +++ b/apidoc/classes/Card.html @@ -295,7 +295,7 @@

    Static defaultProps

    defaultProps: { bodyStyle: {}; className: string; loading: boolean; style: {}; type: string } = ...
    @@ -796,7 +796,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/CheckboxGroup.html b/apidoc/classes/CheckboxGroup.html index fb0b15522..09b87b6bb 100644 --- a/apidoc/classes/CheckboxGroup.html +++ b/apidoc/classes/CheckboxGroup.html @@ -208,7 +208,7 @@

    context

    @@ -218,7 +218,7 @@

    getGroupContext

    getGroupContext: (maybeValue: unknown, disabled: boolean, readOnly: boolean, isValueEqual: (value1: Value, value2: Value) => boolean) => { disabled: boolean; isValueEqual: (value1: Value, value2: Value) => boolean; onChange: (child: Value) => void; readOnly: boolean; value: Value[] } = ...
    @@ -384,7 +384,7 @@

    Static contextType

    @@ -394,7 +394,7 @@

    Static defaultProps

    defaultProps: { isValueEqual: (value1: any, value2: any) => boolean; value: any[] } = ...
    @@ -913,7 +913,7 @@

    onCheckboxChange

  • Parameters

    @@ -937,7 +937,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/ClampLines.html b/apidoc/classes/ClampLines.html index 92a2c8a92..10724ad67 100644 --- a/apidoc/classes/ClampLines.html +++ b/apidoc/classes/ClampLines.html @@ -149,7 +149,7 @@

    constructor

    Parameters

    @@ -171,7 +171,7 @@

    containerWidth

    containerWidth: number = ...
    @@ -210,7 +210,7 @@

    element

    element: HTMLDivElement = null
    @@ -220,7 +220,7 @@

    handleContainerResize

    handleContainerResize: ResizeObserverCallback = ...
    @@ -230,7 +230,7 @@

    innerElement

    innerElement: RefObject<HTMLSpanElement> = ...
    @@ -277,7 +277,7 @@

    resizeObserver

    resizeObserver: ResizeObserver = null
    @@ -331,7 +331,7 @@

    Static defaultProps

    defaultProps: Partial<IClampLinesProps> = ...
    @@ -485,7 +485,7 @@

    clampLines

  • Returns void

    @@ -536,7 +536,7 @@

    componentDidMount

    Returns void

    @@ -554,7 +554,7 @@

    componentDidUpdate

    Parameters

    @@ -663,7 +663,7 @@

    componentWillUnmount

    Returns void

    @@ -765,7 +765,7 @@

    getEllipsis

  • Returns string

    @@ -782,7 +782,7 @@

    getResizeObserver

  • Returns ResizeObserver

    @@ -835,7 +835,7 @@

    handleWindowResize

  • Returns void

    @@ -852,7 +852,7 @@

    observe

  • Parameters

    @@ -875,7 +875,7 @@

    onContainerRefChange

  • Parameters

    @@ -898,7 +898,7 @@

    onNoClampContainerRefChange

  • Parameters

    @@ -922,7 +922,7 @@

    render

    Returns Element

    @@ -939,7 +939,7 @@

    renderClampedText

  • Returns Element

    @@ -956,7 +956,7 @@

    renderResizable

  • Returns Element

    diff --git a/apidoc/classes/Collapse.html b/apidoc/classes/Collapse.html index aa41caf33..17a98ea21 100644 --- a/apidoc/classes/Collapse.html +++ b/apidoc/classes/Collapse.html @@ -264,7 +264,7 @@

    Static Panel

    Panel: typeof CollapsePanel = ...
    @@ -307,7 +307,7 @@

    Static defaultProps

    defaultProps: { accordion: boolean; bordered: boolean; panelTitleBackground: string } = ...
    @@ -797,7 +797,7 @@

    onChange

  • Parameters

    @@ -824,7 +824,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/CollapsePanel.html b/apidoc/classes/CollapsePanel.html index 5a917c7c0..573f6c577 100644 --- a/apidoc/classes/CollapsePanel.html +++ b/apidoc/classes/CollapsePanel.html @@ -187,7 +187,7 @@

    context

    @@ -235,7 +235,7 @@

    state

    @@ -254,7 +254,7 @@

    Static contextType

    @@ -264,7 +264,7 @@

    Static defaultProps

    defaultProps: { showArrow: boolean } = ...
    @@ -749,7 +749,7 @@

    render

    Returns Element

    @@ -851,7 +851,7 @@

    toggle

  • Returns void

    diff --git a/apidoc/classes/ColorPicker.html b/apidoc/classes/ColorPicker.html index 6ce60b37a..685f1db1f 100644 --- a/apidoc/classes/ColorPicker.html +++ b/apidoc/classes/ColorPicker.html @@ -195,7 +195,7 @@

    context

    @@ -243,7 +243,7 @@

    state

    @@ -261,7 +261,7 @@

    Static ColorBoard

    ColorBoard: ComponentClass<any, any> = ...
    @@ -272,7 +272,7 @@

    Static contextType

    @@ -282,7 +282,7 @@

    Static defaultProps

    defaultProps: { className: string; presetColors: string[]; showAlpha: boolean; type: string; wrapperClassName: string; onChange: any } = ...
    @@ -312,7 +312,7 @@
    onChange: function
  • Returns void

    @@ -335,7 +335,7 @@

    disabled

  • Returns boolean

    @@ -814,7 +814,7 @@

    handleChange

  • Parameters

    @@ -837,7 +837,7 @@

    handleVisibleChange

  • Parameters

    @@ -861,7 +861,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/CombineErrors.html b/apidoc/classes/CombineErrors.html index 4097c127b..56d94160f 100644 --- a/apidoc/classes/CombineErrors.html +++ b/apidoc/classes/CombineErrors.html @@ -196,7 +196,7 @@

    context

    @@ -244,7 +244,7 @@

    state

    @@ -255,7 +255,7 @@

    Static contextType

    @@ -443,7 +443,7 @@

    componentDidMount

    Returns void

    @@ -461,7 +461,7 @@

    componentDidUpdate

    Parameters

    @@ -570,7 +570,7 @@

    componentWillUnmount

    Returns void

    @@ -709,7 +709,7 @@

    render

    Returns ReactNode

    @@ -726,7 +726,7 @@

    setError

  • Parameters

    @@ -795,7 +795,7 @@

    shouldComponentUpdate

    Parameters

    @@ -821,7 +821,7 @@

    subscribe

  • Returns void

    @@ -838,7 +838,7 @@

    unsubscribe

  • Returns void

    diff --git a/apidoc/classes/CopyButton.html b/apidoc/classes/CopyButton.html index 5c1676089..42fd8b8e2 100644 --- a/apidoc/classes/CopyButton.html +++ b/apidoc/classes/CopyButton.html @@ -297,7 +297,7 @@

    Static defaultProps

    defaultProps: { onCopyError: string; onCopySuccess: string } = ...
    @@ -784,7 +784,7 @@

    onCopy

  • Parameters

    @@ -828,7 +828,7 @@

    onCopyCallback

  • Parameters

    @@ -855,7 +855,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/DateRangeQuickPicker.html b/apidoc/classes/DateRangeQuickPicker.html index 5ed36806f..3db364937 100644 --- a/apidoc/classes/DateRangeQuickPicker.html +++ b/apidoc/classes/DateRangeQuickPicker.html @@ -137,7 +137,7 @@

    constructor

    Parameters

    @@ -269,7 +269,7 @@

    Static defaultProps

    defaultProps: { className: string; format: string; max: string; min: string; preset: { value: number }[]; value: any[]; valueType: string } = ...
    @@ -771,7 +771,7 @@

    handleChosenDays

  • Parameters

    @@ -794,7 +794,7 @@

    handleTimeChange

  • Parameters

    @@ -818,7 +818,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/Dialog.html b/apidoc/classes/Dialog.html index c72b7171c..51e805da0 100644 --- a/apidoc/classes/Dialog.html +++ b/apidoc/classes/Dialog.html @@ -141,7 +141,7 @@

    constructor

    Parameters

    @@ -192,7 +192,7 @@

    lastMousePosition

    lastMousePosition: IMousePosition = null
    @@ -250,7 +250,7 @@

    Static closeDialog

    closeDialog: (dialogId: string, options?: ICloseDialogOption) => void = ...
    @@ -317,7 +317,7 @@

    Static defaultProps

    defaultProps: { className: string; closeBtn: boolean; footer: any; mask: boolean; maskClosable: boolean; position: DialogPosition; style: {}; title: string; visible: boolean; onClose: any } = ...
    @@ -361,7 +361,7 @@
    onClose: function
  • Returns void

    @@ -377,7 +377,7 @@

    Static openDialog

    openDialog: (options?: Partial<IOpenDialogOption>) => (triggerOnClose?: boolean) => void = ...
    @@ -892,7 +892,7 @@

    onClose

  • Parameters

    @@ -915,7 +915,7 @@

    onExited

  • Returns void

    @@ -933,7 +933,7 @@

    render

    Returns Element

    @@ -1035,7 +1035,7 @@

    Static getDerivedState
  • Parameters

    diff --git a/apidoc/classes/ErrorBoundary.html b/apidoc/classes/ErrorBoundary.html index c2dddecae..08ff5a16c 100644 --- a/apidoc/classes/ErrorBoundary.html +++ b/apidoc/classes/ErrorBoundary.html @@ -254,7 +254,7 @@

    state

    @@ -275,7 +275,7 @@

    Static catchError

    catchError: (__namedParameters?: ICatchErrorOption) => <P>(BaseComponent: ComponentType<P>) => (props: P) => Element = ...
    @@ -381,7 +381,7 @@

    Static defaultProps

    defaultProps: { FallbackComponent: (__namedParameters: Object) => Element } = ...
    @@ -417,7 +417,7 @@

    Static withErrorBounda
    withErrorBoundary: <P>(__namedParameters?: IWithErrorBoundaryOption<P>) => (props: P) => Element = ...
    @@ -617,7 +617,7 @@

    componentDidCatch

    Parameters

    @@ -933,7 +933,7 @@

    render

    Returns ReactNode

    diff --git a/apidoc/classes/FieldArrayBuilder.html b/apidoc/classes/FieldArrayBuilder.html index 2a3fe382c..8429892e6 100644 --- a/apidoc/classes/FieldArrayBuilder.html +++ b/apidoc/classes/FieldArrayBuilder.html @@ -129,7 +129,7 @@

    constructor

    Type parameters

    @@ -158,7 +158,7 @@

    Protected _normalizeBefo @@ -169,7 +169,7 @@

    Protected _validators

    @@ -187,7 +187,7 @@

    build

    Parameters

    @@ -210,7 +210,7 @@

    defaultValue

  • Parameters

    @@ -234,7 +234,7 @@

    normalizeBeforeSubmit

    Type parameters

    @@ -263,7 +263,7 @@

    unwrap

  • @@ -286,7 +286,7 @@

    validators

    diff --git a/apidoc/classes/FieldArrayModel.html b/apidoc/classes/FieldArrayModel.html index e6bf24e3e..84fbaa1a9 100644 --- a/apidoc/classes/FieldArrayModel.html +++ b/apidoc/classes/FieldArrayModel.html @@ -157,7 +157,7 @@

    Protected

    Overrides BasicModel._displayName

    @@ -172,7 +172,7 @@

    Optional builder: FieldArrayBuilder<BasicBuilder<Item, Child>>

    @@ -187,7 +187,7 @@

    Readonly children$

    children$: BehaviorSubject<Child[]>
    @@ -198,7 +198,7 @@

    destroyOnUnmount

    @@ -214,7 +214,7 @@

    Readonly error$

    @@ -232,7 +232,7 @@

    normalizeBeforeSubmit

    normalizeBeforeSubmit: INormalizeBeforeSubmit<Item[], any> = ...
    @@ -248,7 +248,7 @@

    owner

    @@ -265,7 +265,7 @@

    children

  • @@ -288,7 +288,7 @@

    error

  • @@ -301,7 +301,7 @@

    Returns
    @@ -329,7 +329,7 @@

    form

  • Returns FormModel<UnknownFieldSetModelChildren>

    @@ -346,7 +346,7 @@

    valid$

  • Returns BehaviorSubject<boolean>

    @@ -363,7 +363,7 @@

    value

  • Returns readonly Item[]

    @@ -380,7 +380,7 @@

    value$

  • Returns BehaviorSubject<readonly Item[]>

    @@ -401,7 +401,7 @@

    _getValid$

    Parameters

    @@ -425,7 +425,7 @@

    clear

    @@ -448,7 +448,7 @@

    clearError

    @@ -471,7 +471,7 @@

    dirty

    @@ -495,7 +495,7 @@

    dispose

    Returns void

    @@ -512,7 +512,7 @@

    filter

  • @@ -569,7 +569,7 @@

    get

  • @@ -734,7 +734,7 @@

    pristine

    @@ -757,7 +757,7 @@

    push

  • @@ -779,7 +779,7 @@

    Returns number
    @@ -811,7 +811,7 @@

    reset

    @@ -833,7 +833,7 @@

    shift

  • @@ -856,7 +856,7 @@

    sort

  • @@ -910,7 +910,7 @@

    splice

  • @@ -945,7 +945,7 @@

    Returns Child
    @@ -990,7 +990,7 @@

    touched

    @@ -1013,7 +1013,7 @@

    Protected triggerValidat

    Parameters

    @@ -1037,7 +1037,7 @@

    unshift

  • @@ -1059,7 +1059,7 @@

    Returns number
    @@ -1091,7 +1091,7 @@

    valid

    Returns boolean

    @@ -1109,7 +1109,7 @@

    validate

    diff --git a/apidoc/classes/FieldBuilder.html b/apidoc/classes/FieldBuilder.html index 16d2f2947..cb76dd3f6 100644 --- a/apidoc/classes/FieldBuilder.html +++ b/apidoc/classes/FieldBuilder.html @@ -128,7 +128,7 @@

    constructor

    Type parameters

    @@ -164,7 +164,7 @@

    Protected _normalizeBefo @@ -175,7 +175,7 @@

    Protected _validators

    @@ -193,7 +193,7 @@

    build

    Parameters

    @@ -217,7 +217,7 @@

    normalizeBeforeSubmit

    Type parameters

    @@ -247,7 +247,7 @@

    validators

    diff --git a/apidoc/classes/FieldModel.html b/apidoc/classes/FieldModel.html index a2417efc7..40a079385 100644 --- a/apidoc/classes/FieldModel.html +++ b/apidoc/classes/FieldModel.html @@ -147,7 +147,7 @@

    Protected

    Overrides BasicModel._displayName

    @@ -162,7 +162,7 @@

    Readonly _valid$

    _valid$: BehaviorSubject<boolean> = ...
    @@ -172,7 +172,7 @@

    Readonly _value$

    _value$: BehaviorSubject<Value> = ...
    @@ -182,7 +182,7 @@

    Optional builder: FieldBuilder<Value>

    @@ -198,7 +198,7 @@

    destroyOnUnmount

    @@ -214,7 +214,7 @@

    Readonly error$

    @@ -232,7 +232,7 @@

    isCompositing

    isCompositing: boolean = false
    @@ -247,7 +247,7 @@

    isTouched

    isTouched: boolean = false
    @@ -257,7 +257,7 @@

    normalizeBeforeSubmit

    normalizeBeforeSubmit: INormalizeBeforeSubmit<Value, any> = ...
    @@ -273,7 +273,7 @@

    owner

    @@ -291,7 +291,7 @@

    error

  • @@ -304,7 +304,7 @@

    Returns
    @@ -332,7 +332,7 @@

    form

  • Returns FormModel<UnknownFieldSetModelChildren>

    @@ -349,7 +349,7 @@

    valid$

  • Returns BehaviorSubject<boolean>

    @@ -367,7 +367,7 @@

    value

  • Returns Value

    @@ -375,7 +375,7 @@

    Returns Value

    Parameters

    @@ -398,7 +398,7 @@

    value$

  • Returns BehaviorSubject<Value>

    @@ -419,7 +419,7 @@

    clear

    @@ -442,7 +442,7 @@

    clearError

    Returns void

    @@ -460,7 +460,7 @@

    dirty

    @@ -484,7 +484,7 @@

    dispose

    Returns void

    @@ -502,7 +502,7 @@

    getRawValue

    Returns Value

    @@ -520,7 +520,7 @@

    getSubmitValue

    @@ -543,7 +543,7 @@

    initialize

    @@ -575,7 +575,7 @@

    patchValue

    @@ -607,7 +607,7 @@

    pristine

    @@ -630,7 +630,7 @@

    reset

    @@ -653,7 +653,7 @@

    touched

    @@ -676,7 +676,7 @@

    Protected triggerValidat

    Parameters

    @@ -700,7 +700,7 @@

    valid

    Returns boolean

    @@ -718,7 +718,7 @@

    validate

    diff --git a/apidoc/classes/FieldSetBuilder.html b/apidoc/classes/FieldSetBuilder.html index c4721fae1..8e65542b6 100644 --- a/apidoc/classes/FieldSetBuilder.html +++ b/apidoc/classes/FieldSetBuilder.html @@ -134,7 +134,7 @@

    constructor

    Type parameters

    @@ -170,7 +170,7 @@

    Protected _normalizeBefo @@ -181,7 +181,7 @@

    Protected _validators

    @@ -199,7 +199,7 @@

    build

    Parameters

    @@ -222,7 +222,7 @@

    get

  • @@ -257,7 +257,7 @@

    normalizeBeforeSubmit

    Type parameters

    @@ -287,7 +287,7 @@

    validators

    diff --git a/apidoc/classes/FieldSetModel.html b/apidoc/classes/FieldSetModel.html index b01dff890..8e664260a 100644 --- a/apidoc/classes/FieldSetModel.html +++ b/apidoc/classes/FieldSetModel.html @@ -151,7 +151,7 @@

    Protected

    Overrides BasicModel._displayName

    @@ -166,7 +166,7 @@

    Optional builder: FieldSetBuilder<UnknownFieldSetBuilderChildren>

    @@ -181,7 +181,7 @@

    Readonly childRegister$childRegister$: Subject<string> = ...

    @@ -191,7 +191,7 @@

    Readonly childRemove$

    childRemove$: Subject<string> = ...

    @@ -201,7 +201,7 @@

    Readonly children

    children: Children = ...
    @@ -212,7 +212,7 @@

    destroyOnUnmount

    @@ -228,7 +228,7 @@

    Readonly error$

    @@ -246,7 +246,7 @@

    normalizeBeforeSubmit

    normalizeBeforeSubmit: INormalizeBeforeSubmit<$FieldSetValue<Children>, any> = ...
    @@ -262,7 +262,7 @@

    owner

    @@ -280,7 +280,7 @@

    error

  • @@ -293,7 +293,7 @@

    Returns
    @@ -321,7 +321,7 @@

    form

  • Returns FormModel<UnknownFieldSetModelChildren>

    @@ -338,7 +338,7 @@

    valid$

  • Returns BehaviorSubject<boolean>

    @@ -355,7 +355,7 @@

    value

  • Returns $FieldSetValue<Children>

    @@ -372,7 +372,7 @@

    value$

  • Returns BehaviorSubject<$FieldSetValue<Children>>

    @@ -393,7 +393,7 @@

    _getValid$

    Parameters

    @@ -417,7 +417,7 @@

    _getValue$

    Parameters

    @@ -441,7 +441,7 @@

    clear

    @@ -464,7 +464,7 @@

    clearError

    @@ -487,7 +487,7 @@

    dirty

    @@ -511,7 +511,7 @@

    dispose

    Returns void

    @@ -528,7 +528,7 @@

    get

  • @@ -566,7 +566,7 @@

    getRawValue

    @@ -589,7 +589,7 @@

    getSubmitValue

    @@ -612,7 +612,7 @@

    initialize

    @@ -644,7 +644,7 @@

    patchValue

    @@ -676,7 +676,7 @@

    pristine

    @@ -698,7 +698,7 @@

    registerChild

  • @@ -735,7 +735,7 @@

    removeChild

  • @@ -774,7 +774,7 @@

    reset

    @@ -797,7 +797,7 @@

    touched

    @@ -820,7 +820,7 @@

    Protected triggerValidat

    Parameters

    @@ -844,7 +844,7 @@

    valid

    Returns boolean

    @@ -862,7 +862,7 @@

    validate

    diff --git a/apidoc/classes/Form.html b/apidoc/classes/Form.html index 06b674ab1..ef89adb83 100644 --- a/apidoc/classes/Form.html +++ b/apidoc/classes/Form.html @@ -262,7 +262,7 @@

    Readonly formRef

    formRef: RefObject<HTMLFormElement> = ...
    @@ -320,7 +320,7 @@

    Static CombineErrors

    CombineErrors: typeof CombineErrors = ...
    @@ -330,7 +330,7 @@

    Static FieldSetValueFieldSetValue: (__namedParameters: IFieldSetValueProps) => Element = ...

    @@ -366,7 +366,7 @@

    Static FieldValid

    FieldValid: <T>(props: IFieldValidProps<T>) => React.ReactElement | null = ...
    @@ -409,7 +409,7 @@

    Static FieldValue

    FieldValue: <T>(props: IFieldValueProps<T>) => React.ReactElement | null = ...
    @@ -451,7 +451,7 @@

    Static TouchWhen

    TouchWhen: typeof TouchWhen = ...
    @@ -461,7 +461,7 @@

    Static ValidateOccasion

    ValidateOccasion: typeof ValidateOccasion = ...
    @@ -471,7 +471,7 @@

    Static ValidateOption

    ValidateOption: typeof ValidateOption = ...
    @@ -481,7 +481,7 @@

    Static array

    array: <ChildBuilder>(childBuilder: ChildBuilder) => FieldArrayBuilder<ChildBuilder> = ...
    @@ -559,7 +559,7 @@

    Static createAsyncVali
    createAsyncValidator: <T>(validator: (value: T, context: ValidatorContext<T>) => null | Observable<IMaybeError<T>> | Promise<IMaybeError<T>>) => IAsyncValidator<T> = ...
    @@ -625,7 +625,7 @@

    Static displayName

    displayName: string = 'ZentForm'
    @@ -635,7 +635,7 @@

    Static field

    field: <T>(defaultValue: T) => FieldBuilder<T> = ...
    @@ -680,7 +680,7 @@

    Static form

    form: <ChildBuilders>(childBuilders: ChildBuilders) => FormBuilder<ChildBuilders> = ...
    @@ -725,7 +725,7 @@

    Static isAsyncValidato
    isAsyncValidator: <T>(validator: ISyncValidator<T> | IAsyncValidator<T>) => validator is IAsyncValidator<T> = ...
    @@ -770,7 +770,7 @@

    Static set

    set: <ChildBuilders>(childBuilders: ChildBuilders) => FieldSetBuilder<ChildBuilders> = ...
    @@ -815,7 +815,7 @@

    Static useField

    useField: { <Value>(field: string | ModelRef<Value, any, FieldModel<Value>>, defaultValue: Value | (() => Value), validators?: IValidators<Value>): FieldModel<Value>; <Value>(field: FieldModel<Value> | ModelRef<Value, any, FieldModel<Value>>): FieldModel<Value> } = ...
    @@ -897,7 +897,7 @@

    Static useFieldArrayuseFieldArray: { <Item, Child>(field: string | ModelRef<readonly Item[], any, FieldArrayModel<Item, Child>>, validators?: IValidators<readonly (Item | null)[]>, defaultValue?: Item[]): FieldArrayModel<Item, Child>; <Item, Child>(field: FieldArrayModel<Item, Child>): FieldArrayModel<Item, Child> } = ...

    @@ -985,7 +985,7 @@

    Static useFieldArrayuseFieldArrayChildModels: <Item, Child>(field: string | FieldArrayModel<Item, Child>) => Child[] | null = ...

    @@ -1030,7 +1030,7 @@

    Static useFieldArrayuseFieldArrayValue: <Item, Child>(field: string | FieldArrayModel<Item, Child>) => Child[] | null = ...

    @@ -1082,7 +1082,7 @@

    Static useFieldSet

    useFieldSet: { <T>(field: string | ModelRef<$FieldSetValue<T>, any, FieldSetModel<T>>, validators?: IValidators<$FieldSetValue<T>>): IUseFieldSet<T>; <T>(field: FieldSetModel<T>): IUseFieldSet<T> } = ...
    @@ -1158,7 +1158,7 @@

    Static useFieldValiduseFieldValid: <T>(field: string | IModel<T>) => boolean | null = ...

    @@ -1203,7 +1203,7 @@

    Static useFieldValueuseFieldValue: <T>(field: string | IModel<T>) => T | null = ...

    @@ -1248,7 +1248,7 @@

    Static useForm

    useForm: <T>(arg: View | FormBuilder<T>) => ZentForm<$FieldSetBuilderChildren<T>> = ...
    @@ -1285,7 +1285,7 @@

    Static useFormValiduseFormValid: <T>(form: ZentForm<T>) => boolean = ...

    @@ -1330,7 +1330,7 @@

    Static useFormValueuseFormValue: <T>(form: ZentForm<T>, defaultValue?: $FieldSetValue<T>) => $FieldSetValue<T> = ...

    @@ -1380,7 +1380,7 @@

    Static useModelValiduseModelValid: <T>(model: IModel<T>) => boolean | null = ...

    @@ -1429,7 +1429,7 @@

    Static useModelValueuseModelValue: <T>(model: IModel<T>) => T | null = ...

    @@ -1478,7 +1478,7 @@

    Static useNamedChilduseNamedChildModel: <T, K>(fieldSet: FieldSetModel<T>, name: K) => T[K] = ...

    @@ -1711,7 +1711,7 @@

    componentDidMount

    Returns void

    @@ -1729,7 +1729,7 @@

    componentDidUpdate

    Parameters

    @@ -1838,7 +1838,7 @@

    componentWillUnmount

    Returns void

    @@ -1977,7 +1977,7 @@

    render

    Returns Element

    @@ -1994,7 +1994,7 @@

    scrollToFirstError

  • Returns void

    diff --git a/apidoc/classes/FormBuilder.html b/apidoc/classes/FormBuilder.html index 071549945..584825596 100644 --- a/apidoc/classes/FormBuilder.html +++ b/apidoc/classes/FormBuilder.html @@ -129,7 +129,7 @@

    constructor

    Type parameters

    @@ -166,7 +166,7 @@

    Protected _normalizeBefo @@ -177,7 +177,7 @@

    Protected _validators

    @@ -195,7 +195,7 @@

    build

    Parameters

    @@ -219,7 +219,7 @@

    get

    @@ -254,7 +254,7 @@

    normalizeBeforeSubmit

    Type parameters

    @@ -284,7 +284,7 @@

    validators

    diff --git a/apidoc/classes/FormValidationError.html b/apidoc/classes/FormValidationError.html index 323a9f4cc..3a4d6ffac 100644 --- a/apidoc/classes/FormValidationError.html +++ b/apidoc/classes/FormValidationError.html @@ -120,7 +120,7 @@

    constructor

    Parameters

    diff --git a/apidoc/classes/Grid.html b/apidoc/classes/Grid.html index a9390e7d1..dacfd2af1 100644 --- a/apidoc/classes/Grid.html +++ b/apidoc/classes/Grid.html @@ -204,7 +204,7 @@

    constructor

    Type parameters

    @@ -238,7 +238,7 @@

    bodyTable

    bodyTable: RefObject<HTMLDivElement> = ...
    @@ -277,7 +277,7 @@

    footEl

    footEl: Element
    @@ -287,7 +287,7 @@

    footNode

    footNode: RefObject<Footer> = ...
    @@ -297,7 +297,7 @@

    getExpandBodyRender

    getExpandBodyRender: (expandRowKeys: boolean[], expandation: IGridExpandation<any>) => IGridColumnBodyRenderFunc<Data> = ...
    @@ -331,7 +331,7 @@

    gridNode

    gridNode: RefObject<HTMLDivElement> = ...
    @@ -341,7 +341,7 @@

    handleBatchSelect

    handleBatchSelect: (type: "selectAll" | "removeAll", datasets: readonly Data[]) => void = ...
    @@ -375,7 +375,7 @@

    handleBodyScrollRunOnceNextFrame

    handleBodyScrollRunOnceNextFrame: (e: UIEvent<HTMLDivElement, UIEvent>) => void & ICancelable = ...
    @@ -385,7 +385,7 @@

    headerEl

    headerEl: Element
    @@ -395,7 +395,7 @@

    headerNode

    headerNode: RefObject<Header<Data>> = ...
    @@ -405,7 +405,7 @@

    isAnyColumnsFixed

    isAnyColumnsFixed: () => boolean = ...
    @@ -430,7 +430,7 @@

    isAnyColumnsLeftFixed

    isAnyColumnsLeftFixed: () => boolean = ...
    @@ -455,7 +455,7 @@

    isAnyColumnsRightFixed

    isAnyColumnsRightFixed: () => boolean = ...
    @@ -480,7 +480,7 @@

    lastScrollLeft

    lastScrollLeft: number
    @@ -490,7 +490,7 @@

    lastScrollTop

    lastScrollTop: number
    @@ -500,7 +500,7 @@

    leftBody

    leftBody: RefObject<HTMLDivElement> = ...
    @@ -510,7 +510,7 @@

    mounted

    mounted: boolean = false
    @@ -557,7 +557,7 @@

    renderSelectionCheckbox

    renderSelectionCheckbox: () => IGridColumnBodyRenderFunc<Data> = ...
    @@ -582,7 +582,7 @@

    renderSelectionRadio

    renderSelectionRadio: () => IGridColumnBodyRenderFunc<Data> = ...
    @@ -607,7 +607,7 @@

    rightBody

    rightBody: RefObject<HTMLDivElement> = ...
    @@ -617,7 +617,7 @@

    scrollBody

    scrollBody: RefObject<HTMLDivElement> = ...
    @@ -627,7 +627,7 @@

    scrollHeader

    scrollHeader: RefObject<HTMLDivElement> = ...
    @@ -637,7 +637,7 @@

    scrollPosition

    scrollPosition: GridScrollPosition
    @@ -647,7 +647,7 @@

    selectionPropsCache

    selectionPropsCache: {} = {}
    @@ -684,7 +684,7 @@

    stickyHead

    stickyHead: RefObject<HTMLDivElement> = ...
    @@ -694,7 +694,7 @@

    store

    store: default = ...
    @@ -737,7 +737,7 @@

    Static defaultProps

    defaultProps: Partial<IGridProps<any, {}, string>> = ...
    @@ -925,7 +925,7 @@

    componentDidMount

    Returns void

    @@ -943,7 +943,7 @@

    componentDidUpdate

    Parameters

    @@ -1004,7 +1004,7 @@

    componentWillReceiveProps

    Parameters

    @@ -1028,7 +1028,7 @@

    componentWillUnmount

    Returns void

    @@ -1094,7 +1094,7 @@

    forceScroll

  • Parameters

    @@ -1159,7 +1159,7 @@

    getBatchComponents

  • Parameters

    @@ -1182,7 +1182,7 @@

    getBatchFixedStyle

  • Returns { width: undefined } | { width: number }

    @@ -1199,7 +1199,7 @@

    getColumns

  • Parameters

    @@ -1228,7 +1228,7 @@

    getDataKey

  • Parameters

    @@ -1254,7 +1254,7 @@

    getEmpty

  • Parameters

    @@ -1277,7 +1277,7 @@

    getExpandRowKeys

  • Parameters

    @@ -1300,7 +1300,7 @@

    getLeftColumns

  • Returns any

    @@ -1317,7 +1317,7 @@

    getLeftFixedTable

  • Returns Element[]

    @@ -1334,7 +1334,7 @@

    getRightColumns

  • Returns any

    @@ -1351,7 +1351,7 @@

    getRightFixedTable

  • Returns Element[]

    @@ -1368,7 +1368,7 @@

    getSelectionColumn

  • Parameters

    @@ -1394,7 +1394,7 @@

    getSelectionPropsByItem

  • Parameters

    @@ -1467,7 +1467,7 @@

    getStickyHead

  • Returns Element

    @@ -1484,7 +1484,7 @@

    getTable

  • Parameters

    @@ -1524,7 +1524,7 @@

    handleBodyScroll

  • Parameters

    @@ -1547,7 +1547,7 @@

    handleExpandRow

  • Parameters

    @@ -1591,7 +1591,7 @@

    handleSelect

  • Parameters

    @@ -1620,7 +1620,7 @@

    isFixedLayout

  • Returns boolean

    @@ -1637,7 +1637,7 @@

    onChange

  • Parameters

    @@ -1660,7 +1660,7 @@

    onPaginationChange

  • Parameters

    @@ -1686,7 +1686,7 @@

    onResize

  • Returns void

    @@ -1703,7 +1703,7 @@

    onRowMouseEnter

  • Parameters

    @@ -1726,7 +1726,7 @@

    onScroll

  • Returns void

    @@ -1743,7 +1743,7 @@

    onSelectChange

  • Parameters

    @@ -1770,7 +1770,7 @@

    render

    Returns Element

    @@ -1787,7 +1787,7 @@

    setScrollPosition

  • Parameters

    @@ -1810,7 +1810,7 @@

    setScrollPositionClassName

  • Returns void

    @@ -1872,7 +1872,7 @@

    setStickyHeadWidth

  • Returns void

    @@ -1929,7 +1929,7 @@

    syncFixedTableRowHeight

  • Returns void

    @@ -1946,7 +1946,7 @@

    toggleBatchComponents

  • Returns void

    diff --git a/apidoc/classes/I18nReceiver.html b/apidoc/classes/I18nReceiver.html index a0fce4ac4..182ce1316 100644 --- a/apidoc/classes/I18nReceiver.html +++ b/apidoc/classes/I18nReceiver.html @@ -206,7 +206,7 @@

    context

    @@ -265,7 +265,7 @@

    Static contextType

    @@ -741,7 +741,7 @@

    receive

  • Returns I18nLocaleDataType<T>

    @@ -759,7 +759,7 @@

    render

    Returns ReactNode

    diff --git a/apidoc/classes/ImageUpload.html b/apidoc/classes/ImageUpload.html index 17ebed949..44721e3c6 100644 --- a/apidoc/classes/ImageUpload.html +++ b/apidoc/classes/ImageUpload.html @@ -161,7 +161,7 @@

    constructor

    Parameters

    @@ -213,7 +213,7 @@

    emitOnError

    @@ -276,7 +276,7 @@

    Static FILE_UPLOAD_STA
    FILE_UPLOAD_STATUS: typeof FILE_UPLOAD_STATUS = ...
    @@ -319,7 +319,7 @@

    Static defaultProps

    defaultProps: Partial<IImageUploadProps> = ...
    @@ -336,7 +336,7 @@

    fileList

  • @@ -358,7 +358,7 @@

    isControlled

  • @@ -380,7 +380,7 @@

    remainAmount

  • @@ -793,7 +793,7 @@

    Protected createNew

    Parameters

    @@ -817,7 +817,7 @@

    deleteUploadItem

    @@ -846,7 +846,7 @@

    emitOnUpload

    @@ -950,7 +950,7 @@

    getUploadItem

    Parameters

    @@ -974,7 +974,7 @@

    Protected getUpload

    Parameters

    @@ -998,7 +998,7 @@

    onTriggerUploadFile

    @@ -1027,7 +1027,7 @@

    render

    Returns Element

    @@ -1045,7 +1045,7 @@

    Protected renderTips

    Overrides AbstractMultiUpload.renderTips

    Returns ReactNode

    @@ -1063,7 +1063,7 @@

    Protected renderTrigger<

    Parameters

    @@ -1087,7 +1087,7 @@

    Protected renderUpload

    Overrides AbstractMultiUpload.renderUploadList

    Parameters

    @@ -1111,7 +1111,7 @@

    retryUploadItem

    @@ -1225,7 +1225,7 @@

    updateFileList

    @@ -1272,7 +1272,7 @@

    updateUploadItem

    @@ -1304,7 +1304,7 @@

    updateUploadItemPercent

    @@ -1336,7 +1336,7 @@

    updateUploadItemStatusToFailed

    @@ -1365,7 +1365,7 @@

    updateUploadItemStatusToSuccess

    @@ -1397,7 +1397,7 @@

    Static getDerivedState

    Parameters

    diff --git a/apidoc/classes/Input.html b/apidoc/classes/Input.html index 609b9f631..7c34b7bf5 100644 --- a/apidoc/classes/Input.html +++ b/apidoc/classes/Input.html @@ -201,7 +201,7 @@

    clearInput

    clearInput: MouseEventHandler<HTMLElement> = ...
    @@ -212,7 +212,7 @@

    context

    @@ -222,7 +222,7 @@

    elementRef

    elementRef: RefObject<HTMLInputElement & HTMLTextAreaElement> = ...
    @@ -232,7 +232,7 @@

    onBlur

    onBlur: FocusEventHandler<HTMLInputElement & HTMLTextAreaElement> = ...
    @@ -242,7 +242,7 @@

    onFocus

    onFocus: FocusEventHandler<HTMLInputElement & HTMLTextAreaElement> = ...
    @@ -290,7 +290,7 @@

    state

    @@ -309,7 +309,7 @@

    Static contextType

    @@ -319,7 +319,7 @@

    Static defaultProps

    defaultProps: { size: string; type: string } = ...
    @@ -340,7 +340,7 @@

    Static displayName

    displayName: string = 'ZentInput'
    @@ -357,7 +357,7 @@

    input

  • @@ -553,7 +553,7 @@

    componentDidMount

    Returns void

    @@ -764,7 +764,7 @@

    focus

  • Returns void

    @@ -853,7 +853,7 @@

    onKeyDown

  • Parameters

    @@ -877,7 +877,7 @@

    render

    Returns Element

    @@ -894,7 +894,7 @@

    renderImpl

  • Parameters

    @@ -917,7 +917,7 @@

    renderInput

  • Parameters

    @@ -940,7 +940,7 @@

    select

  • Parameters

    diff --git a/apidoc/classes/LayoutCol.html b/apidoc/classes/LayoutCol.html index 55d6cb0e2..f0e118202 100644 --- a/apidoc/classes/LayoutCol.html +++ b/apidoc/classes/LayoutCol.html @@ -295,7 +295,7 @@

    Static defaultProps

    defaultProps: { offset: number; order: number } = ...
    @@ -783,7 +783,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/LayoutGrid.html b/apidoc/classes/LayoutGrid.html index f8aff811c..43b3e8e2b 100644 --- a/apidoc/classes/LayoutGrid.html +++ b/apidoc/classes/LayoutGrid.html @@ -252,7 +252,7 @@

    state

    @@ -769,7 +769,7 @@

    onBreakpointChange

  • Parameters

    @@ -796,7 +796,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/LayoutRow.html b/apidoc/classes/LayoutRow.html index ee3276d6a..34b48898f 100644 --- a/apidoc/classes/LayoutRow.html +++ b/apidoc/classes/LayoutRow.html @@ -295,7 +295,7 @@

    Static defaultProps

    defaultProps: { align: string; justify: string } = ...
    @@ -783,7 +783,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/LitePagination.html b/apidoc/classes/LitePagination.html index ccead9648..9877052fd 100644 --- a/apidoc/classes/LitePagination.html +++ b/apidoc/classes/LitePagination.html @@ -229,7 +229,7 @@

    getLayout

    @@ -341,7 +341,7 @@

    Static defaultProps

    defaultProps: { buttonBordered: boolean; current: number; pageSize: number; showQuickJumper: boolean; showSizeChanger: boolean } = ...
    @@ -378,7 +378,7 @@

    layoutFn

  • Returns (options: IPaginationLayoutOptions) => PaginationLayout[]

    @@ -420,7 +420,7 @@

    name

  • Returns string

    @@ -864,7 +864,7 @@

    getLayoutOptions

    Parameters

    @@ -924,7 +924,7 @@

    getTotal

    @@ -953,7 +953,7 @@

    getTotalPages

    Parameters

    @@ -980,7 +980,7 @@

    onPageChange

    Parameters

    @@ -1004,7 +1004,7 @@

    onPageSizeChange

    Parameters

    @@ -1028,7 +1028,7 @@

    render

    Returns Element

    @@ -1131,7 +1131,7 @@

    shouldUpdateLayout

    Parameters

    diff --git a/apidoc/classes/Mention.html b/apidoc/classes/Mention.html index 60457f6be..2f535234a 100644 --- a/apidoc/classes/Mention.html +++ b/apidoc/classes/Mention.html @@ -208,7 +208,7 @@

    BottomPosition

    BottomPosition: IPositionFunction = ...
    @@ -218,7 +218,7 @@

    TopPosition

    TopPosition: IPositionFunction = ...
    @@ -228,7 +228,7 @@

    _compositing

    _compositing: boolean
    @@ -267,7 +267,7 @@

    input

    input: HTMLInputElement | HTMLTextAreaElement = null
    @@ -277,7 +277,7 @@

    onInputScroll

    onInputScroll: () => void & ICancelable = ...
    @@ -325,7 +325,7 @@

    state

    @@ -352,7 +352,7 @@

    suggestionList

    suggestionList: SelectMenu = null
    @@ -395,7 +395,7 @@

    Static defaultProps

    defaultProps: { inline: boolean; multiLine: boolean; position: string; suggestionNotFoundContent: string; suggestions: any[]; triggerText: string } = ...
    @@ -606,7 +606,7 @@

    componentDidMount

    Returns void

    @@ -624,7 +624,7 @@

    componentDidUpdate

    Parameters

    @@ -841,7 +841,7 @@

    getCaretCoordinates

  • Parameters

    @@ -875,7 +875,7 @@

    getDefaultState

  • Returns { placeholder: any; position: any; search: any; suggestionVisible: boolean }

    @@ -942,7 +942,7 @@

    onCloseMenuList

  • Returns void

    @@ -959,7 +959,7 @@

    onInputBlur

  • Parameters

    @@ -982,7 +982,7 @@

    onInputChange

  • Parameters

    @@ -1005,7 +1005,7 @@

    onInputCompositionEnd

  • Returns void

    @@ -1022,7 +1022,7 @@

    onInputCompositionStart

  • Returns void

    @@ -1039,7 +1039,7 @@

    onInputKeyDown

  • Parameters

    @@ -1062,7 +1062,7 @@

    onInputKeyUp

  • Parameters

    @@ -1085,7 +1085,7 @@

    onSelectSuggestion

  • Parameters

    @@ -1108,7 +1108,7 @@

    onSelectionChange

  • Returns void

    @@ -1125,7 +1125,7 @@

    onSuggestionListRefChange

  • Parameters

    @@ -1148,7 +1148,7 @@

    onSuggestionVisibleChange

  • Parameters

    @@ -1172,7 +1172,7 @@

    render

    Returns Element

    @@ -1189,7 +1189,7 @@

    saveInputRef

  • Parameters

    @@ -1257,7 +1257,7 @@

    setStateIfChange

  • Parameters

    @@ -1280,7 +1280,7 @@

    setSuggestionVisible

  • @@ -1350,7 +1350,7 @@

    triggerEventCallback

  • Parameters

    diff --git a/apidoc/classes/Menu.html b/apidoc/classes/Menu.html index 63ead2483..dbfdf004c 100644 --- a/apidoc/classes/Menu.html +++ b/apidoc/classes/Menu.html @@ -143,7 +143,7 @@

    constructor

    Parameters

    @@ -242,7 +242,7 @@

    Static MenuItem

    MenuItem: typeof MenuItem = ...
    @@ -252,7 +252,7 @@

    Static SubMenu

    SubMenu: typeof default = ...
    @@ -295,7 +295,7 @@

    Static defaultProps

    defaultProps: { defaultExpandKeys: any[]; inlineIndent: number; mode: string; onClick: () => void; onSubMenuClick: () => void } = ...
    @@ -816,7 +816,7 @@

    handleClick

    Parameters

    @@ -842,7 +842,7 @@

    handleSelect

  • Parameters

    @@ -866,7 +866,7 @@

    render

    Returns Element

    @@ -884,7 +884,7 @@

    renderCommonMenuItem

    Parameters

    @@ -916,7 +916,7 @@

    renderMenuItem

  • Parameters

    @@ -1027,7 +1027,7 @@

    toggleExpand

  • Parameters

    @@ -1050,7 +1050,7 @@

    Static getDerivedState
  • Parameters

    diff --git a/apidoc/classes/MenuCascader.html b/apidoc/classes/MenuCascader.html index 3381d31c8..c071c6830 100644 --- a/apidoc/classes/MenuCascader.html +++ b/apidoc/classes/MenuCascader.html @@ -137,7 +137,7 @@

    constructor

    Parameters

    @@ -160,7 +160,7 @@

    context

    @@ -218,7 +218,7 @@

    tagsTriggerRef

    tagsTriggerRef: RefObject<TagsTrigger> = ...
    @@ -229,7 +229,7 @@

    Static contextType

    @@ -239,7 +239,7 @@

    Static defaultProps

    defaultProps: { async: boolean; clearable: boolean; expandTrigger: string; filter: (keyword: string, path: ICascaderItem[]) => boolean; highlight: (keyword: string, path: ICascaderItem[]) => ReactNode; limit: number; lineHeight: number; loadChildrenOnScroll: boolean; maxLine: any; multiple: boolean; multipleType: string; options: any[]; renderValue: (path: ICascaderItem[]) => string; scrollable: boolean; searchable: boolean; simplifySelectionMode: string; value: any[] } = ...
    @@ -837,7 +837,7 @@

    render

    Returns Element

    @@ -939,7 +939,7 @@

    Static getDerivedState
  • Parameters

    diff --git a/apidoc/classes/MenuItem.html b/apidoc/classes/MenuItem.html index 5d2bf360e..20d928415 100644 --- a/apidoc/classes/MenuItem.html +++ b/apidoc/classes/MenuItem.html @@ -761,7 +761,7 @@

    handleClick

  • Parameters

    @@ -785,7 +785,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/MiniPagination.html b/apidoc/classes/MiniPagination.html index c6aaa51bf..0d9e9f058 100644 --- a/apidoc/classes/MiniPagination.html +++ b/apidoc/classes/MiniPagination.html @@ -229,7 +229,7 @@

    getLayout

    @@ -341,7 +341,7 @@

    Static defaultProps

    defaultProps: { buttonBordered: boolean; current: number; pageSize: number } = ...
    @@ -372,7 +372,7 @@

    layoutFn

  • Returns (options: IPaginationLayoutOptions) => PaginationLayout[]

    @@ -407,7 +407,7 @@

    name

  • Returns string

    @@ -851,7 +851,7 @@

    getLayoutOptions

    Parameters

    @@ -911,7 +911,7 @@

    getTotal

    @@ -940,7 +940,7 @@

    getTotalPages

    Parameters

    @@ -967,7 +967,7 @@

    onPageChange

    Parameters

    @@ -991,7 +991,7 @@

    onPageSizeChange

    Parameters

    @@ -1015,7 +1015,7 @@

    render

    Returns Element

    @@ -1118,7 +1118,7 @@

    shouldUpdateLayout

    Parameters

    diff --git a/apidoc/classes/NumberInput.html b/apidoc/classes/NumberInput.html index 1b63ad011..bbef827b9 100644 --- a/apidoc/classes/NumberInput.html +++ b/apidoc/classes/NumberInput.html @@ -141,7 +141,7 @@

    constructor

    Parameters

    @@ -164,7 +164,7 @@

    context

    @@ -174,7 +174,7 @@

    focused

    focused: boolean = false
    @@ -184,7 +184,7 @@

    inputRef

    inputRef: RefObject<Input> = ...
    @@ -242,7 +242,7 @@

    timer

    timer: any = null
    @@ -253,7 +253,7 @@

    Static contextType

    @@ -263,7 +263,7 @@

    Static defaultProps

    defaultProps: { decimal: number; integer: boolean; size: string; type: string } = ...
    @@ -468,7 +468,7 @@

    componentDidMount

    Returns void

    @@ -486,7 +486,7 @@

    componentDidUpdate

    Parameters

    @@ -740,7 +740,7 @@

    render

    Returns Element

    @@ -757,7 +757,7 @@

    renderChild

  • Parameters

    @@ -780,7 +780,7 @@

    renderInput

  • Returns Element

    @@ -882,7 +882,7 @@

    Static getDerivedState
  • Parameters

    diff --git a/apidoc/classes/Pagination.html b/apidoc/classes/Pagination.html index 74c1487cc..03710facd 100644 --- a/apidoc/classes/Pagination.html +++ b/apidoc/classes/Pagination.html @@ -229,7 +229,7 @@

    getLayout

    @@ -341,7 +341,7 @@

    Static defaultProps

    defaultProps: { buttonBordered: boolean; current: number; pageSize: number; showQuickJumper: boolean; showSizeChanger: boolean } = ...
    @@ -378,7 +378,7 @@

    layoutFn

  • Returns (options: IPaginationLayoutOptions) => PaginationLayout[]

    @@ -413,7 +413,7 @@

    name

  • Returns string

    @@ -857,7 +857,7 @@

    getLayoutOptions

    Parameters

    @@ -917,7 +917,7 @@

    getTotal

    @@ -946,7 +946,7 @@

    getTotalPages

    Parameters

    @@ -973,7 +973,7 @@

    onPageChange

    Parameters

    @@ -997,7 +997,7 @@

    onPageSizeChange

    Parameters

    @@ -1021,7 +1021,7 @@

    render

    Returns Element

    @@ -1124,7 +1124,7 @@

    shouldUpdateLayout

    Parameters

    diff --git a/apidoc/classes/Pop.html b/apidoc/classes/Pop.html index 6563aa1a8..a6d76e3b9 100644 --- a/apidoc/classes/Pop.html +++ b/apidoc/classes/Pop.html @@ -257,7 +257,7 @@

    state

    @@ -311,7 +311,7 @@

    Static defaultProps

    defaultProps: { containerSelector: string; cushion: number; mouseEnterDelay: number; mouseLeaveDelay: number; position: string; trigger: string; type: string } = ...
    @@ -347,7 +347,7 @@

    Static withPop

    withPop: <Props>(Base: ComponentType<Props>) => ForwardRefExoticComponent<PropsWithoutRef<Omit<Props, "pop">> & RefAttributes<any>> = ...
    @@ -528,7 +528,7 @@

    adjustPosition

  • Returns void

    @@ -545,7 +545,7 @@

    changePending

  • Parameters

    @@ -764,7 +764,7 @@

    componentWillUnmount

    Returns void

    @@ -902,7 +902,7 @@

    getWrappedPopover

  • Returns Popover

    @@ -920,7 +920,7 @@

    render

    Returns Element

    @@ -937,7 +937,7 @@

    renderTrigger

  • Returns Element

    diff --git a/apidoc/classes/Popover.html b/apidoc/classes/Popover.html index ede039633..91a7e5770 100644 --- a/apidoc/classes/Popover.html +++ b/apidoc/classes/Popover.html @@ -201,7 +201,7 @@

    Readonly contentRef

    contentRef: RefObject<IPopoverContentImperativeHandle> = ...
    @@ -212,7 +212,7 @@

    context

    @@ -222,7 +222,7 @@

    getAnchor

    getAnchor: () => Element | Text = null
    @@ -253,7 +253,7 @@

    isPositionReady

    isPositionReady: boolean = false
    @@ -263,7 +263,7 @@

    Readonly portalRef

    portalRef: RefObject<IPortalImperativeHandlers> = ...
    @@ -311,7 +311,7 @@

    state

    @@ -329,7 +329,7 @@

    Static Anchor

    Anchor: typeof PopoverAnchor = ...
    @@ -339,7 +339,7 @@

    Static Content

    Content: (__namedParameters: IPopoverContentProps) => Element = ...
    @@ -370,7 +370,7 @@

    Static Context

    Context: Context<IPopoverContext> = ...
    @@ -380,7 +380,7 @@

    Static Position

    Position: __module = ...
    @@ -390,7 +390,7 @@

    Static Trigger

    Trigger: { Base: typeof PopoverTrigger; Click: <ChildProps>(__namedParameters: IPopoverClickTriggerProps<ChildProps>) => Element; Focus: <ChildProps>(__namedParameters: IPopoverFocusTriggerProps<ChildProps>) => Element; Hover: <ChildProps>(props: IPopoverHoverTriggerProps<ChildProps>) => Element } = ...
    @@ -497,7 +497,7 @@

    Static contextType

    @@ -507,7 +507,7 @@

    Static defaultProps

    defaultProps: { containerSelector: string; cushion: number } = ...
    @@ -528,7 +528,7 @@

    Static withPopover

    withPopover: <T>(Comp: ComponentType<T>) => ComponentType<Omit<T, "popover">> = ...
    @@ -709,7 +709,7 @@

    adjustPosition

  • Returns void

    @@ -726,7 +726,7 @@

    close

  • Returns void

    @@ -777,7 +777,7 @@

    componentDidMount

    Returns void

    @@ -795,7 +795,7 @@

    componentDidUpdate

    Parameters

    @@ -907,7 +907,7 @@

    componentWillUnmount

    Returns void

    @@ -1045,7 +1045,7 @@

    open

  • Returns void

    @@ -1063,7 +1063,7 @@

    render

    Returns Element

    @@ -1080,7 +1080,7 @@

    safeSetState

  • Parameters

    @@ -1163,7 +1163,7 @@

    setVisible

  • Parameters

    @@ -1226,7 +1226,7 @@

    Static getDerivedState
  • Parameters

    diff --git a/apidoc/classes/PopoverAnchor.html b/apidoc/classes/PopoverAnchor.html index 6aac0e171..146b6ccc3 100644 --- a/apidoc/classes/PopoverAnchor.html +++ b/apidoc/classes/PopoverAnchor.html @@ -186,7 +186,7 @@

    context

    @@ -245,7 +245,7 @@

    Static contextType

    @@ -433,7 +433,7 @@

    componentDidMount

    Returns void

    @@ -572,7 +572,7 @@

    componentWillUnmount

    Returns void

    @@ -674,7 +674,7 @@

    getElement

  • Returns Element | Text

    @@ -728,7 +728,7 @@

    render

    Returns ReactNode

    diff --git a/apidoc/classes/PopoverTrigger.html b/apidoc/classes/PopoverTrigger.html index 297788e73..d9fd0f68f 100644 --- a/apidoc/classes/PopoverTrigger.html +++ b/apidoc/classes/PopoverTrigger.html @@ -223,7 +223,7 @@

    context

    @@ -282,7 +282,7 @@

    Static contextType

    @@ -758,7 +758,7 @@

    Protected getTrigger

    Parameters

    @@ -782,7 +782,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/PurePortal.html b/apidoc/classes/PurePortal.html index 78ce36e3d..01a74594a 100644 --- a/apidoc/classes/PurePortal.html +++ b/apidoc/classes/PurePortal.html @@ -199,7 +199,7 @@

    context

    @@ -209,7 +209,7 @@

    getContainer

    getContainer: (selector: string | HTMLElement) => Element = ...
    @@ -289,7 +289,7 @@

    Static contextType

    @@ -299,7 +299,7 @@

    Static defaultProps

    defaultProps: { append: boolean } = ...
    @@ -495,7 +495,7 @@

    componentDidMount

    Returns void

    @@ -634,7 +634,7 @@

    componentWillUnmount

    Returns void

    @@ -700,7 +700,7 @@

    contains

  • Parameters

    @@ -796,7 +796,7 @@

    render

    Returns ReactPortal

    diff --git a/apidoc/classes/Rate.html b/apidoc/classes/Rate.html index 157d84f7f..ef0eeb899 100644 --- a/apidoc/classes/Rate.html +++ b/apidoc/classes/Rate.html @@ -141,7 +141,7 @@

    constructor

    Parameters

    @@ -164,7 +164,7 @@

    context

    @@ -223,7 +223,7 @@

    Static contextType

    @@ -233,7 +233,7 @@

    Static defaultProps

    defaultProps: { allowClear: boolean; allowHalf: boolean; character: Element; count: number; readOnly: boolean; value: number } = ...
    @@ -732,7 +732,7 @@

    getStarDOM

  • Parameters

    @@ -755,7 +755,7 @@

    getStarValue

  • Parameters

    @@ -781,7 +781,7 @@

    onClick

  • Parameters

    @@ -807,7 +807,7 @@

    onHover

  • Parameters

    @@ -833,7 +833,7 @@

    onMouseLeave

  • Returns void

    @@ -851,7 +851,7 @@

    render

    Returns Element

    @@ -953,7 +953,7 @@

    Static getDerivedState
  • Parameters

    diff --git a/apidoc/classes/ScrollAlert.html b/apidoc/classes/ScrollAlert.html index 4e161923f..ad3500f39 100644 --- a/apidoc/classes/ScrollAlert.html +++ b/apidoc/classes/ScrollAlert.html @@ -149,7 +149,7 @@

    constructor

    Parameters

    @@ -200,7 +200,7 @@

    firstChildHeight

    firstChildHeight: number = 0
    @@ -258,7 +258,7 @@

    timeoutId

    timeoutId: any
    @@ -301,7 +301,7 @@

    Static defaultProps

    defaultProps: { bordered: boolean; loading: boolean; scrollInterval: number; type: string } = ...
    @@ -335,7 +335,7 @@

    renderItem

  • Returns Element[]

    @@ -492,7 +492,7 @@

    clearTimer

  • @@ -548,7 +548,7 @@

    componentDidMount

    Returns void

    @@ -687,7 +687,7 @@

    componentWillUnmount

    Returns void

    @@ -753,7 +753,7 @@

    continueScroll

  • Returns void

    @@ -842,7 +842,7 @@

    onFirstChildRef

  • Parameters

    @@ -866,7 +866,7 @@

    render

    Returns Element

    @@ -883,7 +883,7 @@

    resetChildren

  • @@ -905,7 +905,7 @@

    scrollHandler

  • @@ -1012,7 +1012,7 @@

    stopScroll

  • Returns void

    diff --git a/apidoc/classes/Select.html b/apidoc/classes/Select.html index fd1416d8d..b2d645dc3 100644 --- a/apidoc/classes/Select.html +++ b/apidoc/classes/Select.html @@ -179,7 +179,7 @@

    constructor

    Type parameters

    @@ -211,7 +211,7 @@

    context

    @@ -221,7 +221,7 @@

    filterOptions

    filterOptions: (keyword: string, options?: Item[], filter: false | ((keyword: string, item: Item) => boolean), creatable: boolean, isValidNewOption: (keyword: string, options: Item[]) => boolean, value: Item | Item[]) => Item[] = ...
    @@ -288,7 +288,7 @@

    inputRef

    inputRef: RefObject<HTMLInputElement> = ...
    @@ -298,7 +298,7 @@

    onKeywordChange

    onKeywordChange: ChangeEventHandler<HTMLInputElement> = ...
    @@ -308,7 +308,7 @@

    popoverRef

    popoverRef: RefObject<Popover> = ...
    @@ -355,7 +355,7 @@

    renderOption

    renderOption: IOptionRenderer<Key, Item> = ...
    @@ -376,7 +376,7 @@

    triggerRef

    triggerRef: RefObject<HTMLDivElement> = ...
    @@ -387,7 +387,7 @@

    Static contextType

    @@ -397,7 +397,7 @@

    Static defaultProps

    defaultProps: { clearable: boolean; creatable: boolean; filter: <Key, Item>(keyword: string, option: Item) => boolean; highlight: <Key, Item>(keyword: string, option: Item) => React.ReactNode; isEqual: <Key, Item>(a: Item, b: Item) => boolean; isValidNewOption: <Key>(keyword: string, options: ISelectItem<Key>[]) => boolean; loading: boolean; multiple: boolean; renderOptionList: <Key, Item>(options: Item[], renderOption: IOptionRenderer<Key, Item>) => ReactNode[]; size: string } = ...
    @@ -589,7 +589,7 @@

    Static reviveValue

    reviveValue: <K>(reviver: K | { key: K } | ISelectItem<K>["reviver"]) => ISelectItem<K> = ...
    @@ -633,7 +633,7 @@

    disabled

  • Returns boolean

    @@ -824,7 +824,7 @@

    componentDidMount

    Returns void

    @@ -842,7 +842,7 @@

    componentDidUpdate

    Parameters

    @@ -1023,7 +1023,7 @@

    focusSearchInput

  • Returns void

    @@ -1076,7 +1076,7 @@

    getSearchPlaceholder

  • Returns string

    @@ -1129,7 +1129,7 @@

    globalClick

  • Parameters

    @@ -1152,7 +1152,7 @@

    onClear

  • Parameters

    @@ -1175,7 +1175,7 @@

    onCreateClick

  • Returns void

    @@ -1192,7 +1192,7 @@

    onIndexChange

  • Parameters

    @@ -1215,7 +1215,7 @@

    onOptionMouseEnter

  • Parameters

    @@ -1238,7 +1238,7 @@

    onOptionMouseLeave

  • Parameters

    @@ -1261,7 +1261,7 @@

    onRemove

  • Parameters

    @@ -1284,7 +1284,7 @@

    onSelect

  • Parameters

    @@ -1307,7 +1307,7 @@

    onVisibleChange

  • Parameters

    @@ -1331,7 +1331,7 @@

    render

    Returns Element

    @@ -1348,7 +1348,7 @@

    renderPopoverContent

  • Parameters

    @@ -1371,7 +1371,7 @@

    renderTagCollapsedTrigger

  • Parameters

    @@ -1394,7 +1394,7 @@

    renderTagList

  • Parameters

    @@ -1420,7 +1420,7 @@

    renderValue

  • Parameters

    @@ -1443,7 +1443,7 @@

    resetKeyword

  • Parameters

    @@ -1466,7 +1466,7 @@

    selectCurrentIndex

  • Returns void

    @@ -1483,7 +1483,7 @@

    setKeyword

  • Parameters

    @@ -1594,7 +1594,7 @@

    tryReviveOption

  • Parameters

    @@ -1617,7 +1617,7 @@

    Static getDerivedState
  • Type parameters

    diff --git a/apidoc/classes/SelectMenu.html b/apidoc/classes/SelectMenu.html index e77f017fa..1e63b4573 100644 --- a/apidoc/classes/SelectMenu.html +++ b/apidoc/classes/SelectMenu.html @@ -266,7 +266,7 @@

    Static caselessMatchFi
    caselessMatchFilterOption: (searchText: string, item: ISelectMenuItem) => boolean = ...
    @@ -333,7 +333,7 @@

    Static defaultProps

    defaultProps: { filterOption: (searchText: string, item: ISelectMenuItem) => boolean; nullOption: boolean } = ...
    @@ -841,7 +841,7 @@

    moveFocusIndexDown

  • @@ -863,7 +863,7 @@

    moveFocusIndexUp

  • Returns void

    @@ -881,7 +881,7 @@

    render

    Returns Element

    @@ -898,7 +898,7 @@

    selectCurrentFocusIndex

  • Parameters

    diff --git a/apidoc/classes/SingleUpload.html b/apidoc/classes/SingleUpload.html index 0d1cffa12..2241e9ca0 100644 --- a/apidoc/classes/SingleUpload.html +++ b/apidoc/classes/SingleUpload.html @@ -237,7 +237,7 @@

    emitOnError

    @@ -290,7 +290,7 @@

    state

    @@ -340,7 +340,7 @@

    isControlled

  • Returns boolean

    @@ -357,7 +357,7 @@

    value

  • Returns IUploadFileItem

    @@ -765,7 +765,7 @@

    createNewUploadFileItem

    Parameters

    @@ -789,7 +789,7 @@

    deleteUploadItem

    Parameters

    @@ -813,7 +813,7 @@

    emitOnUpload

    @@ -917,7 +917,7 @@

    getUploadItem

    Parameters

    @@ -941,7 +941,7 @@

    Protected getUpload
    @@ -969,7 +969,7 @@

    onChange

  • Parameters

    @@ -1011,7 +1011,7 @@

    onTriggerUploadFile

    Parameters

    @@ -1035,7 +1035,7 @@

    render

    Returns Element

    @@ -1052,7 +1052,7 @@

    renderItem

  • Parameters

    @@ -1076,7 +1076,7 @@

    Protected renderTips

    Overrides AbstractUpload.renderTips

    Returns Element

    @@ -1094,7 +1094,7 @@

    Protected renderTrigger<

    Parameters

    @@ -1118,7 +1118,7 @@

    retryUploadItem

    Parameters

    @@ -1227,7 +1227,7 @@

    updateUploadItem

    @@ -1259,7 +1259,7 @@

    updateUploadItemPercent

    @@ -1291,7 +1291,7 @@

    updateUploadItemStatusToFailed

    @@ -1320,7 +1320,7 @@

    updateUploadItemStatusToSuccess

    diff --git a/apidoc/classes/Slider.html b/apidoc/classes/Slider.html index e1ebd3fd0..769378853 100644 --- a/apidoc/classes/Slider.html +++ b/apidoc/classes/Slider.html @@ -187,7 +187,7 @@

    context

    @@ -235,7 +235,7 @@

    state

    @@ -246,7 +246,7 @@

    Static contextType

    @@ -256,7 +256,7 @@

    Static defaultProps

    defaultProps: { max: number; min: number; range: boolean; step: number; value: number; withInput: boolean } = ...
    @@ -756,7 +756,7 @@

    render

    Returns Element

    @@ -858,7 +858,7 @@

    Static getDerivedState
  • Parameters

    diff --git a/apidoc/classes/Sortable.html b/apidoc/classes/Sortable.html index 66a801f19..94459d171 100644 --- a/apidoc/classes/Sortable.html +++ b/apidoc/classes/Sortable.html @@ -209,7 +209,7 @@

    containerRef

    containerRef: RefObject<HTMLElement> = ...
    @@ -285,7 +285,7 @@

    sortable

    sortable: Sortable
    @@ -339,7 +339,7 @@

    Static defaultProps

    defaultProps: { tag: string } = ...
    @@ -535,7 +535,7 @@

    componentDidMount

    Returns void

    @@ -674,7 +674,7 @@

    componentWillUnmount

    Returns void

    @@ -812,7 +812,7 @@

    handleAddDraggingCursor

  • Returns void

    @@ -829,7 +829,7 @@

    handleRemoveDraggingCursor

  • Returns void

    @@ -847,7 +847,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/SplitButton.html b/apidoc/classes/SplitButton.html index b4f9476bd..5d4fed13d 100644 --- a/apidoc/classes/SplitButton.html +++ b/apidoc/classes/SplitButton.html @@ -209,7 +209,7 @@

    context

    @@ -256,7 +256,7 @@

    splitButton

    splitButton: RefObject<HTMLDivElement> = ...
    @@ -267,7 +267,7 @@

    state

    @@ -286,7 +286,7 @@

    Static contextType

    @@ -296,7 +296,7 @@

    Static defaultProps

    defaultProps: { dropdownData: any[]; dropdownIcon: string; dropdownPosition: string; dropdownText: string; dropdownTrigger: string; dropdownValue: string; size: string; type: string } = ...
    @@ -801,7 +801,7 @@

    handleSelect

  • Parameters

    @@ -828,7 +828,7 @@

    render

    Returns Element

    @@ -930,7 +930,7 @@

    toggleDropdown

  • Parameters

    diff --git a/apidoc/classes/Steps.html b/apidoc/classes/Steps.html index 795db3870..bedd72324 100644 --- a/apidoc/classes/Steps.html +++ b/apidoc/classes/Steps.html @@ -263,7 +263,7 @@

    Static Step

    Step: typeof default = ...
    @@ -306,7 +306,7 @@

    Static defaultProps

    defaultProps: { className: string; current: number; direction: string; ghost: boolean; sequence: boolean; size: string; status: string; type: string } = ...
    @@ -812,7 +812,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/Swiper.html b/apidoc/classes/Swiper.html index ab9af14ce..88a17bf45 100644 --- a/apidoc/classes/Swiper.html +++ b/apidoc/classes/Swiper.html @@ -209,7 +209,7 @@

    Optional autoplayTimerautoplayTimer: number

    @@ -248,7 +248,7 @@

    isMouseEnter

    isMouseEnter: boolean
    @@ -258,7 +258,7 @@

    isSwiping

    isSwiping: boolean
    @@ -306,7 +306,7 @@

    state

    @@ -324,7 +324,7 @@

    swiper

    swiper: HTMLDivElement
    @@ -334,7 +334,7 @@

    swiperContainer

    swiperContainer: HTMLDivElement
    @@ -344,7 +344,7 @@

    swiperWidth

    swiperWidth: number
    @@ -387,7 +387,7 @@

    Static defaultProps

    defaultProps: { arrows: boolean; arrowsDisabled: { left: boolean; right: boolean }; arrowsSize: string; arrowsType: string; autoplay: boolean; autoplayInterval: number; className: string; dots: boolean; dotsSize: string; dotsTheme: string; renderNextArrow: (onNext: () => void, disabled: boolean) => ReactNode; renderPrevArrow: (onPrev: () => void, disabled: boolean) => ReactNode; transitionDuration: number } = ...
    @@ -659,7 +659,7 @@

    clearAutoplay

  • Returns void

    @@ -676,7 +676,7 @@

    cloneChildren

  • Parameters

    @@ -733,7 +733,7 @@

    componentDidMount

    Returns void

    @@ -751,7 +751,7 @@

    componentDidUpdate

    Parameters

    @@ -863,7 +863,7 @@

    componentWillUnmount

    Returns void

    @@ -965,7 +965,7 @@

    getRealPrevIndex

  • Parameters

    @@ -1024,7 +1024,7 @@

    getSwiper

  • Parameters

    @@ -1047,7 +1047,7 @@

    getSwiperContainer

  • Parameters

    @@ -1070,7 +1070,7 @@

    handleDotsClick

  • Parameters

    @@ -1093,7 +1093,7 @@

    handleMouseEnter

  • Returns void

    @@ -1110,7 +1110,7 @@

    handleMouseLeave

  • Returns void

    @@ -1127,7 +1127,7 @@

    handleResize

  • Returns void

    @@ -1144,7 +1144,7 @@

    init

  • Parameters

    @@ -1167,7 +1167,7 @@

    next

  • Returns void

    @@ -1184,7 +1184,7 @@

    prev

  • Returns void

    @@ -1202,7 +1202,7 @@

    render

    Returns Element

    @@ -1219,7 +1219,7 @@

    resetPosition

  • Parameters

    @@ -1287,7 +1287,7 @@

    setSwiperWidth

  • Returns void

    @@ -1344,7 +1344,7 @@

    startAutoplay

  • Returns void

    @@ -1361,7 +1361,7 @@

    swipeTo

  • Parameters

    @@ -1384,7 +1384,7 @@

    translate

  • Parameters

    @@ -1413,7 +1413,7 @@

    Static getDerivedState
  • Parameters

    diff --git a/apidoc/classes/Switch.html b/apidoc/classes/Switch.html index 77d48f487..414e351fc 100644 --- a/apidoc/classes/Switch.html +++ b/apidoc/classes/Switch.html @@ -187,7 +187,7 @@

    context

    @@ -246,7 +246,7 @@

    Static contextType

    @@ -256,7 +256,7 @@

    Static defaultProps

    defaultProps: { size: string } = ...
    @@ -741,7 +741,7 @@

    render

    Returns Element

    @@ -843,7 +843,7 @@

    toggle

  • Returns void

    diff --git a/apidoc/classes/Tabs.html b/apidoc/classes/Tabs.html index e452bdcdc..12994e6de 100644 --- a/apidoc/classes/Tabs.html +++ b/apidoc/classes/Tabs.html @@ -295,7 +295,7 @@

    Static TabPanel

    TabPanel: <Id>(props: React.PropsWithChildren<ITabPanelProps<Id>>) => Element = ...
    @@ -365,7 +365,7 @@

    Static defaultProps

    defaultProps: Partial<ITabsProps<string>> = ...
    @@ -382,7 +382,7 @@

    tabsCls

  • Returns string

    @@ -862,7 +862,7 @@

    getTabDataListFromChildren

    Parameters

    @@ -886,7 +886,7 @@

    getTabDataListFromTabs

    Parameters

    @@ -910,7 +910,7 @@

    render

    Returns Element

    @@ -928,7 +928,7 @@

    renderNav

    Parameters

    @@ -952,7 +952,7 @@

    renderTabPanel

    Parameters

    @@ -976,7 +976,7 @@

    renderWithPanel

    @@ -999,7 +999,7 @@

    renderWithoutPanel

    diff --git a/apidoc/classes/TabsCascader.html b/apidoc/classes/TabsCascader.html index b6f080cec..98668733d 100644 --- a/apidoc/classes/TabsCascader.html +++ b/apidoc/classes/TabsCascader.html @@ -149,7 +149,7 @@

    constructor

    Parameters

    @@ -172,7 +172,7 @@

    context

    @@ -182,7 +182,7 @@

    onClick

    @@ -254,7 +254,7 @@

    Static contextType

    @@ -264,7 +264,7 @@

    Static defaultProps

    defaultProps: { changeOnSelect: boolean; clearable: boolean; options: any[]; renderValue: (path: ICascaderItem[]) => string; title: any[]; value: any[] } = ...
    @@ -327,7 +327,7 @@

    disabled

  • Returns boolean

    @@ -806,7 +806,7 @@

    getVisible

  • Returns boolean

    @@ -823,7 +823,7 @@

    isControlled

  • Returns boolean

    @@ -840,7 +840,7 @@

    onClear

  • Returns void

    @@ -857,7 +857,7 @@

    onTabsChange

  • Parameters

    @@ -880,7 +880,7 @@

    onVisibleChange

  • Parameters

    @@ -904,7 +904,7 @@

    render

    Returns Element

    @@ -966,7 +966,7 @@

    setVisible

  • Parameters

    @@ -1029,7 +1029,7 @@

    Static getDerivedState
  • Parameters

    diff --git a/apidoc/classes/Timeline.html b/apidoc/classes/Timeline.html index 8c2f19bd9..4c22a2b73 100644 --- a/apidoc/classes/Timeline.html +++ b/apidoc/classes/Timeline.html @@ -265,7 +265,7 @@

    Static Item

    Item: typeof TimelineItem = ...
    @@ -275,7 +275,7 @@

    Static Legend

    Legend: typeof TimelineLegend = ...
    @@ -318,7 +318,7 @@

    Static defaultProps

    defaultProps: { size: string; style: {}; type: string } = ...
    @@ -811,7 +811,7 @@

    render

    Returns Element

    @@ -828,7 +828,7 @@

    renderChildren

  • Returns any

    diff --git a/apidoc/classes/TimelineItem.html b/apidoc/classes/TimelineItem.html index d4cb5b4f4..6f53dc1bc 100644 --- a/apidoc/classes/TimelineItem.html +++ b/apidoc/classes/TimelineItem.html @@ -219,7 +219,7 @@

    mousePosition

    mousePosition: { x: number; y: number } = ...
    @@ -240,7 +240,7 @@

    popover

    popover: Popover = null
    @@ -250,7 +250,7 @@

    position

    position: IPositionFunction = ...
    @@ -341,7 +341,7 @@

    Static defaultProps

    defaultProps: { dotColor: string; lineColor: string; showDot: boolean; showLabel: boolean } = ...
    @@ -834,7 +834,7 @@

    onMouseMove

  • Parameters

    @@ -857,7 +857,7 @@

    popoverRef

  • Parameters

    @@ -881,7 +881,7 @@

    render

    Returns Element

    diff --git a/apidoc/classes/Tooltip.html b/apidoc/classes/Tooltip.html index ea4e47b1a..28165aa24 100644 --- a/apidoc/classes/Tooltip.html +++ b/apidoc/classes/Tooltip.html @@ -217,7 +217,7 @@

    popoverRef

    popoverRef: RefObject<Popover> = ...
    @@ -308,7 +308,7 @@

    Static defaultProps

    defaultProps: { centerArrow: boolean; containerSelector: string; cushion: number; position: string; trigger: string } = ...
    @@ -805,7 +805,7 @@

    render

    Returns Element

    @@ -822,7 +822,7 @@

    renderContent

  • Returns Element

    @@ -839,7 +839,7 @@

    renderTrigger

  • Returns Element

    diff --git a/apidoc/classes/Tree.html b/apidoc/classes/Tree.html index e7e31160e..5fbd98e69 100644 --- a/apidoc/classes/Tree.html +++ b/apidoc/classes/Tree.html @@ -153,7 +153,7 @@

    constructor

    Parameters

    @@ -285,7 +285,7 @@

    Static defaultProps

    defaultProps: { autoExpandOnSelect: boolean; checkable: boolean; dataType: string; foldable: boolean; selectable: boolean; size: string } = ...
    @@ -325,7 +325,7 @@

    disabledSelectedKeys

  • Returns any[]

    @@ -342,7 +342,7 @@

    isSelectControlled

  • Returns boolean

    @@ -359,7 +359,7 @@

    selectedKey

  • Returns string | number

    @@ -838,7 +838,7 @@

    handleCheckboxClick

  • Parameters

    @@ -861,7 +861,7 @@

    handleExpand

  • Parameters

    @@ -884,7 +884,7 @@

    handleExpandIconClick

  • Parameters

    @@ -911,7 +911,7 @@

    render

    Returns Element

    @@ -928,7 +928,7 @@

    renderCheckbox

  • Parameters

    @@ -951,7 +951,7 @@

    renderContent

  • Parameters

    @@ -977,7 +977,7 @@

    renderOperations

  • Parameters

    @@ -1003,7 +1003,7 @@

    renderSwitcher

  • Parameters

    @@ -1026,7 +1026,7 @@

    renderTreeNodes

  • Parameters

    @@ -1052,7 +1052,7 @@

    setSelectKeyState

  • Parameters

    @@ -1163,7 +1163,7 @@

    Static getDerivedState
  • Parameters

    diff --git a/apidoc/classes/Upload.html b/apidoc/classes/Upload.html index 42d9a7571..9dc733dfb 100644 --- a/apidoc/classes/Upload.html +++ b/apidoc/classes/Upload.html @@ -161,7 +161,7 @@

    constructor

    Parameters

    @@ -213,7 +213,7 @@

    emitOnError

    @@ -276,7 +276,7 @@

    Static FILE_UPLOAD_STA
    FILE_UPLOAD_STATUS: typeof FILE_UPLOAD_STATUS = ...
    @@ -319,7 +319,7 @@

    Static defaultProps

    defaultProps: Partial<IUploadProps> = ...
    @@ -336,7 +336,7 @@

    fileList

  • @@ -358,7 +358,7 @@

    isControlled

  • @@ -380,7 +380,7 @@

    remainAmount

  • @@ -793,7 +793,7 @@

    Protected createNew

    Parameters

    @@ -817,7 +817,7 @@

    deleteUploadItem

    @@ -846,7 +846,7 @@

    emitOnUpload

    @@ -950,7 +950,7 @@

    getUploadItem

    Parameters

    @@ -974,7 +974,7 @@

    Protected getUpload
    @@ -1003,7 +1003,7 @@

    onTriggerUploadFile

    @@ -1032,7 +1032,7 @@

    render

    Returns Element

    @@ -1050,7 +1050,7 @@

    Protected renderTips

    Overrides AbstractMultiUpload.renderTips

    Returns Element

    @@ -1068,7 +1068,7 @@

    Protected renderTrigger<

    Parameters

    @@ -1092,7 +1092,7 @@

    Protected renderUpload

    Overrides AbstractMultiUpload.renderUploadList

    Parameters

    @@ -1116,7 +1116,7 @@

    retryUploadItem

    @@ -1230,7 +1230,7 @@

    updateFileList

    @@ -1277,7 +1277,7 @@

    updateUploadItem

    @@ -1309,7 +1309,7 @@

    updateUploadItemPercent

    @@ -1341,7 +1341,7 @@

    updateUploadItemStatusToFailed

    @@ -1370,7 +1370,7 @@

    updateUploadItemStatusToSuccess

    @@ -1402,7 +1402,7 @@

    Static getDerivedState

    Parameters

    diff --git a/apidoc/classes/ValidatorContext.html b/apidoc/classes/ValidatorContext.html index 9725a0381..168572939 100644 --- a/apidoc/classes/ValidatorContext.html +++ b/apidoc/classes/ValidatorContext.html @@ -127,7 +127,7 @@

    constructor

  • Type parameters

    @@ -169,7 +169,7 @@

    getFormValue

  • Type parameters

    @@ -192,7 +192,7 @@

    getSection

  • Returns IModel<any>

    @@ -209,7 +209,7 @@

    getSectionValue

  • Type parameters

    diff --git a/apidoc/classes/VerticalTabs.html b/apidoc/classes/VerticalTabs.html index 62e991abf..2e6598955 100644 --- a/apidoc/classes/VerticalTabs.html +++ b/apidoc/classes/VerticalTabs.html @@ -296,7 +296,7 @@

    Static Divide

    Divide: typeof TabDivide = ...
    @@ -306,7 +306,7 @@

    Static TabPanel

    TabPanel: <Id>(props: React.PropsWithChildren<ITabPanelProps<Id>>) => Element = ...
    @@ -376,7 +376,7 @@

    Static defaultProps

    defaultProps: Partial<IVerticalTabsProps<string>> = ...
    @@ -393,7 +393,7 @@

    tabsCls

  • Returns string

    @@ -873,7 +873,7 @@

    getTabDataListFromChildren

    Parameters

    @@ -897,7 +897,7 @@

    getTabDataListFromTabs

    Parameters

    @@ -921,7 +921,7 @@

    render

    Returns Element

    @@ -939,7 +939,7 @@

    renderNav

    Parameters

    @@ -963,7 +963,7 @@

    renderTabPanel

    Parameters

    @@ -987,7 +987,7 @@

    renderWithPanel

    @@ -1010,7 +1010,7 @@

    renderWithoutPanel

    diff --git a/apidoc/classes/Waypoint.html b/apidoc/classes/Waypoint.html index 490d3a81f..c686f06fc 100644 --- a/apidoc/classes/Waypoint.html +++ b/apidoc/classes/Waypoint.html @@ -295,7 +295,7 @@

    Static defaultProps

    defaultProps: { bottomOffset: number; fireOnRapidScroll: boolean; horizontal: boolean; topOffset: number } = ...
    @@ -500,7 +500,7 @@

    componentDidMount

    Returns void

    @@ -518,7 +518,7 @@

    componentDidUpdate

    Returns void

    @@ -621,7 +621,7 @@

    componentWillUnmount

    Returns void

    @@ -760,7 +760,7 @@

    render

    Returns Element

    diff --git a/apidoc/enums/CascaderChangeAction.html b/apidoc/enums/CascaderChangeAction.html index acbeedc42..65bc8b4b1 100644 --- a/apidoc/enums/CascaderChangeAction.html +++ b/apidoc/enums/CascaderChangeAction.html @@ -87,7 +87,7 @@

    Change

    Change: = "change"
    @@ -97,7 +97,7 @@

    Clear

    Clear: = "clear"
    diff --git a/apidoc/enums/CascaderLoadAction.html b/apidoc/enums/CascaderLoadAction.html index 5d9afab59..182c22082 100644 --- a/apidoc/enums/CascaderLoadAction.html +++ b/apidoc/enums/CascaderLoadAction.html @@ -87,7 +87,7 @@

    LoadChildren

    LoadChildren: = "loadChildren"
    @@ -97,7 +97,7 @@

    Scroll

    Scroll: = "scroll"
    diff --git a/apidoc/enums/FormStrategy.html b/apidoc/enums/FormStrategy.html index 7d60e617e..86c7db484 100644 --- a/apidoc/enums/FormStrategy.html +++ b/apidoc/enums/FormStrategy.html @@ -87,7 +87,7 @@

    Model

    Model: = 0
    @@ -102,7 +102,7 @@

    View

    View: = 1
    diff --git a/apidoc/enums/LayoutBreakPoint.html b/apidoc/enums/LayoutBreakPoint.html index 7d3b759af..f64d11c71 100644 --- a/apidoc/enums/LayoutBreakPoint.html +++ b/apidoc/enums/LayoutBreakPoint.html @@ -92,7 +92,7 @@

    fhd

    fhd: = "(min-width: 1920px)"
    @@ -102,7 +102,7 @@

    lg

    lg: = "(min-width: 992px)"
    @@ -112,7 +112,7 @@

    md

    md: = "(min-width: 768px)"
    @@ -122,7 +122,7 @@

    sm

    sm: = "(min-width: 576px)"
    @@ -132,7 +132,7 @@

    xl

    xl: = "(min-width: 1200px)"
    @@ -142,7 +142,7 @@

    xs

    xs: = "(max-width: 575px)"
    @@ -152,7 +152,7 @@

    xxl

    xxl: = "(min-width: 1600px)"
    diff --git a/apidoc/enums/ValidateOccasion.html b/apidoc/enums/ValidateOccasion.html index 9ebd5821a..1d8a60135 100644 --- a/apidoc/enums/ValidateOccasion.html +++ b/apidoc/enums/ValidateOccasion.html @@ -89,7 +89,7 @@

    Blur

    Blur: = 2
    @@ -104,7 +104,7 @@

    Change

    Change: = 1
    @@ -119,7 +119,7 @@

    Default

    Default: = 3
    @@ -134,7 +134,7 @@

    None

    None: = 0
    diff --git a/apidoc/enums/ValidateOption.html b/apidoc/enums/ValidateOption.html index b16a9105e..40b71f2ea 100644 --- a/apidoc/enums/ValidateOption.html +++ b/apidoc/enums/ValidateOption.html @@ -92,7 +92,7 @@

    Default

    Default: = 0
    @@ -102,7 +102,7 @@

    Empty

    Empty: = 0
    @@ -117,7 +117,7 @@

    ExcludePristine

    ExcludePristine: = 16
    @@ -132,7 +132,7 @@

    IncludeAsync

    IncludeAsync: = 2
    @@ -147,7 +147,7 @@

    IncludeChildrenRecursively

    IncludeChildrenRecursively: = 8
    @@ -162,7 +162,7 @@

    IncludeUntouched

    IncludeUntouched: = 4
    @@ -177,7 +177,7 @@

    StopPropagation

    StopPropagation: = 32
    diff --git a/apidoc/enums/WaypointPosition.html b/apidoc/enums/WaypointPosition.html index 2f903a6b5..e1ddedb40 100644 --- a/apidoc/enums/WaypointPosition.html +++ b/apidoc/enums/WaypointPosition.html @@ -90,7 +90,7 @@

    Above

    Above: = 0
    @@ -100,7 +100,7 @@

    Below

    Below: = 2
    @@ -110,7 +110,7 @@

    Inside

    Inside: = 1
    @@ -120,7 +120,7 @@

    Invisible

    Invisible: = 3
    @@ -130,7 +130,7 @@

    Unknown

    Unknown: = 4
    diff --git a/apidoc/enums/WeekStartsOnMap.html b/apidoc/enums/WeekStartsOnMap.html index 5e782a7f2..8cdcefcbf 100644 --- a/apidoc/enums/WeekStartsOnMap.html +++ b/apidoc/enums/WeekStartsOnMap.html @@ -92,7 +92,7 @@

    Friday

    Friday: = 5
    @@ -102,7 +102,7 @@

    Monday

    Monday: = 1
    @@ -112,7 +112,7 @@

    Saturday

    Saturday: = 6
    @@ -122,7 +122,7 @@

    Sunday

    Sunday: = 0
    @@ -132,7 +132,7 @@

    Thursday

    Thursday: = 4
    @@ -142,7 +142,7 @@

    Tuesday

    Tuesday: = 2
    @@ -152,7 +152,7 @@

    Wednesday

    Wednesday: = 3
    diff --git a/apidoc/interfaces/FieldUtils.ICompositionHandlers.html b/apidoc/interfaces/FieldUtils.ICompositionHandlers.html index 3fcaf3fdd..aa1d6df9c 100644 --- a/apidoc/interfaces/FieldUtils.ICompositionHandlers.html +++ b/apidoc/interfaces/FieldUtils.ICompositionHandlers.html @@ -106,7 +106,7 @@

    onCompositionEnd

    onCompositionEnd: CompositionEventHandler<E>
    @@ -116,7 +116,7 @@

    onCompositionStart

    onCompositionStart: CompositionEventHandler<E>
    diff --git a/apidoc/interfaces/IAbstractMultiUploadProps.html b/apidoc/interfaces/IAbstractMultiUploadProps.html index 9be64aff6..696c9cb06 100644 --- a/apidoc/interfaces/IAbstractMultiUploadProps.html +++ b/apidoc/interfaces/IAbstractMultiUploadProps.html @@ -148,7 +148,7 @@

    Optional accept

    @@ -164,7 +164,7 @@

    Optional className

    @@ -180,7 +180,7 @@

    Optional customUpload

    Inherited from IAbstractUploadProps.customUploadItem

    @@ -195,7 +195,7 @@

    Optional defaultFile
    defaultFileList: UPLOAD_ITEM[]
    @@ -211,7 +211,7 @@

    Optional disabled

    @@ -226,7 +226,7 @@

    Optional fileList

    fileList: UPLOAD_ITEM[]
    @@ -242,7 +242,7 @@

    Optional manualUpload

    Inherited from IAbstractUploadProps.manualUpload

    @@ -257,7 +257,7 @@

    Optional maxAmount

    maxAmount: number
    @@ -273,7 +273,7 @@

    Optional maxSize

    @@ -288,7 +288,7 @@

    Optional multiple

    multiple: boolean
    @@ -303,7 +303,7 @@

    onChange

    onChange: IUploadOnChangeHandler<IUploadFileItemInner<UPLOAD_ITEM>[], UPLOAD_ITEM>
    @@ -319,7 +319,7 @@

    Optional onError

    @@ -335,7 +335,7 @@

    Optional onUpload

    @@ -350,7 +350,7 @@

    Optional sortable

    sortable: boolean
    @@ -373,7 +373,7 @@

    Optional beforeUpload

    Inherited from IAbstractUploadProps.beforeUpload

    diff --git a/apidoc/interfaces/IAbstractUploadListProps.html b/apidoc/interfaces/IAbstractUploadListProps.html index eb3144a39..b97b9785b 100644 --- a/apidoc/interfaces/IAbstractUploadListProps.html +++ b/apidoc/interfaces/IAbstractUploadListProps.html @@ -124,7 +124,7 @@

    Optional customUploadcustomUploadItem: ComponentType<UPLOAD_ITEM_COMP_PROPS>

    @@ -134,7 +134,7 @@

    fileList

    fileList: UPLOAD_ITEM[]
    @@ -144,7 +144,7 @@

    i18n

    @@ -154,7 +154,7 @@

    Optional sortable

    sortable: boolean
    @@ -171,7 +171,7 @@

    onDelete

  • Parameters

    @@ -194,7 +194,7 @@

    onRetry

  • Parameters

    @@ -217,7 +217,7 @@

    onSortChange

  • Parameters

    diff --git a/apidoc/interfaces/IAbstractUploadProps.html b/apidoc/interfaces/IAbstractUploadProps.html index b1e90f9e4..9cb9bb75e 100644 --- a/apidoc/interfaces/IAbstractUploadProps.html +++ b/apidoc/interfaces/IAbstractUploadProps.html @@ -136,7 +136,7 @@

    Optional accept

    accept: string
    @@ -151,7 +151,7 @@

    Optional className

    className: string
    @@ -166,7 +166,7 @@

    Optional customUploadcustomUploadItem: ComponentType<UPLOAD_ITEM_COMP_PROPS>

    @@ -181,7 +181,7 @@

    Optional disabled

    disabled: boolean
    @@ -196,7 +196,7 @@

    Optional manualUpload

    manualUpload: boolean
    @@ -211,7 +211,7 @@

    Optional maxSize

    maxSize: number
    @@ -226,7 +226,7 @@

    Optional onError

    @@ -241,7 +241,7 @@

    Optional onUpload

    onUpload: IUploadOnUploadHandler<ON_UPLOAD_SUCCESS_RETURN>
    @@ -263,7 +263,7 @@

    Optional beforeUpload

    diff --git a/apidoc/interfaces/IAbstractUploadTriggerProps.html b/apidoc/interfaces/IAbstractUploadTriggerProps.html index cea72390e..2c157e5a7 100644 --- a/apidoc/interfaces/IAbstractUploadTriggerProps.html +++ b/apidoc/interfaces/IAbstractUploadTriggerProps.html @@ -116,7 +116,7 @@

    Optional accept

    accept: string
    @@ -126,7 +126,7 @@

    Optional disabled

    disabled: boolean
    @@ -136,7 +136,7 @@

    Optional fileList

    fileList: UPLOAD_ITEM[]
    @@ -146,7 +146,7 @@

    i18n

    @@ -156,7 +156,7 @@

    maxAmount

    maxAmount: number
    @@ -166,7 +166,7 @@

    maxSize

    maxSize: number
    @@ -176,7 +176,7 @@

    Optional multiple

    multiple: boolean
    @@ -186,7 +186,7 @@

    onError

    @@ -196,7 +196,7 @@

    Optional remainAmount

    remainAmount: number
    @@ -213,7 +213,7 @@

    onAddFile

  • Parameters

    diff --git a/apidoc/interfaces/IAffixImperativeHandlers.html b/apidoc/interfaces/IAffixImperativeHandlers.html index 5a8e88a2c..a18123719 100644 --- a/apidoc/interfaces/IAffixImperativeHandlers.html +++ b/apidoc/interfaces/IAffixImperativeHandlers.html @@ -98,7 +98,7 @@

    updatePosition

  • Returns void

    diff --git a/apidoc/interfaces/IAffixProps.html b/apidoc/interfaces/IAffixProps.html index 6316e6763..01d7a8c01 100644 --- a/apidoc/interfaces/IAffixProps.html +++ b/apidoc/interfaces/IAffixProps.html @@ -107,7 +107,7 @@

    Optional children

    children: ReactNode
    @@ -117,7 +117,7 @@

    Optional className

    className: string
    @@ -127,7 +127,7 @@

    Optional offsetBottom

    offsetBottom: number
  • @@ -137,7 +137,7 @@

    Optional offsetTop

    offsetTop: number
    @@ -147,7 +147,7 @@

    Optional placeholderClass
    placeholderClassName: string
    @@ -157,7 +157,7 @@

    Optional zIndex

    zIndex: number
    @@ -174,7 +174,7 @@

    Optional getAffixCon
  • Returns HTMLElement

    @@ -191,7 +191,7 @@

    Optional onPin

  • Returns void

    @@ -208,7 +208,7 @@

    Optional onUnpin

  • Returns void

    diff --git a/apidoc/interfaces/IAlertItemProps.html b/apidoc/interfaces/IAlertItemProps.html index 7fb3f88f4..8afb9f45e 100644 --- a/apidoc/interfaces/IAlertItemProps.html +++ b/apidoc/interfaces/IAlertItemProps.html @@ -104,7 +104,7 @@

    Optional closable

    closable: boolean
    @@ -114,7 +114,7 @@

    Optional closeContent

    closeContent: ReactNode
  • @@ -124,7 +124,7 @@

    Optional description

    description: ReactNode
    @@ -134,7 +134,7 @@

    Optional extraContent

    extraContent: ReactNode
    @@ -144,7 +144,7 @@

    Optional title

    title: ReactNode
    @@ -161,7 +161,7 @@

    Optional onClose

  • Returns void

    diff --git a/apidoc/interfaces/IAlertProps.html b/apidoc/interfaces/IAlertProps.html index 1e58e3b81..6e98198e2 100644 --- a/apidoc/interfaces/IAlertProps.html +++ b/apidoc/interfaces/IAlertProps.html @@ -1331,7 +1331,7 @@

    Optional bordered

    @@ -1364,7 +1364,7 @@

    Optional closable

    @@ -1375,7 +1375,7 @@

    Optional closeContent

    Inherited from IAlertRenderProps.closeContent

    @@ -1386,7 +1386,7 @@

    Optional closeIconCo @@ -1397,7 +1397,7 @@

    Optional closed

    @@ -1493,7 +1493,7 @@

    Optional description

    @@ -1526,7 +1526,7 @@

    Optional extraContent

    Inherited from IAlertRenderProps.extraContent

    @@ -1548,7 +1548,7 @@

    Optional icon

    @@ -1689,7 +1689,7 @@

    Optional loading

    @@ -3460,7 +3460,7 @@

    Optional outline

    @@ -3493,7 +3493,7 @@

    Optional progress

    @@ -3636,7 +3636,7 @@

    Optional title

    @@ -3658,7 +3658,7 @@

    Optional type

    @@ -3709,7 +3709,7 @@

    Optional onClose

    Returns void

    diff --git a/apidoc/interfaces/IAnimateHeightProps.html b/apidoc/interfaces/IAnimateHeightProps.html index dcc776d7b..f1252b601 100644 --- a/apidoc/interfaces/IAnimateHeightProps.html +++ b/apidoc/interfaces/IAnimateHeightProps.html @@ -101,7 +101,7 @@

    Optional appear

    appear: boolean
    @@ -111,7 +111,7 @@

    Optional className

    className: string
    @@ -121,7 +121,7 @@

    Optional duration

    duration: number
    @@ -131,7 +131,7 @@

    Optional easing

    easing: string
    @@ -141,7 +141,7 @@

    height

    height: string | number
    @@ -151,7 +151,7 @@

    overflow

    overflow: "hidden" | "scroll" | "auto"
    @@ -161,7 +161,7 @@

    Optional style

    style: CSSProperties
    @@ -171,7 +171,7 @@

    Optional transitionProtot
    transitionPrototype: string
    diff --git a/apidoc/interfaces/IAsyncValidator.html b/apidoc/interfaces/IAsyncValidator.html index 042ffadab..6112801b4 100644 --- a/apidoc/interfaces/IAsyncValidator.html +++ b/apidoc/interfaces/IAsyncValidator.html @@ -109,7 +109,7 @@

    Optional $$id

    $$id: any
    @@ -119,7 +119,7 @@

    [ASYNC_VALIDATOR]

    [ASYNC_VALIDATOR]: true
    @@ -136,7 +136,7 @@

    validator

  • Parameters

    diff --git a/apidoc/interfaces/IAutoCompleteMenuObjectItem.html b/apidoc/interfaces/IAutoCompleteMenuObjectItem.html index db568fa79..c106eb7c3 100644 --- a/apidoc/interfaces/IAutoCompleteMenuObjectItem.html +++ b/apidoc/interfaces/IAutoCompleteMenuObjectItem.html @@ -113,7 +113,7 @@

    Optional active

    @@ -124,7 +124,7 @@

    Optional className

    @@ -135,7 +135,7 @@

    Optional content

    @@ -145,7 +145,7 @@

    Optional contentField

    contentField: string
  • @@ -156,7 +156,7 @@

    Optional disabled

    @@ -167,7 +167,7 @@

    Optional hoverable

    @@ -178,7 +178,7 @@

    Optional icon

    @@ -189,7 +189,7 @@

    Optional isDivider

    @@ -200,7 +200,7 @@

    Optional isGroup

    @@ -211,7 +211,7 @@

    Optional onClick

    @@ -222,7 +222,7 @@

    Optional searchContent

    Overrides Omit.searchContent

    @@ -232,7 +232,7 @@

    Optional textField

    textField: string
    @@ -243,7 +243,7 @@

    value

    @@ -253,7 +253,7 @@

    Optional valueField

    valueField: string
    diff --git a/apidoc/interfaces/IAutoCompleteProps.html b/apidoc/interfaces/IAutoCompleteProps.html index f9f24a023..05f481732 100644 --- a/apidoc/interfaces/IAutoCompleteProps.html +++ b/apidoc/interfaces/IAutoCompleteProps.html @@ -125,7 +125,7 @@

    Optional className

    className: string
    @@ -135,7 +135,7 @@

    contentField

    contentField: string
    @@ -145,7 +145,7 @@

    Optional data

    @@ -155,7 +155,7 @@

    Optional disabled

    disabled: boolean
    @@ -165,7 +165,7 @@

    Optional initialValue

    initialValue: Value
    @@ -175,7 +175,7 @@

    Optional inline

    inline: boolean
    @@ -185,7 +185,7 @@

    Optional items

    @@ -195,7 +195,7 @@

    Optional placeholder

    placeholder: string
    @@ -205,7 +205,7 @@

    Optional popupClassN
    popupClassName: string
    @@ -215,7 +215,7 @@

    textField

    textField: string
    @@ -225,7 +225,7 @@

    Optional value

    value: Value
    @@ -235,7 +235,7 @@

    valueField

    valueField: string
    @@ -245,7 +245,7 @@

    Optional valueFromOp
    valueFromOption: boolean
    @@ -255,7 +255,7 @@

    Optional valueFromOp
    valueFromOptions: boolean
    @@ -265,7 +265,7 @@

    Optional width

    width: string | number
    @@ -282,7 +282,7 @@

    Optional filterOption

    Parameters

    @@ -308,7 +308,7 @@

    Optional onChange

  • Parameters

    @@ -331,7 +331,7 @@

    Optional onSearch

  • Parameters

    @@ -354,7 +354,7 @@

    Optional onSelect

  • Parameters

    diff --git a/apidoc/interfaces/IAutoCompleteState.html b/apidoc/interfaces/IAutoCompleteState.html index 6db50ce0f..4be670797 100644 --- a/apidoc/interfaces/IAutoCompleteState.html +++ b/apidoc/interfaces/IAutoCompleteState.html @@ -96,7 +96,7 @@

    open

    open: boolean
    @@ -106,7 +106,7 @@

    searchText

    searchText: string
    @@ -116,7 +116,7 @@

    value

    value: unknown
    diff --git a/apidoc/interfaces/IAvatarProps.html b/apidoc/interfaces/IAvatarProps.html index 30cee4e34..ee265f11f 100644 --- a/apidoc/interfaces/IAvatarProps.html +++ b/apidoc/interfaces/IAvatarProps.html @@ -101,7 +101,7 @@

    bordered

    bordered: boolean
    @@ -111,7 +111,7 @@

    Optional children

    children: string
    @@ -121,7 +121,7 @@

    Optional className

    className: string
    @@ -131,7 +131,7 @@

    Optional icon

    icon: IconType
    @@ -141,7 +141,7 @@

    shape

    shape: "circle" | "square"
    @@ -151,7 +151,7 @@

    size

    size: number | "small" | "default" | "large"
    @@ -161,7 +161,7 @@

    Optional src

    src: string
    @@ -171,7 +171,7 @@

    Optional style

    style: CSSProperties
    diff --git a/apidoc/interfaces/IAvatarState.html b/apidoc/interfaces/IAvatarState.html index 082a325d5..9371fd9e6 100644 --- a/apidoc/interfaces/IAvatarState.html +++ b/apidoc/interfaces/IAvatarState.html @@ -96,7 +96,7 @@

    Optional prevChildren

    prevChildren: string
  • @@ -106,7 +106,7 @@

    textReady

    textReady: boolean
    @@ -116,7 +116,7 @@

    textScale

    textScale: number
    diff --git a/apidoc/interfaces/IBadgeProps.html b/apidoc/interfaces/IBadgeProps.html index c7b439c11..8d8e5740a 100644 --- a/apidoc/interfaces/IBadgeProps.html +++ b/apidoc/interfaces/IBadgeProps.html @@ -101,7 +101,7 @@

    Optional children

    children: ReactNode
    @@ -111,7 +111,7 @@

    className

    className: string
    @@ -121,7 +121,7 @@

    count

    count: number
    @@ -131,7 +131,7 @@

    dot

    dot: boolean
    @@ -141,7 +141,7 @@

    maxCount

    maxCount: number
    @@ -151,7 +151,7 @@

    Optional offset

    offset: [number, number]
    @@ -161,7 +161,7 @@

    showZero

    showZero: boolean
    @@ -171,7 +171,7 @@

    Optional style

    style: CSSProperties
    diff --git a/apidoc/interfaces/IBasePaginationProps.html b/apidoc/interfaces/IBasePaginationProps.html index e124e8436..3c855b806 100644 --- a/apidoc/interfaces/IBasePaginationProps.html +++ b/apidoc/interfaces/IBasePaginationProps.html @@ -111,7 +111,7 @@

    Optional className

    className: string
    @@ -121,7 +121,7 @@

    current

    current: number
    @@ -131,7 +131,7 @@

    Optional lastPageHel
    lastPageHelp: IPopProps
    @@ -141,7 +141,7 @@

    onChange

    @@ -151,7 +151,7 @@

    pageSize

    pageSize: number
    @@ -161,7 +161,7 @@

    Optional total

    total: number
    @@ -171,7 +171,7 @@

    Optional totalItem

    totalItem: number
    @@ -193,7 +193,7 @@

    Optional formatTotal

  • Parameters

    diff --git a/apidoc/interfaces/IBaseTabsNavProps.html b/apidoc/interfaces/IBaseTabsNavProps.html index 3d8927c53..63d009900 100644 --- a/apidoc/interfaces/IBaseTabsNavProps.html +++ b/apidoc/interfaces/IBaseTabsNavProps.html @@ -119,7 +119,7 @@

    tabDataList

    tabDataList: InnerTab[]
    @@ -136,7 +136,7 @@

    onChange

  • Parameters

    diff --git a/apidoc/interfaces/IBaseTabsProps.html b/apidoc/interfaces/IBaseTabsProps.html index ff355886a..14660b169 100644 --- a/apidoc/interfaces/IBaseTabsProps.html +++ b/apidoc/interfaces/IBaseTabsProps.html @@ -124,7 +124,7 @@

    activeId

    activeId: Id
    @@ -134,7 +134,7 @@

    Optional children

    children: ITabPanelElement<TabPanelProps> | ITabPanelElement<TabPanelProps>[]
    @@ -144,7 +144,7 @@

    Optional className

    className: string
    @@ -154,7 +154,7 @@

    Optional disableLazy
    disableLazyMount: boolean
    @@ -164,7 +164,7 @@

    Optional tabs

    tabs: ITab<Id>[]
    @@ -174,7 +174,7 @@

    Optional unmountPanelunmountPanelOnHide: boolean

  • @@ -191,7 +191,7 @@

    onChange

  • Parameters

    diff --git a/apidoc/interfaces/IBlockHeaderProps.html b/apidoc/interfaces/IBlockHeaderProps.html index ec949548d..dbfe6ff49 100644 --- a/apidoc/interfaces/IBlockHeaderProps.html +++ b/apidoc/interfaces/IBlockHeaderProps.html @@ -100,7 +100,7 @@

    Optional className

    className: string
    @@ -110,7 +110,7 @@

    Optional leftContent

    leftContent: ReactNode
    @@ -120,7 +120,7 @@

    Optional position

    position: PopPositions
    @@ -130,7 +130,7 @@

    Optional rightContent

    rightContent: ReactNode
  • @@ -140,7 +140,7 @@

    title

    title: ReactNode
    @@ -150,7 +150,7 @@

    Optional tooltip

    tooltip: ReactNode
    @@ -160,7 +160,7 @@

    Optional type

    type: "ribbon" | "minimum"
    diff --git a/apidoc/interfaces/IBreadcrumbItemProps.html b/apidoc/interfaces/IBreadcrumbItemProps.html index f4d7819ac..578b093ac 100644 --- a/apidoc/interfaces/IBreadcrumbItemProps.html +++ b/apidoc/interfaces/IBreadcrumbItemProps.html @@ -102,7 +102,7 @@

    Optional className

    className: string
    @@ -112,7 +112,7 @@

    Optional href

    href: string
    @@ -122,7 +122,7 @@

    Optional name

    name: ReactNode
    @@ -139,7 +139,7 @@

    Optional onClick

  • Returns void

    diff --git a/apidoc/interfaces/IBreadcrumbProps.html b/apidoc/interfaces/IBreadcrumbProps.html index a1d6a01ce..2ce7f6b13 100644 --- a/apidoc/interfaces/IBreadcrumbProps.html +++ b/apidoc/interfaces/IBreadcrumbProps.html @@ -97,7 +97,7 @@

    breads

    @@ -107,7 +107,7 @@

    className

    className: string
    @@ -117,7 +117,7 @@

    Optional maxItemCoun
    maxItemCount: number
    @@ -127,7 +127,7 @@

    Optional style

    style: CSSProperties
    diff --git a/apidoc/interfaces/IBreadcrumbState.html b/apidoc/interfaces/IBreadcrumbState.html index 07d3a9bea..625411a1f 100644 --- a/apidoc/interfaces/IBreadcrumbState.html +++ b/apidoc/interfaces/IBreadcrumbState.html @@ -97,7 +97,7 @@

    contentStyleLeft

    contentStyleLeft: number
    @@ -107,7 +107,7 @@

    isFolded

    isFolded: boolean
    @@ -117,7 +117,7 @@

    overflowLeft

    overflowLeft: boolean
    @@ -127,7 +127,7 @@

    overflowRight

    overflowRight: boolean
    diff --git a/apidoc/interfaces/IButtonDirectiveChildProps.html b/apidoc/interfaces/IButtonDirectiveChildProps.html index c0e3e10ba..6f6cdfb57 100644 --- a/apidoc/interfaces/IButtonDirectiveChildProps.html +++ b/apidoc/interfaces/IButtonDirectiveChildProps.html @@ -98,7 +98,7 @@

    Optional children

    children: ReactNode
    @@ -108,7 +108,7 @@

    Optional className

    className: string
    @@ -118,7 +118,7 @@

    Optional data-zv

    data-zv: string
    @@ -128,7 +128,7 @@

    Optional disabled

    disabled: boolean
    @@ -138,7 +138,7 @@

    Optional onClick

    onClick: MouseEventHandler<Element>
    diff --git a/apidoc/interfaces/IButtonDirectiveProps.html b/apidoc/interfaces/IButtonDirectiveProps.html index ec00c7902..b16b3452f 100644 --- a/apidoc/interfaces/IButtonDirectiveProps.html +++ b/apidoc/interfaces/IButtonDirectiveProps.html @@ -113,7 +113,7 @@

    Optional block

    block: boolean
    @@ -123,7 +123,7 @@

    Optional bordered

    bordered: boolean
    @@ -133,7 +133,7 @@

    children

    children: ReactElement<ChildProps, string | JSXElementConstructor<any>>
    @@ -143,7 +143,7 @@

    Optional disabled

    disabled: boolean
    @@ -153,7 +153,7 @@

    Optional icon

    icon: IconType
    @@ -163,7 +163,7 @@

    Optional loading

    loading: boolean
    @@ -173,7 +173,7 @@

    Optional onMouseEnte
    onMouseEnter: MouseEventHandler<HTMLElement>
    @@ -183,7 +183,7 @@

    Optional onMouseLeav
    onMouseLeave: MouseEventHandler<HTMLElement>
    @@ -193,7 +193,7 @@

    Optional outline

    outline: boolean
    @@ -203,7 +203,7 @@

    Optional size

    @@ -213,7 +213,7 @@

    Optional style

    style: CSSProperties
    @@ -223,7 +223,7 @@

    Optional type

    diff --git a/apidoc/interfaces/IButtonProps.html b/apidoc/interfaces/IButtonProps.html index aac6a4264..3e51167ed 100644 --- a/apidoc/interfaces/IButtonProps.html +++ b/apidoc/interfaces/IButtonProps.html @@ -1325,7 +1325,7 @@

    Optional block

    @@ -1336,7 +1336,7 @@

    Optional bordered

    @@ -1358,7 +1358,7 @@

    Optional className

    @@ -1465,7 +1465,7 @@

    Optional disabled

    @@ -1475,7 +1475,7 @@

    Optional download

    download: string
    @@ -1507,7 +1507,7 @@

    Optional href

    href: string
    @@ -1517,7 +1517,7 @@

    Optional htmlType

    htmlType: "button" | "reset" | "submit"
    @@ -1528,7 +1528,7 @@

    Optional icon

    @@ -1669,7 +1669,7 @@

    Optional loading

    @@ -2648,7 +2648,7 @@

    Optional onMouseEnte @@ -2659,7 +2659,7 @@

    Optional onMouseLeav @@ -3440,7 +3440,7 @@

    Optional outline

    @@ -3539,7 +3539,7 @@

    Optional size

    @@ -3572,7 +3572,7 @@

    Optional style

    @@ -3615,7 +3615,7 @@

    Optional target

    target: string
    @@ -3648,7 +3648,7 @@

    Optional type

    diff --git a/apidoc/interfaces/ICardProps.html b/apidoc/interfaces/ICardProps.html index 8b184509d..e3327736c 100644 --- a/apidoc/interfaces/ICardProps.html +++ b/apidoc/interfaces/ICardProps.html @@ -100,7 +100,7 @@

    Optional action

    action: ReactNode
    @@ -110,7 +110,7 @@

    Optional bodyStyle

    bodyStyle: CSSProperties
    @@ -120,7 +120,7 @@

    Optional className

    className: string
    @@ -130,7 +130,7 @@

    Optional loading

    loading: boolean
    @@ -140,7 +140,7 @@

    Optional style

    style: CSSProperties
    @@ -150,7 +150,7 @@

    Optional title

    title: ReactNode
    @@ -160,7 +160,7 @@

    Optional type

    type: "normal" | "nested"
    diff --git a/apidoc/interfaces/ICascaderBaseProps.html b/apidoc/interfaces/ICascaderBaseProps.html index c6ed8c4ae..f3c7b63cd 100644 --- a/apidoc/interfaces/ICascaderBaseProps.html +++ b/apidoc/interfaces/ICascaderBaseProps.html @@ -118,7 +118,7 @@

    Optional className

    className: string
    @@ -128,7 +128,7 @@

    Optional clearable

    clearable: boolean
    @@ -138,7 +138,7 @@

    Optional disabled

    disabled: boolean
    @@ -148,7 +148,7 @@

    options

    @@ -158,7 +158,7 @@

    Optional placeholder

    placeholder: string
    @@ -168,7 +168,7 @@

    Optional popupClassN
    popupClassName: string
    @@ -178,7 +178,7 @@

    Optional visible

    visible: boolean
    @@ -195,7 +195,7 @@

    Optional getItemTool
  • @@ -224,7 +224,7 @@

    Optional onVisibleCh
  • Parameters

    @@ -247,7 +247,7 @@

    Optional renderItemC
  • @@ -275,7 +275,7 @@

    Optional renderList

  • @@ -324,7 +324,7 @@

    Optional renderValue

  • diff --git a/apidoc/interfaces/ICascaderChangeMeta.html b/apidoc/interfaces/ICascaderChangeMeta.html index 80592b2b0..9369c5bb1 100644 --- a/apidoc/interfaces/ICascaderChangeMeta.html +++ b/apidoc/interfaces/ICascaderChangeMeta.html @@ -99,7 +99,7 @@

    action

    diff --git a/apidoc/interfaces/ICascaderItem.html b/apidoc/interfaces/ICascaderItem.html index 0c601f24e..4ab2946cc 100644 --- a/apidoc/interfaces/ICascaderItem.html +++ b/apidoc/interfaces/ICascaderItem.html @@ -106,7 +106,7 @@

    children

    @@ -117,7 +117,7 @@

    Optional disabled

    @@ -128,7 +128,7 @@

    label

    @@ -139,7 +139,7 @@

    Optional loadChildren

    Inherited from IPublicCascaderItem.loadChildrenOnExpand

    @@ -150,7 +150,7 @@

    Optional loadChildren

    Inherited from IPublicCascaderItem.loadChildrenOnScroll

    @@ -160,7 +160,7 @@

    parent

    @@ -171,7 +171,7 @@

    value

    diff --git a/apidoc/interfaces/ICascaderLoadMeta.html b/apidoc/interfaces/ICascaderLoadMeta.html index a2f06f9af..aa4759318 100644 --- a/apidoc/interfaces/ICascaderLoadMeta.html +++ b/apidoc/interfaces/ICascaderLoadMeta.html @@ -94,7 +94,7 @@

    action

    diff --git a/apidoc/interfaces/ICascaderMultipleChangeMeta.html b/apidoc/interfaces/ICascaderMultipleChangeMeta.html index 6fb313f52..ef3f87486 100644 --- a/apidoc/interfaces/ICascaderMultipleChangeMeta.html +++ b/apidoc/interfaces/ICascaderMultipleChangeMeta.html @@ -106,7 +106,7 @@

    action

    @@ -123,7 +123,7 @@

    simplify

  • Parameters

    diff --git a/apidoc/interfaces/ICascaderTagsProps.html b/apidoc/interfaces/ICascaderTagsProps.html index e6dc619a8..3218cba75 100644 --- a/apidoc/interfaces/ICascaderTagsProps.html +++ b/apidoc/interfaces/ICascaderTagsProps.html @@ -104,7 +104,7 @@

    collapse

    collapse: boolean
    @@ -114,7 +114,7 @@

    list

    list: ICascaderItem[][]
    @@ -124,7 +124,7 @@

    selectionMap

    selectionMap: Map<string, CascaderItemSelectionState>
    @@ -134,7 +134,7 @@

    simplifyPaths

    simplifyPaths: boolean
    @@ -151,7 +151,7 @@

    onRemove

  • Parameters

    @@ -174,7 +174,7 @@

    Optional renderValue

  • Parameters

    diff --git a/apidoc/interfaces/ICatchErrorOption.html b/apidoc/interfaces/ICatchErrorOption.html index baea649a4..c95b15665 100644 --- a/apidoc/interfaces/ICatchErrorOption.html +++ b/apidoc/interfaces/ICatchErrorOption.html @@ -100,7 +100,7 @@

    Optional FallbackComponen
    FallbackComponent: ComponentType<IErrorBoundaryFallbackComponentProps>
    @@ -117,7 +117,7 @@

    Optional onError

  • Parameters

    diff --git a/apidoc/interfaces/ICheckboxEvent.html b/apidoc/interfaces/ICheckboxEvent.html index 12ebe603b..6e8b435be 100644 --- a/apidoc/interfaces/ICheckboxEvent.html +++ b/apidoc/interfaces/ICheckboxEvent.html @@ -109,7 +109,7 @@

    target

    target: ICheckboxEventTarget<Value>
    @@ -126,7 +126,7 @@

    preventDefault

  • Returns void

    @@ -143,7 +143,7 @@

    stopPropagation

  • Returns void

    diff --git a/apidoc/interfaces/ICheckboxEventTarget.html b/apidoc/interfaces/ICheckboxEventTarget.html index 00403d5f5..fe627bd21 100644 --- a/apidoc/interfaces/ICheckboxEventTarget.html +++ b/apidoc/interfaces/ICheckboxEventTarget.html @@ -126,7 +126,7 @@

    checked

    @@ -137,7 +137,7 @@

    Optional children

    @@ -148,7 +148,7 @@

    Optional className

    @@ -159,7 +159,7 @@

    Optional disabled

    @@ -170,7 +170,7 @@

    Optional indeterminate

    @@ -181,7 +181,7 @@

    Optional labelStyle

    @@ -192,7 +192,7 @@

    Optional onMouseEnte @@ -203,7 +203,7 @@

    Optional onMouseLeav @@ -214,7 +214,7 @@

    Optional readOnly

    @@ -225,7 +225,7 @@

    Optional style

    @@ -235,7 +235,7 @@

    type

    type: "checkbox"
    @@ -246,7 +246,7 @@

    Optional value

    @@ -257,7 +257,7 @@

    Optional width

    @@ -275,7 +275,7 @@

    Optional onChange

    Parameters

    diff --git a/apidoc/interfaces/ICheckboxGroupProps.html b/apidoc/interfaces/ICheckboxGroupProps.html index 185f09187..a74aaf205 100644 --- a/apidoc/interfaces/ICheckboxGroupProps.html +++ b/apidoc/interfaces/ICheckboxGroupProps.html @@ -113,7 +113,7 @@

    Optional className

    className: string
    @@ -123,7 +123,7 @@

    Optional disabled

    disabled: boolean
    @@ -133,7 +133,7 @@

    Optional readOnly

    readOnly: boolean
    @@ -143,7 +143,7 @@

    Optional style

    style: CSSProperties
    @@ -153,7 +153,7 @@

    value

    value: Value[]
    @@ -170,7 +170,7 @@

    Optional isValueEqua
  • Parameters

    @@ -196,7 +196,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/ICheckboxProps.html b/apidoc/interfaces/ICheckboxProps.html index 87cce2c22..d0db4b86b 100644 --- a/apidoc/interfaces/ICheckboxProps.html +++ b/apidoc/interfaces/ICheckboxProps.html @@ -124,7 +124,7 @@

    Optional checked

    checked: boolean
    @@ -134,7 +134,7 @@

    Optional children

    children: ReactNode
    @@ -144,7 +144,7 @@

    Optional className

    className: string
    @@ -154,7 +154,7 @@

    Optional disabled

    disabled: boolean
    @@ -164,7 +164,7 @@

    Optional indeterminate

    indeterminate: boolean
    @@ -174,7 +174,7 @@

    Optional labelStyle

    labelStyle: CSSProperties
    @@ -184,7 +184,7 @@

    Optional onMouseEnte
    onMouseEnter: MouseEventHandler<HTMLElement>
    @@ -194,7 +194,7 @@

    Optional onMouseLeav
    onMouseLeave: MouseEventHandler<HTMLElement>
    @@ -204,7 +204,7 @@

    Optional readOnly

    readOnly: boolean
    @@ -214,7 +214,7 @@

    Optional style

    style: CSSProperties
    @@ -224,7 +224,7 @@

    Optional value

    value: Value
    @@ -234,7 +234,7 @@

    Optional width

    width: number
    @@ -251,7 +251,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/IClampLinesProps.html b/apidoc/interfaces/IClampLinesProps.html index bbd50e99e..cfa2c4083 100644 --- a/apidoc/interfaces/IClampLinesProps.html +++ b/apidoc/interfaces/IClampLinesProps.html @@ -109,7 +109,7 @@

    Optional className

    className: string
    @@ -119,7 +119,7 @@

    Optional ellipsis

    ellipsis: string
    @@ -129,7 +129,7 @@

    Optional extra

    extra: ReactNode
    @@ -139,7 +139,7 @@

    Optional lines

    lines: number
    @@ -149,7 +149,7 @@

    mode

    mode: "performance" | "correctness"
    @@ -159,7 +159,7 @@

    Optional popWidth

    popWidth: number
    @@ -169,7 +169,7 @@

    Optional resizable

    resizable: boolean
    @@ -179,7 +179,7 @@

    Optional showPop

    showPop: boolean
    @@ -189,7 +189,7 @@

    text

    text: string
    @@ -199,7 +199,7 @@

    Optional trigger

    trigger: "click" | "hover" | "focus"
    @@ -216,7 +216,7 @@

    Optional renderPop

  • Parameters

    diff --git a/apidoc/interfaces/IClampLinesState.html b/apidoc/interfaces/IClampLinesState.html index 152bc510f..89cc55595 100644 --- a/apidoc/interfaces/IClampLinesState.html +++ b/apidoc/interfaces/IClampLinesState.html @@ -95,7 +95,7 @@

    holdsFullText

    holdsFullText: boolean
    @@ -105,7 +105,7 @@

    textSuited

    textSuited: string
    diff --git a/apidoc/interfaces/ICloseDialogOption.html b/apidoc/interfaces/ICloseDialogOption.html index e67713476..4e190d8fc 100644 --- a/apidoc/interfaces/ICloseDialogOption.html +++ b/apidoc/interfaces/ICloseDialogOption.html @@ -94,7 +94,7 @@

    Optional triggerOnClosetriggerOnClose: boolean

  • diff --git a/apidoc/interfaces/ICollapsePanelProps.html b/apidoc/interfaces/ICollapsePanelProps.html index 4ddbee159..62cdca5d3 100644 --- a/apidoc/interfaces/ICollapsePanelProps.html +++ b/apidoc/interfaces/ICollapsePanelProps.html @@ -111,7 +111,7 @@

    Optional active

    active: boolean
    @@ -121,7 +121,7 @@

    Optional bordered

    bordered: boolean
    @@ -131,7 +131,7 @@

    Optional className

    className: string
    @@ -141,7 +141,7 @@

    Optional disabled

    disabled: boolean
    @@ -151,7 +151,7 @@

    Optional extra

    extra: ReactNode
    @@ -161,7 +161,7 @@

    Optional isLast

    isLast: boolean
    @@ -171,7 +171,7 @@

    Optional panelKey

    panelKey: string
    @@ -181,7 +181,7 @@

    Optional panelTitleB
    panelTitleBackground: string
    @@ -191,7 +191,7 @@

    showArrow

    showArrow: boolean
    @@ -201,7 +201,7 @@

    Optional showContent
    showContentBackground: boolean
    @@ -211,7 +211,7 @@

    Optional style

    style: CSSProperties
    @@ -221,7 +221,7 @@

    title

    title: ReactNode
    @@ -238,7 +238,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/ICollapsePropsAccordion.html b/apidoc/interfaces/ICollapsePropsAccordion.html index 353470c16..27e820e17 100644 --- a/apidoc/interfaces/ICollapsePropsAccordion.html +++ b/apidoc/interfaces/ICollapsePropsAccordion.html @@ -110,7 +110,7 @@

    accordion

    accordion: true
    @@ -120,7 +120,7 @@

    Optional activeKey

    activeKey: string
    @@ -131,7 +131,7 @@

    Optional bordered

    @@ -142,7 +142,7 @@

    Optional className

    @@ -153,7 +153,7 @@

    Optional panelTitleB @@ -164,7 +164,7 @@

    Optional showContent @@ -181,7 +181,7 @@

    onChange

  • Parameters

    diff --git a/apidoc/interfaces/ICollapsePropsMultiple.html b/apidoc/interfaces/ICollapsePropsMultiple.html index 9f320ae86..b5459f7f7 100644 --- a/apidoc/interfaces/ICollapsePropsMultiple.html +++ b/apidoc/interfaces/ICollapsePropsMultiple.html @@ -110,7 +110,7 @@

    Optional accordion

    accordion: false
    @@ -120,7 +120,7 @@

    Optional activeKey

    activeKey: string[]
    @@ -131,7 +131,7 @@

    Optional bordered

    @@ -142,7 +142,7 @@

    Optional className

    @@ -153,7 +153,7 @@

    Optional panelTitleB @@ -164,7 +164,7 @@

    Optional showContent @@ -181,7 +181,7 @@

    onChange

  • Parameters

    diff --git a/apidoc/interfaces/IColorPickerProps.html b/apidoc/interfaces/IColorPickerProps.html index 225ef3800..0f77ea4c9 100644 --- a/apidoc/interfaces/IColorPickerProps.html +++ b/apidoc/interfaces/IColorPickerProps.html @@ -106,7 +106,7 @@

    Optional className

    className: string
    @@ -116,7 +116,7 @@

    color

    color: string
    @@ -126,7 +126,7 @@

    Optional disabled

    disabled: boolean
    @@ -136,7 +136,7 @@

    Optional presetColors

    presetColors: PresetColors
  • @@ -146,7 +146,7 @@

    Optional showAlpha

    showAlpha: boolean
    @@ -156,7 +156,7 @@

    Optional type

    @@ -166,7 +166,7 @@

    Optional wrapperClasswrapperClassName: string

    @@ -183,7 +183,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/ICombineErrorState.html b/apidoc/interfaces/ICombineErrorState.html index 8c1f85653..99309f6f9 100644 --- a/apidoc/interfaces/ICombineErrorState.html +++ b/apidoc/interfaces/ICombineErrorState.html @@ -94,7 +94,7 @@

    error

    error: IValidateResult<any>
    diff --git a/apidoc/interfaces/ICombineErrorsProps.html b/apidoc/interfaces/ICombineErrorsProps.html index 274d4af3b..931a8baa1 100644 --- a/apidoc/interfaces/ICombineErrorsProps.html +++ b/apidoc/interfaces/ICombineErrorsProps.html @@ -101,7 +101,7 @@

    Optional models

    models: BasicModel<any>[]
    @@ -116,7 +116,7 @@

    Optional names

    names: string[]
    @@ -138,7 +138,7 @@

    Optional children

  • Parameters

    diff --git a/apidoc/interfaces/ICombinedDateRangePickerProps.html b/apidoc/interfaces/ICombinedDateRangePickerProps.html index bdfa50454..18a2a5c75 100644 --- a/apidoc/interfaces/ICombinedDateRangePickerProps.html +++ b/apidoc/interfaces/ICombinedDateRangePickerProps.html @@ -132,7 +132,7 @@

    Optional canClear

    @@ -143,7 +143,7 @@

    Optional className

    @@ -154,7 +154,7 @@

    Optional dateSpan

    @@ -165,7 +165,7 @@

    Optional defaultDate

    @@ -176,7 +176,7 @@

    Optional disabled

    @@ -187,7 +187,7 @@

    Optional disabledDate

    Inherited from Omit.disabledDate

    @@ -198,7 +198,7 @@

    Optional format

    @@ -209,7 +209,7 @@

    Optional name

    @@ -220,7 +220,7 @@

    Optional openPanel

    @@ -231,7 +231,7 @@

    Optional placeholder

    @@ -241,7 +241,7 @@

    Optional showTime

    showTime: IShowTimeRange<string>
    @@ -252,7 +252,7 @@

    value

    @@ -263,7 +263,7 @@

    Optional valueType

    @@ -274,7 +274,7 @@

    Optional width

    @@ -292,7 +292,7 @@

    onChange

    Parameters

    @@ -316,7 +316,7 @@

    Optional onClose

    Parameters

    @@ -340,7 +340,7 @@

    Optional onOpen

    Parameters

    diff --git a/apidoc/interfaces/ICombinedTimeRangePickerProps.html b/apidoc/interfaces/ICombinedTimeRangePickerProps.html index 865ec53b4..5bdbe5648 100644 --- a/apidoc/interfaces/ICombinedTimeRangePickerProps.html +++ b/apidoc/interfaces/ICombinedTimeRangePickerProps.html @@ -129,7 +129,7 @@

    Optional autoComplete

    Inherited from ITimePickerProps.autoComplete

    @@ -140,7 +140,7 @@

    Optional canClear

    @@ -151,7 +151,7 @@

    Optional className

    @@ -162,7 +162,7 @@

    Optional defaultTime

    @@ -173,7 +173,7 @@

    Optional disabled

    @@ -184,7 +184,7 @@

    Optional disabledTime

    Inherited from ITimePickerProps.disabledTime

    @@ -195,7 +195,7 @@

    Optional format

    @@ -206,7 +206,7 @@

    Optional hiddenIcon

    @@ -217,7 +217,7 @@

    Optional hourStep

    @@ -228,7 +228,7 @@

    Optional minuteStep

    @@ -238,7 +238,7 @@

    Optional name

    name: [string, string]
    @@ -249,7 +249,7 @@

    Optional openPanel

    @@ -259,7 +259,7 @@

    Optional placeholder

    placeholder: [string, string]
    @@ -270,7 +270,7 @@

    Optional secondStep

    @@ -281,7 +281,7 @@

    Optional selectedDate

    Inherited from ITimePickerProps.selectedDate

    @@ -292,7 +292,7 @@

    value

    @@ -303,7 +303,7 @@

    Optional width

    @@ -321,7 +321,7 @@

    onChange

    Parameters

    @@ -345,7 +345,7 @@

    Optional onClose

    Returns void

    @@ -363,7 +363,7 @@

    Optional onOpen

    Returns void

    diff --git a/apidoc/interfaces/ICommonProgressProps.html b/apidoc/interfaces/ICommonProgressProps.html index b2327b84b..37eac9f5c 100644 --- a/apidoc/interfaces/ICommonProgressProps.html +++ b/apidoc/interfaces/ICommonProgressProps.html @@ -108,7 +108,7 @@

    Optional bgColor

    bgColor: string
    @@ -118,7 +118,7 @@

    Optional format

    @@ -128,7 +128,7 @@

    Optional percent

    percent: number
    @@ -138,7 +138,7 @@

    Optional showInfo

    showInfo: boolean
    @@ -148,7 +148,7 @@

    Optional strokeLinecapstrokeLinecap: StrokeLinecap

  • @@ -158,7 +158,7 @@

    Optional strokeWidth

    strokeWidth: number
    @@ -168,7 +168,7 @@

    Optional width

    width: number
    diff --git a/apidoc/interfaces/ICompoundMentionSuggestion.html b/apidoc/interfaces/ICompoundMentionSuggestion.html index 180810d4d..a6f42640d 100644 --- a/apidoc/interfaces/ICompoundMentionSuggestion.html +++ b/apidoc/interfaces/ICompoundMentionSuggestion.html @@ -99,7 +99,7 @@

    Optional content

    content: ReactNode
    @@ -109,7 +109,7 @@

    Optional disabled

    disabled: boolean
    @@ -119,7 +119,7 @@

    Optional icon

    icon: string
    @@ -129,7 +129,7 @@

    Optional isDivider

    isDivider: boolean
    @@ -139,7 +139,7 @@

    Optional isGroup

    isGroup: boolean
    @@ -149,7 +149,7 @@

    value

    value: unknown
    diff --git a/apidoc/interfaces/ICopyButtonProps.html b/apidoc/interfaces/ICopyButtonProps.html index 102bd8b25..b44a40bcd 100644 --- a/apidoc/interfaces/ICopyButtonProps.html +++ b/apidoc/interfaces/ICopyButtonProps.html @@ -97,7 +97,7 @@

    Optional onClick

    onClick: MouseEventHandler<Element>
    @@ -107,7 +107,7 @@

    Optional onCopyError
    onCopyError: string | (() => void)
    @@ -117,7 +117,7 @@

    Optional onCopySucce
    onCopySuccess: string | (() => void)
    @@ -127,7 +127,7 @@

    text

    text: string | (() => string)
    diff --git a/apidoc/interfaces/ICreateUseIMECompositionOption.html b/apidoc/interfaces/ICreateUseIMECompositionOption.html index 8c2f7d9ba..76fe109dd 100644 --- a/apidoc/interfaces/ICreateUseIMECompositionOption.html +++ b/apidoc/interfaces/ICreateUseIMECompositionOption.html @@ -98,7 +98,7 @@

    Optional getEventVal
  • Parameters

    diff --git a/apidoc/interfaces/IDatePickerPanelProps.html b/apidoc/interfaces/IDatePickerPanelProps.html index bba6c8603..0dadc5bec 100644 --- a/apidoc/interfaces/IDatePickerPanelProps.html +++ b/apidoc/interfaces/IDatePickerPanelProps.html @@ -125,7 +125,7 @@

    Optional col

    @@ -135,7 +135,7 @@

    Optional combinedLeft

    combinedLeft: boolean
  • @@ -145,7 +145,7 @@

    Optional combinedRightcombinedRight: boolean

    @@ -156,7 +156,7 @@

    defaultPanelDate

    @@ -166,7 +166,7 @@

    Optional disableRangedisableRangeOverView: boolean

    @@ -176,7 +176,7 @@

    Optional disabledTime

    disabledTime: IDisabledTime
    @@ -186,7 +186,7 @@

    Optional footerText

    footerText: string
    @@ -196,7 +196,7 @@

    Optional hideFooter

    hideFooter: boolean
    @@ -207,7 +207,7 @@

    Optional hoverDate

    @@ -218,7 +218,7 @@

    Optional hoverRangeD @@ -228,7 +228,7 @@

    Optional popText

    popText: string
    @@ -239,7 +239,7 @@

    Optional rangeDate

    @@ -250,7 +250,7 @@

    Optional row

    @@ -261,7 +261,7 @@

    selected

    @@ -272,7 +272,7 @@

    Optional showLunarDa @@ -282,7 +282,7 @@

    Optional showTime

    showTime: IShowTime<string>
    @@ -300,7 +300,7 @@

    disabledPanelDate

    Parameters

    @@ -324,7 +324,7 @@

    Optional lunarValueF

    Parameters

    @@ -348,7 +348,7 @@

    Optional onChangePan

    Parameters

    @@ -371,7 +371,7 @@

    Optional onPanelDate
  • Parameters

    @@ -395,7 +395,7 @@

    onSelected

    Parameters

    diff --git a/apidoc/interfaces/IDatePickerProps.html b/apidoc/interfaces/IDatePickerProps.html index 40b8d2dff..eaf407c14 100644 --- a/apidoc/interfaces/IDatePickerProps.html +++ b/apidoc/interfaces/IDatePickerProps.html @@ -135,7 +135,7 @@

    Optional canClear

    @@ -146,7 +146,7 @@

    Optional className

    @@ -157,7 +157,7 @@

    Optional defaultDate

    @@ -168,7 +168,7 @@

    Optional disabled

    @@ -179,7 +179,7 @@

    Optional disabledDate

    Inherited from Omit.disabledDate

    @@ -189,7 +189,7 @@

    Optional disabledTime

    disabledTime: IDisabledTime
  • @@ -200,7 +200,7 @@

    Optional format

    @@ -210,7 +210,7 @@

    Optional hideFooter

    hideFooter: boolean
    @@ -221,7 +221,7 @@

    Optional name

    @@ -232,7 +232,7 @@

    Optional openPanel

    @@ -243,7 +243,7 @@

    Optional placeholder

    @@ -253,7 +253,7 @@

    Optional showLunarDa
    showLunarDate: boolean
    @@ -263,7 +263,7 @@

    Optional showTime

    showTime: IShowTime<string>
    @@ -274,7 +274,7 @@

    value

    @@ -285,7 +285,7 @@

    Optional valueType

    @@ -296,7 +296,7 @@

    Optional width

    @@ -313,7 +313,7 @@

    Optional lunarValueF
  • Parameters

    @@ -337,7 +337,7 @@

    onChange

    Parameters

    @@ -361,7 +361,7 @@

    Optional onClose

    Returns void

    @@ -379,7 +379,7 @@

    Optional onOpen

    Returns void

    diff --git a/apidoc/interfaces/IDateRangePickerProps.html b/apidoc/interfaces/IDateRangePickerProps.html index 31e9e641e..66e18bc4e 100644 --- a/apidoc/interfaces/IDateRangePickerProps.html +++ b/apidoc/interfaces/IDateRangePickerProps.html @@ -134,7 +134,7 @@

    Optional canClear

    @@ -145,7 +145,7 @@

    Optional className

    @@ -156,7 +156,7 @@

    Optional dateSpan

    @@ -167,7 +167,7 @@

    Optional defaultDate

    @@ -178,7 +178,7 @@

    Optional disabled

    @@ -189,7 +189,7 @@

    Optional disabledDate

    Inherited from Omit.disabledDate

    @@ -199,7 +199,7 @@

    Optional disabledTime

    disabledTime: IDisabledTime
  • @@ -210,7 +210,7 @@

    Optional format

    @@ -220,7 +220,7 @@

    Optional hideFooter

    hideFooter: boolean
    @@ -231,7 +231,7 @@

    Optional name

    @@ -242,7 +242,7 @@

    Optional openPanel

    @@ -253,7 +253,7 @@

    Optional placeholder

    @@ -263,7 +263,7 @@

    Optional showTime

    showTime: IShowTimeRange<string>
    @@ -274,7 +274,7 @@

    value

    @@ -285,7 +285,7 @@

    Optional valueType

    @@ -296,7 +296,7 @@

    Optional width

    @@ -314,7 +314,7 @@

    onChange

    Parameters

    @@ -338,7 +338,7 @@

    Optional onClose

    Parameters

    @@ -362,7 +362,7 @@

    Optional onOpen

    Parameters

    diff --git a/apidoc/interfaces/IDateRangeQuickPickerPreset.html b/apidoc/interfaces/IDateRangeQuickPickerPreset.html index a2848ae94..93df0c6b6 100644 --- a/apidoc/interfaces/IDateRangeQuickPickerPreset.html +++ b/apidoc/interfaces/IDateRangeQuickPickerPreset.html @@ -95,7 +95,7 @@

    text

    text: string
    @@ -105,7 +105,7 @@

    value

    diff --git a/apidoc/interfaces/IDateRangeQuickPickerProps.html b/apidoc/interfaces/IDateRangeQuickPickerProps.html index 2f91b46f3..4b23523bf 100644 --- a/apidoc/interfaces/IDateRangeQuickPickerProps.html +++ b/apidoc/interfaces/IDateRangeQuickPickerProps.html @@ -104,7 +104,7 @@

    Optional chooseDays

    @@ -121,7 +121,7 @@

    Optional chosenDays

    @@ -131,7 +131,7 @@

    Optional className

    className: string
    @@ -141,7 +141,7 @@

    Optional defaultSelected<
    defaultSelectedPresetIndex: number
    @@ -151,7 +151,7 @@

    format

    format: string
    @@ -161,7 +161,7 @@

    Optional max

    @@ -171,7 +171,7 @@

    Optional min

    @@ -181,7 +181,7 @@

    onChange

    @@ -191,7 +191,7 @@

    Optional preset

    @@ -201,7 +201,7 @@

    value

    value: RangeDate
    @@ -211,7 +211,7 @@

    Optional valueType

    diff --git a/apidoc/interfaces/IDialogProps.html b/apidoc/interfaces/IDialogProps.html index 24b57251a..9591fc819 100644 --- a/apidoc/interfaces/IDialogProps.html +++ b/apidoc/interfaces/IDialogProps.html @@ -111,7 +111,7 @@

    Optional children

    children: ReactNode
    @@ -121,7 +121,7 @@

    Optional className

    className: string
    @@ -131,7 +131,7 @@

    Optional closeBtn

    closeBtn: boolean
    @@ -141,7 +141,7 @@

    Optional footer

    footer: ReactNode
    @@ -151,7 +151,7 @@

    Optional mask

    mask: boolean
    @@ -161,7 +161,7 @@

    Optional maskClosable

    maskClosable: boolean
    @@ -171,7 +171,7 @@

    Optional position

    position: "auto" | "center"
    @@ -181,7 +181,7 @@

    Optional style

    style: CSSProperties
    @@ -191,7 +191,7 @@

    Optional title

    title: ReactNode
    @@ -201,7 +201,7 @@

    visible

    visible: boolean
    @@ -218,7 +218,7 @@

    Optional onClose

  • Parameters

    @@ -241,7 +241,7 @@

    Optional onClosed

  • Returns void

    @@ -258,7 +258,7 @@

    Optional onOpened

  • Returns void

    diff --git a/apidoc/interfaces/IDialogState.html b/apidoc/interfaces/IDialogState.html index 43ed51d04..aef10c2ec 100644 --- a/apidoc/interfaces/IDialogState.html +++ b/apidoc/interfaces/IDialogState.html @@ -95,7 +95,7 @@

    exiting

    exiting: boolean
    @@ -105,7 +105,7 @@

    prevOpen

    prevOpen: boolean
    diff --git a/apidoc/interfaces/IDisabledContext.html b/apidoc/interfaces/IDisabledContext.html index fb5b076a4..6a217558e 100644 --- a/apidoc/interfaces/IDisabledContext.html +++ b/apidoc/interfaces/IDisabledContext.html @@ -94,7 +94,7 @@

    value

    value: boolean
    diff --git a/apidoc/interfaces/IDisabledProps.html b/apidoc/interfaces/IDisabledProps.html index a6c1dda6a..1ca6b7836 100644 --- a/apidoc/interfaces/IDisabledProps.html +++ b/apidoc/interfaces/IDisabledProps.html @@ -94,7 +94,7 @@

    Optional value

    value: boolean
    diff --git a/apidoc/interfaces/IElevatorAnchorProps.html b/apidoc/interfaces/IElevatorAnchorProps.html index 46d7314f5..9df9f87a9 100644 --- a/apidoc/interfaces/IElevatorAnchorProps.html +++ b/apidoc/interfaces/IElevatorAnchorProps.html @@ -94,7 +94,7 @@

    link

    link: string
    diff --git a/apidoc/interfaces/IElevatorLinkItem.html b/apidoc/interfaces/IElevatorLinkItem.html index c1347961b..5c25f0dc3 100644 --- a/apidoc/interfaces/IElevatorLinkItem.html +++ b/apidoc/interfaces/IElevatorLinkItem.html @@ -95,7 +95,7 @@

    link

    link: string
    @@ -105,7 +105,7 @@

    title

    title: ReactNode
    diff --git a/apidoc/interfaces/IElevatorProps.html b/apidoc/interfaces/IElevatorProps.html index 26d4c566a..6444729ae 100644 --- a/apidoc/interfaces/IElevatorProps.html +++ b/apidoc/interfaces/IElevatorProps.html @@ -104,7 +104,7 @@

    Optional activeLink

    activeLink: string
    @@ -114,7 +114,7 @@

    Optional defaultActivedefaultActiveLink: string

  • @@ -124,7 +124,7 @@

    Optional offsetTop

    offsetTop: number
    @@ -134,7 +134,7 @@

    Optional targetOffset

    targetOffset: number
    @@ -151,7 +151,7 @@

    Optional getContainer

    Returns HTMLElement

    @@ -168,7 +168,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/IErrorBoundaryFallbackComponentProps.html b/apidoc/interfaces/IErrorBoundaryFallbackComponentProps.html index 0563f0559..200549ea1 100644 --- a/apidoc/interfaces/IErrorBoundaryFallbackComponentProps.html +++ b/apidoc/interfaces/IErrorBoundaryFallbackComponentProps.html @@ -95,7 +95,7 @@

    componentStack

    componentStack: string
    @@ -105,7 +105,7 @@

    error

    error: Error
    diff --git a/apidoc/interfaces/IErrorBoundaryProps.html b/apidoc/interfaces/IErrorBoundaryProps.html index eaceb50cb..bd1931876 100644 --- a/apidoc/interfaces/IErrorBoundaryProps.html +++ b/apidoc/interfaces/IErrorBoundaryProps.html @@ -95,7 +95,7 @@

    Optional FallbackComponen
    FallbackComponent: ComponentType<IErrorBoundaryFallbackComponentProps>
    @@ -105,7 +105,7 @@

    Optional onError

    diff --git a/apidoc/interfaces/IEventHandlerProps.html b/apidoc/interfaces/IEventHandlerProps.html index 617d876dc..646b4c724 100644 --- a/apidoc/interfaces/IEventHandlerProps.html +++ b/apidoc/interfaces/IEventHandlerProps.html @@ -116,7 +116,7 @@

    eventName

    eventName: N
    @@ -126,7 +126,7 @@

    Optional options

    options: AddEventListenerOptions
    @@ -136,7 +136,7 @@

    target

    target: T
    @@ -153,7 +153,7 @@

    listener

  • Parameters

    diff --git a/apidoc/interfaces/IFieldSetBaseProps.html b/apidoc/interfaces/IFieldSetBaseProps.html index 8fa3a4101..88ccbd763 100644 --- a/apidoc/interfaces/IFieldSetBaseProps.html +++ b/apidoc/interfaces/IFieldSetBaseProps.html @@ -114,7 +114,7 @@

    Optional children

    children: ReactNode
    @@ -124,7 +124,7 @@

    Optional modelRef

    modelRef: RefObject<FieldSetModel<T>>
    @@ -134,7 +134,7 @@

    Optional renderError

    renderError: IRenderError<T>
    @@ -149,7 +149,7 @@

    Optional scrollAnchorscrollAnchorRef: RefObject<Element>

    @@ -164,7 +164,7 @@

    Optional validators

    validators: IValidators<$FieldSetValue<T>>
    diff --git a/apidoc/interfaces/IFieldSetModelDrivenProps.html b/apidoc/interfaces/IFieldSetModelDrivenProps.html index d8cc09a10..4442fb8d5 100644 --- a/apidoc/interfaces/IFieldSetModelDrivenProps.html +++ b/apidoc/interfaces/IFieldSetModelDrivenProps.html @@ -113,7 +113,7 @@

    Optional children

    @@ -123,7 +123,7 @@

    model

    model: FieldSetModel<T> | ModelRef<$FieldSetValue<T>, FieldSetModel<UnknownFieldSetModelChildren> | FieldArrayModel<$FieldSetValue<T>, FieldSetModel<T>>, FieldSetModel<T>>
    @@ -134,7 +134,7 @@

    Optional modelRef

    @@ -145,7 +145,7 @@

    Optional renderError

    @@ -161,7 +161,7 @@

    Optional scrollAnchor

    Inherited from IFieldSetBaseProps.scrollAnchorRef

    @@ -177,7 +177,7 @@

    Optional validators

    diff --git a/apidoc/interfaces/IFieldSetViewDrivenProps.html b/apidoc/interfaces/IFieldSetViewDrivenProps.html index 3b852a789..464d4f8d1 100644 --- a/apidoc/interfaces/IFieldSetViewDrivenProps.html +++ b/apidoc/interfaces/IFieldSetViewDrivenProps.html @@ -118,7 +118,7 @@

    Optional children

    @@ -129,7 +129,7 @@

    Optional destroyOnUnmount
    @@ -150,7 +150,7 @@

    Optional modelRef

    @@ -161,7 +161,7 @@

    name

    @@ -177,7 +177,7 @@

    Optional normalizeBefore<
    @@ -193,7 +193,7 @@

    Optional renderError

    @@ -209,7 +209,7 @@

    Optional scrollAnchor

    Inherited from IFieldSetBaseProps.scrollAnchorRef

    @@ -225,7 +225,7 @@

    Optional validators

    diff --git a/apidoc/interfaces/IFileInputProps.html b/apidoc/interfaces/IFileInputProps.html index 7ce2eeb8d..2eae46d10 100644 --- a/apidoc/interfaces/IFileInputProps.html +++ b/apidoc/interfaces/IFileInputProps.html @@ -103,7 +103,7 @@

    Optional accept

    accept: string
    @@ -113,7 +113,7 @@

    Optional disabled

    disabled: boolean
    @@ -123,7 +123,7 @@

    Optional multiple

    multiple: boolean
    @@ -133,7 +133,7 @@

    remainAmount

    remainAmount: number
    @@ -150,7 +150,7 @@

    onChange

  • Parameters

    diff --git a/apidoc/interfaces/IFixedProps.html b/apidoc/interfaces/IFixedProps.html index 2ab40d033..d60c84c1f 100644 --- a/apidoc/interfaces/IFixedProps.html +++ b/apidoc/interfaces/IFixedProps.html @@ -123,7 +123,7 @@

    Optional canFixed

    canFixed: boolean
    @@ -133,7 +133,7 @@

    Optional fixedIds

    fixedIds: Id[]
    @@ -150,7 +150,7 @@

    Optional onFixedChan
  • Parameters

    diff --git a/apidoc/interfaces/IFormChild.html b/apidoc/interfaces/IFormChild.html index 5b8d3f919..dd707c31b 100644 --- a/apidoc/interfaces/IFormChild.html +++ b/apidoc/interfaces/IFormChild.html @@ -99,7 +99,7 @@

    getDOMNode

  • Returns Element

    @@ -116,7 +116,7 @@

    valid

  • Returns boolean

    diff --git a/apidoc/interfaces/IFormControlProps.html b/apidoc/interfaces/IFormControlProps.html index e349961af..6c14c949d 100644 --- a/apidoc/interfaces/IFormControlProps.html +++ b/apidoc/interfaces/IFormControlProps.html @@ -100,7 +100,7 @@

    Optional children

    children: ReactNode
    @@ -110,7 +110,7 @@

    Optional className

    className: string
    @@ -120,7 +120,7 @@

    Optional invalid

    invalid: boolean
    @@ -135,7 +135,7 @@

    Optional label

    label: ReactNode
    @@ -150,7 +150,7 @@

    Optional required

    required: boolean
    @@ -165,7 +165,7 @@

    Optional style

    style: CSSProperties
    @@ -175,7 +175,7 @@

    Optional withoutLabel

    withoutLabel: boolean
    diff --git a/apidoc/interfaces/IFormDescriptionProps.html b/apidoc/interfaces/IFormDescriptionProps.html index a4cf61fb0..d274fcb49 100644 --- a/apidoc/interfaces/IFormDescriptionProps.html +++ b/apidoc/interfaces/IFormDescriptionProps.html @@ -95,7 +95,7 @@

    Optional className

    className: string
    @@ -105,7 +105,7 @@

    Optional style

    style: CSSProperties
    diff --git a/apidoc/interfaces/IFormErrorProps.html b/apidoc/interfaces/IFormErrorProps.html index f3949f547..2671c249e 100644 --- a/apidoc/interfaces/IFormErrorProps.html +++ b/apidoc/interfaces/IFormErrorProps.html @@ -96,7 +96,7 @@

    Optional children

    children: ReactNode
    @@ -106,7 +106,7 @@

    Optional className

    className: string
    @@ -116,7 +116,7 @@

    Optional style

    style: CSSProperties
    diff --git a/apidoc/interfaces/IFormFieldChildProps.html b/apidoc/interfaces/IFormFieldChildProps.html index faf7f51b7..0df93d199 100644 --- a/apidoc/interfaces/IFormFieldChildProps.html +++ b/apidoc/interfaces/IFormFieldChildProps.html @@ -111,7 +111,7 @@

    onBlur

    onBlur: FocusEventHandler<Element>
    @@ -121,7 +121,7 @@

    onCompositionEnd

    onCompositionEnd: CompositionEventHandler<Element>
    @@ -131,7 +131,7 @@

    onCompositionStart

    onCompositionStart: CompositionEventHandler<Element>
    @@ -141,7 +141,7 @@

    value

    value: Value
    @@ -158,7 +158,7 @@

    onChange

  • Parameters

    diff --git a/apidoc/interfaces/IFormFieldModelDrivenProps.html b/apidoc/interfaces/IFormFieldModelDrivenProps.html index 6631e7a63..0438d52d3 100644 --- a/apidoc/interfaces/IFormFieldModelDrivenProps.html +++ b/apidoc/interfaces/IFormFieldModelDrivenProps.html @@ -105,7 +105,7 @@

    defaultValue

    defaultValue: T | (() => T)
    @@ -120,7 +120,7 @@

    Optional initialValue

    initialValue: T
    @@ -135,7 +135,7 @@

    model

    model: FieldModel<T> | ModelRef<T, IModel<any>, FieldModel<T>>
    @@ -151,7 +151,7 @@

    Optional validators

    validators: IValidators<T>
    diff --git a/apidoc/interfaces/IFormFieldPropsBase.html b/apidoc/interfaces/IFormFieldPropsBase.html index e38bf421d..04a98c35e 100644 --- a/apidoc/interfaces/IFormFieldPropsBase.html +++ b/apidoc/interfaces/IFormFieldPropsBase.html @@ -137,7 +137,7 @@

    Optional after

    after: ReactNode
    @@ -152,7 +152,7 @@

    Optional before

    before: ReactNode
    @@ -168,7 +168,7 @@

    Optional children

    @@ -179,7 +179,7 @@

    Optional className

    @@ -189,7 +189,7 @@

    Optional helpDesc

    helpDesc: ReactNode
    @@ -205,7 +205,7 @@

    Optional label

    @@ -220,7 +220,7 @@

    Optional modelRef

    modelRef: RefObject<FieldModel<Value>>
    @@ -235,7 +235,7 @@

    Optional notice

    notice: ReactNode
    @@ -251,7 +251,7 @@

    Optional onBlur

    @@ -262,7 +262,7 @@

    Optional onComposition

    Inherited from Partial.onCompositionEnd

    @@ -273,7 +273,7 @@

    Optional onComposition

    Inherited from Partial.onCompositionStart

    @@ -283,7 +283,7 @@

    Optional renderError

    renderError: IRenderError<Value>
    @@ -298,7 +298,7 @@

    Optional required

    required: string | boolean
    @@ -314,7 +314,7 @@

    Optional style

    @@ -324,7 +324,7 @@

    Optional touchWhen

    touchWhen: TouchWhen
    @@ -344,7 +344,7 @@

    Optional validateOccasion
    validateOccasion: ValidateOccasion
    @@ -364,7 +364,7 @@

    Optional withoutError

    withoutError: boolean
    @@ -380,7 +380,7 @@

    Optional withoutLabel

    Inherited from Omit.withoutLabel

    @@ -402,7 +402,7 @@

    Optional format

  • @@ -430,7 +430,7 @@

    Optional getValidate
  • @@ -462,7 +462,7 @@

    Optional normalize

  • @@ -493,7 +493,7 @@

    Optional normalizeBefore<
  • @@ -522,7 +522,7 @@

    Optional onChange

    Parameters

    diff --git a/apidoc/interfaces/IFormFieldViewDrivenProps.html b/apidoc/interfaces/IFormFieldViewDrivenProps.html index 8e8e409f7..83ddaef43 100644 --- a/apidoc/interfaces/IFormFieldViewDrivenProps.html +++ b/apidoc/interfaces/IFormFieldViewDrivenProps.html @@ -107,7 +107,7 @@

    defaultValue

    defaultValue: T | (() => T)
    @@ -122,7 +122,7 @@

    Optional destroyOnUnmount
    destroyOnUnmount: boolean
    @@ -142,7 +142,7 @@

    Optional initialValue

    initialValue: T
    @@ -157,7 +157,7 @@

    name

    name: string
    @@ -172,7 +172,7 @@

    Optional normalizeBefore<
    normalizeBeforeSubmit: INormalizeBeforeSubmit<T, any>
    @@ -187,7 +187,7 @@

    Optional validators

    validators: IValidators<T>
    diff --git a/apidoc/interfaces/IFormNoticeProps.html b/apidoc/interfaces/IFormNoticeProps.html index 2b0d1d786..e193f9463 100644 --- a/apidoc/interfaces/IFormNoticeProps.html +++ b/apidoc/interfaces/IFormNoticeProps.html @@ -95,7 +95,7 @@

    Optional className

    className: string
    @@ -105,7 +105,7 @@

    Optional style

    style: CSSProperties
    diff --git a/apidoc/interfaces/IFormProps.html b/apidoc/interfaces/IFormProps.html index 9786ab65c..cb60672df 100644 --- a/apidoc/interfaces/IFormProps.html +++ b/apidoc/interfaces/IFormProps.html @@ -1470,7 +1470,7 @@

    Optional direction

    direction: "row" | "column"
    @@ -1490,7 +1490,7 @@

    Optional disableEnterdisableEnterSubmit: boolean

    @@ -1505,7 +1505,7 @@

    Optional disabled

    disabled: boolean
    @@ -1542,7 +1542,7 @@

    form

    form: ZentForm<T>
    @@ -1698,7 +1698,7 @@

    Optional layout

    layout: "inline" | "horizontal" | "vertical"
    @@ -3566,7 +3566,7 @@

    Optional scrollToErrorscrollToError: boolean

    @@ -3732,7 +3732,7 @@

    Optional onReset

    @@ -3760,7 +3760,7 @@

    Optional onSubmit

  • @@ -3791,7 +3791,7 @@

    Optional onSubmitFai
  • @@ -3819,7 +3819,7 @@

    Optional onSubmitSuc
  • @@ -3841,7 +3841,7 @@

    Optional willScrollT
  • diff --git a/apidoc/interfaces/IFormScrollToErrorOptions.html b/apidoc/interfaces/IFormScrollToErrorOptions.html index b0456bc2e..437d54a31 100644 --- a/apidoc/interfaces/IFormScrollToErrorOptions.html +++ b/apidoc/interfaces/IFormScrollToErrorOptions.html @@ -96,7 +96,7 @@

    Optional offsetX

    offsetX: number
    @@ -111,7 +111,7 @@

    Optional offsetY

    offsetY: number
    @@ -126,7 +126,7 @@

    Optional scrollContainer<
    scrollContainer: HTMLElement
    diff --git a/apidoc/interfaces/IGridCellPos.html b/apidoc/interfaces/IGridCellPos.html index ac5a57b0d..47a3fe967 100644 --- a/apidoc/interfaces/IGridCellPos.html +++ b/apidoc/interfaces/IGridCellPos.html @@ -96,7 +96,7 @@

    column

    column: number
    @@ -106,7 +106,7 @@

    Optional fixed

    @@ -116,7 +116,7 @@

    row

    row: number
    diff --git a/apidoc/interfaces/IGridColumn.html b/apidoc/interfaces/IGridColumn.html index bb70ef48b..c6b91b295 100644 --- a/apidoc/interfaces/IGridColumn.html +++ b/apidoc/interfaces/IGridColumn.html @@ -127,7 +127,7 @@

    Optional bodyRender

    bodyRender: ReactNode | IGridColumnBodyRenderFunc<Data>
    @@ -137,7 +137,7 @@

    Optional children

    children: IGridColumn<Data>[]
    @@ -147,7 +147,7 @@

    Optional className

    className: string
    @@ -157,7 +157,7 @@

    Optional colSpan

    colSpan: number
    @@ -167,7 +167,7 @@

    Optional defaultText

    defaultText: ReactNode
    @@ -177,7 +177,7 @@

    Optional fixed

    @@ -187,7 +187,7 @@

    Optional name

    name: string
    @@ -197,7 +197,7 @@

    Optional needSort

    needSort: boolean
    @@ -207,7 +207,7 @@

    Optional noWrap

    noWrap: boolean
    @@ -217,7 +217,7 @@

    Optional nowrap

    nowrap: boolean
    @@ -234,7 +234,7 @@

    Optional rowSpan

    rowSpan: number
    @@ -244,7 +244,7 @@

    Optional textAlign

    textAlign: GridTextAlign
    @@ -254,7 +254,7 @@

    title

    title: ReactNode
    @@ -264,7 +264,7 @@

    Optional width

    width: Width<string | number>
    @@ -281,7 +281,7 @@

    Optional isValueEmpt
  • Parameters

    @@ -304,7 +304,7 @@

    Optional onCellClick
  • Parameters

    diff --git a/apidoc/interfaces/IGridExpandation.html b/apidoc/interfaces/IGridExpandation.html index d0cf78e36..fc360781b 100644 --- a/apidoc/interfaces/IGridExpandation.html +++ b/apidoc/interfaces/IGridExpandation.html @@ -108,7 +108,7 @@

    Optional expandRender

    Parameters

    @@ -131,7 +131,7 @@

    Optional isExpandable

    Parameters

    @@ -157,7 +157,7 @@

    Optional isExpanded

  • Parameters

    diff --git a/apidoc/interfaces/IGridInnerColumn.html b/apidoc/interfaces/IGridInnerColumn.html index 4b2c0414d..299595aa6 100644 --- a/apidoc/interfaces/IGridInnerColumn.html +++ b/apidoc/interfaces/IGridInnerColumn.html @@ -129,7 +129,7 @@

    Optional bodyRender

    @@ -140,7 +140,7 @@

    Optional children

    @@ -151,7 +151,7 @@

    Optional className

    @@ -162,7 +162,7 @@

    Optional colSpan

    @@ -173,7 +173,7 @@

    Optional defaultText

    @@ -184,7 +184,7 @@

    Optional fixed

    @@ -194,7 +194,7 @@

    Optional key

    key: string
    @@ -205,7 +205,7 @@

    Optional name

    @@ -216,7 +216,7 @@

    Optional needSort

    @@ -227,7 +227,7 @@

    Optional noWrap

    @@ -238,7 +238,7 @@

    Optional nowrap

    @@ -256,7 +256,7 @@

    Optional rowSpan

    @@ -267,7 +267,7 @@

    Optional textAlign

    @@ -278,7 +278,7 @@

    title

    @@ -289,7 +289,7 @@

    Optional width

    @@ -307,7 +307,7 @@

    Optional isValueEmpt

    Parameters

    @@ -331,7 +331,7 @@

    Optional onCellClick

    Parameters

    diff --git a/apidoc/interfaces/IGridOnChangeConfig.html b/apidoc/interfaces/IGridOnChangeConfig.html index 8014ed175..a4612d7c4 100644 --- a/apidoc/interfaces/IGridOnChangeConfig.html +++ b/apidoc/interfaces/IGridOnChangeConfig.html @@ -97,7 +97,7 @@

    Optional current

    current: number
    @@ -107,7 +107,7 @@

    Optional pageSize

    pageSize: number
    @@ -117,7 +117,7 @@

    Optional sortBy

    sortBy: string
    @@ -127,7 +127,7 @@

    Optional sortType

    sortType: GridSortType
    diff --git a/apidoc/interfaces/IGridPageInfo.html b/apidoc/interfaces/IGridPageInfo.html index 4f5e136b7..0055d957a 100644 --- a/apidoc/interfaces/IGridPageInfo.html +++ b/apidoc/interfaces/IGridPageInfo.html @@ -97,7 +97,7 @@

    Optional current

    current: number
    @@ -107,7 +107,7 @@

    Optional pageSize

    pageSize: number
    @@ -117,7 +117,7 @@

    Optional pageSizeOpt
    pageSizeOptions: PaginationPageSizeOption[]
    @@ -127,7 +127,7 @@

    Optional total

    total: number
    diff --git a/apidoc/interfaces/IGridProps.html b/apidoc/interfaces/IGridProps.html index 663bd0eed..131e927ef 100644 --- a/apidoc/interfaces/IGridProps.html +++ b/apidoc/interfaces/IGridProps.html @@ -142,7 +142,7 @@

    Optional autoStick

    autoStick: boolean
    @@ -152,7 +152,7 @@

    Optional autoStickOf
    autoStickOffsetTop: number
    @@ -162,7 +162,7 @@

    Optional batchRender

    batchRender: IGridBatchRender
    @@ -172,7 +172,7 @@

    Optional bordered

    bordered: boolean
    @@ -182,7 +182,7 @@

    Optional className

    className: string
    @@ -192,7 +192,7 @@

    columns

    columns: IGridColumn<any>[]
    @@ -202,7 +202,7 @@

    Optional components

    components: { row?: ComponentType<RowProps> }
    @@ -220,7 +220,7 @@

    datasets

    datasets: readonly Data[]
    @@ -230,7 +230,7 @@

    Optional defaultSort
    defaultSortType: GridSortType
    @@ -240,7 +240,7 @@

    Optional disableHoverdisableHoverHighlight: boolean

    @@ -250,7 +250,7 @@

    Optional ellipsis

    ellipsis: boolean
    @@ -260,7 +260,7 @@

    Optional emptyLabel

    emptyLabel: ReactNode
    @@ -270,7 +270,7 @@

    Optional expandation

    expandation: IGridExpandation<Data>
    @@ -280,7 +280,7 @@

    Optional loading

    loading: boolean
    @@ -290,7 +290,7 @@

    Optional loadingProps

    loadingProps: Omit<IBlockLoadingProps, "loading">
    @@ -300,7 +300,7 @@

    Optional onExpand

    onExpand: IGridOnExpandHandler<Data>
    @@ -310,7 +310,7 @@

    Optional onRowClick<
    onRowClick: IGridRowClickHandler<Data>
    @@ -320,7 +320,7 @@

    Optional pageInfo

    pageInfo: IGridPageInfo
    @@ -330,7 +330,7 @@

    Optional paginationTypepaginationType: GridPaginationType

  • @@ -340,7 +340,7 @@

    Optional rowClassNam
    rowClassName: GridRowClassNameType<Data>
    @@ -350,7 +350,7 @@

    Optional rowKey

    rowKey: string
    @@ -360,7 +360,7 @@

    Optional scroll

    @@ -370,7 +370,7 @@

    Optional selection

    selection: IGridSelection<Data, Key>
    @@ -380,7 +380,7 @@

    Optional size

    size: "small" | "large" | "medium"
    @@ -390,7 +390,7 @@

    Optional sortBy

    sortBy: string
    @@ -400,7 +400,7 @@

    Optional sortType

    sortType: GridSortType
    @@ -410,7 +410,7 @@

    Optional stickyBatch

    stickyBatch: boolean
    @@ -420,7 +420,7 @@

    Optional tableLayout

    tableLayout: "auto" | "fixed"
    @@ -437,7 +437,7 @@

    Optional onChange

  • Parameters

    @@ -460,7 +460,7 @@

    Optional rowProps

  • Parameters

    diff --git a/apidoc/interfaces/IGridScrollDelta.html b/apidoc/interfaces/IGridScrollDelta.html index b6e95bbd3..c5087b7d3 100644 --- a/apidoc/interfaces/IGridScrollDelta.html +++ b/apidoc/interfaces/IGridScrollDelta.html @@ -95,7 +95,7 @@

    Optional x

    x: number
    @@ -105,7 +105,7 @@

    Optional y

    y: number
    diff --git a/apidoc/interfaces/IGridSelection.html b/apidoc/interfaces/IGridSelection.html index 8259bbd00..6ea07115e 100644 --- a/apidoc/interfaces/IGridSelection.html +++ b/apidoc/interfaces/IGridSelection.html @@ -114,7 +114,7 @@

    Optional isSingleSel
    isSingleSelection: boolean
    @@ -124,7 +124,7 @@

    Optional selectedRow
    selectedRowKeys: Key[]
    @@ -141,7 +141,7 @@

    Optional getCheckbox
  • Parameters

    @@ -164,7 +164,7 @@

    Optional getSelection

    Parameters

    @@ -187,7 +187,7 @@

    Optional onSelect

  • Parameters

    diff --git a/apidoc/interfaces/IGridSelectionProps.html b/apidoc/interfaces/IGridSelectionProps.html index cb7faa5c3..d431db79d 100644 --- a/apidoc/interfaces/IGridSelectionProps.html +++ b/apidoc/interfaces/IGridSelectionProps.html @@ -95,7 +95,7 @@

    disabled

    disabled: boolean
    @@ -105,7 +105,7 @@

    reason

    reason: ReactNode
    diff --git a/apidoc/interfaces/IGridState.html b/apidoc/interfaces/IGridState.html index ef968fffb..3328b1a8c 100644 --- a/apidoc/interfaces/IGridState.html +++ b/apidoc/interfaces/IGridState.html @@ -101,7 +101,7 @@

    expandRowKeys

    expandRowKeys: boolean[]
    @@ -111,7 +111,7 @@

    fixedColumnsBodyExpandRowsHeight

    fixedColumnsBodyExpandRowsHeight: (string | number)[]
    @@ -121,7 +121,7 @@

    fixedColumnsBodyRowsHeight

    fixedColumnsBodyRowsHeight: (string | number)[]
    @@ -131,7 +131,7 @@

    fixedColumnsHeadRowsHeight

    fixedColumnsHeadRowsHeight: (string | number)[]
    @@ -141,7 +141,7 @@

    Optional marginLeft

    marginLeft: string
    @@ -151,7 +151,7 @@

    mouseOverRowIndex

    mouseOverRowIndex: number
    @@ -161,7 +161,7 @@

    showStickHead

    showStickHead: boolean
    @@ -171,7 +171,7 @@

    Optional tableWidth

    tableWidth: number
    diff --git a/apidoc/interfaces/IHoverTriggerCompatibleProps.html b/apidoc/interfaces/IHoverTriggerCompatibleProps.html index 09e8ea763..42c03f231 100644 --- a/apidoc/interfaces/IHoverTriggerCompatibleProps.html +++ b/apidoc/interfaces/IHoverTriggerCompatibleProps.html @@ -99,7 +99,7 @@

    Optional fixMouseEve
    fixMouseEventsOnDisabledChildren: boolean
    diff --git a/apidoc/interfaces/II18nLocaleCascader.html b/apidoc/interfaces/II18nLocaleCascader.html index 7e14fdf40..19e50ee88 100644 --- a/apidoc/interfaces/II18nLocaleCascader.html +++ b/apidoc/interfaces/II18nLocaleCascader.html @@ -110,7 +110,7 @@

    cancel

    @@ -121,7 +121,7 @@

    comma

    @@ -132,7 +132,7 @@

    confirm

    @@ -142,7 +142,7 @@

    empty

    empty: string
    @@ -152,7 +152,7 @@

    loading

    loading: string
    @@ -163,7 +163,7 @@

    ok

    @@ -173,7 +173,7 @@

    placeholder

    placeholder: string
    @@ -184,7 +184,7 @@

    reset

    @@ -194,7 +194,7 @@

    searchEmpty

    searchEmpty: string
    @@ -204,7 +204,7 @@

    searchPlaceholder

    searchPlaceholder: string
    @@ -214,7 +214,7 @@

    title

    title: ReactNode
    diff --git a/apidoc/interfaces/II18nLocaleCommon.html b/apidoc/interfaces/II18nLocaleCommon.html index db5337604..bd180d4e8 100644 --- a/apidoc/interfaces/II18nLocaleCommon.html +++ b/apidoc/interfaces/II18nLocaleCommon.html @@ -115,7 +115,7 @@

    cancel

    cancel: string
    @@ -125,7 +125,7 @@

    comma

    comma: string
    @@ -135,7 +135,7 @@

    confirm

    confirm: string
    @@ -145,7 +145,7 @@

    ok

    ok: string
    @@ -155,7 +155,7 @@

    reset

    reset: string
    diff --git a/apidoc/interfaces/II18nLocaleCopyButton.html b/apidoc/interfaces/II18nLocaleCopyButton.html index 250c17411..8d8fd3573 100644 --- a/apidoc/interfaces/II18nLocaleCopyButton.html +++ b/apidoc/interfaces/II18nLocaleCopyButton.html @@ -96,7 +96,7 @@

    copy

    copy: string
    @@ -106,7 +106,7 @@

    error

    error: string
    @@ -116,7 +116,7 @@

    success

    success: string
    diff --git a/apidoc/interfaces/II18nLocaleForm.html b/apidoc/interfaces/II18nLocaleForm.html index 7ca24db00..b47ffac7c 100644 --- a/apidoc/interfaces/II18nLocaleForm.html +++ b/apidoc/interfaces/II18nLocaleForm.html @@ -94,7 +94,7 @@

    required

    required: string
    diff --git a/apidoc/interfaces/II18nLocaleGrid.html b/apidoc/interfaces/II18nLocaleGrid.html index df5cbaf30..723b32db9 100644 --- a/apidoc/interfaces/II18nLocaleGrid.html +++ b/apidoc/interfaces/II18nLocaleGrid.html @@ -105,7 +105,7 @@

    cancel

    @@ -116,7 +116,7 @@

    comma

    @@ -127,7 +127,7 @@

    confirm

    @@ -137,7 +137,7 @@

    emptyLabel

    emptyLabel: string
    @@ -148,7 +148,7 @@

    ok

    @@ -159,7 +159,7 @@

    reset

    diff --git a/apidoc/interfaces/II18nLocaleMention.html b/apidoc/interfaces/II18nLocaleMention.html index a66f2a586..5f09fd42d 100644 --- a/apidoc/interfaces/II18nLocaleMention.html +++ b/apidoc/interfaces/II18nLocaleMention.html @@ -94,7 +94,7 @@

    noContent

    noContent: string
    diff --git a/apidoc/interfaces/II18nLocaleNumberInput.html b/apidoc/interfaces/II18nLocaleNumberInput.html index fa9f06afc..34cfb26fb 100644 --- a/apidoc/interfaces/II18nLocaleNumberInput.html +++ b/apidoc/interfaces/II18nLocaleNumberInput.html @@ -95,7 +95,7 @@

    max

    max: string
    @@ -105,7 +105,7 @@

    min

    min: string
    diff --git a/apidoc/interfaces/II18nLocalePagination.html b/apidoc/interfaces/II18nLocalePagination.html index 119dcb68e..d5df0f1d4 100644 --- a/apidoc/interfaces/II18nLocalePagination.html +++ b/apidoc/interfaces/II18nLocalePagination.html @@ -103,7 +103,7 @@

    items

    items: string
    @@ -113,7 +113,7 @@

    selectWidth

    selectWidth: number
    @@ -130,7 +130,7 @@

    jumpTo

  • Parameters

    @@ -158,7 +158,7 @@

    pageStats

  • Parameters

    @@ -192,7 +192,7 @@

    pageStatsStatic

  • Parameters

    diff --git a/apidoc/interfaces/II18nLocalePreviewImage.html b/apidoc/interfaces/II18nLocalePreviewImage.html index c6c2296ce..9a9dfe14b 100644 --- a/apidoc/interfaces/II18nLocalePreviewImage.html +++ b/apidoc/interfaces/II18nLocalePreviewImage.html @@ -97,7 +97,7 @@

    alt

    alt: string
    @@ -107,7 +107,7 @@

    next

    next: string
    @@ -117,7 +117,7 @@

    prev

    prev: string
    @@ -127,7 +127,7 @@

    rotate

    rotate: string
    diff --git a/apidoc/interfaces/II18nLocaleRangePicker.html b/apidoc/interfaces/II18nLocaleRangePicker.html index 0dfb8be5a..307bbd126 100644 --- a/apidoc/interfaces/II18nLocaleRangePicker.html +++ b/apidoc/interfaces/II18nLocaleRangePicker.html @@ -95,7 +95,7 @@

    30

    30: string
    @@ -105,7 +105,7 @@

    7

    7: string
    diff --git a/apidoc/interfaces/II18nLocaleSelect.html b/apidoc/interfaces/II18nLocaleSelect.html index 568f8fef6..b58a6eac5 100644 --- a/apidoc/interfaces/II18nLocaleSelect.html +++ b/apidoc/interfaces/II18nLocaleSelect.html @@ -97,7 +97,7 @@

    create

    create: string
    @@ -107,7 +107,7 @@

    empty

    empty: string
    @@ -117,7 +117,7 @@

    input

    input: string
    @@ -127,7 +127,7 @@

    tagSeparator

    tagSeparator: string
    diff --git a/apidoc/interfaces/II18nLocaleSweetalert.html b/apidoc/interfaces/II18nLocaleSweetalert.html index 2883d0fd8..1ea00fac5 100644 --- a/apidoc/interfaces/II18nLocaleSweetalert.html +++ b/apidoc/interfaces/II18nLocaleSweetalert.html @@ -105,7 +105,7 @@

    cancel

    @@ -116,7 +116,7 @@

    comma

    @@ -127,7 +127,7 @@

    confirm

    @@ -138,7 +138,7 @@

    ok

    @@ -149,7 +149,7 @@

    reset

    @@ -159,7 +159,7 @@

    title

    title: string
    diff --git a/apidoc/interfaces/II18nLocaleSwitch.html b/apidoc/interfaces/II18nLocaleSwitch.html index fc960348c..28e5d47c5 100644 --- a/apidoc/interfaces/II18nLocaleSwitch.html +++ b/apidoc/interfaces/II18nLocaleSwitch.html @@ -95,7 +95,7 @@

    checked

    checked: string
    @@ -105,7 +105,7 @@

    unchecked

    unchecked: string
    diff --git a/apidoc/interfaces/II18nLocaleTimePicker.html b/apidoc/interfaces/II18nLocaleTimePicker.html index b51ac5b0d..1616a514a 100644 --- a/apidoc/interfaces/II18nLocaleTimePicker.html +++ b/apidoc/interfaces/II18nLocaleTimePicker.html @@ -120,7 +120,7 @@

    cancel

    @@ -131,7 +131,7 @@

    comma

    @@ -142,7 +142,7 @@

    confirm

    @@ -152,7 +152,7 @@

    current

    current: { date: string; month: string; time: string; week: string; year: string }
    @@ -182,7 +182,7 @@

    date

    date: string
    @@ -192,7 +192,7 @@

    dateErrorPop

    dateErrorPop: string
    @@ -202,7 +202,7 @@

    end

    end: string
    @@ -212,7 +212,7 @@

    endTime

    endTime: string
    @@ -222,7 +222,7 @@

    month

    month: string
    @@ -233,7 +233,7 @@

    ok

    @@ -243,7 +243,7 @@

    panel

    panel: { dayNames: string[]; hour: string; hourSelect: string; minute: string; minuteSelect: string; monthNames: string[]; quarterNames: string[]; second: string; secondSelect: string; titleFormat: string; year: string; yearQuarterName: any }
    @@ -291,7 +291,7 @@
    yearQuarterName: functio
  • Parameters

    @@ -321,7 +321,7 @@

    quarter

    quarter: string
    @@ -331,7 +331,7 @@

    range

    range: string
    @@ -342,7 +342,7 @@

    reset

    @@ -352,7 +352,7 @@

    start

    start: string
    @@ -362,7 +362,7 @@

    startTime

    startTime: string
    @@ -372,7 +372,7 @@

    time

    time: string
    @@ -382,7 +382,7 @@

    timeErrorPop

    timeErrorPop: string
    @@ -392,7 +392,7 @@

    to

    to: string
    @@ -402,7 +402,7 @@

    week

    week: string
    @@ -412,7 +412,7 @@

    year

    year: string
    diff --git a/apidoc/interfaces/II18nLocaleTransfer.html b/apidoc/interfaces/II18nLocaleTransfer.html index 4a62b53ae..705cc4d6a 100644 --- a/apidoc/interfaces/II18nLocaleTransfer.html +++ b/apidoc/interfaces/II18nLocaleTransfer.html @@ -97,7 +97,7 @@

    emptyLabel

    emptyLabel: string
    @@ -107,7 +107,7 @@

    item

    item: string
    @@ -117,7 +117,7 @@

    items

    items: string
    @@ -127,7 +127,7 @@

    placeholder

    placeholder: string
    diff --git a/apidoc/interfaces/II18nLocaleUpload.html b/apidoc/interfaces/II18nLocaleUpload.html index 013991eff..4bcf8903a 100644 --- a/apidoc/interfaces/II18nLocaleUpload.html +++ b/apidoc/interfaces/II18nLocaleUpload.html @@ -109,7 +109,7 @@

    add

    add: string
    @@ -120,7 +120,7 @@

    cancel

    @@ -131,7 +131,7 @@

    comma

    @@ -142,7 +142,7 @@

    confirm

    @@ -152,7 +152,7 @@

    delete

    delete: string
    @@ -162,7 +162,7 @@

    failed

    failed: string
    @@ -172,7 +172,7 @@

    limit

    limit: string
    @@ -183,7 +183,7 @@

    ok

    @@ -194,7 +194,7 @@

    reset

    @@ -204,7 +204,7 @@

    retry

    retry: string
    @@ -214,7 +214,7 @@

    uploading

    uploading: string
    diff --git a/apidoc/interfaces/IIMECompositionContext.html b/apidoc/interfaces/IIMECompositionContext.html index 84efb599a..de3220354 100644 --- a/apidoc/interfaces/IIMECompositionContext.html +++ b/apidoc/interfaces/IIMECompositionContext.html @@ -94,7 +94,7 @@

    enable

    enable: boolean
    diff --git a/apidoc/interfaces/IIMECompositionProps.html b/apidoc/interfaces/IIMECompositionProps.html index 9675e032c..9eb8f8e15 100644 --- a/apidoc/interfaces/IIMECompositionProps.html +++ b/apidoc/interfaces/IIMECompositionProps.html @@ -94,7 +94,7 @@

    Optional enable

    enable: boolean
    diff --git a/apidoc/interfaces/IIconProps.html b/apidoc/interfaces/IIconProps.html index e1155437c..f0d374dc5 100644 --- a/apidoc/interfaces/IIconProps.html +++ b/apidoc/interfaces/IIconProps.html @@ -3451,7 +3451,7 @@

    Optional spin

    spin: boolean
    @@ -3527,7 +3527,7 @@

    type

    type: IconType
    diff --git a/apidoc/interfaces/IImageUploadFileItem.html b/apidoc/interfaces/IImageUploadFileItem.html index f31a655ca..5b4305afa 100644 --- a/apidoc/interfaces/IImageUploadFileItem.html +++ b/apidoc/interfaces/IImageUploadFileItem.html @@ -107,7 +107,7 @@

    Optional

    Inherited from IUploadFileItem.file

    @@ -123,7 +123,7 @@

    Optional id

    @@ -139,7 +139,7 @@

    name

    @@ -155,7 +155,7 @@

    Optional percent

    @@ -170,7 +170,7 @@

    Optional src

    src: string
    @@ -181,7 +181,7 @@

    status

    @@ -196,7 +196,7 @@

    Optional thumbSrc

    thumbSrc: string
    @@ -207,7 +207,7 @@

    type

    diff --git a/apidoc/interfaces/IImageUploadListProps.html b/apidoc/interfaces/IImageUploadListProps.html index 4426cd51f..674817bb0 100644 --- a/apidoc/interfaces/IImageUploadListProps.html +++ b/apidoc/interfaces/IImageUploadListProps.html @@ -113,7 +113,7 @@

    Optional customUpload

    Inherited from IAbstractUploadListProps.customUploadItem

    @@ -124,7 +124,7 @@

    fileList

    @@ -135,7 +135,7 @@

    i18n

    @@ -145,7 +145,7 @@

    onPreview

    @@ -156,7 +156,7 @@

    Optional sortable

    @@ -166,7 +166,7 @@

    trigger

    trigger: ReactNode
    @@ -184,7 +184,7 @@

    onDelete

    Parameters

    @@ -208,7 +208,7 @@

    onRetry

    Parameters

    @@ -232,7 +232,7 @@

    onSortChange

    Parameters

    diff --git a/apidoc/interfaces/IImageUploadProps.html b/apidoc/interfaces/IImageUploadProps.html index efefb6024..d61fa1ddf 100644 --- a/apidoc/interfaces/IImageUploadProps.html +++ b/apidoc/interfaces/IImageUploadProps.html @@ -122,7 +122,7 @@

    Optional accept

    @@ -138,7 +138,7 @@

    Optional className

    @@ -154,7 +154,7 @@

    Optional customUpload

    Inherited from IAbstractMultiUploadProps.customUploadItem

    @@ -170,7 +170,7 @@

    Optional defaultFile
    @@ -186,7 +186,7 @@

    Optional disabled

    @@ -202,7 +202,7 @@

    Optional fileList

    @@ -218,7 +218,7 @@

    Optional manualUpload

    Inherited from IAbstractMultiUploadProps.manualUpload

    @@ -234,7 +234,7 @@

    Optional maxAmount

    @@ -250,7 +250,7 @@

    Optional maxSize

    @@ -266,7 +266,7 @@

    Optional multiple

    @@ -282,7 +282,7 @@

    onChange

    @@ -298,7 +298,7 @@

    Optional onError

    @@ -314,7 +314,7 @@

    Optional onUpload

    @@ -329,7 +329,7 @@

    Optional preview

    @@ -345,7 +345,7 @@

    Optional sortable

    @@ -360,7 +360,7 @@

    Optional tips

    @@ -383,7 +383,7 @@

    Optional beforeUpload

    Inherited from IAbstractMultiUploadProps.beforeUpload

    @@ -411,7 +411,7 @@

    getThumbSrcFromFile

  • diff --git a/apidoc/interfaces/IInfiniteScrollerProps.html b/apidoc/interfaces/IInfiniteScrollerProps.html index a51778d7b..24c67c105 100644 --- a/apidoc/interfaces/IInfiniteScrollerProps.html +++ b/apidoc/interfaces/IInfiniteScrollerProps.html @@ -101,7 +101,7 @@

    Optional children

    children: ReactNode
    @@ -111,7 +111,7 @@

    Optional className

    className: string
    @@ -121,7 +121,7 @@

    Optional hasMore

    hasMore: boolean
    @@ -131,7 +131,7 @@

    Optional loadMore

    loadMore: (() => Promise<unknown>) | ((stopLoading?: () => void) => void)
    @@ -141,7 +141,7 @@

    Optional loader

    loader: ReactNode
    @@ -151,7 +151,7 @@

    Optional skipLoadOnM
    skipLoadOnMount: boolean
    @@ -161,7 +161,7 @@

    Optional threshold

    threshold: number
    @@ -176,7 +176,7 @@

    Optional useWindow

    useWindow: boolean
    diff --git a/apidoc/interfaces/IInnerTab.html b/apidoc/interfaces/IInnerTab.html index eac937921..30403c36f 100644 --- a/apidoc/interfaces/IInnerTab.html +++ b/apidoc/interfaces/IInnerTab.html @@ -125,7 +125,7 @@

    actived

    actived: boolean
    @@ -136,7 +136,7 @@

    Optional canFixed

    @@ -147,7 +147,7 @@

    Optional candel

    @@ -158,7 +158,7 @@

    Optional className

    @@ -169,7 +169,7 @@

    Optional disabled

    @@ -180,7 +180,7 @@

    Optional fixedIds

    @@ -191,7 +191,7 @@

    key

    @@ -201,7 +201,7 @@

    Optional panelChildrenpanelChildren: ReactNode

    @@ -212,7 +212,7 @@

    title

    @@ -222,7 +222,7 @@

    Optional unmountOnHideunmountOnHide: boolean

    @@ -240,7 +240,7 @@

    Optional onFixedChan

    Parameters

    diff --git a/apidoc/interfaces/IInputClearEvent.html b/apidoc/interfaces/IInputClearEvent.html index bade3d2e1..49f504d77 100644 --- a/apidoc/interfaces/IInputClearEvent.html +++ b/apidoc/interfaces/IInputClearEvent.html @@ -269,7 +269,7 @@

    Optional fromClearBu
    fromClearButton: boolean
    @@ -400,7 +400,7 @@

    target

    target: IInputCoreProps & { value: string }
    diff --git a/apidoc/interfaces/IInputCommonProps.html b/apidoc/interfaces/IInputCommonProps.html index 1cc260c9f..fd9260f08 100644 --- a/apidoc/interfaces/IInputCommonProps.html +++ b/apidoc/interfaces/IInputCommonProps.html @@ -112,7 +112,7 @@

    Optional autoFocus

    autoFocus: boolean
    @@ -122,7 +122,7 @@

    Optional autoSelect

    autoSelect: boolean
    @@ -132,7 +132,7 @@

    Optional className

    className: string
    @@ -142,7 +142,7 @@

    Optional initSelectioninitSelectionEnd: number

  • @@ -152,7 +152,7 @@

    Optional initSelectioninitSelectionStart: number

    @@ -162,7 +162,7 @@

    Optional inline

    inline: boolean
    @@ -172,7 +172,7 @@

    Optional onPressEnte
    onPressEnter: KeyboardEventHandler<HTMLInputElement>
    @@ -182,7 +182,7 @@

    Optional size

    size: "small" | "large" | "normal"
    @@ -192,7 +192,7 @@

    Optional style

    style: CSSProperties
    @@ -202,7 +202,7 @@

    Optional width

    width: string | number
    @@ -212,7 +212,7 @@

    Optional widthSize

    diff --git a/apidoc/interfaces/IInputCoreProps.html b/apidoc/interfaces/IInputCoreProps.html index 06f340243..38ea8851e 100644 --- a/apidoc/interfaces/IInputCoreProps.html +++ b/apidoc/interfaces/IInputCoreProps.html @@ -437,7 +437,7 @@

    Optional addonAfter

    addonAfter: ReactNode
    @@ -447,7 +447,7 @@

    Optional addonBefore

    addonBefore: ReactNode
    @@ -1426,7 +1426,7 @@

    Optional autoSelect

    @@ -1708,7 +1708,7 @@

    Optional icon

    icon: IconType
    @@ -1718,7 +1718,7 @@

    Optional iconPosition

    iconPosition: "end" | "front"
    @@ -1740,7 +1740,7 @@

    Optional initSelection

    Inherited from IInputCommonProps.initSelectionEnd

    @@ -1751,7 +1751,7 @@

    Optional initSelection

    Inherited from IInputCommonProps.initSelectionStart

    @@ -1762,7 +1762,7 @@

    Optional inline

    @@ -2683,7 +2683,7 @@

    Optional onIconClick
    onIconClick: MouseEventHandler<HTMLElement>
    @@ -3310,7 +3310,7 @@

    Optional onPressEnte @@ -3859,7 +3859,7 @@

    Optional showClear

    showClear: boolean
    @@ -3870,7 +3870,7 @@

    Optional size

    @@ -3991,7 +3991,7 @@

    Optional type

    @@ -4023,7 +4023,7 @@

    Optional value

    value: string
    @@ -4056,7 +4056,7 @@

    Optional widthSize

    @@ -4073,7 +4073,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/IInputState.html b/apidoc/interfaces/IInputState.html index 215781e02..cd52c3b63 100644 --- a/apidoc/interfaces/IInputState.html +++ b/apidoc/interfaces/IInputState.html @@ -94,7 +94,7 @@

    hasFocus

    hasFocus: boolean
    diff --git a/apidoc/interfaces/ILabelProps.html b/apidoc/interfaces/ILabelProps.html index 3063b652e..884581502 100644 --- a/apidoc/interfaces/ILabelProps.html +++ b/apidoc/interfaces/ILabelProps.html @@ -94,7 +94,7 @@

    Optional required

    required: boolean
    diff --git a/apidoc/interfaces/ILayoutColProps.html b/apidoc/interfaces/ILayoutColProps.html index 7b130a5b7..8860cb291 100644 --- a/apidoc/interfaces/ILayoutColProps.html +++ b/apidoc/interfaces/ILayoutColProps.html @@ -98,7 +98,7 @@

    Optional className

    className: string
    @@ -108,7 +108,7 @@

    offset

    offset: number | ILayoutResponsiveValue
    @@ -118,7 +118,7 @@

    order

    order: number | ILayoutResponsiveValue
    @@ -128,7 +128,7 @@

    span

    span: number | ILayoutResponsiveValue
    @@ -138,7 +138,7 @@

    Optional style

    style: CSSProperties
    diff --git a/apidoc/interfaces/ILayoutConfig.html b/apidoc/interfaces/ILayoutConfig.html index 5ac44a08c..24dce1135 100644 --- a/apidoc/interfaces/ILayoutConfig.html +++ b/apidoc/interfaces/ILayoutConfig.html @@ -95,7 +95,7 @@

    colGutter

    colGutter: number | ILayoutResponsiveValue
    @@ -105,7 +105,7 @@

    rowGutter

    rowGutter: number | ILayoutResponsiveValue
    diff --git a/apidoc/interfaces/ILayoutGridProps.html b/apidoc/interfaces/ILayoutGridProps.html index 2dc15afac..77647974d 100644 --- a/apidoc/interfaces/ILayoutGridProps.html +++ b/apidoc/interfaces/ILayoutGridProps.html @@ -95,7 +95,7 @@

    Optional className

    className: string
    @@ -105,7 +105,7 @@

    Optional style

    style: CSSProperties
    diff --git a/apidoc/interfaces/ILayoutResponsiveValue.html b/apidoc/interfaces/ILayoutResponsiveValue.html index 8c7e5697b..e891cda67 100644 --- a/apidoc/interfaces/ILayoutResponsiveValue.html +++ b/apidoc/interfaces/ILayoutResponsiveValue.html @@ -111,7 +111,7 @@

    fallback

    fallback: number
    diff --git a/apidoc/interfaces/ILayoutRowProps.html b/apidoc/interfaces/ILayoutRowProps.html index 48f4f6e05..5b6bb7b8c 100644 --- a/apidoc/interfaces/ILayoutRowProps.html +++ b/apidoc/interfaces/ILayoutRowProps.html @@ -97,7 +97,7 @@

    Optional align

    align: "start" | "end" | "center"
    @@ -107,7 +107,7 @@

    Optional className

    className: string
    @@ -117,7 +117,7 @@

    Optional justify

    justify: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly"
    @@ -127,7 +127,7 @@

    Optional style

    style: CSSProperties
    diff --git a/apidoc/interfaces/ILinkProps.html b/apidoc/interfaces/ILinkProps.html index 6ec8d0eaa..078b4778b 100644 --- a/apidoc/interfaces/ILinkProps.html +++ b/apidoc/interfaces/ILinkProps.html @@ -1438,7 +1438,7 @@

    Optional disabled

    disabled: boolean
    @@ -3668,7 +3668,7 @@

    Optional weak

    weak: boolean
    diff --git a/apidoc/interfaces/ILinkTagProps.html b/apidoc/interfaces/ILinkTagProps.html index 3cdc218d4..b0a152238 100644 --- a/apidoc/interfaces/ILinkTagProps.html +++ b/apidoc/interfaces/ILinkTagProps.html @@ -1583,7 +1583,7 @@

    Optional linkIconSty
    linkIconStyle: CSSProperties
    @@ -1836,7 +1836,7 @@

    Optional onClose

    @@ -3442,7 +3442,7 @@

    Optional rounded

    @@ -3486,7 +3486,7 @@

    Optional style

    @@ -3574,7 +3574,7 @@

    Optional visible

    diff --git a/apidoc/interfaces/ILocaleData.html b/apidoc/interfaces/ILocaleData.html index 43beac790..3c4eac9aa 100644 --- a/apidoc/interfaces/ILocaleData.html +++ b/apidoc/interfaces/ILocaleData.html @@ -110,7 +110,7 @@

    Cascader

    @@ -120,7 +120,7 @@

    CopyButton

    @@ -130,7 +130,7 @@

    Form

    @@ -140,7 +140,7 @@

    Grid

    @@ -150,7 +150,7 @@

    Mention

    @@ -160,7 +160,7 @@

    NumberInput

    @@ -170,7 +170,7 @@

    Pagination

    @@ -180,7 +180,7 @@

    Pop

    @@ -190,7 +190,7 @@

    PreviewImage

    @@ -200,7 +200,7 @@

    RangePicker

    @@ -210,7 +210,7 @@

    Select

    @@ -220,7 +220,7 @@

    Sweetalert

    @@ -230,7 +230,7 @@

    Switch

    @@ -240,7 +240,7 @@

    TimePicker

    @@ -250,7 +250,7 @@

    Transfer

    @@ -260,7 +260,7 @@

    Upload

    @@ -270,7 +270,7 @@

    mark

    diff --git a/apidoc/interfaces/IMentionProps.html b/apidoc/interfaces/IMentionProps.html index 922bea4d1..6aa5ad84d 100644 --- a/apidoc/interfaces/IMentionProps.html +++ b/apidoc/interfaces/IMentionProps.html @@ -113,7 +113,7 @@

    Optional className

    className: string
    @@ -123,7 +123,7 @@

    Optional inline

    inline: boolean
    @@ -133,7 +133,7 @@

    Optional loading

    loading: boolean
    @@ -143,7 +143,7 @@

    Optional multiLine

    multiLine: boolean
    @@ -153,7 +153,7 @@

    Optional onBlur

    onBlur: FocusEventHandler<Element>
    @@ -163,7 +163,7 @@

    Optional onKeyDownonKeyDown: KeyboardEventHandler<Element>

  • @@ -173,7 +173,7 @@

    Optional onKeyUp

    onKeyUp: FocusEventHandler<Element>
    @@ -183,7 +183,7 @@

    Optional position

    position: "top" | "bottom"
    @@ -193,7 +193,7 @@

    Optional suggestionNotsuggestionNotFoundContent: ReactNode

    @@ -203,7 +203,7 @@

    suggestions

    suggestions: string | number | ICompoundMentionSuggestion
    @@ -213,7 +213,7 @@

    Optional triggerText

    triggerText: string
    @@ -223,7 +223,7 @@

    Optional type

    type: string
    @@ -233,7 +233,7 @@

    value

    value: string
    @@ -250,7 +250,7 @@

    onChange

  • Parameters

    @@ -273,7 +273,7 @@

    Optional onSearchCha
  • Parameters

    diff --git a/apidoc/interfaces/IMenuBaseProps.html b/apidoc/interfaces/IMenuBaseProps.html index 05ca7690c..e96e0bcb4 100644 --- a/apidoc/interfaces/IMenuBaseProps.html +++ b/apidoc/interfaces/IMenuBaseProps.html @@ -111,7 +111,7 @@

    Optional className

    className: string
    @@ -121,7 +121,7 @@

    Optional mode

    mode: "inline" | "pop"
    @@ -131,7 +131,7 @@

    Optional style

    style: CSSProperties
    @@ -148,7 +148,7 @@

    Optional onClick

  • Parameters

    @@ -174,7 +174,7 @@

    Optional onSubMenu

    Parameters

    diff --git a/apidoc/interfaces/IMenuCascaderCommonProps.html b/apidoc/interfaces/IMenuCascaderCommonProps.html index 5ee2bb2cc..52d7ee5f3 100644 --- a/apidoc/interfaces/IMenuCascaderCommonProps.html +++ b/apidoc/interfaces/IMenuCascaderCommonProps.html @@ -136,7 +136,7 @@

    Optional async

    async: boolean
    @@ -147,7 +147,7 @@

    Optional className

    @@ -158,7 +158,7 @@

    Optional clearable

    @@ -169,7 +169,7 @@

    Optional disabled

    @@ -179,7 +179,7 @@

    Optional expandTriggerexpandTrigger: "click" | "hover"

  • @@ -189,7 +189,7 @@

    Optional limit

    limit: number
    @@ -199,7 +199,7 @@

    Optional lineHeight

    lineHeight: number
    @@ -209,7 +209,7 @@

    Optional loadChildrenloadChildrenOnScroll: boolean

    @@ -224,7 +224,7 @@

    Optional maxLine

    maxLine: number
    @@ -234,7 +234,7 @@

    Optional multipleType

    multipleType: "checkbox" | "normal"
    @@ -245,7 +245,7 @@

    options

    @@ -256,7 +256,7 @@

    Optional placeholder

    @@ -267,7 +267,7 @@

    Optional popupClassN @@ -277,7 +277,7 @@

    Optional scrollable

    scrollable: boolean
    @@ -287,7 +287,7 @@

    Optional searchable

    searchable: boolean
    @@ -298,7 +298,7 @@

    Optional visible

    @@ -315,7 +315,7 @@

    Optional asyncFilter

  • Parameters

    @@ -341,7 +341,7 @@

    Optional filter

  • Parameters

    @@ -368,7 +368,7 @@

    Optional getItemTool
    @@ -397,7 +397,7 @@

    Optional highlight

  • Parameters

    @@ -423,7 +423,7 @@

    Optional loadOptions

  • Parameters

    @@ -450,7 +450,7 @@

    Optional onVisibleCh

    Parameters

    @@ -474,7 +474,7 @@

    Optional renderItemC
    @@ -503,7 +503,7 @@

    Optional renderList

    @@ -553,7 +553,7 @@

    Optional renderValue

    diff --git a/apidoc/interfaces/IMenuCascaderMultipleProps.html b/apidoc/interfaces/IMenuCascaderMultipleProps.html index 7f03c9168..264068cd1 100644 --- a/apidoc/interfaces/IMenuCascaderMultipleProps.html +++ b/apidoc/interfaces/IMenuCascaderMultipleProps.html @@ -135,7 +135,7 @@

    Optional async

    @@ -146,7 +146,7 @@

    Optional className

    @@ -157,7 +157,7 @@

    Optional clearable

    @@ -168,7 +168,7 @@

    Optional disabled

    @@ -179,7 +179,7 @@

    Optional expandTrigger

    Inherited from IMenuCascaderCommonProps.expandTrigger

    @@ -190,7 +190,7 @@

    Optional limit

    @@ -201,7 +201,7 @@

    Optional lineHeight

    @@ -212,7 +212,7 @@

    Optional loadChildren

    Inherited from IMenuCascaderCommonProps.loadChildrenOnScroll

    @@ -228,7 +228,7 @@

    Optional maxLine

    @@ -238,7 +238,7 @@

    Optional multiple

    multiple: true
    @@ -249,7 +249,7 @@

    Optional multipleType

    Inherited from IMenuCascaderCommonProps.multipleType

    @@ -260,7 +260,7 @@

    options

    @@ -271,7 +271,7 @@

    Optional placeholder

    @@ -282,7 +282,7 @@

    Optional popupClassN @@ -293,7 +293,7 @@

    Optional scrollable

    @@ -304,7 +304,7 @@

    Optional searchable

    @@ -314,7 +314,7 @@

    Optional simplifySelectio
    simplifySelection: boolean
    @@ -324,7 +324,7 @@

    Optional simplifySelectio
    simplifySelectionMode: CascaderSimplifySelectionMode
    @@ -334,7 +334,7 @@

    Optional value

    value: CascaderValue[][]
    @@ -345,7 +345,7 @@

    Optional visible

    @@ -363,7 +363,7 @@

    Optional asyncFilter

    Parameters

    @@ -390,7 +390,7 @@

    Optional filter

    Parameters

    @@ -417,7 +417,7 @@

    Optional getItemTool
    @@ -447,7 +447,7 @@

    Optional highlight

    Parameters

    @@ -474,7 +474,7 @@

    Optional loadOptions

    Parameters

    @@ -500,7 +500,7 @@

    onChange

  • Parameters

    @@ -530,7 +530,7 @@

    Optional onVisibleCh

    Parameters

    @@ -554,7 +554,7 @@

    Optional renderItemC
    @@ -583,7 +583,7 @@

    Optional renderList

    @@ -632,7 +632,7 @@

    Optional renderTags

  • Parameters

    @@ -656,7 +656,7 @@

    Optional renderValue

    diff --git a/apidoc/interfaces/IMenuCascaderSingleProps.html b/apidoc/interfaces/IMenuCascaderSingleProps.html index df0915c48..8675f3688 100644 --- a/apidoc/interfaces/IMenuCascaderSingleProps.html +++ b/apidoc/interfaces/IMenuCascaderSingleProps.html @@ -133,7 +133,7 @@

    Optional async

    @@ -143,7 +143,7 @@

    Optional changeOnSelectchangeOnSelect: boolean

    @@ -154,7 +154,7 @@

    Optional className

    @@ -165,7 +165,7 @@

    Optional clearable

    @@ -176,7 +176,7 @@

    Optional disabled

    @@ -187,7 +187,7 @@

    Optional expandTrigger

    Inherited from IMenuCascaderCommonProps.expandTrigger

    @@ -198,7 +198,7 @@

    Optional limit

    @@ -209,7 +209,7 @@

    Optional lineHeight

    @@ -220,7 +220,7 @@

    Optional loadChildren

    Inherited from IMenuCascaderCommonProps.loadChildrenOnScroll

    @@ -236,7 +236,7 @@

    Optional maxLine

    @@ -246,7 +246,7 @@

    Optional multiple

    multiple: false
    @@ -257,7 +257,7 @@

    Optional multipleType

    Inherited from IMenuCascaderCommonProps.multipleType

    @@ -268,7 +268,7 @@

    options

    @@ -279,7 +279,7 @@

    Optional placeholder

    @@ -290,7 +290,7 @@

    Optional popupClassN @@ -301,7 +301,7 @@

    Optional scrollable

    @@ -312,7 +312,7 @@

    Optional searchable

    @@ -322,7 +322,7 @@

    Optional value

    value: CascaderValue[]
    @@ -333,7 +333,7 @@

    Optional visible

    @@ -351,7 +351,7 @@

    Optional asyncFilter

    Parameters

    @@ -378,7 +378,7 @@

    Optional filter

    Parameters

    @@ -405,7 +405,7 @@

    Optional getItemTool
    @@ -435,7 +435,7 @@

    Optional highlight

    Parameters

    @@ -462,7 +462,7 @@

    Optional loadOptions

    Parameters

    @@ -488,7 +488,7 @@

    onChange

  • Parameters

    @@ -518,7 +518,7 @@

    Optional onVisibleCh

    Parameters

    @@ -542,7 +542,7 @@

    Optional renderItemC
    @@ -571,7 +571,7 @@

    Optional renderList

    @@ -621,7 +621,7 @@

    Optional renderValue

    diff --git a/apidoc/interfaces/IMenuInlineProps.html b/apidoc/interfaces/IMenuInlineProps.html index 14ce371df..30b9494ef 100644 --- a/apidoc/interfaces/IMenuInlineProps.html +++ b/apidoc/interfaces/IMenuInlineProps.html @@ -117,7 +117,7 @@

    Optional className

    @@ -127,7 +127,7 @@

    Optional defaultExpanddefaultExpandKeys: string[]

    @@ -144,7 +144,7 @@

    Optional defaultExpanded<
    defaultExpandedKeys: string[]
    @@ -154,7 +154,7 @@

    Optional defaultSelected<
    defaultSelectedKey: string
    @@ -164,7 +164,7 @@

    Optional expandedKeys

    expandedKeys: string[]
    @@ -174,7 +174,7 @@

    Optional inlineIndent

    inlineIndent: number
    @@ -185,7 +185,7 @@

    mode

    @@ -195,7 +195,7 @@

    Optional selectedKey

    selectedKey: string
    @@ -206,7 +206,7 @@

    Optional style

    @@ -224,7 +224,7 @@

    Optional onClick

    Parameters

    @@ -250,7 +250,7 @@

    Optional onExpandCha
  • Parameters

    @@ -273,7 +273,7 @@

    Optional onSelectCha
  • Parameters

    @@ -297,7 +297,7 @@

    Optional onSubMenu

    Inherited from IMenuBaseProps.onSubMenuClick

    Parameters

    diff --git a/apidoc/interfaces/IMenuItemProps.html b/apidoc/interfaces/IMenuItemProps.html index 9a2914e39..35d47619e 100644 --- a/apidoc/interfaces/IMenuItemProps.html +++ b/apidoc/interfaces/IMenuItemProps.html @@ -108,7 +108,7 @@

    Optional className

    className: string
    @@ -118,7 +118,7 @@

    Optional depth

    depth: number
    @@ -128,7 +128,7 @@

    Optional disabled

    disabled: boolean
    @@ -138,7 +138,7 @@

    Optional inlineIndent

    inlineIndent: boolean

  • @@ -148,7 +148,7 @@

    Optional isInline

    isInline: boolean
    @@ -158,7 +158,7 @@

    Optional key

    key: string
    @@ -168,7 +168,7 @@

    Optional selectedKey

    selectedKey: unknown[]
    @@ -178,7 +178,7 @@

    Optional specKey

    specKey: unknown
    @@ -195,7 +195,7 @@

    Optional handleSelect

    Parameters

    @@ -218,7 +218,7 @@

    Optional onClick

  • Parameters

    diff --git a/apidoc/interfaces/IMenuPopProps.html b/apidoc/interfaces/IMenuPopProps.html index 120ef3ee0..8d64139f7 100644 --- a/apidoc/interfaces/IMenuPopProps.html +++ b/apidoc/interfaces/IMenuPopProps.html @@ -109,7 +109,7 @@

    Optional className

    @@ -120,7 +120,7 @@

    mode

    @@ -131,7 +131,7 @@

    Optional style

    @@ -149,7 +149,7 @@

    Optional onClick

    Parameters

    @@ -176,7 +176,7 @@

    Optional onSubMenu

    Inherited from IMenuBaseProps.onSubMenuClick

    Parameters

    diff --git a/apidoc/interfaces/IMiniPaginationProps.html b/apidoc/interfaces/IMiniPaginationProps.html index 10658f5bf..b7cb058a8 100644 --- a/apidoc/interfaces/IMiniPaginationProps.html +++ b/apidoc/interfaces/IMiniPaginationProps.html @@ -112,7 +112,7 @@

    Optional buttonBorderedbuttonBordered: boolean

  • @@ -123,7 +123,7 @@

    Optional className

    @@ -134,7 +134,7 @@

    current

    @@ -145,7 +145,7 @@

    Optional lastPageHel @@ -156,7 +156,7 @@

    onChange

    @@ -167,7 +167,7 @@

    pageSize

    @@ -178,7 +178,7 @@

    Optional total

    @@ -189,7 +189,7 @@

    Optional totalItem

    @@ -212,7 +212,7 @@

    Optional formatTotal

    Parameters

    diff --git a/apidoc/interfaces/IMonthPickerProps.html b/apidoc/interfaces/IMonthPickerProps.html index 7cf84f5d5..a2ec7bbdc 100644 --- a/apidoc/interfaces/IMonthPickerProps.html +++ b/apidoc/interfaces/IMonthPickerProps.html @@ -130,7 +130,7 @@

    Optional canClear

    @@ -141,7 +141,7 @@

    Optional className

    @@ -152,7 +152,7 @@

    Optional defaultDate

    @@ -163,7 +163,7 @@

    Optional disabled

    @@ -174,7 +174,7 @@

    Optional disabledDate

    Inherited from Omit.disabledDate

    @@ -185,7 +185,7 @@

    Optional format

    @@ -196,7 +196,7 @@

    Optional name

    @@ -207,7 +207,7 @@

    Optional openPanel

    @@ -218,7 +218,7 @@

    Optional placeholder

    @@ -229,7 +229,7 @@

    value

    @@ -240,7 +240,7 @@

    Optional valueType

    @@ -251,7 +251,7 @@

    Optional width

    @@ -269,7 +269,7 @@

    onChange

    Parameters

    @@ -293,7 +293,7 @@

    Optional onClose

    Returns void

    @@ -311,7 +311,7 @@

    Optional onOpen

    Returns void

    diff --git a/apidoc/interfaces/INormalizeBeforeSubmit.html b/apidoc/interfaces/INormalizeBeforeSubmit.html index 9c1784037..3cea9cc28 100644 --- a/apidoc/interfaces/INormalizeBeforeSubmit.html +++ b/apidoc/interfaces/INormalizeBeforeSubmit.html @@ -93,7 +93,7 @@

    Callable

  • Parameters

    diff --git a/apidoc/interfaces/INoticeProps.html b/apidoc/interfaces/INoticeProps.html index 41adc0be8..e95cfb1f7 100644 --- a/apidoc/interfaces/INoticeProps.html +++ b/apidoc/interfaces/INoticeProps.html @@ -108,7 +108,7 @@

    Optional autoClose

    autoClose: boolean
    @@ -118,7 +118,7 @@

    Optional children

    children: ReactNode
    @@ -128,7 +128,7 @@

    Optional className

    className: string
    @@ -138,7 +138,7 @@

    Optional closable

    closable: boolean
    @@ -148,7 +148,7 @@

    Optional position

    position: NoticePositions
    @@ -158,7 +158,7 @@

    Optional style

    style: CSSProperties
    @@ -168,7 +168,7 @@

    Optional timeout

    timeout: number
    @@ -178,7 +178,7 @@

    title

    title: string
    @@ -188,7 +188,7 @@

    Optional type

    type: "info" | "success" | "warning" | "error"
    @@ -205,7 +205,7 @@

    Optional onClose

  • Returns void

    diff --git a/apidoc/interfaces/INumberInputCommonProps.html b/apidoc/interfaces/INumberInputCommonProps.html index ae2a78a10..460d6dbbe 100644 --- a/apidoc/interfaces/INumberInputCommonProps.html +++ b/apidoc/interfaces/INumberInputCommonProps.html @@ -438,7 +438,7 @@

    Optional addonAfter

    @@ -449,7 +449,7 @@

    Optional addonBefore

    @@ -1428,7 +1428,7 @@

    Optional autoSelect

    @@ -1711,7 +1711,7 @@

    Optional icon

    @@ -1722,7 +1722,7 @@

    Optional iconPosition

    Inherited from Omit.iconPosition

    @@ -1744,7 +1744,7 @@

    Optional initSelection

    Inherited from Omit.initSelectionEnd

    @@ -1755,7 +1755,7 @@

    Optional initSelection

    Inherited from Omit.initSelectionStart

    @@ -1766,7 +1766,7 @@

    Optional inline

    @@ -2688,7 +2688,7 @@

    Optional onIconClick @@ -3304,7 +3304,7 @@

    Optional onPressEnte @@ -3854,7 +3854,7 @@

    Optional showClear

    @@ -3864,7 +3864,7 @@

    Optional showCounter

    showCounter: boolean
    @@ -3874,7 +3874,7 @@

    Optional showStepper

    showStepper: boolean
    @@ -3884,7 +3884,7 @@

    Optional showTooltip

    showTooltip: boolean
    @@ -3895,7 +3895,7 @@

    Optional size

    @@ -3939,7 +3939,7 @@

    Optional step

    @@ -4015,7 +4015,7 @@

    Optional type

    type: "number"
    @@ -4070,7 +4070,7 @@

    Optional widthSize

    diff --git a/apidoc/interfaces/INumberInputDecimalProps.html b/apidoc/interfaces/INumberInputDecimalProps.html index 97b7e48e5..973a29ce3 100644 --- a/apidoc/interfaces/INumberInputDecimalProps.html +++ b/apidoc/interfaces/INumberInputDecimalProps.html @@ -440,7 +440,7 @@

    Optional addonAfter

    @@ -451,7 +451,7 @@

    Optional addonBefore

    @@ -1430,7 +1430,7 @@

    Optional autoSelect

    @@ -1558,7 +1558,7 @@

    Optional decimal

    decimal: number
    @@ -1723,7 +1723,7 @@

    Optional icon

    @@ -1734,7 +1734,7 @@

    Optional iconPosition

    Inherited from INumberInputCommonProps.iconPosition

    @@ -1756,7 +1756,7 @@

    Optional initSelection

    Inherited from INumberInputCommonProps.initSelectionEnd

    @@ -1767,7 +1767,7 @@

    Optional initSelection

    Inherited from INumberInputCommonProps.initSelectionStart

    @@ -1778,7 +1778,7 @@

    Optional inline

    @@ -1820,7 +1820,7 @@

    Optional integer

    integer: false
    @@ -1951,7 +1951,7 @@

    Optional min

    @@ -2710,7 +2710,7 @@

    Optional onIconClick @@ -3326,7 +3326,7 @@

    Optional onPressEnte @@ -3876,7 +3876,7 @@

    Optional showClear

    @@ -3887,7 +3887,7 @@

    Optional showCounter

    @@ -3898,7 +3898,7 @@

    Optional showStepper

    @@ -3909,7 +3909,7 @@

    Optional showTooltip

    @@ -3920,7 +3920,7 @@

    Optional size

    @@ -3964,7 +3964,7 @@

    Optional step

    @@ -4041,7 +4041,7 @@

    Optional type

    @@ -4073,7 +4073,7 @@

    Optional value

    value: string | number
    @@ -4106,7 +4106,7 @@

    Optional widthSize

    @@ -4123,7 +4123,7 @@

    Optional onChange

  • Parameters

    @@ -4146,7 +4146,7 @@

    Optional onInput

  • Parameters

    diff --git a/apidoc/interfaces/INumberInputDecimalState.html b/apidoc/interfaces/INumberInputDecimalState.html index 788b7ccf7..83d6bbcbe 100644 --- a/apidoc/interfaces/INumberInputDecimalState.html +++ b/apidoc/interfaces/INumberInputDecimalState.html @@ -100,7 +100,7 @@

    delta

    delta: Big
    @@ -110,7 +110,7 @@

    input

    input: string
    @@ -120,7 +120,7 @@

    max

    max: Big
    @@ -130,7 +130,7 @@

    min

    min: Big
    @@ -140,7 +140,7 @@

    Optional pop

    pop: { text: string | number; type: string; visible: boolean }
    @@ -164,7 +164,7 @@

    prevProps

    @@ -174,7 +174,7 @@

    value

    value: Big
    diff --git a/apidoc/interfaces/INumberInputIntegerProps.html b/apidoc/interfaces/INumberInputIntegerProps.html index 01acbecf6..9fb5fc31d 100644 --- a/apidoc/interfaces/INumberInputIntegerProps.html +++ b/apidoc/interfaces/INumberInputIntegerProps.html @@ -439,7 +439,7 @@

    Optional addonAfter

    @@ -450,7 +450,7 @@

    Optional addonBefore

    @@ -1429,7 +1429,7 @@

    Optional autoSelect

    @@ -1712,7 +1712,7 @@

    Optional icon

    @@ -1723,7 +1723,7 @@

    Optional iconPosition

    Inherited from INumberInputCommonProps.iconPosition

    @@ -1745,7 +1745,7 @@

    Optional initSelection

    Inherited from INumberInputCommonProps.initSelectionEnd

    @@ -1756,7 +1756,7 @@

    Optional initSelection

    Inherited from INumberInputCommonProps.initSelectionStart

    @@ -1767,7 +1767,7 @@

    Optional inline

    @@ -1809,7 +1809,7 @@

    integer

    integer: true
    @@ -1918,7 +1918,7 @@

    Optional max

    @@ -1940,7 +1940,7 @@

    Optional min

    @@ -2699,7 +2699,7 @@

    Optional onIconClick @@ -3315,7 +3315,7 @@

    Optional onPressEnte @@ -3865,7 +3865,7 @@

    Optional showClear

    @@ -3876,7 +3876,7 @@

    Optional showCounter

    @@ -3887,7 +3887,7 @@

    Optional showStepper

    @@ -3898,7 +3898,7 @@

    Optional showTooltip

    @@ -3909,7 +3909,7 @@

    Optional size

    @@ -3953,7 +3953,7 @@

    Optional step

    @@ -4030,7 +4030,7 @@

    Optional type

    @@ -4062,7 +4062,7 @@

    Optional value

    value: number
    @@ -4095,7 +4095,7 @@

    Optional widthSize

    @@ -4112,7 +4112,7 @@

    Optional onChange

  • Parameters

    @@ -4135,7 +4135,7 @@

    Optional onInput

  • Parameters

    diff --git a/apidoc/interfaces/INumberInputIntegerState.html b/apidoc/interfaces/INumberInputIntegerState.html index 6df1f589c..7a205dee3 100644 --- a/apidoc/interfaces/INumberInputIntegerState.html +++ b/apidoc/interfaces/INumberInputIntegerState.html @@ -100,7 +100,7 @@

    delta

    delta: number
    @@ -110,7 +110,7 @@

    input

    input: string
    @@ -120,7 +120,7 @@

    max

    max: number
    @@ -130,7 +130,7 @@

    min

    min: number
    @@ -140,7 +140,7 @@

    Optional pop

    pop: { text: string; type: string; visible: boolean }
    @@ -164,7 +164,7 @@

    prevProps

    @@ -174,7 +174,7 @@

    value

    value: number
    diff --git a/apidoc/interfaces/IOnErrorCallback.html b/apidoc/interfaces/IOnErrorCallback.html index 553e371a2..4f8d551a5 100644 --- a/apidoc/interfaces/IOnErrorCallback.html +++ b/apidoc/interfaces/IOnErrorCallback.html @@ -82,7 +82,7 @@

    Callable

  • Parameters

    diff --git a/apidoc/interfaces/IOpenDialogOption.html b/apidoc/interfaces/IOpenDialogOption.html index 59a4f4a3c..7c15d82ef 100644 --- a/apidoc/interfaces/IOpenDialogOption.html +++ b/apidoc/interfaces/IOpenDialogOption.html @@ -120,7 +120,7 @@

    Optional children

    @@ -131,7 +131,7 @@

    Optional className

    @@ -142,7 +142,7 @@

    Optional closeBtn

    @@ -152,7 +152,7 @@

    Optional dialogId

    dialogId: string
    @@ -163,7 +163,7 @@

    Optional footer

    @@ -174,7 +174,7 @@

    Optional mask

    @@ -185,7 +185,7 @@

    Optional maskClosable

    Inherited from Omit.maskClosable

    @@ -195,7 +195,7 @@

    Optional parentComponent<
    parentComponent: ReactInstance
    @@ -206,7 +206,7 @@

    Optional position

    @@ -217,7 +217,7 @@

    Optional style

    @@ -228,7 +228,7 @@

    Optional title

    @@ -239,7 +239,7 @@

    visible

    @@ -256,7 +256,7 @@

    Optional onClose

  • Returns void

    @@ -274,7 +274,7 @@

    Optional onClosed

    Returns void

    @@ -292,7 +292,7 @@

    Optional onOpened

    Returns void

    @@ -309,7 +309,7 @@

    Optional ref

  • Parameters

    diff --git a/apidoc/interfaces/IOptionRenderer.html b/apidoc/interfaces/IOptionRenderer.html index 8ed76584c..faa13a9cc 100644 --- a/apidoc/interfaces/IOptionRenderer.html +++ b/apidoc/interfaces/IOptionRenderer.html @@ -93,7 +93,7 @@

    Callable

  • Parameters

    diff --git a/apidoc/interfaces/IPaginationLayoutOptions.html b/apidoc/interfaces/IPaginationLayoutOptions.html index 8888a685c..99d23f0a6 100644 --- a/apidoc/interfaces/IPaginationLayoutOptions.html +++ b/apidoc/interfaces/IPaginationLayoutOptions.html @@ -96,7 +96,7 @@

    current

    current: number
    @@ -106,7 +106,7 @@

    pageSize

    pageSize: number
    @@ -116,7 +116,7 @@

    total

    total: number
    diff --git a/apidoc/interfaces/IPlaceholderCicleProps.html b/apidoc/interfaces/IPlaceholderCicleProps.html index 1d7f15aa8..8becffac2 100644 --- a/apidoc/interfaces/IPlaceholderCicleProps.html +++ b/apidoc/interfaces/IPlaceholderCicleProps.html @@ -103,7 +103,7 @@

    Optional animate

    @@ -114,7 +114,7 @@

    Optional className

    @@ -124,7 +124,7 @@

    Optional diameter

    diameter: number
    @@ -135,7 +135,7 @@

    Optional style

    diff --git a/apidoc/interfaces/IPlaceholderRectangleProps.html b/apidoc/interfaces/IPlaceholderRectangleProps.html index 8f8dad552..4e9c20b36 100644 --- a/apidoc/interfaces/IPlaceholderRectangleProps.html +++ b/apidoc/interfaces/IPlaceholderRectangleProps.html @@ -104,7 +104,7 @@

    Optional animate

    @@ -115,7 +115,7 @@

    Optional className

    @@ -125,7 +125,7 @@

    Optional height

    height: number
    @@ -136,7 +136,7 @@

    Optional style

    @@ -146,7 +146,7 @@

    Optional width

    width: number
    diff --git a/apidoc/interfaces/IPlaceholderRichTextBlock.html b/apidoc/interfaces/IPlaceholderRichTextBlock.html index aa73f571a..480da6123 100644 --- a/apidoc/interfaces/IPlaceholderRichTextBlock.html +++ b/apidoc/interfaces/IPlaceholderRichTextBlock.html @@ -103,7 +103,7 @@

    Optional animate

    animate: boolean
    @@ -113,7 +113,7 @@

    Optional className

    className: string
    @@ -123,7 +123,7 @@

    Optional dashSegments

    dashSegments: (string | number)[][]
  • @@ -133,7 +133,7 @@

    Optional dashed

    dashed: boolean
    @@ -143,7 +143,7 @@

    Optional lineSpacing

    lineSpacing: string | number
    @@ -153,7 +153,7 @@

    Optional rows

    rows: number
    @@ -163,7 +163,7 @@

    Optional shape

    shape: string
    @@ -173,7 +173,7 @@

    Optional size

    size: number
    @@ -183,7 +183,7 @@

    Optional style

    style: CSSProperties
    @@ -193,7 +193,7 @@

    Optional widths

    widths: number[]
    diff --git a/apidoc/interfaces/IPlaceholderTextBlockProps.html b/apidoc/interfaces/IPlaceholderTextBlockProps.html index f490ef8c0..9296b3797 100644 --- a/apidoc/interfaces/IPlaceholderTextBlockProps.html +++ b/apidoc/interfaces/IPlaceholderTextBlockProps.html @@ -101,7 +101,7 @@

    Optional animate

    animate: boolean
    @@ -111,7 +111,7 @@

    Optional className

    className: string
    @@ -121,7 +121,7 @@

    Optional dashSegments

    dashSegments: (string | number)[][]
  • @@ -131,7 +131,7 @@

    Optional dashed

    dashed: boolean
    @@ -141,7 +141,7 @@

    Optional lineSpacing

    lineSpacing: string | number
    @@ -151,7 +151,7 @@

    rows

    rows: number
    @@ -161,7 +161,7 @@

    Optional style

    style: CSSProperties
    @@ -171,7 +171,7 @@

    Optional widths

    widths: number[]
    diff --git a/apidoc/interfaces/IPlaceholderTextRowDashedProps.html b/apidoc/interfaces/IPlaceholderTextRowDashedProps.html index c5316888c..39911ac08 100644 --- a/apidoc/interfaces/IPlaceholderTextRowDashedProps.html +++ b/apidoc/interfaces/IPlaceholderTextRowDashedProps.html @@ -98,7 +98,7 @@

    Optional animate

    animate: boolean
    @@ -108,7 +108,7 @@

    Optional className

    className: string
    @@ -118,7 +118,7 @@

    Optional lineSpacing

    lineSpacing: string | number
    @@ -128,7 +128,7 @@

    Optional segments

    segments: (string | number)[]
    @@ -138,7 +138,7 @@

    Optional style

    style: CSSProperties
    diff --git a/apidoc/interfaces/IPlaceholderTextRowDashedState.html b/apidoc/interfaces/IPlaceholderTextRowDashedState.html index 918d7f829..5b42637f3 100644 --- a/apidoc/interfaces/IPlaceholderTextRowDashedState.html +++ b/apidoc/interfaces/IPlaceholderTextRowDashedState.html @@ -94,7 +94,7 @@

    segments

    segments: number[]
    diff --git a/apidoc/interfaces/IPlaceholderTextRowProps.html b/apidoc/interfaces/IPlaceholderTextRowProps.html index e7fff291b..2ce097846 100644 --- a/apidoc/interfaces/IPlaceholderTextRowProps.html +++ b/apidoc/interfaces/IPlaceholderTextRowProps.html @@ -97,7 +97,7 @@

    Optional animate

    animate: boolean
    @@ -107,7 +107,7 @@

    Optional className

    className: string
    @@ -117,7 +117,7 @@

    Optional lineSpacing

    lineSpacing: string | number
    @@ -127,7 +127,7 @@

    Optional style

    style: CSSProperties
    diff --git a/apidoc/interfaces/IPopClickTriggerProps.html b/apidoc/interfaces/IPopClickTriggerProps.html index 7ce684bf7..d4bb5d964 100644 --- a/apidoc/interfaces/IPopClickTriggerProps.html +++ b/apidoc/interfaces/IPopClickTriggerProps.html @@ -141,7 +141,7 @@

    Optional cancelText

    @@ -152,7 +152,7 @@

    Optional centerArrow

    @@ -163,7 +163,7 @@

    Optional children

    @@ -174,7 +174,7 @@

    Optional className

    @@ -185,7 +185,7 @@

    Optional closeOnClick

    Inherited from IPopoverClickTriggerProps.closeOnClickOutside

    @@ -196,7 +196,7 @@

    Optional confirmText

    @@ -207,7 +207,7 @@

    Optional containerSelecto @@ -218,7 +218,7 @@

    content

    @@ -229,7 +229,7 @@

    Optional cushion

    @@ -240,7 +240,7 @@

    Optional getElement

    @@ -251,7 +251,7 @@

    Optional header

    @@ -262,7 +262,7 @@

    Optional onBeforeClo @@ -273,7 +273,7 @@

    Optional onBeforeSho @@ -284,7 +284,7 @@

    Optional onCancel

    @@ -295,7 +295,7 @@

    Optional onConfirm

    @@ -306,7 +306,7 @@

    Optional position

    @@ -317,7 +317,7 @@

    Optional style

    @@ -328,7 +328,7 @@

    Optional toggle

    @@ -338,7 +338,7 @@

    trigger

    trigger: "click"
    @@ -349,7 +349,7 @@

    Optional type

    @@ -360,7 +360,7 @@

    Optional visible

    @@ -378,7 +378,7 @@

    Optional onClose

    Returns void

    @@ -396,7 +396,7 @@

    Optional onPositionR

    Returns void

    @@ -414,7 +414,7 @@

    Optional onPositionU

    Returns void

    @@ -432,7 +432,7 @@

    Optional onShow

    Returns void

    @@ -450,7 +450,7 @@

    Optional onVisibleCh

    Parameters

    diff --git a/apidoc/interfaces/IPopCommonProps.html b/apidoc/interfaces/IPopCommonProps.html index a323427e1..7c9ec5993 100644 --- a/apidoc/interfaces/IPopCommonProps.html +++ b/apidoc/interfaces/IPopCommonProps.html @@ -133,7 +133,7 @@

    Optional cancelText

    cancelText: string
    @@ -143,7 +143,7 @@

    Optional centerArrow

    centerArrow: boolean
    @@ -153,7 +153,7 @@

    Optional className

    className: string
    @@ -163,7 +163,7 @@

    Optional confirmText

    confirmText: string
    @@ -173,7 +173,7 @@

    Optional containerSelecto
    containerSelector: string
    @@ -183,7 +183,7 @@

    content

    content: ReactNode
    @@ -193,7 +193,7 @@

    Optional cushion

    cushion: number
    @@ -203,7 +203,7 @@

    Optional header

    header: ReactNode
    @@ -213,7 +213,7 @@

    Optional onBeforeClo
    onBeforeClose: IPopoverBeforeHook
    @@ -223,7 +223,7 @@

    Optional onBeforeSho
    onBeforeShow: IPopoverBeforeHook
    @@ -233,7 +233,7 @@

    Optional onCancel

    onCancel: IPopActionCallback
    @@ -243,7 +243,7 @@

    Optional onConfirm

    onConfirm: IPopActionCallback
    @@ -253,7 +253,7 @@

    Optional position

    @@ -263,7 +263,7 @@

    Optional style

    style: CSSProperties
    @@ -273,7 +273,7 @@

    Optional type

    type: "success" | "default" | "primary" | "danger"
    @@ -283,7 +283,7 @@

    Optional visible

    visible: boolean
    @@ -300,7 +300,7 @@

    Optional onClose

  • Returns void

    @@ -317,7 +317,7 @@

    Optional onPositionR
  • Returns void

    @@ -334,7 +334,7 @@

    Optional onPositionU
  • Returns void

    @@ -351,7 +351,7 @@

    Optional onShow

  • Returns void

    @@ -368,7 +368,7 @@

    Optional onVisibleCh
  • Parameters

    diff --git a/apidoc/interfaces/IPopFocusTriggerProps.html b/apidoc/interfaces/IPopFocusTriggerProps.html index c10a591ed..93276ce68 100644 --- a/apidoc/interfaces/IPopFocusTriggerProps.html +++ b/apidoc/interfaces/IPopFocusTriggerProps.html @@ -139,7 +139,7 @@

    Optional cancelText

    @@ -150,7 +150,7 @@

    Optional centerArrow

    @@ -161,7 +161,7 @@

    Optional children

    @@ -172,7 +172,7 @@

    Optional className

    @@ -183,7 +183,7 @@

    Optional confirmText

    @@ -194,7 +194,7 @@

    Optional containerSelecto @@ -205,7 +205,7 @@

    content

    @@ -216,7 +216,7 @@

    Optional cushion

    @@ -227,7 +227,7 @@

    Optional getElement

    @@ -238,7 +238,7 @@

    Optional header

    @@ -249,7 +249,7 @@

    Optional onBeforeClo @@ -260,7 +260,7 @@

    Optional onBeforeSho @@ -271,7 +271,7 @@

    Optional onCancel

    @@ -282,7 +282,7 @@

    Optional onConfirm

    @@ -293,7 +293,7 @@

    Optional position

    @@ -304,7 +304,7 @@

    Optional style

    @@ -314,7 +314,7 @@

    trigger

    trigger: "focus"
    @@ -325,7 +325,7 @@

    Optional type

    @@ -336,7 +336,7 @@

    Optional visible

    @@ -354,7 +354,7 @@

    Optional onClose

    Returns void

    @@ -372,7 +372,7 @@

    Optional onPositionR

    Returns void

    @@ -390,7 +390,7 @@

    Optional onPositionU

    Returns void

    @@ -408,7 +408,7 @@

    Optional onShow

    Returns void

    @@ -426,7 +426,7 @@

    Optional onVisibleCh

    Parameters

    diff --git a/apidoc/interfaces/IPopHoverTriggerProps.html b/apidoc/interfaces/IPopHoverTriggerProps.html index 0fee3f4ba..a2bbc4b07 100644 --- a/apidoc/interfaces/IPopHoverTriggerProps.html +++ b/apidoc/interfaces/IPopHoverTriggerProps.html @@ -145,7 +145,7 @@

    Optional anchorOnly

    @@ -156,7 +156,7 @@

    Optional cancelText

    @@ -167,7 +167,7 @@

    Optional centerArrow

    @@ -178,7 +178,7 @@

    Optional children

    @@ -189,7 +189,7 @@

    Optional className

    @@ -200,7 +200,7 @@

    Optional confirmText

    @@ -211,7 +211,7 @@

    Optional containerSelecto @@ -222,7 +222,7 @@

    content

    @@ -233,7 +233,7 @@

    Optional cushion

    @@ -244,7 +244,7 @@

    Optional fixMouseEve @@ -255,7 +255,7 @@

    Optional getElement

    @@ -266,7 +266,7 @@

    Optional header

    @@ -277,7 +277,7 @@

    Optional hideDelay

    @@ -287,7 +287,7 @@

    Optional mouseEnterD
    mouseEnterDelay: number
    @@ -297,7 +297,7 @@

    Optional mouseLeaveD
    mouseLeaveDelay: number
    @@ -308,7 +308,7 @@

    Optional onBeforeClo @@ -319,7 +319,7 @@

    Optional onBeforeSho @@ -330,7 +330,7 @@

    Optional onCancel

    @@ -341,7 +341,7 @@

    Optional onConfirm

    @@ -352,7 +352,7 @@

    Optional position

    @@ -363,7 +363,7 @@

    Optional showDelay

    @@ -374,7 +374,7 @@

    Optional style

    @@ -384,7 +384,7 @@

    trigger

    trigger: "hover"
    @@ -395,7 +395,7 @@

    Optional type

    @@ -406,7 +406,7 @@

    Optional visible

    @@ -424,7 +424,7 @@

    Optional onClose

    Returns void

    @@ -442,7 +442,7 @@

    Optional onPositionR

    Returns void

    @@ -460,7 +460,7 @@

    Optional onPositionU

    Returns void

    @@ -478,7 +478,7 @@

    Optional onShow

    Returns void

    @@ -496,7 +496,7 @@

    Optional onVisibleCh

    Parameters

    diff --git a/apidoc/interfaces/IPopNoneTriggerProps.html b/apidoc/interfaces/IPopNoneTriggerProps.html index 30e2ad209..a2c62368d 100644 --- a/apidoc/interfaces/IPopNoneTriggerProps.html +++ b/apidoc/interfaces/IPopNoneTriggerProps.html @@ -138,7 +138,7 @@

    Optional cancelText

    @@ -149,7 +149,7 @@

    Optional centerArrow

    @@ -160,7 +160,7 @@

    children

    @@ -171,7 +171,7 @@

    Optional className

    @@ -182,7 +182,7 @@

    Optional confirmText

    @@ -193,7 +193,7 @@

    Optional containerSelecto @@ -204,7 +204,7 @@

    content

    @@ -215,7 +215,7 @@

    Optional cushion

    @@ -226,7 +226,7 @@

    Optional header

    @@ -237,7 +237,7 @@

    Optional onBeforeClo @@ -248,7 +248,7 @@

    Optional onBeforeSho @@ -259,7 +259,7 @@

    Optional onCancel

    @@ -270,7 +270,7 @@

    Optional onConfirm

    @@ -281,7 +281,7 @@

    Optional position

    @@ -292,7 +292,7 @@

    Optional style

    @@ -302,7 +302,7 @@

    trigger

    trigger: "none"
    @@ -313,7 +313,7 @@

    Optional type

    @@ -324,7 +324,7 @@

    Optional visible

    @@ -342,7 +342,7 @@

    Optional onClose

    Returns void

    @@ -360,7 +360,7 @@

    Optional onPositionR

    Returns void

    @@ -378,7 +378,7 @@

    Optional onPositionU

    Returns void

    @@ -396,7 +396,7 @@

    Optional onShow

    Returns void

    @@ -414,7 +414,7 @@

    Optional onVisibleCh

    Parameters

    diff --git a/apidoc/interfaces/IPopState.html b/apidoc/interfaces/IPopState.html index b89acaf89..89e0b2afa 100644 --- a/apidoc/interfaces/IPopState.html +++ b/apidoc/interfaces/IPopState.html @@ -95,7 +95,7 @@

    cancelPending

    cancelPending: boolean
    @@ -105,7 +105,7 @@

    confirmPending

    confirmPending: boolean
    diff --git a/apidoc/interfaces/IPopoverAnchorProps.html b/apidoc/interfaces/IPopoverAnchorProps.html index b5413a90b..67cc5b4d4 100644 --- a/apidoc/interfaces/IPopoverAnchorProps.html +++ b/apidoc/interfaces/IPopoverAnchorProps.html @@ -100,7 +100,7 @@

    Optional getElement

    @@ -123,7 +123,7 @@

    Optional onClick

  • Returns void

    diff --git a/apidoc/interfaces/IPopoverBeforeHook.html b/apidoc/interfaces/IPopoverBeforeHook.html index eadfd91e6..8b40aa3d6 100644 --- a/apidoc/interfaces/IPopoverBeforeHook.html +++ b/apidoc/interfaces/IPopoverBeforeHook.html @@ -82,7 +82,7 @@

    Callable

  • Parameters

    diff --git a/apidoc/interfaces/IPopoverClickTriggerChildProps.html b/apidoc/interfaces/IPopoverClickTriggerChildProps.html index ae4e087f2..7e42fb00b 100644 --- a/apidoc/interfaces/IPopoverClickTriggerChildProps.html +++ b/apidoc/interfaces/IPopoverClickTriggerChildProps.html @@ -98,7 +98,7 @@

    Optional onClick

  • Parameters

    diff --git a/apidoc/interfaces/IPopoverClickTriggerProps.html b/apidoc/interfaces/IPopoverClickTriggerProps.html index b9ddd5484..5f73c8fbe 100644 --- a/apidoc/interfaces/IPopoverClickTriggerProps.html +++ b/apidoc/interfaces/IPopoverClickTriggerProps.html @@ -110,7 +110,7 @@

    Optional children

    children: string | number | ReactElement<ChildProps, any> | ((childProps: IPopoverClickTriggerChildProps) => ReactNode)
    @@ -120,7 +120,7 @@

    Optional closeOnClickcloseOnClickOutside: boolean

  • @@ -130,7 +130,7 @@

    Optional getElement

    @@ -140,7 +140,7 @@

    Optional toggle

    toggle: boolean
    diff --git a/apidoc/interfaces/IPopoverContentImperativeHandle.html b/apidoc/interfaces/IPopoverContentImperativeHandle.html index f2564d6e4..89c612ae0 100644 --- a/apidoc/interfaces/IPopoverContentImperativeHandle.html +++ b/apidoc/interfaces/IPopoverContentImperativeHandle.html @@ -98,7 +98,7 @@

    adjustPosition

  • Returns void

    diff --git a/apidoc/interfaces/IPopoverContext.html b/apidoc/interfaces/IPopoverContext.html index 1194a2506..80a91ff87 100644 --- a/apidoc/interfaces/IPopoverContext.html +++ b/apidoc/interfaces/IPopoverContext.html @@ -108,7 +108,7 @@

    Optional className

    className: string
    @@ -118,7 +118,7 @@

    containerSelector

    containerSelector: string
    @@ -128,7 +128,7 @@

    contentRef

    contentRef: RefObject<IPopoverContentImperativeHandle>
    @@ -138,7 +138,7 @@

    cushion

    cushion: number
    @@ -148,7 +148,7 @@

    placement

    @@ -158,7 +158,7 @@

    popover

    popover: Popover
    @@ -168,7 +168,7 @@

    portalRef

    portalRef: RefObject<IPortalImperativeHandlers>
    @@ -178,7 +178,7 @@

    Optional style

    style: CSSProperties
    @@ -188,7 +188,7 @@

    visible

    visible: boolean
    @@ -205,7 +205,7 @@

    didMount

  • Parameters

    diff --git a/apidoc/interfaces/IPopoverFocusTriggerChildProps.html b/apidoc/interfaces/IPopoverFocusTriggerChildProps.html index 921f4c5a8..c63ad3a8c 100644 --- a/apidoc/interfaces/IPopoverFocusTriggerChildProps.html +++ b/apidoc/interfaces/IPopoverFocusTriggerChildProps.html @@ -99,7 +99,7 @@

    Optional onBlur

  • Parameters

    @@ -122,7 +122,7 @@

    Optional onFocus

  • Parameters

    diff --git a/apidoc/interfaces/IPopoverFocusTriggerProps.html b/apidoc/interfaces/IPopoverFocusTriggerProps.html index 64ef573fa..42e55d50a 100644 --- a/apidoc/interfaces/IPopoverFocusTriggerProps.html +++ b/apidoc/interfaces/IPopoverFocusTriggerProps.html @@ -108,7 +108,7 @@

    Optional children

    children: string | number | ReactElement<ChildProps, any> | ((childProps: IPopoverFocusTriggerChildProps) => ReactNode)
    @@ -118,7 +118,7 @@

    Optional getElement

    diff --git a/apidoc/interfaces/IPopoverHoverTriggerChildProps.html b/apidoc/interfaces/IPopoverHoverTriggerChildProps.html index aa7d2172c..d03b019da 100644 --- a/apidoc/interfaces/IPopoverHoverTriggerChildProps.html +++ b/apidoc/interfaces/IPopoverHoverTriggerChildProps.html @@ -99,7 +99,7 @@

    Optional onMouseEnte
  • Parameters

    @@ -122,7 +122,7 @@

    Optional onMouseLeav
  • Parameters

    diff --git a/apidoc/interfaces/IPopoverHoverTriggerProps.html b/apidoc/interfaces/IPopoverHoverTriggerProps.html index a162b454f..568726af9 100644 --- a/apidoc/interfaces/IPopoverHoverTriggerProps.html +++ b/apidoc/interfaces/IPopoverHoverTriggerProps.html @@ -117,7 +117,7 @@

    Optional anchorOnly

    anchorOnly: boolean
    @@ -127,7 +127,7 @@

    Optional children

    children: string | number | ReactElement<ChildProps, any> | ((childProps: IPopoverHoverTriggerChildProps) => ReactNode)
    @@ -138,7 +138,7 @@

    Optional fixMouseEve @@ -148,7 +148,7 @@

    Optional getElement

    @@ -158,7 +158,7 @@

    Optional hideDelay

    hideDelay: number
    @@ -168,7 +168,7 @@

    Optional showDelay

    showDelay: number
    diff --git a/apidoc/interfaces/IPopoverPosition.html b/apidoc/interfaces/IPopoverPosition.html index f9ee0d20d..142edef45 100644 --- a/apidoc/interfaces/IPopoverPosition.html +++ b/apidoc/interfaces/IPopoverPosition.html @@ -95,7 +95,7 @@

    Optional className

    className: string
    @@ -105,7 +105,7 @@

    style

    style: CSSProperties
    diff --git a/apidoc/interfaces/IPopoverProps.html b/apidoc/interfaces/IPopoverProps.html index 1db9f0254..51b412e17 100644 --- a/apidoc/interfaces/IPopoverProps.html +++ b/apidoc/interfaces/IPopoverProps.html @@ -111,7 +111,7 @@

    Optional className

    className: string
    @@ -121,7 +121,7 @@

    Optional containerSelecto
    containerSelector: string
    @@ -131,7 +131,7 @@

    Optional cushion

    cushion: number
    @@ -141,7 +141,7 @@

    Optional onBeforeClo
    onBeforeClose: IPopoverBeforeHook
    @@ -151,7 +151,7 @@

    Optional onBeforeSho
    onBeforeShow: IPopoverBeforeHook
    @@ -161,7 +161,7 @@

    position

    @@ -171,7 +171,7 @@

    Optional style

    style: CSSProperties
    @@ -181,7 +181,7 @@

    Optional visible

    visible: boolean
    @@ -198,7 +198,7 @@

    Optional onClose

  • Returns void

    @@ -215,7 +215,7 @@

    Optional onPositionR
  • Returns void

    @@ -232,7 +232,7 @@

    Optional onPositionU
  • Returns void

    @@ -249,7 +249,7 @@

    Optional onShow

  • Returns void

    @@ -266,7 +266,7 @@

    Optional onVisibleCh
  • Parameters

    diff --git a/apidoc/interfaces/IPopoverState.html b/apidoc/interfaces/IPopoverState.html index 11256f597..8195206b3 100644 --- a/apidoc/interfaces/IPopoverState.html +++ b/apidoc/interfaces/IPopoverState.html @@ -94,7 +94,7 @@

    visible

    visible: boolean
    diff --git a/apidoc/interfaces/IPopoverTriggerProps.html b/apidoc/interfaces/IPopoverTriggerProps.html index 27ad6ae09..378e59b2a 100644 --- a/apidoc/interfaces/IPopoverTriggerProps.html +++ b/apidoc/interfaces/IPopoverTriggerProps.html @@ -107,7 +107,7 @@

    children

    children: string | number | ReactElement<ChildProps, any>
    diff --git a/apidoc/interfaces/IPortalImperativeHandlers.html b/apidoc/interfaces/IPortalImperativeHandlers.html index b08c7bd6b..d72118540 100644 --- a/apidoc/interfaces/IPortalImperativeHandlers.html +++ b/apidoc/interfaces/IPortalImperativeHandlers.html @@ -101,7 +101,7 @@

    container

    container: HTMLElement
    @@ -111,7 +111,7 @@

    purePortalRef

    purePortalRef: RefObject<PurePortal>
    @@ -128,7 +128,7 @@

    contains

  • Parameters

    diff --git a/apidoc/interfaces/IPortalProps.html b/apidoc/interfaces/IPortalProps.html index d7de89250..857402b5c 100644 --- a/apidoc/interfaces/IPortalProps.html +++ b/apidoc/interfaces/IPortalProps.html @@ -117,7 +117,7 @@

    Optional append

    @@ -127,7 +127,7 @@

    Optional blockPageSc
    blockPageScroll: boolean
    @@ -137,7 +137,7 @@

    Optional children

    children: ReactNode
    @@ -147,7 +147,7 @@

    Optional className

    className: string
    @@ -157,7 +157,7 @@

    Optional closeOnClickcloseOnClickOutside: boolean

  • @@ -167,7 +167,7 @@

    Optional closeOnESC

    closeOnESC: boolean
    @@ -177,7 +177,7 @@

    Optional layer

    layer: string
    @@ -188,7 +188,7 @@

    Optional selector

    @@ -198,7 +198,7 @@

    Optional style

    style: CSSProperties
    @@ -208,7 +208,7 @@

    Optional useLayerFor
    useLayerForClickAway: boolean
    @@ -218,7 +218,7 @@

    Optional visible

    visible: boolean
    @@ -235,7 +235,7 @@

    Optional onClose

  • Parameters

    @@ -258,7 +258,7 @@

    Optional onLayerRead
  • Parameters

    diff --git a/apidoc/interfaces/IPositionFunction.html b/apidoc/interfaces/IPositionFunction.html index 49c1fe923..1ec4a10ca 100644 --- a/apidoc/interfaces/IPositionFunction.html +++ b/apidoc/interfaces/IPositionFunction.html @@ -82,7 +82,7 @@

    Callable

  • Parameters

    diff --git a/apidoc/interfaces/IPositionFunctionProps.html b/apidoc/interfaces/IPositionFunctionProps.html index 6a8bc6dd4..cae7e8ee2 100644 --- a/apidoc/interfaces/IPositionFunctionProps.html +++ b/apidoc/interfaces/IPositionFunctionProps.html @@ -101,7 +101,7 @@

    anchor

    anchor: Element
    @@ -116,7 +116,7 @@

    anchorRect

    anchorRect: DOMRect | ClientRect
    @@ -131,7 +131,7 @@

    container

    container: Element
    @@ -146,7 +146,7 @@

    containerRect

    containerRect: DOMRect | ClientRect
    @@ -161,7 +161,7 @@

    content

    content: Element
    @@ -176,7 +176,7 @@

    contentRect

    contentRect: DOMRect | ClientRect
    @@ -191,7 +191,7 @@

    cushion

    cushion: number
    @@ -201,7 +201,7 @@

    relativeRect

    relativeRect: ClientRect
    diff --git a/apidoc/interfaces/IPreviewImageConfig.html b/apidoc/interfaces/IPreviewImageConfig.html index 065267d9e..f9fdd3099 100644 --- a/apidoc/interfaces/IPreviewImageConfig.html +++ b/apidoc/interfaces/IPreviewImageConfig.html @@ -99,7 +99,7 @@

    Optional className

    className: string
    @@ -109,7 +109,7 @@

    Optional images

    images: string[]
    @@ -119,7 +119,7 @@

    Optional index

    index: number
    @@ -129,7 +129,7 @@

    Optional parentComponent<
    parentComponent: ReactInstance
    @@ -139,7 +139,7 @@

    Optional scaleRatio

    scaleRatio: number
    @@ -149,7 +149,7 @@

    Optional showRotateB
    showRotateBtn: boolean
    diff --git a/apidoc/interfaces/IProgressInfoProps.html b/apidoc/interfaces/IProgressInfoProps.html index 35e78fdad..a0682baba 100644 --- a/apidoc/interfaces/IProgressInfoProps.html +++ b/apidoc/interfaces/IProgressInfoProps.html @@ -98,7 +98,7 @@

    Optional color

    color: string
    @@ -108,7 +108,7 @@

    format

    @@ -118,7 +118,7 @@

    percent

    percent: number
    @@ -128,7 +128,7 @@

    state

    @@ -138,7 +138,7 @@

    type

    diff --git a/apidoc/interfaces/IProgressInstanceProps.html b/apidoc/interfaces/IProgressInstanceProps.html index b06146d36..b61da392d 100644 --- a/apidoc/interfaces/IProgressInstanceProps.html +++ b/apidoc/interfaces/IProgressInstanceProps.html @@ -108,7 +108,7 @@

    Optional bgColor

    @@ -118,7 +118,7 @@

    color

    color: string
    @@ -129,7 +129,7 @@

    Optional format

    @@ -140,7 +140,7 @@

    Optional percent

    @@ -151,7 +151,7 @@

    Optional showInfo

    @@ -161,7 +161,7 @@

    state

    @@ -172,7 +172,7 @@

    Optional strokeLinecap

    Inherited from ICommonProgressProps.strokeLinecap

    @@ -183,7 +183,7 @@

    Optional strokeWidth

    @@ -194,7 +194,7 @@

    Optional width

    diff --git a/apidoc/interfaces/IProgressProps.html b/apidoc/interfaces/IProgressProps.html index 11c96333a..760b0b630 100644 --- a/apidoc/interfaces/IProgressProps.html +++ b/apidoc/interfaces/IProgressProps.html @@ -1325,7 +1325,7 @@

    Optional bgColor

    @@ -1464,7 +1464,7 @@

    Optional exceptionColorexceptionColor: string

    @@ -1475,7 +1475,7 @@

    Optional format

    @@ -1626,7 +1626,7 @@

    Optional normalColor

    normalColor: string
    @@ -3397,7 +3397,7 @@

    Optional percent

    @@ -3496,7 +3496,7 @@

    Optional showInfo

    @@ -3528,7 +3528,7 @@

    Optional status

    @@ -3539,7 +3539,7 @@

    Optional strokeLinecap

    Inherited from ICommonProgressProps.strokeLinecap

    @@ -3550,7 +3550,7 @@

    Optional strokeWidth

    @@ -3561,7 +3561,7 @@

    Optional style

    @@ -3571,7 +3571,7 @@

    Optional successColor

    successColor: string
    @@ -3636,7 +3636,7 @@

    Optional type

    @@ -3680,7 +3680,7 @@

    Optional width

    diff --git a/apidoc/interfaces/IPublicCascaderItem.html b/apidoc/interfaces/IPublicCascaderItem.html index 41ae10241..6e8285dab 100644 --- a/apidoc/interfaces/IPublicCascaderItem.html +++ b/apidoc/interfaces/IPublicCascaderItem.html @@ -115,7 +115,7 @@

    Optional children

    @@ -125,7 +125,7 @@

    Optional disabled

    disabled: boolean
    @@ -135,7 +135,7 @@

    label

    label: string
    @@ -145,7 +145,7 @@

    Optional loadChildrenloadChildrenOnExpand: boolean

    @@ -155,7 +155,7 @@

    Optional loadChildrenloadChildrenOnScroll: boolean

    @@ -165,7 +165,7 @@

    value

    diff --git a/apidoc/interfaces/IPurePortalProps.html b/apidoc/interfaces/IPurePortalProps.html index 18fb27c90..04bab3217 100644 --- a/apidoc/interfaces/IPurePortalProps.html +++ b/apidoc/interfaces/IPurePortalProps.html @@ -95,7 +95,7 @@

    Optional append

    append: boolean
    @@ -105,7 +105,7 @@

    selector

    selector: string | HTMLElement
    diff --git a/apidoc/interfaces/IQuarterPickerProps.html b/apidoc/interfaces/IQuarterPickerProps.html index c0f0b5ab9..46da3b6e8 100644 --- a/apidoc/interfaces/IQuarterPickerProps.html +++ b/apidoc/interfaces/IQuarterPickerProps.html @@ -130,7 +130,7 @@

    Optional canClear

    @@ -141,7 +141,7 @@

    Optional className

    @@ -152,7 +152,7 @@

    Optional defaultDate

    @@ -163,7 +163,7 @@

    Optional disabled

    @@ -174,7 +174,7 @@

    Optional disabledDate

    Inherited from Omit.disabledDate

    @@ -185,7 +185,7 @@

    Optional format

    @@ -196,7 +196,7 @@

    Optional name

    @@ -207,7 +207,7 @@

    Optional openPanel

    @@ -218,7 +218,7 @@

    Optional placeholder

    @@ -229,7 +229,7 @@

    value

    @@ -240,7 +240,7 @@

    Optional valueType

    @@ -251,7 +251,7 @@

    Optional width

    @@ -269,7 +269,7 @@

    onChange

    Parameters

    @@ -293,7 +293,7 @@

    Optional onClose

    Returns void

    @@ -311,7 +311,7 @@

    Optional onOpen

    Returns void

    diff --git a/apidoc/interfaces/IRadioEvent.html b/apidoc/interfaces/IRadioEvent.html index 33b9149fa..bc2c215d7 100644 --- a/apidoc/interfaces/IRadioEvent.html +++ b/apidoc/interfaces/IRadioEvent.html @@ -203,7 +203,7 @@

    target

    target: { checked: boolean; type: "radio" } & IRadioProps<Value>
    diff --git a/apidoc/interfaces/IRadioGroupProps.html b/apidoc/interfaces/IRadioGroupProps.html index cb00c89a2..11797c033 100644 --- a/apidoc/interfaces/IRadioGroupProps.html +++ b/apidoc/interfaces/IRadioGroupProps.html @@ -114,7 +114,7 @@

    Optional children

    children: ReactNode
    @@ -124,7 +124,7 @@

    Optional className

    className: string
    @@ -134,7 +134,7 @@

    Optional disabled

    disabled: boolean
    @@ -144,7 +144,7 @@

    Optional readOnly

    readOnly: boolean
    @@ -154,7 +154,7 @@

    Optional style

    style: CSSProperties
    @@ -164,7 +164,7 @@

    Optional value

    value: Value
    @@ -181,7 +181,7 @@

    Optional isValueEqua
  • Parameters

    @@ -207,7 +207,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/IRadioProps.html b/apidoc/interfaces/IRadioProps.html index 52712bee6..7aa11edd8 100644 --- a/apidoc/interfaces/IRadioProps.html +++ b/apidoc/interfaces/IRadioProps.html @@ -117,7 +117,7 @@

    Optional checked

    checked: boolean
    @@ -127,7 +127,7 @@

    Optional children

    children: ReactNode
    @@ -137,7 +137,7 @@

    Optional className

    className: string
    @@ -147,7 +147,7 @@

    Optional disabled

    disabled: boolean
    @@ -157,7 +157,7 @@

    Optional onMouseEnte
    onMouseEnter: MouseEventHandler<HTMLElement>
    @@ -167,7 +167,7 @@

    Optional onMouseLeav
    onMouseLeave: MouseEventHandler<HTMLElement>
    @@ -177,7 +177,7 @@

    Optional readOnly

    readOnly: boolean
    @@ -187,7 +187,7 @@

    Optional style

    style: CSSProperties
    @@ -197,7 +197,7 @@

    Optional value

    value: Value
    @@ -207,7 +207,7 @@

    Optional width

    width: string | number
    @@ -224,7 +224,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/IRateProps.html b/apidoc/interfaces/IRateProps.html index 218da94fc..d371c0761 100644 --- a/apidoc/interfaces/IRateProps.html +++ b/apidoc/interfaces/IRateProps.html @@ -108,7 +108,7 @@

    Optional allowClear

    allowClear: boolean
    @@ -118,7 +118,7 @@

    Optional allowHalf

    allowHalf: boolean
    @@ -128,7 +128,7 @@

    Optional character

    character: ReactNode
    @@ -138,7 +138,7 @@

    Optional className

    className: string
    @@ -148,7 +148,7 @@

    count

    count: number
    @@ -158,7 +158,7 @@

    Optional disabled

    disabled: boolean
    @@ -168,7 +168,7 @@

    Optional readOnly

    readOnly: boolean
    @@ -178,7 +178,7 @@

    Optional style

    style: CSSProperties
    @@ -188,7 +188,7 @@

    value

    value: number
    @@ -205,7 +205,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/IRateState.html b/apidoc/interfaces/IRateState.html index d1ed25dd2..37b13854e 100644 --- a/apidoc/interfaces/IRateState.html +++ b/apidoc/interfaces/IRateState.html @@ -96,7 +96,7 @@

    cleanedValue

    cleanedValue: number
    @@ -106,7 +106,7 @@

    hoverValue

    hoverValue: number
    @@ -116,7 +116,7 @@

    starRefs

    starRefs: RefObject<default>[]
    diff --git a/apidoc/interfaces/IRenderError.html b/apidoc/interfaces/IRenderError.html index 1761df5c8..0fdffba76 100644 --- a/apidoc/interfaces/IRenderError.html +++ b/apidoc/interfaces/IRenderError.html @@ -90,7 +90,7 @@

    Callable

  • Parameters

    diff --git a/apidoc/interfaces/IScrollAlertProps.html b/apidoc/interfaces/IScrollAlertProps.html index e7e64637d..340cf730d 100644 --- a/apidoc/interfaces/IScrollAlertProps.html +++ b/apidoc/interfaces/IScrollAlertProps.html @@ -1320,7 +1320,7 @@

    Optional bordered

    bordered: boolean
    @@ -1352,7 +1352,7 @@

    Optional closed

    closed: boolean
    @@ -1610,7 +1610,7 @@

    Optional loading

    loading: boolean
    @@ -3380,7 +3380,7 @@

    Optional outline

    outline: boolean
    @@ -3467,7 +3467,7 @@

    Optional scrollIntervalscrollInterval: number

  • @@ -3565,7 +3565,7 @@

    Optional type

    @@ -3615,7 +3615,7 @@

    Optional onClose

  • Returns void

    diff --git a/apidoc/interfaces/ISelectCommonProps.html b/apidoc/interfaces/ISelectCommonProps.html index dbf36a499..9048889a1 100644 --- a/apidoc/interfaces/ISelectCommonProps.html +++ b/apidoc/interfaces/ISelectCommonProps.html @@ -146,7 +146,7 @@

    Optional className

    className: string
    @@ -156,7 +156,7 @@

    Optional clearable

    clearable: boolean
    @@ -166,7 +166,7 @@

    Optional collapsable

    collapsable: boolean
    @@ -176,7 +176,7 @@

    Optional collapseAt

    collapseAt: number
    @@ -186,7 +186,7 @@

    Optional creatable

    creatable: boolean
    @@ -196,7 +196,7 @@

    Optional disableSearchdisableSearch: boolean

  • @@ -206,7 +206,7 @@

    Optional disabled

    disabled: boolean
    @@ -216,7 +216,7 @@

    Optional filter

    filter: false | ((keyword: string, item: Item) => boolean)
    @@ -226,7 +226,7 @@

    Optional hideCollapsehideCollapsePop: boolean

  • @@ -236,7 +236,7 @@

    Optional inline

    inline: boolean
    @@ -246,7 +246,7 @@

    Optional keyword

    keyword: string
    @@ -256,7 +256,7 @@

    Optional loading

    loading: boolean
    @@ -266,7 +266,7 @@

    Optional notFoundCon
    notFoundContent: string
    @@ -276,7 +276,7 @@

    Optional open

    open: boolean
    @@ -286,7 +286,7 @@

    options

    options: Item[]
    @@ -296,7 +296,7 @@

    Optional placeholder

    placeholder: string
    @@ -306,7 +306,7 @@

    Optional popupWidth

    popupWidth: Width<string | number>
    @@ -316,7 +316,7 @@

    Optional size

    @@ -326,7 +326,7 @@

    Optional width

    width: Width<string | number>
    @@ -343,7 +343,7 @@

    Optional highlight

  • Parameters

    @@ -369,7 +369,7 @@

    Optional isEqual

  • Parameters

    @@ -395,7 +395,7 @@

    Optional isValidNew<
  • Parameters

    @@ -421,7 +421,7 @@

    Optional onCreate

  • Parameters

    @@ -444,7 +444,7 @@

    Optional onKeywordCh
  • Parameters

    @@ -470,7 +470,7 @@

    Optional onOpenChang
  • Parameters

    @@ -493,7 +493,7 @@

    Optional renderCollapsed<
  • Parameters

    @@ -516,7 +516,7 @@

    Optional renderOption

    Parameters

    @@ -539,7 +539,7 @@

    Optional renderOption

    Parameters

    @@ -565,7 +565,7 @@

    Optional renderValue

  • Parameters

    diff --git a/apidoc/interfaces/ISelectItem.html b/apidoc/interfaces/ISelectItem.html index 951525ef0..caedb0b74 100644 --- a/apidoc/interfaces/ISelectItem.html +++ b/apidoc/interfaces/ISelectItem.html @@ -111,7 +111,7 @@

    Optional disabled

    disabled: boolean
    @@ -121,7 +121,7 @@

    key

    key: Key
    @@ -131,7 +131,7 @@

    text

    text: ReactNode
    @@ -141,7 +141,7 @@

    Optional type

    type: "header" | "divider" | "reviver"
    @@ -158,7 +158,7 @@

    Optional reviver

  • Parameters

    diff --git a/apidoc/interfaces/ISelectKeywordChangeMeta.html b/apidoc/interfaces/ISelectKeywordChangeMeta.html index ab85eeea0..9a6f7ce1e 100644 --- a/apidoc/interfaces/ISelectKeywordChangeMeta.html +++ b/apidoc/interfaces/ISelectKeywordChangeMeta.html @@ -94,7 +94,7 @@

    source

    source: "user-clear" | "user-change" | "popup-close" | "option-create"
    diff --git a/apidoc/interfaces/ISelectMenuItem.html b/apidoc/interfaces/ISelectMenuItem.html index fe1c1913d..87665aaae 100644 --- a/apidoc/interfaces/ISelectMenuItem.html +++ b/apidoc/interfaces/ISelectMenuItem.html @@ -116,7 +116,7 @@

    Optional active

    @@ -127,7 +127,7 @@

    Optional className

    @@ -138,7 +138,7 @@

    Optional content

    @@ -149,7 +149,7 @@

    Optional disabled

    @@ -160,7 +160,7 @@

    Optional hoverable

    @@ -171,7 +171,7 @@

    Optional icon

    @@ -182,7 +182,7 @@

    Optional isDivider

    @@ -193,7 +193,7 @@

    Optional isGroup

    @@ -203,7 +203,7 @@

    Optional items

    @@ -214,7 +214,7 @@

    Optional onClick

    @@ -224,7 +224,7 @@

    Optional searchContentsearchContent: ReactNode

  • @@ -235,7 +235,7 @@

    Optional value

    diff --git a/apidoc/interfaces/ISelectMenuNestedItem.html b/apidoc/interfaces/ISelectMenuNestedItem.html index e26ca9b3e..c65cbddd3 100644 --- a/apidoc/interfaces/ISelectMenuNestedItem.html +++ b/apidoc/interfaces/ISelectMenuNestedItem.html @@ -113,7 +113,7 @@

    Optional active

    @@ -124,7 +124,7 @@

    Optional className

    @@ -135,7 +135,7 @@

    Optional content

    @@ -146,7 +146,7 @@

    Optional disabled

    @@ -157,7 +157,7 @@

    Optional hoverable

    @@ -168,7 +168,7 @@

    Optional icon

    @@ -178,7 +178,7 @@

    idx

    idx: number
    @@ -189,7 +189,7 @@

    Optional isDivider

    @@ -200,7 +200,7 @@

    Optional isGroup

    @@ -211,7 +211,7 @@

    Optional items

    @@ -222,7 +222,7 @@

    Optional onClick

    @@ -232,7 +232,7 @@

    parentIndexes

    parentIndexes: number[]
    @@ -243,7 +243,7 @@

    Optional searchContent

    Inherited from ISelectMenuItem.searchContent

    @@ -254,7 +254,7 @@

    Optional value

    diff --git a/apidoc/interfaces/ISelectMenuProps.html b/apidoc/interfaces/ISelectMenuProps.html index 256867e0d..e718bfce6 100644 --- a/apidoc/interfaces/ISelectMenuProps.html +++ b/apidoc/interfaces/ISelectMenuProps.html @@ -106,7 +106,7 @@

    items

    @@ -116,7 +116,7 @@

    nullOption

    nullOption: boolean
    @@ -126,7 +126,7 @@

    Optional nullOptionC
    nullOptionContent: ReactNode
    @@ -136,7 +136,7 @@

    Optional searchText

    searchText: string
    @@ -146,7 +146,7 @@

    Optional value

    value: unknown
    @@ -163,7 +163,7 @@

    Optional filterOption

    Parameters

    @@ -189,7 +189,7 @@

    Optional onRequestCl
  • Returns void

    @@ -206,7 +206,7 @@

    Optional onSelect

  • Parameters

    diff --git a/apidoc/interfaces/ISelectMenuState.html b/apidoc/interfaces/ISelectMenuState.html index b25b9f93b..ab7d37d51 100644 --- a/apidoc/interfaces/ISelectMenuState.html +++ b/apidoc/interfaces/ISelectMenuState.html @@ -94,7 +94,7 @@

    items

    items: IMenuListItem[]
    diff --git a/apidoc/interfaces/ISelectMultiProps.html b/apidoc/interfaces/ISelectMultiProps.html index c75dfbe5a..00f20462e 100644 --- a/apidoc/interfaces/ISelectMultiProps.html +++ b/apidoc/interfaces/ISelectMultiProps.html @@ -148,7 +148,7 @@

    Optional className

    @@ -159,7 +159,7 @@

    Optional clearable

    @@ -170,7 +170,7 @@

    Optional collapsable

    @@ -181,7 +181,7 @@

    Optional collapseAt

    @@ -192,7 +192,7 @@

    Optional creatable

    @@ -203,7 +203,7 @@

    Optional disableSearch

    Inherited from ISelectCommonProps.disableSearch

    @@ -214,7 +214,7 @@

    Optional disabled

    @@ -225,7 +225,7 @@

    Optional filter

    @@ -236,7 +236,7 @@

    Optional hideCollapse

    Inherited from ISelectCommonProps.hideCollapsePop

    @@ -247,7 +247,7 @@

    Optional inline

    @@ -258,7 +258,7 @@

    Optional keyword

    @@ -269,7 +269,7 @@

    Optional loading

    @@ -279,7 +279,7 @@

    multiple

    multiple: true
    @@ -290,7 +290,7 @@

    Optional notFoundCon @@ -301,7 +301,7 @@

    Optional open

    @@ -312,7 +312,7 @@

    options

    @@ -323,7 +323,7 @@

    Optional placeholder

    @@ -334,7 +334,7 @@

    Optional popupWidth

    @@ -345,7 +345,7 @@

    Optional size

    @@ -355,7 +355,7 @@

    Optional value

    value: Item[]
    @@ -366,7 +366,7 @@

    Optional width

    @@ -384,7 +384,7 @@

    Optional highlight

    Parameters

    @@ -411,7 +411,7 @@

    Optional isEqual

    Parameters

    @@ -438,7 +438,7 @@

    Optional isValidNew<

    Parameters

    @@ -464,7 +464,7 @@

    Optional onChange

  • Parameters

    @@ -488,7 +488,7 @@

    Optional onCreate

    Parameters

    @@ -512,7 +512,7 @@

    Optional onKeywordCh

    Parameters

    @@ -539,7 +539,7 @@

    Optional onOpenChang

    Parameters

    @@ -563,7 +563,7 @@

    Optional renderCollapsed<

    Parameters

    @@ -587,7 +587,7 @@

    Optional renderOption

    Inherited from ISelectCommonProps.renderOptionContent

    Parameters

    @@ -611,7 +611,7 @@

    Optional renderOption

    Inherited from ISelectCommonProps.renderOptionList

    Parameters

    @@ -637,7 +637,7 @@

    Optional renderTagLi
  • Parameters

    @@ -661,7 +661,7 @@

    Optional renderValue

    Parameters

    diff --git a/apidoc/interfaces/ISelectSingleProps.html b/apidoc/interfaces/ISelectSingleProps.html index d04c20d5e..4c0837aad 100644 --- a/apidoc/interfaces/ISelectSingleProps.html +++ b/apidoc/interfaces/ISelectSingleProps.html @@ -147,7 +147,7 @@

    Optional className

    @@ -158,7 +158,7 @@

    Optional clearable

    @@ -169,7 +169,7 @@

    Optional collapsable

    @@ -180,7 +180,7 @@

    Optional collapseAt

    @@ -191,7 +191,7 @@

    Optional creatable

    @@ -202,7 +202,7 @@

    Optional disableSearch

    Inherited from ISelectCommonProps.disableSearch

    @@ -213,7 +213,7 @@

    Optional disabled

    @@ -224,7 +224,7 @@

    Optional filter

    @@ -235,7 +235,7 @@

    Optional hideCollapse

    Inherited from ISelectCommonProps.hideCollapsePop

    @@ -246,7 +246,7 @@

    Optional inline

    @@ -257,7 +257,7 @@

    Optional keyword

    @@ -268,7 +268,7 @@

    Optional loading

    @@ -278,7 +278,7 @@

    Optional multiple

    multiple: false
    @@ -289,7 +289,7 @@

    Optional notFoundCon @@ -300,7 +300,7 @@

    Optional open

    @@ -311,7 +311,7 @@

    options

    @@ -322,7 +322,7 @@

    Optional placeholder

    @@ -333,7 +333,7 @@

    Optional popupWidth

    @@ -344,7 +344,7 @@

    Optional size

    @@ -354,7 +354,7 @@

    Optional value

    value: Item
    @@ -365,7 +365,7 @@

    Optional width

    @@ -383,7 +383,7 @@

    Optional highlight

    Parameters

    @@ -410,7 +410,7 @@

    Optional isEqual

    Parameters

    @@ -437,7 +437,7 @@

    Optional isValidNew<

    Parameters

    @@ -463,7 +463,7 @@

    Optional onChange

  • Parameters

    @@ -487,7 +487,7 @@

    Optional onCreate

    Parameters

    @@ -511,7 +511,7 @@

    Optional onKeywordCh

    Parameters

    @@ -538,7 +538,7 @@

    Optional onOpenChang

    Parameters

    @@ -562,7 +562,7 @@

    Optional renderCollapsed<

    Parameters

    @@ -586,7 +586,7 @@

    Optional renderOption

    Inherited from ISelectCommonProps.renderOptionContent

    Parameters

    @@ -610,7 +610,7 @@

    Optional renderOption

    Inherited from ISelectCommonProps.renderOptionList

    Parameters

    @@ -637,7 +637,7 @@

    Optional renderValue

    Parameters

    diff --git a/apidoc/interfaces/ISelectState.html b/apidoc/interfaces/ISelectState.html index 748f2d362..333d1685a 100644 --- a/apidoc/interfaces/ISelectState.html +++ b/apidoc/interfaces/ISelectState.html @@ -112,7 +112,7 @@

    active

    active: boolean
    @@ -122,7 +122,7 @@

    activeIndex

    activeIndex: number
    @@ -132,7 +132,7 @@

    creating

    creating: boolean
    @@ -142,7 +142,7 @@

    keyword

    keyword: string
    @@ -152,7 +152,7 @@

    open

    open: boolean
    @@ -162,7 +162,7 @@

    prevOptions

    prevOptions: Item[]
    @@ -172,7 +172,7 @@

    triggerWidth

    triggerWidth: Width<string | number>
    @@ -182,7 +182,7 @@

    value

    value: Item | Item[]
    diff --git a/apidoc/interfaces/ISelectTagListProps.html b/apidoc/interfaces/ISelectTagListProps.html index a31130ce7..516204a8e 100644 --- a/apidoc/interfaces/ISelectTagListProps.html +++ b/apidoc/interfaces/ISelectTagListProps.html @@ -112,7 +112,7 @@

    list

    list: Item[]
    @@ -122,7 +122,7 @@

    Optional renderValue

    renderValue: (value: Item) => ReactNode
    @@ -160,7 +160,7 @@

    onRemove

  • Parameters

    diff --git a/apidoc/interfaces/ISelectTagProps.html b/apidoc/interfaces/ISelectTagProps.html index 1db05186c..0255b6aa0 100644 --- a/apidoc/interfaces/ISelectTagProps.html +++ b/apidoc/interfaces/ISelectTagProps.html @@ -1820,7 +1820,7 @@

    Optional onClose

    @@ -3426,7 +3426,7 @@

    Optional rounded

    @@ -3447,7 +3447,7 @@

    Optional selected

    selected: boolean
    @@ -3480,7 +3480,7 @@

    Optional style

    @@ -3568,7 +3568,7 @@

    Optional visible

    @@ -3596,7 +3596,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/ISingleUploadProps.html b/apidoc/interfaces/ISingleUploadProps.html index f48618c6f..168c186bf 100644 --- a/apidoc/interfaces/ISingleUploadProps.html +++ b/apidoc/interfaces/ISingleUploadProps.html @@ -116,7 +116,7 @@

    Optional accept

    @@ -132,7 +132,7 @@

    Optional className

    @@ -148,7 +148,7 @@

    Optional customUpload

    Inherited from IAbstractUploadProps.customUploadItem

    @@ -164,7 +164,7 @@

    Optional disabled

    @@ -180,7 +180,7 @@

    Optional manualUpload

    Inherited from IAbstractUploadProps.manualUpload

    @@ -196,7 +196,7 @@

    Optional maxSize

    @@ -211,7 +211,7 @@

    onChange

    @@ -222,7 +222,7 @@

    Optional onError

    @@ -238,7 +238,7 @@

    Optional onUpload

    @@ -253,7 +253,7 @@

    Optional tips

    @@ -268,7 +268,7 @@

    Optional value

    @@ -286,7 +286,7 @@

    Optional beforeUpload

    Inherited from IAbstractUploadProps.beforeUpload

    diff --git a/apidoc/interfaces/ISliderCommonProps.html b/apidoc/interfaces/ISliderCommonProps.html index 56452180a..db5f9915b 100644 --- a/apidoc/interfaces/ISliderCommonProps.html +++ b/apidoc/interfaces/ISliderCommonProps.html @@ -110,7 +110,7 @@

    Optional className

    className: string
    @@ -120,7 +120,7 @@

    Optional disabled

    disabled: boolean
    @@ -130,7 +130,7 @@

    Optional dots

    dots: boolean
    @@ -140,7 +140,7 @@

    Optional marks

    marks: Record<number, ReactNode>
    @@ -150,7 +150,7 @@

    max

    max: number
    @@ -160,7 +160,7 @@

    min

    min: number
    @@ -170,7 +170,7 @@

    step

    step: string | number
    @@ -180,7 +180,7 @@

    Optional width

    width: string | number
    @@ -190,7 +190,7 @@

    Optional withInput

    withInput: boolean
    diff --git a/apidoc/interfaces/ISliderRangeProps.html b/apidoc/interfaces/ISliderRangeProps.html index 9b64f231f..6fb8497d8 100644 --- a/apidoc/interfaces/ISliderRangeProps.html +++ b/apidoc/interfaces/ISliderRangeProps.html @@ -116,7 +116,7 @@

    Optional className

    @@ -127,7 +127,7 @@

    Optional disabled

    @@ -138,7 +138,7 @@

    Optional dots

    @@ -149,7 +149,7 @@

    Optional marks

    @@ -160,7 +160,7 @@

    max

    @@ -171,7 +171,7 @@

    min

    @@ -181,7 +181,7 @@

    range

    range: true
    @@ -192,7 +192,7 @@

    step

    @@ -202,7 +202,7 @@

    value

    value: [number, number]
    @@ -213,7 +213,7 @@

    Optional width

    @@ -224,7 +224,7 @@

    Optional withInput

    @@ -241,7 +241,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/ISliderSingleProps.html b/apidoc/interfaces/ISliderSingleProps.html index 10cedf095..caedfa7a3 100644 --- a/apidoc/interfaces/ISliderSingleProps.html +++ b/apidoc/interfaces/ISliderSingleProps.html @@ -116,7 +116,7 @@

    Optional className

    @@ -127,7 +127,7 @@

    Optional disabled

    @@ -138,7 +138,7 @@

    Optional dots

    @@ -149,7 +149,7 @@

    Optional marks

    @@ -160,7 +160,7 @@

    max

    @@ -171,7 +171,7 @@

    min

    @@ -181,7 +181,7 @@

    range

    range: false
    @@ -192,7 +192,7 @@

    step

    @@ -202,7 +202,7 @@

    value

    value: number
    @@ -213,7 +213,7 @@

    Optional width

    @@ -224,7 +224,7 @@

    Optional withInput

    @@ -241,7 +241,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/ISliderState.html b/apidoc/interfaces/ISliderState.html index 4ca1095db..b4e5e9b84 100644 --- a/apidoc/interfaces/ISliderState.html +++ b/apidoc/interfaces/ISliderState.html @@ -97,7 +97,7 @@

    active

    active: PointId
    @@ -107,7 +107,7 @@

    decimal

    decimal: number
    @@ -117,7 +117,7 @@

    potentialValues

    potentialValues: number[]
    @@ -127,7 +127,7 @@

    prevProps

    prevProps: ISliderProps
    diff --git a/apidoc/interfaces/ISortableProps.html b/apidoc/interfaces/ISortableProps.html index 57c7861be..2d4d3067a 100644 --- a/apidoc/interfaces/ISortableProps.html +++ b/apidoc/interfaces/ISortableProps.html @@ -222,7 +222,7 @@

    Optional className

    className: string
    @@ -501,7 +501,7 @@

    Optional filterClass

    filterClass: string
    @@ -620,7 +620,7 @@

    Optional items

    items: T[]
    @@ -920,7 +920,7 @@

    Optional tag

    tag: string | ComponentType<{}>
    @@ -982,7 +982,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/ISplitButtonProps.html b/apidoc/interfaces/ISplitButtonProps.html index 22b1709b5..96c38f7a9 100644 --- a/apidoc/interfaces/ISplitButtonProps.html +++ b/apidoc/interfaces/ISplitButtonProps.html @@ -119,7 +119,7 @@

    Optional className

    className: string
    @@ -129,7 +129,7 @@

    Optional disabled

    disabled: boolean
    @@ -139,7 +139,7 @@

    dropdownData

    dropdownData: Value[]
    @@ -149,7 +149,7 @@

    dropdownIcon

    dropdownIcon: IconType
    @@ -159,7 +159,7 @@

    Optional dropdownPosition
    dropdownPosition: "left-top" | "left-center" | "left-bottom" | "right-top" | "right-center" | "right-bottom" | "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | "auto-bottom-center" | "auto-bottom-left" | "auto-bottom-right" | "auto-top-center" | "auto-top-left" | "auto-top-right"
    @@ -169,7 +169,7 @@

    dropdownText

    dropdownText: keyof Value
    @@ -179,7 +179,7 @@

    Optional dropdownTrigger<
    dropdownTrigger: "click" | "hover"
    @@ -189,7 +189,7 @@

    dropdownValue

    dropdownValue: keyof Value
    @@ -199,7 +199,7 @@

    Optional loading

    loading: boolean
    @@ -209,7 +209,7 @@

    Optional onClick

    onClick: MouseEventHandler<HTMLButtonElement>
    @@ -219,7 +219,7 @@

    Optional size

    size: "small" | "large" | "medium"
    @@ -229,7 +229,7 @@

    Optional type

    type: "text" | "success" | "default" | "primary" | "danger"
    @@ -246,7 +246,7 @@

    Optional onSelect

  • Parameters

    diff --git a/apidoc/interfaces/IStatusBarProps.html b/apidoc/interfaces/IStatusBarProps.html index 3431ab79a..8f93571a1 100644 --- a/apidoc/interfaces/IStatusBarProps.html +++ b/apidoc/interfaces/IStatusBarProps.html @@ -1328,7 +1328,7 @@

    Optional bordered

    @@ -1361,7 +1361,7 @@

    Optional closable

    @@ -1372,7 +1372,7 @@

    Optional closeContent

    Inherited from Omit.closeContent

    @@ -1383,7 +1383,7 @@

    Optional closeIconCo @@ -1394,7 +1394,7 @@

    Optional closed

    @@ -1490,7 +1490,7 @@

    Optional description

    @@ -1523,7 +1523,7 @@

    Optional extraContent

    Inherited from Omit.extraContent

    @@ -1545,7 +1545,7 @@

    Optional icon

    @@ -1686,7 +1686,7 @@

    Optional loading

    @@ -3457,7 +3457,7 @@

    Optional outline

    @@ -3490,7 +3490,7 @@

    Optional progress

    @@ -3633,7 +3633,7 @@

    Optional title

    @@ -3654,7 +3654,7 @@

    Optional type

    @@ -3705,7 +3705,7 @@

    Optional onClose

    Returns void

    diff --git a/apidoc/interfaces/IStepProps.html b/apidoc/interfaces/IStepProps.html index 3527fa018..0eb147422 100644 --- a/apidoc/interfaces/IStepProps.html +++ b/apidoc/interfaces/IStepProps.html @@ -103,7 +103,7 @@

    Optional description

    description: ReactNode
    @@ -113,7 +113,7 @@

    Optional disabled

    disabled: boolean
    @@ -123,7 +123,7 @@

    Optional icon

    icon: string | number | boolean | {} | ReactElement<any, string | JSXElementConstructor<any>> | ReactNodeArray | ReactPortal
    @@ -133,7 +133,7 @@

    Optional isCurrentSt
    isCurrentStep: boolean
    @@ -143,7 +143,7 @@

    Optional isLastFinis
    isLastFinishStep: boolean
    @@ -153,7 +153,7 @@

    Optional sequence

    sequence: boolean
    @@ -163,7 +163,7 @@

    Optional status

    status: "error" | "wait" | "finish"
    @@ -173,7 +173,7 @@

    Optional stepLast

    stepLast: boolean
    @@ -183,7 +183,7 @@

    Optional stepNumber

    stepNumber: string
    @@ -193,7 +193,7 @@

    Optional title

    title: ReactNode
    diff --git a/apidoc/interfaces/IStepsProps.html b/apidoc/interfaces/IStepsProps.html index 91cab342f..64bf2b36f 100644 --- a/apidoc/interfaces/IStepsProps.html +++ b/apidoc/interfaces/IStepsProps.html @@ -106,7 +106,7 @@

    Optional className

    className: string
    @@ -116,7 +116,7 @@

    Optional current

    current: number
    @@ -126,7 +126,7 @@

    Optional direction

    direction: "horizontal" | "vertical"
    @@ -136,7 +136,7 @@

    Optional ghost

    ghost: boolean
    @@ -146,7 +146,7 @@

    Optional sequence

    sequence: boolean
    @@ -156,7 +156,7 @@

    Optional status

    status: "error" | "wait" | "finish" | "process"
    @@ -166,7 +166,7 @@

    Optional type

    type: "number" | "card" | "breadcrumb" | "tabs"
    @@ -183,7 +183,7 @@

    Optional onStepChang
  • Parameters

    diff --git a/apidoc/interfaces/ISubMenuProps.html b/apidoc/interfaces/ISubMenuProps.html index f8332bca9..fbffe437a 100644 --- a/apidoc/interfaces/ISubMenuProps.html +++ b/apidoc/interfaces/ISubMenuProps.html @@ -113,7 +113,7 @@

    Optional className

    className: string
    @@ -123,7 +123,7 @@

    Optional depth

    depth: number
    @@ -133,7 +133,7 @@

    Optional disabled

    disabled: boolean
    @@ -143,7 +143,7 @@

    Optional expandKeys

    expandKeys: string[]
    @@ -153,7 +153,7 @@

    Optional inlineIndent

    inlineIndent: number
  • @@ -163,7 +163,7 @@

    Optional isInline

    isInline: boolean
    @@ -173,7 +173,7 @@

    Optional key

    key: string
    @@ -183,7 +183,7 @@

    Optional overlayClassoverlayClassName: string

    @@ -193,7 +193,7 @@

    Optional selectedKey

    selectedKey: string
    @@ -203,7 +203,7 @@

    Optional specKey

    specKey: string
    @@ -213,7 +213,7 @@

    title

    title: ReactNode
    @@ -230,7 +230,7 @@

    Optional handleSelect

    Parameters

    @@ -253,7 +253,7 @@

    Optional onClick

  • Parameters

    @@ -279,7 +279,7 @@

    Optional onSubMenu

    Parameters

    @@ -302,7 +302,7 @@

    Optional toggleExpand

    Parameters

    diff --git a/apidoc/interfaces/ISubMenuState.html b/apidoc/interfaces/ISubMenuState.html index 81ae2e887..8a85a6989 100644 --- a/apidoc/interfaces/ISubMenuState.html +++ b/apidoc/interfaces/ISubMenuState.html @@ -94,7 +94,7 @@

    subMenuVisible

    subMenuVisible: boolean
    diff --git a/apidoc/interfaces/ISwiperProps.html b/apidoc/interfaces/ISwiperProps.html index c692389de..ca2917cc9 100644 --- a/apidoc/interfaces/ISwiperProps.html +++ b/apidoc/interfaces/ISwiperProps.html @@ -114,7 +114,7 @@

    Optional arrows

    arrows: boolean | "hover"
    @@ -124,7 +124,7 @@

    Optional arrowsDisabledarrowsDisabled: { left?: boolean; right?: boolean }

  • @@ -145,7 +145,7 @@

    arrowsSize

    arrowsSize: "large" | "normal"
    @@ -155,7 +155,7 @@

    Optional arrowsType

    arrowsType: "light" | "dark"
    @@ -165,7 +165,7 @@

    Optional autoplay

    autoplay: boolean
    @@ -175,7 +175,7 @@

    Optional autoplayInterval
    autoplayInterval: number
    @@ -185,7 +185,7 @@

    Optional children

    children: ReactNode
    @@ -195,7 +195,7 @@

    Optional className

    className: string
    @@ -205,7 +205,7 @@

    Optional dots

    dots: boolean | IDotsType
    @@ -215,7 +215,7 @@

    Optional dotsColor

    dotsColor: string
    @@ -225,7 +225,7 @@

    Optional dotsSize

    dotsSize: "small" | "large" | "normal"
    @@ -235,7 +235,7 @@

    Optional dotsTheme

    dotsTheme: IDotsTheme
    @@ -245,7 +245,7 @@

    Optional transitionDurati
    transitionDuration: number
    @@ -262,7 +262,7 @@

    Optional onChange

  • Parameters

    @@ -288,7 +288,7 @@

    Optional renderNextA
  • Parameters

    @@ -326,7 +326,7 @@

    Optional renderPrevA
  • Parameters

    diff --git a/apidoc/interfaces/ISwiperState.html b/apidoc/interfaces/ISwiperState.html index af405ce8c..f6f07a317 100644 --- a/apidoc/interfaces/ISwiperState.html +++ b/apidoc/interfaces/ISwiperState.html @@ -95,7 +95,7 @@

    currentIndex

    currentIndex: number
    @@ -105,7 +105,7 @@

    Optional prevProps

    prevProps: ISwiperProps
    diff --git a/apidoc/interfaces/ISwitchProps.html b/apidoc/interfaces/ISwitchProps.html index 68552ef89..e00bdbe7c 100644 --- a/apidoc/interfaces/ISwitchProps.html +++ b/apidoc/interfaces/ISwitchProps.html @@ -106,7 +106,7 @@

    Optional checked

    checked: boolean
    @@ -116,7 +116,7 @@

    Optional checkedText

    checkedText: string
    @@ -126,7 +126,7 @@

    Optional className

    className: string
    @@ -136,7 +136,7 @@

    Optional disabled

    disabled: boolean
    @@ -146,7 +146,7 @@

    Optional loading

    loading: boolean
    @@ -156,7 +156,7 @@

    Optional size

    size: "small" | "default"
    @@ -166,7 +166,7 @@

    Optional uncheckedTextuncheckedText: string

  • @@ -183,7 +183,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/ISyncValidator.html b/apidoc/interfaces/ISyncValidator.html index ddefdb393..9f4793cc1 100644 --- a/apidoc/interfaces/ISyncValidator.html +++ b/apidoc/interfaces/ISyncValidator.html @@ -90,7 +90,7 @@

    Callable

  • Parameters

    @@ -127,7 +127,7 @@

    Optional $$id

    $$id: any
    diff --git a/apidoc/interfaces/ITab.html b/apidoc/interfaces/ITab.html index 4bdcbc92a..e4b72b38d 100644 --- a/apidoc/interfaces/ITab.html +++ b/apidoc/interfaces/ITab.html @@ -112,7 +112,7 @@

    Optional canFixed

    canFixed: boolean
    @@ -122,7 +122,7 @@

    Optional candel

    candel: boolean
    @@ -132,7 +132,7 @@

    Optional className

    className: string
    @@ -142,7 +142,7 @@

    Optional disabled

    disabled: boolean
    @@ -152,7 +152,7 @@

    key

    key: Id
    @@ -162,7 +162,7 @@

    title

    title: ReactNode
    diff --git a/apidoc/interfaces/ITabNavState.html b/apidoc/interfaces/ITabNavState.html index 048a22110..73ae7d4db 100644 --- a/apidoc/interfaces/ITabNavState.html +++ b/apidoc/interfaces/ITabNavState.html @@ -94,7 +94,7 @@

    fixed

    fixed: boolean
    diff --git a/apidoc/interfaces/ITabPanelProps.html b/apidoc/interfaces/ITabPanelProps.html index 5609bd069..ad4b8fc97 100644 --- a/apidoc/interfaces/ITabPanelProps.html +++ b/apidoc/interfaces/ITabPanelProps.html @@ -109,7 +109,7 @@

    Optional actived

    actived: boolean
    @@ -119,7 +119,7 @@

    Optional canFixed

    canFixed: boolean
    @@ -129,7 +129,7 @@

    Optional candel

    candel: boolean
    @@ -139,7 +139,7 @@

    Optional className

    className: string
    @@ -149,7 +149,7 @@

    Optional disabled

    disabled: boolean
    @@ -159,7 +159,7 @@

    id

    id: Id
    @@ -169,7 +169,7 @@

    tab

    tab: ReactNode
    @@ -179,7 +179,7 @@

    Optional unmountOnHideunmountOnHide: boolean

  • diff --git a/apidoc/interfaces/ITabProps.html b/apidoc/interfaces/ITabProps.html index f56bc3e02..d4cb37dac 100644 --- a/apidoc/interfaces/ITabProps.html +++ b/apidoc/interfaces/ITabProps.html @@ -120,7 +120,7 @@

    Optional actived

    actived: boolean
    @@ -131,7 +131,7 @@

    Optional canFixed

    @@ -141,7 +141,7 @@

    Optional candel

    candel: boolean
    @@ -151,7 +151,7 @@

    Optional disabled

    disabled: boolean
    @@ -162,7 +162,7 @@

    Optional fixedIds

    @@ -172,7 +172,7 @@

    id

    id: Id
    @@ -189,7 +189,7 @@

    Optional onDelete

  • Parameters

    @@ -213,7 +213,7 @@

    Optional onFixedChan

    Parameters

    @@ -236,7 +236,7 @@

    onSelected

  • Parameters

    diff --git a/apidoc/interfaces/ITabsCascaderProps.html b/apidoc/interfaces/ITabsCascaderProps.html index 09c5c022c..e5e100f9b 100644 --- a/apidoc/interfaces/ITabsCascaderProps.html +++ b/apidoc/interfaces/ITabsCascaderProps.html @@ -120,7 +120,7 @@

    Optional changeOnSelectchangeOnSelect: boolean

  • @@ -131,7 +131,7 @@

    Optional className

    @@ -142,7 +142,7 @@

    Optional clearable

    @@ -153,7 +153,7 @@

    Optional disabled

    @@ -164,7 +164,7 @@

    options

    @@ -175,7 +175,7 @@

    Optional placeholder

    @@ -186,7 +186,7 @@

    Optional popupClassN @@ -196,7 +196,7 @@

    Optional title

    title: string[]
    @@ -206,7 +206,7 @@

    Optional value

    value: CascaderValue[]
    @@ -217,7 +217,7 @@

    Optional visible

    @@ -235,7 +235,7 @@

    Optional getItemTool
    @@ -264,7 +264,7 @@

    Optional loadOptions

  • Parameters

    @@ -287,7 +287,7 @@

    onChange

  • Parameters

    @@ -317,7 +317,7 @@

    Optional onVisibleCh

    Parameters

    @@ -341,7 +341,7 @@

    Optional renderItemC
    @@ -370,7 +370,7 @@

    Optional renderList

    @@ -420,7 +420,7 @@

    Optional renderValue

    diff --git a/apidoc/interfaces/ITabsNavProps.html b/apidoc/interfaces/ITabsNavProps.html index 963553753..76ec64287 100644 --- a/apidoc/interfaces/ITabsNavProps.html +++ b/apidoc/interfaces/ITabsNavProps.html @@ -129,7 +129,7 @@

    activeId

    activeId: Id
    @@ -140,7 +140,7 @@

    Optional canFixed

    @@ -150,7 +150,7 @@

    candel

    candel: boolean
    @@ -160,7 +160,7 @@

    Optional className

    className: string
    @@ -171,7 +171,7 @@

    Optional fixedIds

    @@ -181,7 +181,7 @@

    navExtraContent

    navExtraContent: ReactNode
    @@ -191,7 +191,7 @@

    overflowMode

    overflowMode: ITabOverflowMode
    @@ -201,7 +201,7 @@

    stretch

    stretch: boolean
    @@ -211,7 +211,7 @@

    Optional style

    style: CSSProperties
    @@ -222,7 +222,7 @@

    tabDataList

    @@ -232,7 +232,7 @@

    type

    type: TabType
    @@ -249,7 +249,7 @@

    Optional onAdd

  • Returns void

    @@ -267,7 +267,7 @@

    onChange

    Parameters

    @@ -290,7 +290,7 @@

    onDelete

  • Parameters

    @@ -314,7 +314,7 @@

    Optional onFixedChan

    Parameters

    diff --git a/apidoc/interfaces/ITabsProps.html b/apidoc/interfaces/ITabsProps.html index 210cd88c9..5c726546d 100644 --- a/apidoc/interfaces/ITabsProps.html +++ b/apidoc/interfaces/ITabsProps.html @@ -133,7 +133,7 @@

    activeId

    @@ -144,7 +144,7 @@

    Optional canFixed

    @@ -154,7 +154,7 @@

    candel

    candel: boolean
    @@ -165,7 +165,7 @@

    Optional children

    @@ -176,7 +176,7 @@

    Optional className

    @@ -187,7 +187,7 @@

    Optional disableLazy @@ -198,7 +198,7 @@

    Optional fixedIds

    @@ -208,7 +208,7 @@

    navExtraContent

    navExtraContent: ReactNode
    @@ -218,7 +218,7 @@

    Optional overflowMode

    overflowMode: ITabOverflowMode
  • @@ -228,7 +228,7 @@

    stretch

    stretch: boolean
    @@ -239,7 +239,7 @@

    Optional tabs

    @@ -249,7 +249,7 @@

    Optional type

    type: TabType
    @@ -260,7 +260,7 @@

    Optional unmountPanel

    Inherited from IBaseTabsProps.unmountPanelOnHide

    @@ -277,7 +277,7 @@

    onAdd

  • Returns void

    @@ -295,7 +295,7 @@

    onChange

    Parameters

    @@ -318,7 +318,7 @@

    onDelete

  • Parameters

    @@ -342,7 +342,7 @@

    Optional onFixedChan

    Parameters

    @@ -365,7 +365,7 @@

    Optional renderTabBa
  • Parameters

    diff --git a/apidoc/interfaces/ITagProps.html b/apidoc/interfaces/ITagProps.html index e5c0c6d55..1c53e449b 100644 --- a/apidoc/interfaces/ITagProps.html +++ b/apidoc/interfaces/ITagProps.html @@ -1339,7 +1339,7 @@

    Optional closable

    closable: boolean
    @@ -1349,7 +1349,7 @@

    Optional closeButton
    closeButtonStyle: CSSProperties
    @@ -1849,7 +1849,7 @@

    Optional onClose

    onClose: MouseEventHandler<HTMLElement>
    @@ -3377,7 +3377,7 @@

    Optional outline

    outline: boolean
    @@ -3464,7 +3464,7 @@

    Optional rounded

    rounded: boolean
    @@ -3485,7 +3485,7 @@

    Optional size

    size: "small" | "large" | "medium"
    @@ -3518,7 +3518,7 @@

    Optional style

    @@ -3561,7 +3561,7 @@

    Optional theme

    theme: "red" | "green" | "yellow" | "blue" | "grey"
    @@ -3615,7 +3615,7 @@

    Optional visible

    visible: boolean
    diff --git a/apidoc/interfaces/ITextAreaProps.html b/apidoc/interfaces/ITextAreaProps.html index a50159d7a..555f680e2 100644 --- a/apidoc/interfaces/ITextAreaProps.html +++ b/apidoc/interfaces/ITextAreaProps.html @@ -1366,7 +1366,7 @@

    Optional autoSelect

    @@ -1376,7 +1376,7 @@

    Optional autoSize

    autoSize: boolean
    @@ -1582,7 +1582,7 @@

    Optional initSelection

    Inherited from IInputCommonProps.initSelectionEnd

    @@ -1593,7 +1593,7 @@

    Optional initSelection

    Inherited from IInputCommonProps.initSelectionStart

    @@ -1604,7 +1604,7 @@

    Optional inline

    @@ -1733,7 +1733,7 @@

    Optional maxCharactermaxCharacterCount: number

  • @@ -3108,7 +3108,7 @@

    Optional onPressEnte @@ -3657,7 +3657,7 @@

    Optional showCount

    showCount: boolean
    @@ -3668,7 +3668,7 @@

    Optional size

    @@ -3766,7 +3766,7 @@

    type

    type: "textarea"
    @@ -3798,7 +3798,7 @@

    Optional value

    value: string
    @@ -3820,7 +3820,7 @@

    Optional width

    @@ -3831,7 +3831,7 @@

    Optional widthSize

    @@ -3859,7 +3859,7 @@

    Optional onChange

  • Parameters

    diff --git a/apidoc/interfaces/ITextMarkProps.html b/apidoc/interfaces/ITextMarkProps.html index 5783be534..c33cb3ff7 100644 --- a/apidoc/interfaces/ITextMarkProps.html +++ b/apidoc/interfaces/ITextMarkProps.html @@ -388,7 +388,7 @@

    Optional activeClass
    activeClassName: string
    @@ -398,7 +398,7 @@

    Optional activeIndex

    activeIndex: number
    @@ -408,7 +408,7 @@

    Optional activeStyle

    activeStyle: CSSProperties
    @@ -1342,7 +1342,7 @@

    Optional autoEscape

    autoEscape: boolean
    @@ -1363,7 +1363,7 @@

    Optional caseSensitivecaseSensitive: boolean

  • @@ -1385,7 +1385,7 @@

    Optional className

    @@ -1502,7 +1502,7 @@

    Optional findChunks

    @@ -1523,7 +1523,7 @@

    Optional highlightClasshighlightClassName: string | {}

  • @@ -1533,7 +1533,7 @@

    Optional highlightStylehighlightStyle: CSSProperties

    @@ -1543,7 +1543,7 @@

    Optional highlightTag

    highlightTag: ElementType<any>
    @@ -3520,7 +3520,7 @@

    Optional sanitize

    @@ -3530,7 +3530,7 @@

    searchWords

    searchWords: TextMarkSearchWords[]
    @@ -3617,7 +3617,7 @@

    textToHighlight

    textToHighlight: string
    @@ -3660,7 +3660,7 @@

    Optional unhighlightClass
    unhighlightClassName: string
    @@ -3670,7 +3670,7 @@

    Optional unhighlightStyle
    unhighlightStyle: CSSProperties
    diff --git a/apidoc/interfaces/ITimeRangePickerProps.html b/apidoc/interfaces/ITimeRangePickerProps.html index 533a69e57..01864d5c7 100644 --- a/apidoc/interfaces/ITimeRangePickerProps.html +++ b/apidoc/interfaces/ITimeRangePickerProps.html @@ -124,7 +124,7 @@

    Optional autoComplete

    Inherited from ICombinedTimeRangePickerProps.autoComplete

    @@ -135,7 +135,7 @@

    Optional canClear

    @@ -146,7 +146,7 @@

    Optional className

    @@ -157,7 +157,7 @@

    Optional defaultTime

    @@ -168,7 +168,7 @@

    Optional disabled

    @@ -179,7 +179,7 @@

    Optional disabledTime

    Inherited from ICombinedTimeRangePickerProps.disabledTime

    @@ -190,7 +190,7 @@

    Optional format

    @@ -201,7 +201,7 @@

    Optional hiddenIcon

    @@ -212,7 +212,7 @@

    Optional hourStep

    @@ -223,7 +223,7 @@

    Optional minuteStep

    @@ -234,7 +234,7 @@

    Optional name

    @@ -245,7 +245,7 @@

    Optional openPanel

    @@ -256,7 +256,7 @@

    Optional placeholder

    @@ -267,7 +267,7 @@

    Optional secondStep

    @@ -278,7 +278,7 @@

    Optional selectedDate

    Inherited from ICombinedTimeRangePickerProps.selectedDate

    @@ -289,7 +289,7 @@

    value

    @@ -300,7 +300,7 @@

    Optional width

    @@ -318,7 +318,7 @@

    onChange

    Parameters

    @@ -342,7 +342,7 @@

    Optional onClose

    Parameters

    @@ -366,7 +366,7 @@

    Optional onOpen

    Parameters

    diff --git a/apidoc/interfaces/ITimelineArrayItem.html b/apidoc/interfaces/ITimelineArrayItem.html index 5a7d48968..4f4216680 100644 --- a/apidoc/interfaces/ITimelineArrayItem.html +++ b/apidoc/interfaces/ITimelineArrayItem.html @@ -112,7 +112,7 @@

    Optional className

    @@ -123,7 +123,7 @@

    Optional color

    @@ -134,7 +134,7 @@

    Optional dotColor

    @@ -144,7 +144,7 @@

    Optional id

    id: string
    @@ -155,7 +155,7 @@

    Optional label

    @@ -166,7 +166,7 @@

    Optional lineColor

    @@ -176,7 +176,7 @@

    Optional percent

    percent: number
    @@ -187,7 +187,7 @@

    Optional showDot

    @@ -198,7 +198,7 @@

    Optional showLabel

    @@ -209,7 +209,7 @@

    Optional size

    @@ -220,7 +220,7 @@

    Optional style

    @@ -231,7 +231,7 @@

    Optional tip

    @@ -242,7 +242,7 @@

    Optional type

    diff --git a/apidoc/interfaces/ITimelineItemProps.html b/apidoc/interfaces/ITimelineItemProps.html index 7b22212c3..793ae681b 100644 --- a/apidoc/interfaces/ITimelineItemProps.html +++ b/apidoc/interfaces/ITimelineItemProps.html @@ -109,7 +109,7 @@

    Optional className

    className: string
    @@ -119,7 +119,7 @@

    Optional color

    color: string
    @@ -129,7 +129,7 @@

    Optional dotColor

    dotColor: string
    @@ -139,7 +139,7 @@

    Optional label

    label: ReactNode
    @@ -149,7 +149,7 @@

    Optional lineColor

    lineColor: string
    @@ -159,7 +159,7 @@

    Optional showDot

    showDot: boolean
    @@ -169,7 +169,7 @@

    Optional showLabel

    showLabel: boolean
    @@ -179,7 +179,7 @@

    Optional size

    size: number
    @@ -189,7 +189,7 @@

    Optional style

    style: CSSProperties
    @@ -199,7 +199,7 @@

    Optional tip

    tip: ReactNode
    @@ -209,7 +209,7 @@

    Optional type

    type: "horizontal" | "vertical"
    diff --git a/apidoc/interfaces/ITimelineProps.html b/apidoc/interfaces/ITimelineProps.html index 0fa9b4c31..a5268e888 100644 --- a/apidoc/interfaces/ITimelineProps.html +++ b/apidoc/interfaces/ITimelineProps.html @@ -98,7 +98,7 @@

    Optional className

    className: string
    @@ -108,7 +108,7 @@

    Optional size

    size: string | number
    @@ -118,7 +118,7 @@

    Optional style

    style: CSSProperties
    @@ -128,7 +128,7 @@

    Optional timeline

    timeline: ITimelineArrayItem[]
    @@ -138,7 +138,7 @@

    Optional type

    type: "horizontal" | "vertical"
    diff --git a/apidoc/interfaces/ITooltipBaseProps.html b/apidoc/interfaces/ITooltipBaseProps.html index 1bbb38673..f7cf5e644 100644 --- a/apidoc/interfaces/ITooltipBaseProps.html +++ b/apidoc/interfaces/ITooltipBaseProps.html @@ -109,7 +109,7 @@

    Optional centerArrow

    centerArrow: boolean
    @@ -119,7 +119,7 @@

    children

    children: string | number | ReactElement<any, string | JSXElementConstructor<any>>
    @@ -129,7 +129,7 @@

    Optional className

    className: string
    @@ -139,7 +139,7 @@

    Optional containerSelecto
    containerSelector: string
    @@ -149,7 +149,7 @@

    Optional cushion

    cushion: number
    @@ -159,7 +159,7 @@

    Optional fixMouseEve
    fixMouseEventsOnDisabledChildren: boolean
    @@ -169,7 +169,7 @@

    Optional position

    @@ -179,7 +179,7 @@

    Optional style

    style: CSSProperties
    @@ -189,7 +189,7 @@

    title

    title: ReactNode
    @@ -199,7 +199,7 @@

    Optional visible

    visible: boolean
    @@ -216,7 +216,7 @@

    Optional onVisibleCh
  • Parameters

    diff --git a/apidoc/interfaces/ITransferArrowButton.html b/apidoc/interfaces/ITransferArrowButton.html index d15aa1290..6b235989d 100644 --- a/apidoc/interfaces/ITransferArrowButton.html +++ b/apidoc/interfaces/ITransferArrowButton.html @@ -102,7 +102,7 @@

    direction

    @@ -112,7 +112,7 @@

    disabled

    disabled: boolean
    @@ -122,7 +122,7 @@

    prefix

    prefix: string
    @@ -139,7 +139,7 @@

    onChange

  • Returns void

    diff --git a/apidoc/interfaces/ITransferData.html b/apidoc/interfaces/ITransferData.html index 930573f09..6a4041a2a 100644 --- a/apidoc/interfaces/ITransferData.html +++ b/apidoc/interfaces/ITransferData.html @@ -98,7 +98,7 @@

    Optional disabled

    disabled: boolean
    diff --git a/apidoc/interfaces/ITransferDirectionChangeProps.html b/apidoc/interfaces/ITransferDirectionChangeProps.html index 0b60768f3..adb31ce4c 100644 --- a/apidoc/interfaces/ITransferDirectionChangeProps.html +++ b/apidoc/interfaces/ITransferDirectionChangeProps.html @@ -97,7 +97,7 @@

    direction

    @@ -107,7 +107,7 @@

    selectedKeys

    selectedKeys: string[]
    @@ -117,7 +117,7 @@

    targetKeys

    targetKeys: string[]
    @@ -127,7 +127,7 @@

    transferredKeys

    transferredKeys: string[]
    diff --git a/apidoc/interfaces/ITransferHookParams.html b/apidoc/interfaces/ITransferHookParams.html index cf4376aae..4ba756c74 100644 --- a/apidoc/interfaces/ITransferHookParams.html +++ b/apidoc/interfaces/ITransferHookParams.html @@ -96,7 +96,7 @@

    Optional disabledKeys

    disabledKeys: string[]
  • @@ -106,7 +106,7 @@

    Optional selectedKeys

    selectedKeys: string[]
    @@ -116,7 +116,7 @@

    Optional targetKeys

    targetKeys: string[]
    diff --git a/apidoc/interfaces/ITransferHookResult.html b/apidoc/interfaces/ITransferHookResult.html index b88222da1..45af73eb5 100644 --- a/apidoc/interfaces/ITransferHookResult.html +++ b/apidoc/interfaces/ITransferHookResult.html @@ -104,7 +104,7 @@

    selectedKeys

    selectedKeys: string[]
    @@ -114,7 +114,7 @@

    targetKeys

    targetKeys: string[]
    @@ -131,7 +131,7 @@

    changeSelectedKeys

  • Parameters

    @@ -157,7 +157,7 @@

    resetSelectedKeys

  • Parameters

    @@ -180,7 +180,7 @@

    resetTargetKeys

  • Parameters

    @@ -203,7 +203,7 @@

    transferKeys

  • Parameters

    diff --git a/apidoc/interfaces/ITransferItem.html b/apidoc/interfaces/ITransferItem.html index 4b5273c22..01d41d74d 100644 --- a/apidoc/interfaces/ITransferItem.html +++ b/apidoc/interfaces/ITransferItem.html @@ -111,7 +111,7 @@

    dataSets

    dataSets: ITransferData[]
    @@ -121,7 +121,7 @@

    direction

    @@ -131,7 +131,7 @@

    disabled

    disabled: boolean
    @@ -141,7 +141,7 @@

    keyName

    keyName: string
    @@ -151,7 +151,7 @@

    list

    list: Omit<ListType, "columns"> & { columns: TransferColumnType }
    @@ -161,7 +161,7 @@

    pagination

    pagination: boolean | { pageSize: number }
    @@ -171,7 +171,7 @@

    prefix

    prefix: string
    @@ -181,7 +181,7 @@

    Optional searchPlaceholde
    searchPlaceholder: string
    @@ -191,7 +191,7 @@

    selectedKeys

    selectedKeys: string[]
    @@ -201,7 +201,7 @@

    Optional showSearch

    showSearch: boolean
    @@ -211,7 +211,7 @@

    Optional title

    title: ReactNode
    @@ -228,7 +228,7 @@

    Optional filterOption

    Parameters

    @@ -254,7 +254,7 @@

    handleSelectChange

  • Parameters

    diff --git a/apidoc/interfaces/ITreeData.html b/apidoc/interfaces/ITreeData.html index 8a546956d..48176cde5 100644 --- a/apidoc/interfaces/ITreeData.html +++ b/apidoc/interfaces/ITreeData.html @@ -99,7 +99,7 @@

    Optional expand

    expand: boolean
    @@ -109,7 +109,7 @@

    Optional isLeaf

    isLeaf: boolean
    diff --git a/apidoc/interfaces/ITreeOncheckHelpInfo.html b/apidoc/interfaces/ITreeOncheckHelpInfo.html index 0ffb01275..0fce81e8b 100644 --- a/apidoc/interfaces/ITreeOncheckHelpInfo.html +++ b/apidoc/interfaces/ITreeOncheckHelpInfo.html @@ -98,7 +98,7 @@

    all

    all: ITreeData[]
    @@ -108,7 +108,7 @@

    bottom

    bottom: ITreeData[]
    @@ -118,7 +118,7 @@

    currentRoot

    currentRoot: ITreeData
    @@ -128,7 +128,7 @@

    disabled

    disabled: ITreeData[]
    @@ -138,7 +138,7 @@

    top

    top: ITreeData[]
    diff --git a/apidoc/interfaces/ITreeOperation.html b/apidoc/interfaces/ITreeOperation.html index bb0d4219a..286de1af7 100644 --- a/apidoc/interfaces/ITreeOperation.html +++ b/apidoc/interfaces/ITreeOperation.html @@ -102,7 +102,7 @@

    Optional icon

    icon: ReactNode
    @@ -112,7 +112,7 @@

    name

    name: string
    @@ -129,7 +129,7 @@

    action

  • Parameters

    @@ -152,7 +152,7 @@

    Optional shouldRender

    Parameters

    diff --git a/apidoc/interfaces/ITreeProps.html b/apidoc/interfaces/ITreeProps.html index 9d4cb93bd..8c5175f83 100644 --- a/apidoc/interfaces/ITreeProps.html +++ b/apidoc/interfaces/ITreeProps.html @@ -126,7 +126,7 @@

    Optional autoExpandO
    autoExpandOnSelect: boolean
    @@ -137,7 +137,7 @@

    Optional checkable

    @@ -148,7 +148,7 @@

    Optional checkedKeys

    @@ -158,7 +158,7 @@

    Optional commonStyle

    commonStyle: CSSProperties
    @@ -169,7 +169,7 @@

    data

    @@ -180,7 +180,7 @@

    Optional dataType

    @@ -190,7 +190,7 @@

    Optional disableSelected<
    disableSelectedStrictly: boolean
    @@ -201,7 +201,7 @@

    Optional disabledChecked< @@ -211,7 +211,7 @@

    Optional disabledSelected
    disabledSelectedKeys: TreeRootIdArray
    @@ -222,7 +222,7 @@

    Optional expandAll

    @@ -232,7 +232,7 @@

    Optional foldable

    foldable: boolean
    @@ -242,7 +242,7 @@

    Optional onlyShowOne
    onlyShowOneLine: boolean
    @@ -252,7 +252,7 @@

    Optional operations

    operations: ITreeOperation[]
    @@ -263,7 +263,7 @@

    Optional renderKey

    @@ -273,7 +273,7 @@

    Optional selectable

    selectable: boolean
    @@ -283,7 +283,7 @@

    Optional selectedKey

    selectedKey: string | number
    @@ -293,7 +293,7 @@

    Optional size

    size: ITreeSize
    @@ -311,7 +311,7 @@

    Optional isRoot

    Parameters

    @@ -335,7 +335,7 @@

    Optional loadMore

    Parameters

    @@ -358,7 +358,7 @@

    Optional onCheck

  • Parameters

    @@ -384,7 +384,7 @@

    Optional onExpand

  • Parameters

    @@ -415,7 +415,7 @@

    Optional onSelect

  • Parameters

    @@ -441,7 +441,7 @@

    Optional render

  • Parameters

    diff --git a/apidoc/interfaces/ITreeRenderKey.html b/apidoc/interfaces/ITreeRenderKey.html index 8ae249bb9..2605f09bb 100644 --- a/apidoc/interfaces/ITreeRenderKey.html +++ b/apidoc/interfaces/ITreeRenderKey.html @@ -97,7 +97,7 @@

    children

    children: string
    @@ -107,7 +107,7 @@

    id

    id: string
    @@ -117,7 +117,7 @@

    parentId

    parentId: string
    @@ -127,7 +127,7 @@

    title

    title: string
    diff --git a/apidoc/interfaces/ITreeState.html b/apidoc/interfaces/ITreeState.html index a2186b155..cc04f9535 100644 --- a/apidoc/interfaces/ITreeState.html +++ b/apidoc/interfaces/ITreeState.html @@ -102,7 +102,7 @@

    checkedNode

    checkedNode: TreeRootIdArray
    @@ -112,7 +112,7 @@

    disabledNode

    disabledNode: TreeRootIdArray
    @@ -122,7 +122,7 @@

    expandNode

    expandNode: TreeRootIdArray
    @@ -132,7 +132,7 @@

    loadingNode

    loadingNode: TreeRootIdArray
    @@ -142,7 +142,7 @@

    prevProps

    prevProps: ITreeProps
    @@ -152,7 +152,7 @@

    renderKey

    renderKey: ITreeRenderKey
    @@ -162,7 +162,7 @@

    rootInfoMap

    rootInfoMap: ITreeRootInfoMap
    @@ -172,7 +172,7 @@

    Optional selectedKey

    selectedKey: string | number
    @@ -182,7 +182,7 @@

    tree

    tree: ITreeData[]
    diff --git a/apidoc/interfaces/IUploadChangeDetail.html b/apidoc/interfaces/IUploadChangeDetail.html index 2d5eb94d3..5a281d6d4 100644 --- a/apidoc/interfaces/IUploadChangeDetail.html +++ b/apidoc/interfaces/IUploadChangeDetail.html @@ -103,7 +103,7 @@

    item

    item: IUploadFileItemInner<UPLOAD_ITEM>
    @@ -113,7 +113,7 @@

    type

    type: "change" | "add" | "delete" | "retry"
    diff --git a/apidoc/interfaces/IUploadErrorMessageConfigMap.html b/apidoc/interfaces/IUploadErrorMessageConfigMap.html index 94197e5b1..6519b11bf 100644 --- a/apidoc/interfaces/IUploadErrorMessageConfigMap.html +++ b/apidoc/interfaces/IUploadErrorMessageConfigMap.html @@ -95,7 +95,7 @@

    overMaxAmount

    overMaxAmount: { maxAmount: number }
    @@ -118,7 +118,7 @@

    overMaxSize

    overMaxSize: { formattedMaxSize: string; maxSize: number }
    diff --git a/apidoc/interfaces/IUploadFileItem.html b/apidoc/interfaces/IUploadFileItem.html index 6f60cdcb0..cbedc9f78 100644 --- a/apidoc/interfaces/IUploadFileItem.html +++ b/apidoc/interfaces/IUploadFileItem.html @@ -111,7 +111,7 @@

    Optional file: File

    @@ -126,7 +126,7 @@

    Optional id

    id: string
    @@ -141,7 +141,7 @@

    name

    name: string
    @@ -156,7 +156,7 @@

    Optional percent

    percent: number
    @@ -171,7 +171,7 @@

    status

    status: FILE_UPLOAD_STATUS
    @@ -186,7 +186,7 @@

    type

    type: string
    diff --git a/apidoc/interfaces/IUploadItemProps.html b/apidoc/interfaces/IUploadItemProps.html index 658c1bae4..ad95a62b5 100644 --- a/apidoc/interfaces/IUploadItemProps.html +++ b/apidoc/interfaces/IUploadItemProps.html @@ -105,7 +105,7 @@

    i18n

    @@ -115,7 +115,7 @@

    item

    item: IUploadFileItemInner<UPLOAD_ITEM>
    @@ -125,7 +125,7 @@

    onDelete

    onDelete: (retryItem: IUploadFileItemInner<UPLOAD_ITEM>) => void
    @@ -156,7 +156,7 @@

    onRetry

    onRetry: (retryItem: IUploadFileItemInner<UPLOAD_ITEM>) => void
    diff --git a/apidoc/interfaces/IUploadListProps.html b/apidoc/interfaces/IUploadListProps.html index 40150595e..750a9a21c 100644 --- a/apidoc/interfaces/IUploadListProps.html +++ b/apidoc/interfaces/IUploadListProps.html @@ -113,7 +113,7 @@

    Optional customUpload

    Inherited from IAbstractUploadListProps.customUploadItem

    @@ -124,7 +124,7 @@

    fileList

    @@ -135,7 +135,7 @@

    i18n

    @@ -145,7 +145,7 @@

    pageSize

    pageSize: number
    @@ -155,7 +155,7 @@

    pagination

    pagination: boolean
    @@ -166,7 +166,7 @@

    Optional sortable

    @@ -184,7 +184,7 @@

    onDelete

    Parameters

    @@ -208,7 +208,7 @@

    onRetry

    Parameters

    @@ -232,7 +232,7 @@

    onSortChange

    Parameters

    diff --git a/apidoc/interfaces/IUploadProps.html b/apidoc/interfaces/IUploadProps.html index 4326d199b..20f984b16 100644 --- a/apidoc/interfaces/IUploadProps.html +++ b/apidoc/interfaces/IUploadProps.html @@ -122,7 +122,7 @@

    Optional accept

    @@ -138,7 +138,7 @@

    Optional className

    @@ -154,7 +154,7 @@

    Optional customUpload

    Inherited from IAbstractMultiUploadProps.customUploadItem

    @@ -170,7 +170,7 @@

    Optional defaultFile
    @@ -186,7 +186,7 @@

    Optional disabled

    @@ -202,7 +202,7 @@

    Optional fileList

    @@ -218,7 +218,7 @@

    Optional manualUpload

    Inherited from IAbstractMultiUploadProps.manualUpload

    @@ -234,7 +234,7 @@

    Optional maxAmount

    @@ -250,7 +250,7 @@

    Optional maxSize

    @@ -266,7 +266,7 @@

    Optional multiple

    @@ -282,7 +282,7 @@

    onChange

    @@ -298,7 +298,7 @@

    Optional onError

    @@ -314,7 +314,7 @@

    Optional onUpload

    @@ -329,7 +329,7 @@

    Optional pageSize

    pageSize: number
    @@ -344,7 +344,7 @@

    Optional pagination

    pagination: boolean
    @@ -360,7 +360,7 @@

    Optional sortable

    @@ -375,7 +375,7 @@

    Optional tips

    tips: ReactNode | IUploadTipsFunc<IUploadProps>
    @@ -398,7 +398,7 @@

    Optional beforeUpload

    Inherited from IAbstractMultiUploadProps.beforeUpload

    diff --git a/apidoc/interfaces/IUseIMECompositionResult.html b/apidoc/interfaces/IUseIMECompositionResult.html index e26e4e76f..1d244a2e7 100644 --- a/apidoc/interfaces/IUseIMECompositionResult.html +++ b/apidoc/interfaces/IUseIMECompositionResult.html @@ -105,7 +105,7 @@

    onChange

    onChange: OnChange
    @@ -115,7 +115,7 @@

    onCompositionEnd

    onCompositionEnd: CompositionEventHandler<Element>
    @@ -125,7 +125,7 @@

    onCompositionStart

    onCompositionStart: CompositionEventHandler<Element>
    @@ -135,7 +135,7 @@

    value

    value: string
    diff --git a/apidoc/interfaces/IValidateResult.html b/apidoc/interfaces/IValidateResult.html index de16f0e0c..2142aa565 100644 --- a/apidoc/interfaces/IValidateResult.html +++ b/apidoc/interfaces/IValidateResult.html @@ -116,7 +116,7 @@

    Optional actual

    actual: T
    @@ -131,7 +131,7 @@

    Optional expect

    expect: T
    @@ -146,7 +146,7 @@

    Optional message

    message: string
    @@ -161,7 +161,7 @@

    name

    name: string
    diff --git a/apidoc/interfaces/IValueTypeRangeMap.html b/apidoc/interfaces/IValueTypeRangeMap.html index 75eefe492..f5c1b46f9 100644 --- a/apidoc/interfaces/IValueTypeRangeMap.html +++ b/apidoc/interfaces/IValueTypeRangeMap.html @@ -96,7 +96,7 @@

    date

    date: [Date, Date]
    @@ -106,7 +106,7 @@

    number

    number: [number, number]
    @@ -116,7 +116,7 @@

    string

    string: [string, string]
    diff --git a/apidoc/interfaces/IVerticalDivide.html b/apidoc/interfaces/IVerticalDivide.html index 0985e0937..096e7bc2c 100644 --- a/apidoc/interfaces/IVerticalDivide.html +++ b/apidoc/interfaces/IVerticalDivide.html @@ -94,7 +94,7 @@

    divide

    divide: true
    diff --git a/apidoc/interfaces/IVerticalTabsNavProps.html b/apidoc/interfaces/IVerticalTabsNavProps.html index e2df3e20a..531fbc7a4 100644 --- a/apidoc/interfaces/IVerticalTabsNavProps.html +++ b/apidoc/interfaces/IVerticalTabsNavProps.html @@ -114,7 +114,7 @@

    Optional scrollHeight

    scrollHeight: MaxHeight<string | number>
    @@ -125,7 +125,7 @@

    tabDataList

    @@ -143,7 +143,7 @@

    onChange

    Parameters

    diff --git a/apidoc/interfaces/IVerticalTabsProps.html b/apidoc/interfaces/IVerticalTabsProps.html index b73542e0e..e62a86ee0 100644 --- a/apidoc/interfaces/IVerticalTabsProps.html +++ b/apidoc/interfaces/IVerticalTabsProps.html @@ -120,7 +120,7 @@

    activeId

    @@ -131,7 +131,7 @@

    Optional children

    @@ -142,7 +142,7 @@

    Optional className

    @@ -153,7 +153,7 @@

    Optional disableLazy @@ -163,7 +163,7 @@

    Optional scrollHeight

    scrollHeight: MaxHeight<string | number>
    @@ -174,7 +174,7 @@

    Optional tabs

    @@ -185,7 +185,7 @@

    Optional unmountPanel

    Inherited from IBaseTabsProps.unmountPanelOnHide

    @@ -203,7 +203,7 @@

    onChange

    Parameters

    diff --git a/apidoc/interfaces/IWaypointBounds.html b/apidoc/interfaces/IWaypointBounds.html index 4b2714998..7965d0fc3 100644 --- a/apidoc/interfaces/IWaypointBounds.html +++ b/apidoc/interfaces/IWaypointBounds.html @@ -97,7 +97,7 @@

    viewportBottom

    viewportBottom: number
    @@ -107,7 +107,7 @@

    viewportTop

    viewportTop: number
    @@ -117,7 +117,7 @@

    waypointBottom

    waypointBottom: number
    @@ -127,7 +127,7 @@

    waypointTop

    waypointTop: number
    diff --git a/apidoc/interfaces/IWaypointCallbackData.html b/apidoc/interfaces/IWaypointCallbackData.html index 3603fbcce..925f534cc 100644 --- a/apidoc/interfaces/IWaypointCallbackData.html +++ b/apidoc/interfaces/IWaypointCallbackData.html @@ -100,7 +100,7 @@

    currentPosition

    currentPosition: WaypointPosition
    @@ -110,7 +110,7 @@

    event

    event: Event
    @@ -120,7 +120,7 @@

    previousPosition

    previousPosition: WaypointPosition
    @@ -130,7 +130,7 @@

    viewportBottom

    viewportBottom: number
    @@ -140,7 +140,7 @@

    viewportTop

    viewportTop: number
    @@ -150,7 +150,7 @@

    waypointBottom

    waypointBottom: number
    @@ -160,7 +160,7 @@

    waypointTop

    waypointTop: number
    diff --git a/apidoc/interfaces/IWaypointProps.html b/apidoc/interfaces/IWaypointProps.html index b6de4699a..ff6818db6 100644 --- a/apidoc/interfaces/IWaypointProps.html +++ b/apidoc/interfaces/IWaypointProps.html @@ -107,7 +107,7 @@

    Optional bottomOffset

    bottomOffset: string | number
    @@ -117,7 +117,7 @@

    Optional children

    children: ReactNode
    @@ -127,7 +127,7 @@

    Optional fireOnRapid
    fireOnRapidScroll: boolean
    @@ -137,7 +137,7 @@

    Optional horizontal

    horizontal: boolean
    @@ -147,7 +147,7 @@

    Optional scrollableAncest
    scrollableAncestor: HTMLElement | Window
    @@ -157,7 +157,7 @@

    Optional topOffset

    topOffset: string | number
    @@ -174,7 +174,7 @@

    Optional onEnter

  • Parameters

    @@ -197,7 +197,7 @@

    Optional onLeave

  • Parameters

    @@ -220,7 +220,7 @@

    Optional onPositionC
  • Parameters

    diff --git a/apidoc/interfaces/IWeekPickerProps.html b/apidoc/interfaces/IWeekPickerProps.html index 9c8e82768..612457501 100644 --- a/apidoc/interfaces/IWeekPickerProps.html +++ b/apidoc/interfaces/IWeekPickerProps.html @@ -135,7 +135,7 @@

    Optional canClear

    @@ -146,7 +146,7 @@

    Optional className

    @@ -157,7 +157,7 @@

    Optional defaultDate

    @@ -168,7 +168,7 @@

    Optional disabled

    @@ -179,7 +179,7 @@

    Optional disabledDate

    Inherited from Omit.disabledDate

    @@ -190,7 +190,7 @@

    Optional format

    @@ -200,7 +200,7 @@

    Optional hideFooter

    hideFooter: boolean
    @@ -211,7 +211,7 @@

    Optional name

    @@ -222,7 +222,7 @@

    Optional openPanel

    @@ -233,7 +233,7 @@

    Optional placeholder

    @@ -244,7 +244,7 @@

    value

    @@ -255,7 +255,7 @@

    Optional valueType

    @@ -266,7 +266,7 @@

    Optional weekStartsO @@ -277,7 +277,7 @@

    Optional width

    @@ -295,7 +295,7 @@

    onChange

    Parameters

    @@ -319,7 +319,7 @@

    Optional onClose

    Returns void

    @@ -337,7 +337,7 @@

    Optional onOpen

    Returns void

    diff --git a/apidoc/interfaces/IWindowEventHandlerProps.html b/apidoc/interfaces/IWindowEventHandlerProps.html index 8606ebcee..d83689f4c 100644 --- a/apidoc/interfaces/IWindowEventHandlerProps.html +++ b/apidoc/interfaces/IWindowEventHandlerProps.html @@ -109,7 +109,7 @@

    eventName

    eventName: K
    @@ -119,7 +119,7 @@

    Optional options

    options: AddEventListenerOptions
    @@ -136,7 +136,7 @@

    listener

  • Parameters

    diff --git a/apidoc/interfaces/IWindowResizeHandlerDelta.html b/apidoc/interfaces/IWindowResizeHandlerDelta.html index 8497ab8ad..0d9ad85d0 100644 --- a/apidoc/interfaces/IWindowResizeHandlerDelta.html +++ b/apidoc/interfaces/IWindowResizeHandlerDelta.html @@ -95,7 +95,7 @@

    deltaX

    deltaX: number
    @@ -105,7 +105,7 @@

    deltaY

    deltaY: number
    diff --git a/apidoc/interfaces/IWindowResizeHandlerProps.html b/apidoc/interfaces/IWindowResizeHandlerProps.html index d91a0d85f..9d47e1fdb 100644 --- a/apidoc/interfaces/IWindowResizeHandlerProps.html +++ b/apidoc/interfaces/IWindowResizeHandlerProps.html @@ -100,7 +100,7 @@

    Optional disableThrottle<
    disableThrottle: boolean
    @@ -117,7 +117,7 @@

    onResize

  • Parameters

    diff --git a/apidoc/interfaces/IWindowScrollHandler.html b/apidoc/interfaces/IWindowScrollHandler.html index ca3276095..a979433e5 100644 --- a/apidoc/interfaces/IWindowScrollHandler.html +++ b/apidoc/interfaces/IWindowScrollHandler.html @@ -101,7 +101,7 @@

    Optional disableThrottle<
    disableThrottle: boolean
    @@ -111,7 +111,7 @@

    Optional options

    options: AddEventListenerOptions
    @@ -128,7 +128,7 @@

    onScroll

  • Parameters

    diff --git a/apidoc/interfaces/IWithErrorBoundaryOption.html b/apidoc/interfaces/IWithErrorBoundaryOption.html index b5ad71a24..6b5480f2b 100644 --- a/apidoc/interfaces/IWithErrorBoundaryOption.html +++ b/apidoc/interfaces/IWithErrorBoundaryOption.html @@ -104,7 +104,7 @@

    Optional Component

    Component: ComponentType<P>
    @@ -114,7 +114,7 @@

    Optional FallbackComponen
    FallbackComponent: ComponentType<IErrorBoundaryFallbackComponentProps>
    @@ -124,7 +124,7 @@

    Optional onError

    diff --git a/apidoc/interfaces/IYearPickerProps.html b/apidoc/interfaces/IYearPickerProps.html index ce6b55bd5..98c92fe9b 100644 --- a/apidoc/interfaces/IYearPickerProps.html +++ b/apidoc/interfaces/IYearPickerProps.html @@ -130,7 +130,7 @@

    Optional canClear

    @@ -141,7 +141,7 @@

    Optional className

    @@ -152,7 +152,7 @@

    Optional defaultDate

    @@ -163,7 +163,7 @@

    Optional disabled

    @@ -174,7 +174,7 @@

    Optional disabledDate

    Inherited from Omit.disabledDate

    @@ -185,7 +185,7 @@

    Optional format

    @@ -196,7 +196,7 @@

    Optional name

    @@ -207,7 +207,7 @@

    Optional openPanel

    @@ -218,7 +218,7 @@

    Optional placeholder

    @@ -229,7 +229,7 @@

    value

    @@ -240,7 +240,7 @@

    Optional valueType

    @@ -251,7 +251,7 @@

    Optional width

    @@ -269,7 +269,7 @@

    onChange

    Parameters

    @@ -293,7 +293,7 @@

    Optional onClose

    Returns void

    @@ -311,7 +311,7 @@

    Optional onOpen

    Returns void

    diff --git a/apidoc/interfaces/Sweetalert.IAlertOption.html b/apidoc/interfaces/Sweetalert.IAlertOption.html index 354fa32fc..aecfe4570 100644 --- a/apidoc/interfaces/Sweetalert.IAlertOption.html +++ b/apidoc/interfaces/Sweetalert.IAlertOption.html @@ -118,7 +118,7 @@

    Optional className

    className: string
    @@ -128,7 +128,7 @@

    Optional closeBtn

    closeBtn: boolean
    @@ -138,7 +138,7 @@

    Optional confirmText

    confirmText: string
    @@ -148,7 +148,7 @@

    Optional confirmType

    confirmType: "success" | "default" | "primary" | "danger"
    @@ -158,7 +158,7 @@

    Optional content

    content: ReactNode
    @@ -168,7 +168,7 @@

    Optional maskClosable

    maskClosable: boolean
  • @@ -178,7 +178,7 @@

    Optional onCancel

    onCancel: ActionButtonClickHandler
    @@ -188,7 +188,7 @@

    Optional onConfirm

    onConfirm: ActionButtonClickHandler
    @@ -198,7 +198,7 @@

    Optional parentComponent<
    parentComponent: any
    @@ -208,7 +208,7 @@

    Optional title

    title: ReactNode
    @@ -218,7 +218,7 @@

    Optional type

    type: "info" | "success" | "warning" | "error"
    @@ -235,7 +235,7 @@

    Optional onClose

  • Returns void

    diff --git a/apidoc/interfaces/Sweetalert.IConfirmOption.html b/apidoc/interfaces/Sweetalert.IConfirmOption.html index 4c31504e2..516443042 100644 --- a/apidoc/interfaces/Sweetalert.IConfirmOption.html +++ b/apidoc/interfaces/Sweetalert.IConfirmOption.html @@ -119,7 +119,7 @@

    Optional cancelText

    cancelText: ReactNode
    @@ -130,7 +130,7 @@

    Optional className

    @@ -141,7 +141,7 @@

    Optional closeBtn

    @@ -152,7 +152,7 @@

    Optional confirmText

    @@ -163,7 +163,7 @@

    Optional confirmType

    @@ -174,7 +174,7 @@

    Optional content

    @@ -185,7 +185,7 @@

    Optional maskClosable

    Inherited from IAlertOption.maskClosable

    @@ -196,7 +196,7 @@

    Optional onCancel

    @@ -207,7 +207,7 @@

    Optional onConfirm

    @@ -218,7 +218,7 @@

    Optional parentComponent< @@ -229,7 +229,7 @@

    Optional title

    @@ -240,7 +240,7 @@

    Optional type

    @@ -258,7 +258,7 @@

    Optional onClose

    Returns void

    diff --git a/apidoc/interfaces/Validators.IWithLength.html b/apidoc/interfaces/Validators.IWithLength.html index a6e901574..db0b42917 100644 --- a/apidoc/interfaces/Validators.IWithLength.html +++ b/apidoc/interfaces/Validators.IWithLength.html @@ -97,7 +97,7 @@

    length

    length: number
    diff --git a/apidoc/modules.html b/apidoc/modules.html index 7a5ee46aa..f85613ba5 100644 --- a/apidoc/modules.html +++ b/apidoc/modules.html @@ -741,7 +741,7 @@

    $FieldSetBuilderChildren

    $FieldSetBuilderChildren<ChildBuilders>: {[ Key in keyof ChildBuilders]: $GetBuilderModel<ChildBuilders[Key]> }

    Type parameters

    @@ -757,7 +757,7 @@

    $FieldSetValue

    $FieldSetValue<Children>: {[ Key in keyof Children]: Children[Key] extends IModel<infer V> ? V : never }

    Type parameters

    @@ -773,7 +773,7 @@

    AlertTypes

    AlertTypes: "info" | "success" | "warning" | "error" | "hint"
    @@ -783,7 +783,7 @@

    BannerCloseIconColor

    BannerCloseIconColor: "grey" | "white"
    @@ -793,7 +793,7 @@

    CascaderItemSelectionState

    CascaderItemSelectionState: "on" | "off" | "partial"
    @@ -803,7 +803,7 @@

    CascaderMenuClickHandler

    CascaderMenuClickHandler: (node: ICascaderItem, closePopup: () => void) => void
    @@ -849,7 +849,7 @@

    CascaderMenuHoverHandler

    CascaderMenuHoverHandler: (node: ICascaderItem) => void
    @@ -880,7 +880,7 @@

    CascaderSearchClickHandler

    CascaderSearchClickHandler: (path: ICascaderItem[], closePopup: () => void) => void
    @@ -926,7 +926,7 @@

    CascaderSimplifySelectionMode

    CascaderSimplifySelectionMode: "excludeDisabled" | "includeDisabled"
    @@ -936,7 +936,7 @@

    CascaderTabsClickHandler

    CascaderTabsClickHandler: (node: ICascaderItem, closePopup: () => void) => void
    @@ -982,7 +982,7 @@

    CascaderValue

    CascaderValue: string | number
    @@ -992,7 +992,7 @@

    ColorPickerType

    ColorPickerType: "default" | "simple"
    @@ -1002,7 +1002,7 @@

    DateRangeQuickPickerChangeCallback

    DateRangeQuickPickerChangeCallback: (value: RangeDate, choosePresetValue?: DateRangeQuickPickerPresetValue) => void
    @@ -1036,7 +1036,7 @@

    DateRangeQuickPickerPresetValue

    DateRangeQuickPickerPresetValue: number | RangeDate
    @@ -1046,7 +1046,7 @@

    DateRangeQuickPickerValueType

    DateRangeQuickPickerValueType: "string" | "number" | "date"
    @@ -1056,7 +1056,7 @@

    DrawerProps

    DrawerProps: IHorizontalDrawerProps | IVerticalDrawerProps
    @@ -1066,7 +1066,7 @@

    GridColumnContextType

    GridColumnContextType: Partial<IGridColumn>
    @@ -1076,7 +1076,7 @@

    GridFixedType

    GridFixedType: "left" | "right" | true
    @@ -1086,7 +1086,7 @@

    GridPaginationType

    GridPaginationType: "default" | "lite" | "mini"
    @@ -1096,7 +1096,7 @@

    GridRowClassNameType

    GridRowClassNameType<Data>: string | ((data: Data, rowIndex: number) => string)

    Type parameters

    @@ -1112,7 +1112,7 @@

    GridScrollPosition

    GridScrollPosition: "both" | "left" | "right" | "middle"
    @@ -1122,7 +1122,7 @@

    GridSortType

    GridSortType: "desc" | "asc" | ""
    @@ -1132,7 +1132,7 @@

    GridTextAlign

    GridTextAlign: "left" | "right" | "center"
    @@ -1142,7 +1142,7 @@

    I18nComponentName

    I18nComponentName: keyof Omit<ILocaleData, "mark">
    @@ -1152,7 +1152,7 @@

    I18nLocaleDataType

    I18nLocaleDataType<T>: ILocaleData[T] extends () => any ? ReturnType<ILocaleData[T]> : ILocaleData[T]

    Type parameters

    @@ -1168,7 +1168,7 @@

    I18nLocaleTimePicker

    I18nLocaleTimePicker: () => II18nLocaleTimePicker
    @@ -1193,7 +1193,7 @@

    IAutoCompleteMenuItem

    IAutoCompleteMenuItem: string | number | IAutoCompleteMenuObjectItem
    @@ -1203,7 +1203,7 @@

    IBannerProps

    IBannerProps: Omit<IAlertProps, "title"> & { backgroundImage: string }
    @@ -1213,7 +1213,7 @@

    IButtonGroupProps

    IButtonGroupProps: React.HTMLAttributes<HTMLDivElement>
    @@ -1223,7 +1223,7 @@

    IButtonHtmlType

    IButtonHtmlType: "button" | "submit" | "reset"
    @@ -1233,7 +1233,7 @@

    IButtonSize

    IButtonSize: "medium" | "large" | "small"
    @@ -1243,7 +1243,7 @@

    IButtonType

    IButtonType: "default" | "primary" | "secondary" | "danger" | "warning" | "error" | "success" | "text" | "icon"
    @@ -1253,7 +1253,7 @@

    ICollapseProps

    @@ -1263,7 +1263,7 @@

    ICombinedFormTimeRangePickerFieldProps

    ICombinedFormTimeRangePickerFieldProps: IFormComponentProps<RangeTime, Omit<ICombinedTimeRangePickerProps, "value">>
    @@ -1273,7 +1273,7 @@

    IDisabledTime

    IDisabledTime: (date?: Date | null, type?: RangeType) => IDisabledTimeOption
    @@ -1307,7 +1307,7 @@

    IDropdownButtonProps

    IDropdownButtonProps: IButtonProps
    @@ -1317,7 +1317,7 @@

    IDropdownProps

    IDropdownProps: IPopoverProps
    @@ -1327,7 +1327,7 @@

    IElevatorLinksProps

    IElevatorLinksProps: Omit<IAffixProps, "className" | "style"> & { className?: string; links: IElevatorLinkItem[]; style?: CSSProperties; onClick?: any }
    @@ -1337,7 +1337,7 @@

    IFormCheckboxFieldProps

    IFormCheckboxFieldProps<Value>: IFormComponentProps<boolean, Omit<ICheckboxProps<Value>, "checked">>

    Type parameters

    @@ -1353,7 +1353,7 @@

    IFormCheckboxGroupFieldProps

    IFormCheckboxGroupFieldProps<T>: IFormComponentProps<T[], Omit<ICheckboxGroupProps<T>, "value">> & { children?: React.ReactNode }

    Type parameters

    @@ -1369,7 +1369,7 @@

    IFormColorPickerFieldProps

    IFormColorPickerFieldProps: IFormComponentProps<string, Omit<IColorPickerProps, "color">>
    @@ -1379,7 +1379,7 @@

    IFormCombinedDateRangePickerFieldProps

    IFormCombinedDateRangePickerFieldProps<T>: IFormComponentProps<RangeDate, Omit<ICombinedDateRangePickerProps<T>, "value">>

    Type parameters

    @@ -1395,7 +1395,7 @@

    IFormComponentProps

    IFormComponentProps<Value, Props, OmitKeys>: Omit<IFormFieldPropsBase<Value>, "touchWhen" | OmitKeys> & { props?: Partial<Props> } & Optional<IFormFieldViewDrivenProps<Value>, "defaultValue"> | Optional<IFormFieldModelDrivenProps<Value>, "defaultValue">

    Type parameters

    @@ -1417,7 +1417,7 @@

    IFormDatePickerField

    IFormDatePickerField<T>: IFormComponentProps<SingleDate, Omit<IDatePickerProps<T>, "value">>

    Type parameters

    @@ -1433,7 +1433,7 @@

    IFormDateRangePickerFieldProps

    IFormDateRangePickerFieldProps<T>: IFormComponentProps<RangeDate, Omit<IDateRangePickerProps<T>, "value">>

    Type parameters

    @@ -1449,7 +1449,7 @@

    IFormDateRangeQuickPickerFieldProps

    IFormDateRangeQuickPickerFieldProps: IFormComponentProps<RangeDate, Omit<IDateRangeQuickPickerProps, "value">>
    @@ -1459,7 +1459,7 @@

    IFormFieldModelProps

    IFormFieldModelProps<T>: IFormFieldViewDrivenProps<T> | IFormFieldModelDrivenProps<T>

    Type parameters

    @@ -1475,7 +1475,7 @@

    IFormFieldProps

    IFormFieldProps<Value>: IFormFieldPropsBase<Value> & IFormFieldModelProps<Value> & { children: any }

    Type parameters

    @@ -1491,7 +1491,7 @@

    IFormImageUploadFieldProps

    IFormImageUploadFieldProps<T>: IFormComponentProps<T[], Omit<IImageUploadProps, "fileList" | "onChange" | "defaultFileList">>

    Type parameters

    @@ -1507,7 +1507,7 @@

    IFormInputFieldProps

    IFormInputFieldProps: IFormComponentProps<string, Omit<IInputCoreProps, "value" | "name" | "defaultValue"> | Omit<ITextAreaProps, "value" | "name" | "defaultValue">>
    @@ -1522,7 +1522,7 @@

    IFormMonthPickerFieldProps

    IFormMonthPickerFieldProps<T>: IFormComponentProps<SingleDate, Omit<IMonthPickerProps<T>, "value">>

    Type parameters

    @@ -1538,7 +1538,7 @@

    IFormNumberInputFieldProps

    IFormNumberInputFieldProps<T>: IFormComponentProps<T, Omit<INumberInputDecimalProps, "value"> | Omit<INumberInputIntegerProps, "value">>

    Type parameters

    @@ -1554,7 +1554,7 @@

    IFormQuarterPickerFieldProps

    IFormQuarterPickerFieldProps<T>: IFormComponentProps<RangeDate, Omit<IQuarterPickerProps<T>, "value">>

    Type parameters

    @@ -1570,7 +1570,7 @@

    IFormRadioGroupFieldProps

    IFormRadioGroupFieldProps<T>: IFormComponentProps<T | null, Omit<IRadioGroupProps<T>, "value">> & { children?: React.ReactNode }

    Type parameters

    @@ -1586,7 +1586,7 @@

    IFormSelectFieldProps

    IFormSelectFieldProps<Key, T>: IFormComponentProps<(T | null) | T[], Omit<ISelectProps<Key, T>, "value" | "onChange">>

    Type parameters

    @@ -1605,7 +1605,7 @@

    IFormSingleUploadFieldProps

    IFormSingleUploadFieldProps<T>: IFormComponentProps<T | null, Omit<ISingleUploadProps, "value" | "onChange">>

    Type parameters

    @@ -1621,7 +1621,7 @@

    IFormSwitchFieldProps

    IFormSwitchFieldProps: IFormComponentProps<boolean, Omit<ISwitchProps, "checked">>
    @@ -1631,7 +1631,7 @@

    IFormTimePickerField

    IFormTimePickerField: IFormComponentProps<SingleTime, Omit<ITimePickerProps, "value">>
    @@ -1641,7 +1641,7 @@

    IFormTimeRangePickerFieldProps

    IFormTimeRangePickerFieldProps: IFormComponentProps<RangeTime, Omit<ITimeRangePickerProps, "value">>
    @@ -1651,7 +1651,7 @@

    IFormUploadFieldProps

    IFormUploadFieldProps<T>: IFormComponentProps<T[], Omit<IUploadProps, "fileList" | "onChange" | "defaultFileList">>

    Type parameters

    @@ -1667,7 +1667,7 @@

    IFormWeekPickerFieldProps

    IFormWeekPickerFieldProps<T>: IFormComponentProps<RangeDate, Omit<IWeekPickerProps<T>, "value">>

    Type parameters

    @@ -1683,7 +1683,7 @@

    IFormYearPickerFieldProps

    IFormYearPickerFieldProps<T>: IFormComponentProps<SingleDate, Omit<IYearPickerProps<T>, "value">>

    Type parameters

    @@ -1699,7 +1699,7 @@

    IGridBatchRender

    IGridBatchRender: (data: any, position?: "header" | "foot") => React.ReactNode
    @@ -1733,7 +1733,7 @@

    IGridColumnBodyRenderFunc

    IGridColumnBodyRenderFunc<Data>: (data: Data, pos: IGridCellPos, name?: string) => React.ReactNode

    Type parameters

    @@ -1776,7 +1776,7 @@

    IGridInnerFixedType

    IGridInnerFixedType: Exclude<GridFixedType, true>
    @@ -1786,7 +1786,7 @@

    IGridOnExpandHandler

    IGridOnExpandHandler<Data>: (data: { data: Data; event: React.MouseEvent<HTMLSpanElement>; expanded: boolean; index: number }) => any

    Type parameters

    @@ -1837,7 +1837,7 @@

    IGridRowClickHandler

    IGridRowClickHandler<Data>: (data: Data, index: number, event: React.MouseEvent<HTMLTableRowElement>) => any

    Type parameters

    @@ -1880,7 +1880,7 @@

    II18nLocalePop

    II18nLocalePop: II18nLocaleCommon
    @@ -1890,7 +1890,7 @@

    IImageOnUploadSuccessReturn

    IImageOnUploadSuccessReturn: undefined | null | string | { src: string; thumbSrc: string }
    @@ -1900,7 +1900,7 @@

    IImageUploadItemProps

    IImageUploadItemProps: IUploadItemProps<IImageUploadFileItem> & { onPreview: any }
    @@ -1910,7 +1910,7 @@

    IImageUploadPreviewHandler

    IImageUploadPreviewHandler: (file: IImageUploadFileItem, fileList: IImageUploadFileItem[]) => void
    @@ -1944,7 +1944,7 @@

    IIndicator

    IIndicator: FC<IIndicatorProps> & { Step: typeof Step }
    @@ -1954,7 +1954,7 @@

    IIndicatorProps

    IIndicatorProps: Omit<IStepsProps, "type">
    @@ -1964,7 +1964,7 @@

    IInputChangeEvent

    IInputChangeEvent: IInputClearEvent | React.ChangeEvent<HTMLInputElement>
    @@ -1974,7 +1974,7 @@

    IInputProps

    @@ -1984,7 +1984,7 @@

    IMaybeError

    IMaybeError<T>: IValidateResult<T> | null | undefined

    Type parameters

    @@ -2000,7 +2000,7 @@

    IMenuCascaderProps

    @@ -2010,7 +2010,7 @@

    IMenuProps

    @@ -2020,7 +2020,7 @@

    INormalUploadItemProps

    INormalUploadItemProps: IUploadItemProps<IUploadFileItem>
    @@ -2030,7 +2030,7 @@

    INumberInputProps

    @@ -2040,7 +2040,7 @@

    INumberInputState

    @@ -2050,7 +2050,7 @@

    IPopProps

    @@ -2060,7 +2060,7 @@

    IPopoverHoverTriggerContext

    IPopoverHoverTriggerContext: Required<IHoverTriggerCompatibleProps>
    @@ -2070,7 +2070,7 @@

    IProgressFormatFn

    IProgressFormatFn: (precent: number) => React.ReactNode
    @@ -2101,7 +2101,7 @@

    IProgressStatus

    IProgressStatus: "normal" | "success" | "exception"
    @@ -2111,7 +2111,7 @@

    IProgressType

    IProgressType: "line" | "circle"
    @@ -2121,7 +2121,7 @@

    IPromptProps

    IPromptProps: IAlertProps & { type: PromptType }
    @@ -2131,7 +2131,7 @@

    ISelectProps

    ISelectProps<Key, Item>: ISelectMultiProps<Key, Item> | ISelectSingleProps<Key, Item>

    Type parameters

    @@ -2150,7 +2150,7 @@

    ISelectSize

    ISelectSize: "xs" | "s" | "m" | "l" | "xl"
    @@ -2160,7 +2160,7 @@

    ISingleUploadItemProps

    ISingleUploadItemProps: IUploadItemProps<IUploadFileItem>
    @@ -2170,7 +2170,7 @@

    ISliderProps

    @@ -2180,7 +2180,7 @@

    ITabOverflowMode

    ITabOverflowMode: "slide" | "anchor"
    @@ -2190,7 +2190,7 @@

    ITabPanelElement

    ITabPanelElement<TabPanelProps>: React.ReactElement<PropsWithChildren<TabPanelProps>>

    Type parameters

    @@ -2206,7 +2206,7 @@

    ITimePickerProps

    ITimePickerProps: ISingleTimePickerProps
    @@ -2216,7 +2216,7 @@

    ITreeSize

    ITreeSize: "medium" | "small" | "large"
    @@ -2226,7 +2226,7 @@

    IUploadFileItemInner

    IUploadFileItemInner<UPLOAD_ITEM>: UPLOAD_ITEM & {}
    @@ -2248,7 +2248,7 @@

    IUploadOnChangeHandler

    IUploadOnChangeHandler<Value, UPLOAD_ITEM>: (value: Value, detail?: IUploadChangeDetail<UPLOAD_ITEM>) => void

    Type parameters

    @@ -2291,7 +2291,7 @@

    IUploadOnErrorHandler

    IUploadOnErrorHandler: <Type>(type: Type, data: IUploadErrorMessageConfigMap[Type]) => void
    @@ -2331,7 +2331,7 @@

    IUploadOnUploadHandler

    IUploadOnUploadHandler<ON_UPLOAD_SUCCESS_RETURN>: (file: File, report: (percent: number) => void) => Promise<ON_UPLOAD_SUCCESS_RETURN>

    Type parameters

    @@ -2389,7 +2389,7 @@

    IUploadTipConfig

    IUploadTipConfig<P>: P & { formattedMaxSize: string | null }

    Type parameters

    @@ -2405,7 +2405,7 @@

    IUploadTipsFunc

    IUploadTipsFunc<PROPS>: (config: IUploadTipConfig<PROPS>) => React.ReactNode

    Type parameters

    @@ -2442,7 +2442,7 @@

    IValidator

    IValidator<T>: IAsyncValidator<T> | ISyncValidator<T>

    Type parameters

    @@ -2458,7 +2458,7 @@

    IValidators

    IValidators<T>: readonly IValidator<T>[]

    Type parameters

    @@ -2474,7 +2474,7 @@

    IValueType

    IValueType: "date" | "number" | "string"
    @@ -2484,7 +2484,7 @@

    IVerticalInnerTab

    IVerticalInnerTab<Id>: IInnerTab<Id> | IVerticalDivide

    Type parameters

    @@ -2500,7 +2500,7 @@

    IVerticalTab

    IVerticalTab<Id>: ITab<Id> | IVerticalDivide

    Type parameters

    @@ -2516,7 +2516,7 @@

    IVerticalTabPanelProps

    IVerticalTabPanelProps<Id>: ITabPanelProps<Id> | IVerticalDivide

    Type parameters

    @@ -2532,7 +2532,7 @@

    IconType

    IconType: "add-page" | "admissions" | "admissions-o" | "approval" | "approval-o" | "arrow-down" | "arrow-up" | "assess" | "assess-o" | "back" | "bell" | "bell-o" | "bookmark" | "bookmark-o" | "brush" | "brush-o" | "business" | "business-manage" | "business-manage-o" | "business-o" | "calendar" | "calendar-o" | "canvas" | "canvas-o" | "capital" | "capital-o" | "care" | "care-o" | "caret-down" | "caret-up" | "casher" | "cashier" | "cashier-desk-o" | "cashier-o" | "channel-o" | "chart" | "chart-o" | "check" | "check-circle" | "check-circle-o" | "checkin" | "checkin-o" | "clock" | "clock-o" | "close" | "close-circle" | "close-circle-o" | "closed-eye" | "contract-o" | "countdown" | "coupon" | "coupon-o" | "course" | "course-o" | "customer" | "customer-manage" | "customer-manage-o" | "customer-o" | "customer-service" | "customer-service-o" | "development-doc" | "development-doc-o" | "distribution-o" | "doc" | "double-last" | "double-next" | "down" | "down-circle" | "down-circle-o" | "download" | "drag" | "edit" | "edit-o" | "educational" | "educational-o" | "error-circle" | "error-circle-o" | "expand-customer" | "expand-customer-o" | "export" | "eye" | "eye-o" | "feedback" | "filter-o" | "finance" | "finance-o" | "flow-o" | "folder-o" | "forbidden-circle" | "fullscreen-exit" | "gift" | "goods" | "goods-o" | "hc-manage" | "hc-manage-o" | "help-circle" | "help-circle-o" | "hotel" | "hotel-o" | "hotline-o" | "hr" | "hr-o" | "im-o" | "info-circle" | "info-circle-o" | "inventory" | "inventory-o" | "jump-out" | "knowledge-o" | "left" | "left-circle" | "left-circle-o" | "link" | "loading" | "lock" | "locked" | "locked-o" | "marketing" | "marketing-o" | "member-o" | "message" | "message-o" | "mini-apps" | "mini-apps-o" | "more" | "nameplate" | "nameplate-o" | "nav-grid" | "nav-line" | "open-folder-o" | "order" | "order-o" | "pending-circle" | "pending-payment-o" | "photo" | "pin" | "pin-o" | "plus" | "plus-circle" | "plus-circle-o" | "present" | "present-o" | "procurement" | "procurement-o" | "purchase" | "purchase-o" | "qa-o" | "qrcode" | "refresh" | "remove" | "remove-o" | "report" | "report-forms" | "report-forms-o" | "report-o" | "reset" | "right" | "right-circle" | "right-circle-o" | "rights-list-o" | "salesman-o" | "save" | "save-o" | "scan-code-o" | "scrm-smile" | "scrm-smile-o" | "search" | "settings" | "settings-o" | "share" | "shop" | "shop-analyze-o" | "shop-decorate" | "shop-o" | "shop-template" | "sign-out" | "smile" | "star" | "star-o" | "strategy-o" | "subtract-circle" | "subtract-circle-o" | "suggestions" | "summary" | "summary-o" | "table-compact" | "table-loose" | "target" | "target-o" | "tendency-o" | "text-guide-o" | "thumbnail" | "ticket" | "ticket-o" | "tools-o" | "unlock" | "unlocked" | "unlocked-o" | "up" | "up-circle" | "up-circle-o" | "upload" | "video" | "video-guide-o" | "video-o" | "visit-o" | "voice" | "wait" | "warning" | "warning-o" | "wechat" | "wechat-o" | "withdraw-cash-o" | "youzan" | "youzan-o"
    @@ -2542,7 +2542,7 @@

    InputType

    InputType: "text" | "number" | "password" | "textarea"
    @@ -2552,7 +2552,7 @@

    InputWidthSizeType

    InputWidthSizeType: "xs" | "s" | "m" | "l" | "xl"
    @@ -2562,7 +2562,7 @@

    LayoutBreakPointName

    LayoutBreakPointName: keyof typeof LayoutBreakPoint
    @@ -2572,7 +2572,7 @@

    LocaleMark

    LocaleMark: "zh-CN" | "en-US" | "ja-JP"
    @@ -2582,7 +2582,7 @@

    PaginationChangeHandler

    PaginationChangeHandler: (detail: { current: number; pageSize: number }) => any
    @@ -2621,7 +2621,7 @@

    PaginationLayoutFunction

    PaginationLayoutFunction: (options: IPaginationLayoutOptions) => PaginationLayout[]
    @@ -2652,7 +2652,7 @@

    PopPositions

    PopPositions: "left-top" | "left-center" | "left-bottom" | "right-top" | "right-center" | "right-bottom" | "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | "auto-bottom-center" | "auto-bottom-left" | "auto-bottom-right" | "auto-top-center" | "auto-top-left" | "auto-top-right"
    @@ -2662,7 +2662,7 @@

    PopoverAnchorGetElementFn

    PopoverAnchorGetElementFn: (node: Element | Text | null) => Element | Text | null
    @@ -2693,7 +2693,7 @@

    PresetColors

    PresetColors: string[]
    @@ -2703,7 +2703,7 @@

    PromptType

    PromptType: "warning" | "strongHint" | "weakHint"
    @@ -2713,7 +2713,7 @@

    RangeDate

    RangeDate: [SingleDate | null, SingleDate | null]
    @@ -2723,7 +2723,7 @@

    RangeTime

    RangeTime: [string, string]
    @@ -2733,7 +2733,7 @@

    SingleDate

    SingleDate: string | number | Date
    @@ -2743,7 +2743,7 @@

    SingleTime

    SingleTime: string
    @@ -2753,7 +2753,7 @@

    StatusBarType

    StatusBarType: "info" | "waiting" | "success" | "error"
    @@ -2763,7 +2763,7 @@

    TabType

    TabType: "normal" | "card" | "button"
    @@ -2773,7 +2773,7 @@

    TextMarkFindChunksFunction

    TextMarkFindChunksFunction: (options: Omit<ITextMarkFindAllParameters, "findChunks">) => ITextMarkChunk[]
    @@ -2804,7 +2804,7 @@

    TextMarkSanitizeFunction

    TextMarkSanitizeFunction: (str: string) => string
    @@ -2835,7 +2835,7 @@

    TextMarkSearchWords

    TextMarkSearchWords: string | RegExp
    @@ -2867,7 +2867,7 @@

    TransferColumnType

    TransferColumnType: ({ name: string; title?: React.ReactNode } & Omit<IGridColumn<ITransferData>, "title" | "name">)[]
    @@ -2877,7 +2877,7 @@

    TransferDirection

    TransferDirection: "left" | "right"
    @@ -2887,7 +2887,7 @@

    TransferType

    TransferType: OneRequired & ITransfer
    @@ -2897,7 +2897,7 @@

    TreeRootIdArray

    TreeRootIdArray: TArray<string | number>
    @@ -2923,7 +2923,7 @@

    Const Affix

    Affix: ForwardRefExoticComponent<IAffixProps & RefAttributes<IAffixImperativeHandlers>> = ...
    @@ -2933,7 +2933,7 @@

    Const Banner

    Banner: FC<IBannerProps> = ...
    @@ -2943,7 +2943,7 @@

    Const ButtonGroup

    ButtonGroup: FC<IButtonGroupProps> = ...
    @@ -2953,7 +2953,7 @@

    Const Carousel

    Carousel: typeof Swiper = ...
    @@ -2963,7 +2963,7 @@

    Const CombinedPanelRang
    CombinedPanelRangePicker: FC<IProps> = ...
    @@ -2973,7 +2973,7 @@

    Const CombinedTimeRange
    CombinedTimeRangePicker: React.FC<ICombinedTimeRangePickerProps> = ...
    @@ -2983,7 +2983,7 @@

    Const DEFAULT_RENDER_KE
    DEFAULT_RENDER_KEY: ITreeRenderKey = ...
    @@ -2993,7 +2993,7 @@

    Const Disabled

    Disabled: React.FC<IDisabledProps> = ...
    @@ -3003,7 +3003,7 @@

    Const DisabledContext

    DisabledContext: Context<IDisabledContext> = ...
    @@ -3013,7 +3013,7 @@

    Const Drawer

    Drawer: React.FC<DrawerProps> = ...
    @@ -3023,7 +3023,7 @@

    Const Dropdown

    Dropdown: React.FC<IDropdownProps> = ...
    @@ -3033,7 +3033,7 @@

    Const DropdownButton

    DropdownButton: React.FC<IDropdownButtonProps> = ...
    @@ -3043,7 +3043,7 @@

    Const DropdownNav

    DropdownNav: React.FC<IDropdownNavProps> = ...
    @@ -3053,7 +3053,7 @@

    Const DropdownPosition

    DropdownPosition: __module = ...
    @@ -3063,7 +3063,7 @@

    Const Elevator

    Elevator: IElevator = ...
    @@ -3073,7 +3073,7 @@

    Const ElevatorAnchor

    ElevatorAnchor: FC<IElevatorAnchorProps> = ...
    @@ -3083,7 +3083,7 @@

    Const ElevatorLinks

    ElevatorLinks: VFC<IElevatorLinksProps> = ...
    @@ -3093,7 +3093,7 @@

    Const FormColorPickerFormColorPickerField: React.FunctionComponent<IFormColorPickerFieldProps> = ...

    @@ -3103,7 +3103,7 @@

    Const FormCombinedTime<
    FormCombinedTimeRangePickerField: React.FC<ICombinedFormTimeRangePickerFieldProps> = ...
    @@ -3113,7 +3113,7 @@

    Const FormContext

    FormContext: Context<IZentFormContext> = ...
    @@ -3123,7 +3123,7 @@

    Const FormControl

    FormControl: ForwardRefExoticComponent<IFormControlProps & RefAttributes<HTMLDivElement>> = ...
    @@ -3133,7 +3133,7 @@

    Const FormDateRangeFormDateRangeQuickPickerField: React.FC<IFormDateRangeQuickPickerFieldProps> = ...

    @@ -3143,7 +3143,7 @@

    Const FormDescription

    FormDescription: React.FunctionComponent<IFormDescriptionProps> = ...
    @@ -3153,7 +3153,7 @@

    Const FormError

    FormError: ForwardRefExoticComponent<IFormErrorProps & RefAttributes<HTMLDivElement>> = ...
    @@ -3163,7 +3163,7 @@

    Const FormInputFieldFormInputField: React.FunctionComponent<IFormInputFieldProps> = ...

    @@ -3173,7 +3173,7 @@

    Const FormNotice

    FormNotice: React.FC<IFormNoticeProps> = ...
    @@ -3183,7 +3183,7 @@

    Const FormSwitchFieldFormSwitchField: React.FunctionComponent<IFormSwitchFieldProps> = ...

    @@ -3193,7 +3193,7 @@

    Const FormTimePickerFormTimePickerField: React.FunctionComponent<IFormTimePickerField> = ...

    @@ -3203,7 +3203,7 @@

    Const FormTimeRangeFormTimeRangePickerField: React.FunctionComponent<IFormTimeRangePickerFieldProps> = ...

    @@ -3213,7 +3213,7 @@

    Const GridColumnProvide
    GridColumnProvider: Provider<Partial<IGridColumn<any>>> = ...
    @@ -3223,7 +3223,7 @@

    Const IMEComposition

    IMEComposition: React.FC<IIMECompositionProps> = ...
    @@ -3233,7 +3233,7 @@

    Const Icon

    Icon: ForwardRefExoticComponent<IIconProps & RefAttributes<HTMLElement>> = ...
    @@ -3243,7 +3243,7 @@

    Const Indicator

    Indicator: IIndicator = ...
    @@ -3253,7 +3253,7 @@

    Const InfiniteScroller

    InfiniteScroller: ForwardRefExoticComponent<IInfiniteScrollerProps & RefAttributes<HTMLDivElement>> = ...
    @@ -3263,7 +3263,7 @@

    Const Label

    Label: React.FunctionComponent<ILabelProps> = ...
    @@ -3273,7 +3273,7 @@

    Const LayoutConfigProvi
    LayoutConfigProvider: Provider<ILayoutConfig> = ...
    @@ -3283,7 +3283,7 @@

    Const Link

    Link: ForwardRefExoticComponent<ILinkProps & RefAttributes<HTMLAnchorElement>> = ...
    @@ -3293,7 +3293,7 @@

    Const LinkTag

    LinkTag: ForwardRefExoticComponent<ILinkTagProps & RefAttributes<HTMLDivElement>> = ...
    @@ -3303,7 +3303,7 @@

    Const Notify

    Notify: { clear: (containerId: any) => void; config: (options: any) => void; error: (text: ReactNode, duration?: number, callback?: () => void, containerSelector?: string, className?: string) => number; info: (text: ReactNode, duration?: number, callback?: () => void, containerSelector?: string, className?: string) => number; success: (text: ReactNode, duration?: number, callback?: () => void, containerSelector?: string, className?: string) => number; warn: (text: ReactNode, duration?: number, callback?: () => void, containerSelector?: string, className?: string) => number } = ...
    @@ -3540,7 +3540,7 @@

    Const Password

    Password: { displayName: string } = ...
    @@ -3574,7 +3574,7 @@

    Const Placeholder

    Placeholder: { Circle: typeof default; Rectangle: typeof default; RichTextBlock: typeof default; TextBlock: typeof default; TextRow: typeof default; TextRowDashed: typeof default } = ...
    @@ -3607,7 +3607,7 @@

    Const PopoverHoverTrigg
    PopoverHoverTriggerContext: Context<Required<IHoverTriggerCompatibleProps>> = ...
    @@ -3617,7 +3617,7 @@

    Const Portal

    Portal: ForwardRefExoticComponent<IPortalProps & RefAttributes<IPortalImperativeHandlers>> = ...
    @@ -3627,7 +3627,7 @@

    Const Progress

    Progress: React.FC<IProgressProps> = ...
    @@ -3637,7 +3637,7 @@

    Const Prompt

    Prompt: FC<IPromptProps> = ...
    @@ -3647,7 +3647,7 @@

    Const SelectTag

    SelectTag: ForwardRefExoticComponent<ISelectTagProps & RefAttributes<HTMLDivElement>> = ...
    @@ -3657,7 +3657,7 @@

    Const SingleCalendarDat
    SingleCalendarDatePanelPicker: React.FC<IDatePickerPanelProps> = ...
    @@ -3667,7 +3667,7 @@

    Const StatusBar

    StatusBar: FC<IStatusBarProps> = ...
    @@ -3677,7 +3677,7 @@

    Sweetalert

    Sweetalert: { alert: (config?: IAlertOption) => any; confirm: (config?: IConfirmOption) => any; info: (config?: IAlertOption) => any }
    @@ -3755,7 +3755,7 @@

    Const Tag

    Tag: ForwardRefExoticComponent<ITagProps & RefAttributes<HTMLDivElement>> = ...
    @@ -3765,7 +3765,7 @@

    Const TimePicker

    TimePicker: React.FC<ITimePickerProps> = ...
    @@ -3775,7 +3775,7 @@

    Const TimeRangePickerTimeRangePicker: React.FC<ITimeRangePickerProps> = ...

    @@ -3785,7 +3785,7 @@

    Const Transfer

    Transfer: React.FC<TransferType> = ...
    @@ -3795,7 +3795,7 @@

    Const WindowResizeHandl
    WindowResizeHandler: React.FC<IWindowResizeHandlerProps> = ...
    @@ -3812,7 +3812,7 @@

    Const WindowScrollHandl
    WindowScrollHandler: React.FC<IWindowScrollHandler> = ...
    @@ -3831,7 +3831,7 @@

    Const targetMap

    targetMap: WeakMap<EventTarget, TargetEventHandlers<string>> = ...
    @@ -3848,7 +3848,7 @@

    BlockLoading

  • Parameters

    @@ -3871,7 +3871,7 @@

    ButtonDirective

  • Type parameters

    @@ -3900,7 +3900,7 @@

    Checkbox

  • Type parameters

    @@ -3929,7 +3929,7 @@

    Const CombinedDateRange
  • Type parameters

    @@ -3958,7 +3958,7 @@

    Const DatePicker

  • Type parameters

    @@ -3987,7 +3987,7 @@

    Const DateRangePicker

    Type parameters

    @@ -4016,7 +4016,7 @@

    Const DropdownClickTrig
  • Type parameters

    @@ -4045,7 +4045,7 @@

    Const DropdownContent

  • Parameters

    @@ -4068,7 +4068,7 @@

    Const DropdownHoverTrig
  • Type parameters

    @@ -4097,7 +4097,7 @@

    Const EventHandler

  • Type parameters

    @@ -4132,7 +4132,7 @@

    FieldSet

  • Type parameters

    @@ -4161,7 +4161,7 @@

    FormCheckboxField

  • Type parameters

    @@ -4190,7 +4190,7 @@

    FormCheckboxGroupField

  • Type parameters

    @@ -4219,7 +4219,7 @@

    Const FormCombinedDate<
  • Type parameters

    @@ -4248,7 +4248,7 @@

    Const FormDatePicker

    Type parameters

    @@ -4277,7 +4277,7 @@

    Const FormDateRange

    Type parameters

    @@ -4306,7 +4306,7 @@

    FormField

  • Type parameters

    @@ -4335,7 +4335,7 @@

    FormImageUploadField

  • Type parameters

    @@ -4364,7 +4364,7 @@

    Const FormMonthPicker

    Type parameters

    @@ -4393,7 +4393,7 @@

    FormNumberInputField

  • Type parameters

    @@ -4422,7 +4422,7 @@

    Const FormQuarterPicker
  • Type parameters

    @@ -4451,7 +4451,7 @@

    FormRadioGroupField

  • Type parameters

    @@ -4480,7 +4480,7 @@

    FormSelectField

  • Type parameters

    @@ -4512,7 +4512,7 @@

    FormSingleUploadField

  • Type parameters

    @@ -4541,7 +4541,7 @@

    FormUploadField

  • Type parameters

    @@ -4570,7 +4570,7 @@

    Const FormWeekPicker

    Type parameters

    @@ -4599,7 +4599,7 @@

    Const FormYearPicker

    Type parameters

    @@ -4628,7 +4628,7 @@

    FullScreenLoading

  • Parameters

    @@ -4651,7 +4651,7 @@

    InlineLoading

  • Parameters

    @@ -4674,7 +4674,7 @@

    Const MonthPicker

  • Type parameters

    @@ -4703,7 +4703,7 @@

    Notice

  • Parameters

    @@ -4726,7 +4726,7 @@

    PopoverClickTrigger

  • Type parameters

    @@ -4755,7 +4755,7 @@

    PopoverFocusTrigger

  • Type parameters

    @@ -4784,7 +4784,7 @@

    PopoverHoverTrigger

  • @@ -4820,7 +4820,7 @@

    Const QuarterPicker

  • Type parameters

    @@ -4849,7 +4849,7 @@

    Radio

  • Type parameters

    @@ -4878,7 +4878,7 @@

    RadioButton

  • Type parameters

    @@ -4907,7 +4907,7 @@

    RadioGroup

  • Type parameters

    @@ -4936,7 +4936,7 @@

    TextMark

  • @@ -4965,7 +4965,7 @@

    Const WeekPicker

  • Type parameters

    @@ -4994,7 +4994,7 @@

    WindowEventHandler

  • Type parameters

    @@ -5023,7 +5023,7 @@

    Const YearPicker

  • Type parameters

    @@ -5052,7 +5052,7 @@

    addEventListener

  • Type parameters

    @@ -5102,7 +5102,7 @@

    alert

  • Parameters

    @@ -5125,7 +5125,7 @@

    caselessMatchFilterOption

  • Parameters

    @@ -5151,7 +5151,7 @@

    closeDialog

  • Parameters

    @@ -5177,7 +5177,7 @@

    confirm

  • Parameters

    @@ -5200,7 +5200,7 @@

    createUseIMEComposition

  • Parameters

    @@ -5256,7 +5256,7 @@

    defaultGetValidateOption

  • Returns ValidateOption

    @@ -5273,7 +5273,7 @@

    Const getDecimal

  • Parameters

    @@ -5296,7 +5296,7 @@

    getRadioState

  • Type parameters

    @@ -5342,7 +5342,7 @@

    Const info

  • Parameters

    @@ -5365,7 +5365,7 @@

    isViewDrivenProps

  • Type parameters

    @@ -5394,7 +5394,7 @@

    openDialog

  • Parameters

    @@ -5435,7 +5435,7 @@

    previewImage

  • Parameters

    @@ -5458,7 +5458,7 @@

    smoothScroll

  • @@ -5512,7 +5512,7 @@

    useEventHandler

  • Type parameters

    @@ -5574,7 +5574,7 @@

    useFormChild

  • @@ -5617,7 +5617,7 @@

    useInitialValue

  • @@ -5656,7 +5656,7 @@

    useObservableBatchedEagerState

  • @@ -5698,7 +5698,7 @@

    usePopoverContext

  • Returns IPopoverContext

    @@ -5715,7 +5715,7 @@

    useRadioHandler

  • Type parameters

    @@ -5765,7 +5765,7 @@

    useTransfer

  • Parameters

    @@ -5788,7 +5788,7 @@

    useWindowEventHandler

  • Type parameters

    @@ -5841,7 +5841,7 @@

    withErrorBoundary

  • Type parameters

    diff --git a/apidoc/modules/FieldUtils.html b/apidoc/modules/FieldUtils.html index ce102f1e4..f6bd110bd 100644 --- a/apidoc/modules/FieldUtils.html +++ b/apidoc/modules/FieldUtils.html @@ -106,7 +106,7 @@

    Func

    Func<Args, R>: (...args: Args) => R

    Type parameters

    @@ -146,7 +146,7 @@

    Middleware

    Middleware<F>: (next: F) => F

    Type parameters

    @@ -190,7 +190,7 @@

    compose

  • @@ -263,7 +263,7 @@

    Const makeChangeHandler
  • @@ -341,7 +341,7 @@

    multi

  • Type parameters

    @@ -391,7 +391,7 @@

    useChangeHandler

  • @@ -486,7 +486,7 @@

    useCompositionHandler

  • @@ -533,7 +533,7 @@

    useMAppend

  • @@ -601,7 +601,7 @@

    useMulti

  • Type parameters

    @@ -684,7 +684,7 @@

    Returns void

    Type parameters

    @@ -788,7 +788,7 @@

    Returns void

    Type parameters

    @@ -913,7 +913,7 @@

    Returns void

    Type parameters

    @@ -1059,7 +1059,7 @@

    Returns void

    Type parameters

    @@ -1226,7 +1226,7 @@

    Returns void

    Type parameters

    @@ -1414,7 +1414,7 @@

    Returns void

    Type parameters

    @@ -1638,7 +1638,7 @@

    usePipe

  • @@ -1744,7 +1744,7 @@

    Returns T2
  • Type parameters

    @@ -1854,7 +1854,7 @@

    Returns T3
  • Type parameters

    @@ -1988,7 +1988,7 @@

    Returns T4
  • Type parameters

    @@ -2146,7 +2146,7 @@

    Returns T5
  • Type parameters

    @@ -2328,7 +2328,7 @@

    Returns T6
  • Type parameters

    @@ -2534,7 +2534,7 @@

    Returns T7
  • Type parameters

    diff --git a/apidoc/modules/Notice.html b/apidoc/modules/Notice.html index 6f49d4536..e956e4591 100644 --- a/apidoc/modules/Notice.html +++ b/apidoc/modules/Notice.html @@ -127,7 +127,7 @@

    push

  • Parameters

    diff --git a/apidoc/modules/ValidatorMiddlewares.html b/apidoc/modules/ValidatorMiddlewares.html index 8014f588d..9a934b7b9 100644 --- a/apidoc/modules/ValidatorMiddlewares.html +++ b/apidoc/modules/ValidatorMiddlewares.html @@ -92,7 +92,7 @@

    message

  • @@ -164,7 +164,7 @@

    when

  • @@ -236,7 +236,7 @@

    whenAsync

  • diff --git a/apidoc/modules/Validators.html b/apidoc/modules/Validators.html index 23416d7e1..5d6e508f4 100644 --- a/apidoc/modules/Validators.html +++ b/apidoc/modules/Validators.html @@ -107,7 +107,7 @@

    Const SYMBOL_REQUIRED

    SYMBOL_REQUIRED: typeof SYMBOL_REQUIRED = ...
    @@ -124,7 +124,7 @@

    email

  • @@ -155,7 +155,7 @@

    isRequiredValidator

  • Type parameters

    @@ -184,7 +184,7 @@

    markForRequired

  • Type parameters

    @@ -213,7 +213,7 @@

    max

  • @@ -268,7 +268,7 @@

    maxLength

  • @@ -311,7 +311,7 @@

    min

  • @@ -366,7 +366,7 @@

    minLength

  • @@ -409,7 +409,7 @@

    pattern

  • @@ -446,7 +446,7 @@

    required

  • @@ -477,7 +477,7 @@

    requiredTrue

  • diff --git a/apidoc/modules/enUSLocale.html b/apidoc/modules/enUSLocale.html index 1c98698e6..87b26fd0d 100644 --- a/apidoc/modules/enUSLocale.html +++ b/apidoc/modules/enUSLocale.html @@ -107,7 +107,7 @@

    Const Cascader

    Cascader: II18nLocaleCascader = ...
    @@ -117,7 +117,7 @@

    Const CopyButton

    CopyButton: II18nLocaleCopyButton = ...
    @@ -127,7 +127,7 @@

    Const Form

    Form: II18nLocaleForm = ...
    @@ -137,7 +137,7 @@

    Const Grid

    Grid: II18nLocaleGrid = ...
    @@ -147,7 +147,7 @@

    Const Mention

    Mention: II18nLocaleMention = ...
    @@ -157,7 +157,7 @@

    Const NumberInput

    NumberInput: II18nLocaleNumberInput = ...
    @@ -167,7 +167,7 @@

    Const Pagination

    Pagination: II18nLocalePagination = ...
    @@ -177,7 +177,7 @@

    Const Pop

    Pop: II18nLocalePop = ...
    @@ -187,7 +187,7 @@

    Const PreviewImage

    PreviewImage: II18nLocalePreviewImage = ...
    @@ -197,7 +197,7 @@

    Const RangePicker

    RangePicker: II18nLocaleRangePicker = ...
    @@ -207,7 +207,7 @@

    Const Select

    Select: II18nLocaleSelect = ...
    @@ -217,7 +217,7 @@

    Const Sweetalert

    Sweetalert: II18nLocaleSweetalert = ...
    @@ -227,7 +227,7 @@

    Const Switch

    Switch: II18nLocaleSwitch = ...
    @@ -237,7 +237,7 @@

    Const Transfer

    Transfer: II18nLocaleTransfer = ...
    @@ -247,7 +247,7 @@

    Const Upload

    Upload: II18nLocaleUpload = ...
    @@ -257,7 +257,7 @@

    Const mark

    mark: LocaleMark = 'en-US'
    @@ -274,7 +274,7 @@

    Const TimePicker

  • Returns II18nLocaleTimePicker

    diff --git a/apidoc/modules/jaJPLocale.html b/apidoc/modules/jaJPLocale.html index 455e0a104..1b8ee2ddf 100644 --- a/apidoc/modules/jaJPLocale.html +++ b/apidoc/modules/jaJPLocale.html @@ -107,7 +107,7 @@

    Const Cascader

    Cascader: II18nLocaleCascader = ...
    @@ -117,7 +117,7 @@

    Const CopyButton

    CopyButton: II18nLocaleCopyButton = ...
    @@ -127,7 +127,7 @@

    Const Form

    Form: II18nLocaleForm = ...
    @@ -137,7 +137,7 @@

    Const Grid

    Grid: II18nLocaleGrid = ...
    @@ -147,7 +147,7 @@

    Const Mention

    Mention: II18nLocaleMention = ...
    @@ -157,7 +157,7 @@

    Const NumberInput

    NumberInput: II18nLocaleNumberInput = ...
    @@ -167,7 +167,7 @@

    Const Pagination

    Pagination: II18nLocalePagination = ...
    @@ -177,7 +177,7 @@

    Const Pop

    Pop: II18nLocalePop = ...
    @@ -187,7 +187,7 @@

    Const PreviewImage

    PreviewImage: II18nLocalePreviewImage = ...
    @@ -197,7 +197,7 @@

    Const RangePicker

    RangePicker: II18nLocaleRangePicker = ...
    @@ -207,7 +207,7 @@

    Const Select

    Select: II18nLocaleSelect = ...
    @@ -217,7 +217,7 @@

    Const Sweetalert

    Sweetalert: II18nLocaleSweetalert = ...
    @@ -227,7 +227,7 @@

    Const Switch

    Switch: II18nLocaleSwitch = ...
    @@ -237,7 +237,7 @@

    Const Transfer

    Transfer: II18nLocaleTransfer = ...
    @@ -247,7 +247,7 @@

    Const Upload

    Upload: II18nLocaleUpload = ...
    @@ -257,7 +257,7 @@

    Const mark

    mark: LocaleMark = 'ja-JP'
    @@ -274,7 +274,7 @@

    Const TimePicker

  • Returns II18nLocaleTimePicker

    diff --git a/apidoc/modules/zhCNLocale.html b/apidoc/modules/zhCNLocale.html index 3a4083fac..d89f3a957 100644 --- a/apidoc/modules/zhCNLocale.html +++ b/apidoc/modules/zhCNLocale.html @@ -107,7 +107,7 @@

    Const Cascader

    Cascader: II18nLocaleCascader = ...
    @@ -117,7 +117,7 @@

    Const CopyButton

    CopyButton: II18nLocaleCopyButton = ...
    @@ -127,7 +127,7 @@

    Const Form

    Form: II18nLocaleForm = ...
    @@ -137,7 +137,7 @@

    Const Grid

    Grid: II18nLocaleGrid = ...
    @@ -147,7 +147,7 @@

    Const Mention

    Mention: II18nLocaleMention = ...
    @@ -157,7 +157,7 @@

    Const NumberInput

    NumberInput: II18nLocaleNumberInput = ...
    @@ -167,7 +167,7 @@

    Const Pagination

    Pagination: II18nLocalePagination = ...
    @@ -177,7 +177,7 @@

    Const Pop

    Pop: II18nLocalePop = ...
    @@ -187,7 +187,7 @@

    Const PreviewImage

    PreviewImage: II18nLocalePreviewImage = ...
    @@ -197,7 +197,7 @@

    Const RangePicker

    RangePicker: II18nLocaleRangePicker = ...
    @@ -207,7 +207,7 @@

    Const Select

    Select: II18nLocaleSelect = ...
    @@ -217,7 +217,7 @@

    Const Sweetalert

    Sweetalert: II18nLocaleSweetalert = ...
    @@ -227,7 +227,7 @@

    Const Switch

    Switch: II18nLocaleSwitch = ...
    @@ -237,7 +237,7 @@

    Const Transfer

    Transfer: II18nLocaleTransfer = ...
    @@ -247,7 +247,7 @@

    Const Upload

    Upload: II18nLocaleUpload = ...
    @@ -257,7 +257,7 @@

    Const mark

    mark: LocaleMark = 'zh-CN'
    @@ -274,7 +274,7 @@

    Const TimePicker

  • Returns II18nLocaleTimePicker

    diff --git a/docs-40096364284d4767af20.js b/docs-1744762c4341a6ce675e.js similarity index 97% rename from docs-40096364284d4767af20.js rename to docs-1744762c4341a6ce675e.js index 7c6bd012a..ffe021369 100644 --- a/docs-40096364284d4767af20.js +++ b/docs-1744762c4341a6ce675e.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,n,o,r,i={18369:(e,t,n)=>{var o={};n.r(o),n.d(o,{Cascader:()=>k,CopyButton:()=>m,Form:()=>E,Grid:()=>j,Mention:()=>R,NumberInput:()=>T,Pagination:()=>b,Pop:()=>g,PreviewImage:()=>y,RangePicker:()=>x,Select:()=>w,Sweetalert:()=>C,Switch:()=>P,TimePicker:()=>S,Transfer:()=>O,Upload:()=>N,mark:()=>v});var r,i=n(24246),a=(n(75377),n(31542)),l=n(27378),s=n(4289),c=n(69635),u=n(49744),d=n(74566).Z.Provider,p=n(59312),h=n(24654),f={confirm:"Confirm",cancel:"Cancel",comma:", ",ok:"OK",reset:"Reset"},v="en-US",m={copy:"Copy",success:"Copied",error:"Copy failed"},b={jumpTo:function(e){var t=e.input;return(0,i.jsxs)(i.Fragment,{children:["Goto page ",t]},void 0)},pageStats:function(e){var t=e.total,n=e.Text,o=e.select;return(0,i.jsxs)(i.Fragment,{children:["Total ",(0,i.jsx)(n,(0,p.pi)({type:"middle"},{children:t}),void 0)," items, ",o,(0,i.jsx)(n,(0,p.pi)({type:"right"},{children:"per page"}),void 0)]},void 0)},pageStatsStatic:function(e){var t=e.total,n=e.pageSize,o=e.Text;return(0,i.jsxs)(i.Fragment,{children:["Total ",(0,i.jsx)(o,(0,p.pi)({type:"middle"},{children:t}),void 0)," items,",(0,i.jsx)(o,(0,p.pi)({type:"middle"},{children:n}),void 0)," items per page"]},void 0)},selectWidth:100,items:" items"},g=(0,p.pi)({},f),y={alt:"Image download failed",prev:"Previous",next:"Next",rotate:"Rotate"},x={7:"7 days",30:"30 days"},w={input:"Please choose...",empty:"Not Found",tagSeparator:", ",create:"+Create: "},C=(0,p.pi)((0,p.pi)({},f),{title:"Alert"}),P={checked:"On",unchecked:"Off"},j=(0,p.pi)((0,p.pi)({},f),{emptyLabel:"No data"}),k=(0,p.pi)((0,p.pi)({},f),{title:"Title",placeholder:"Please select",searchPlaceholder:"Please select or search",searchEmpty:"No result",empty:"Empty",loading:"loading…"}),z=["1st Quarter","2nd Quarter","3rd Quarter","4th Quarter"],S=function(){return(0,h.i_)(h._z),(0,p.pi)((0,p.pi)({},f),{time:"Please select a time",date:"Please select a date",week:"Please select a week",month:"Please select a month",quarter:"Please select a quarter",year:"Please select a year",range:"Please select a range",timeErrorPop:"Selected time is unavailable",dateErrorPop:"Selected date is unavailable",start:"Start date",end:"End date",startTime:"Start time",endTime:"End time",to:"to",current:{time:"Now",date:"Today",week:"This week",month:"This month",year:"This year"},panel:{hour:"",minute:"",second:"",year:"",hourSelect:"Choose hours",minuteSelect:"Choose minutes",secondSelect:"Choose seconds",titleFormat:"MMMM YYYY",quarterNames:z,yearQuarterName:function(e){var t=e.year,n=e.quarter;return z[n]+" of "+t},dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}})},N=(0,p.pi)((0,p.pi)({},f),{delete:"Delete",retry:"Retry",failed:"Failed",limit:"Maximum number of files has been reached",add:"Add File",uploading:"File uploading"}),R={noContent:"No result found, press SPACE to finish typing"},O={placeholder:"Please Enter",item:"item",items:"items",emptyLabel:"No Data"},E={required:"required"},T={min:"the minimum value cannot be less than",max:"the maximum value cannot be greater than"},M=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Z=function(){return(Z=Object.assign||function(e){for(var t,n=1,o=arguments.length;nl;(s||a-i0){var n=t.state.activeIndex;n<0&&(n=0),t.redirectToResult(e[n])}}),0);if("ArrowDown"===n||"ArrowUp"===n)if(t.state.resultVisible){var o=t.state.activeIndex;if(o===ee&&(o=-1),"ArrowDown"===n)o++;else{if("ArrowUp"!==n)return;o--}var r=t.state.matches.length-1;o<0?o=r:o>r&&(o=0),t.setState({activeIndex:o,resultVisible:!0})}else t.setState({activeIndex:0,resultVisible:!0})},t.onResultVisibleChange=function(e){t.setState({resultVisible:e})},t.onInputClick=function(){t.search(t.state.keyword)},t.clearActiveIndex=function(){t.setState({activeIndex:ee})},t.buildLUT=(0,X.Z)((function(e){var t=e[1].groups.reduce((function(e,t){return t.list.reduce((function(e,t){return e.push(t),e}),e)}),[]);return t.sort((function(e,t){return e.title>t.title?1:e.title===t.title?0:-1})),le(t)})),t.redirectToResult=function(e){var n=e.path,o=t.props,r=o.history,i=o.locale.split("-")[0];r.replace("/"+i+"/"+n),t.onResultVisibleChange(!1)},t}return se(t,e),t.prototype.render=function(){var e=this.state,t=e.keyword,n=e.matches,o=e.activeIndex,r=e.resultVisible,a=this.props.locale;return(0,i.jsx)("div",ce({className:"zandoc-react-search-box-popover-wrapper"},{children:(0,i.jsxs)(Y.J,ce({position:Y.J.Position.BottomLeft,visible:r,cushion:5,onVisibleChange:this.onResultVisibleChange},{children:[(0,i.jsx)(Y.J.Trigger.Click,{children:(0,i.jsx)(K.I,{className:"zandoc-react-search-box-input",icon:"search",placeholder:ue[a].placeholder,value:t,onChange:this.onKeywordChange,onClick:this.onInputClick,onKeyDown:this.onKeydown},void 0)},void 0),(0,i.jsx)(Y.J.Content,{children:(0,i.jsx)(re,{matches:n,activeIndex:o,locale:a,redirectToResult:this.redirectToResult,clearActiveIndex:this.clearActiveIndex},void 0)},void 0)]}),void 0)}),void 0)},t.prototype.search=function(e){var t=this.buildLUT(this.props.navData);if(t){var n=t.search(e);this.setState({keyword:e,resultVisible:!0,matches:n,activeIndex:0})}},t}(l.Component),pe=(0,c.EN)(de),he=n(23476),fe=n(93531),ve=n(70387),me=n(61853),be=function(){return(be=Object.assign||function(e){for(var t,n=1,o=arguments.length;n{n.d(t,{z:()=>f,Z:()=>v});var o=n(59312),r=n(24246),i=n(27378),a=n(60042),l=n.n(a),s=function(e){var t=e.className,n=(0,o._T)(e,["className"]);return(0,r.jsx)("div",(0,o.pi)({className:l()("zent-btn-group",t)},n,{"data-zv":"10.0.10"}),void 0)},c=n(19185),u=n(27036),d=n(1348),p=n(673);function h(e){var t,n=(0,i.useContext)(d.d),a=(0,i.useContext)(p.$L),s=e.outline,h=e.type,f=void 0===h?"default":h,v=e.size,m=void 0===v?"medium":v,b=e.block,g=e.loading,y=e.disabled,x=void 0===y?n.value:y,w=e.bordered,C=void 0===w||w,P=e.icon,j=e.children,k=e.onMouseEnter,z=e.onMouseLeave;if(!(0,c.isElement)(j)||(0,c.isFragment)(j))throw new Error("Button Directive child must be a non fragment element, string | number | boolean | null is not accepted");var S=(0,i.useRef)(x);S.current=x;var N=(0,i.useRef)(e);N.current=e;var R=j,O=(0,i.useCallback)((function(e){var t=N.current,n=t.loading,o=t.children.props.onClick,r=S.current;n||r?e.preventDefault():null==o||o(e)}),[]),E=P?(0,r.jsx)(u.Z,{type:P},void 0):null,T="text"!==f&&"icon"!==f&&s,M=l()(((t={})["zent-btn-"+f+(T?"-outline":"")]="default"!==f,t["zent-btn-"+m]="medium"!==m,t["zent-btn-block"]=b,t["zent-btn-loading"]=g,t["zent-btn-disabled"]=x,t["zent-btn-border-transparent"]=!C,t),"zent-btn",R.props.className);return function(e,t){var n=t.onMouseEnter,i=t.onMouseLeave;return t.fixMouseEventsOnDisabledChildren?(0,r.jsx)("span",(0,o.pi)({className:"zent-btn-disabled-wrapper",onMouseEnter:n,onMouseLeave:i,"data-zv":"10.0.10"},{children:e}),void 0):e}(i.cloneElement.apply(void 0,(0,o.ev)([j,{className:M,disabled:!(!x&&!g),onClick:O,"data-zv":"10.0.10"},E],i.Children.map(R.props.children,(function(e){return"string"==typeof e?(0,r.jsx)("span",(0,o.pi)({"data-zv":"10.0.10"},{children:e}),void 0):e}))||[])),{fixMouseEventsOnDisabledChildren:a.fixMouseEventsOnDisabledChildren,onMouseEnter:k,onMouseLeave:z})}var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.href,n=e.target,i=e.htmlType,a=e.type,l=e.size,s=e.block,c=e.disabled,u=e.loading,d=e.outline,p=e.bordered,f=e.icon,v=e.children,m=e.download,b=(0,o._T)(e,["href","target","htmlType","type","size","block","disabled","loading","outline","bordered","icon","children","download"]);return(0,r.jsx)(h,(0,o.pi)({type:a,size:l,block:s,disabled:c,loading:u,outline:d,bordered:p,icon:f,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},{children:t||n?(0,r.jsx)("a",(0,o.pi)({href:c?void 0:t||"",target:n,download:m},b,{"data-zv":"10.0.10"},{children:v}),void 0):(0,r.jsx)("button",(0,o.pi)({type:i},b,{"data-zv":"10.0.10"},{children:v}),void 0)}),void 0)},t.defaultProps={type:"default",size:"medium",htmlType:"button",bordered:!0},t.Group=s,t.Directive=h,t.contextType=p.$L,t}(i.Component),v=f},90347:(e,t,n)=>{var o=n(3454);t.ZP=o.Z},93531:(e,t,n)=>{n.d(t,{z:()=>ee,Z:()=>te});var o=n(59312),r=n(24246),i=n(27378),a=n(60042),l=n.n(a),s=Object.prototype.toString,c=function(e){void 0===e&&(e=[]);var t=[];return e.forEach((function(e){var n;Array.isArray(e)?t=t.concat(c(e)):(n=e,"[object Object]"===s.call(n)?Object.keys(e).forEach((function(n){var o=e[n];!0===o&&t.push(n),t.push(n+"-"+o)})):"string"==typeof e&&t.push(e))})),t},u=c,d=function(e,t){void 0===t&&(t=[]);var n=(0,o.pi)({},e.default);return t.map((function(t){var r=e[t];return r&&Object.keys(r).forEach((function(e){n[e]||(n[e]={}),n[e]=(0,o.pi)((0,o.pi)({},n[e]),r[e])})),t})),n},p={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}}},h=function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n],i={};Object.keys(r).forEach((function(e){var t=r[e],n=p[e];n?i=(0,o.pi)((0,o.pi)({},i),n(t)):i[e]=t})),t[n]=i})),t},f=function(e){for(var t=[],n=1;nr?s=r:c<0?c=0:c>i&&(c=i);var u=100*s/r,d=-100*c/i+100;return{h:n.hsl.h,s:u,v:d,a:n.hsl.a,source:"rgb"}}var g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.containerRef=(0,i.createRef)(),t.eventCancelList=[],t.handleChange=(0,m.$j)((function(e,n){t.props.onChange(b(e,n,t.props,t.containerRef.current),e)})),t.handleTouch=function(e){e.persist(),t.handleChange(e)},t.handleMouseDown=function(e){e.persist(),t.handleChange(e,!0),t.eventCancelList.push((0,v.Oo)(window,"mousemove",t.handleChange)),t.eventCancelList.push((0,v.Oo)(window,"mouseup",t.handleMouseUp,{passive:!0}))},t.handleMouseUp=function(){t.unbindEventListeners()},t}return(0,o.ZT)(t,e),t.prototype.componentWillUnmount=function(){this.unbindEventListeners(),this.handleChange.cancel()},t.prototype.unbindEventListeners=function(){this.eventCancelList.forEach((function(e){return e()})),this.eventCancelList=[]},t.prototype.render=function(){var e=this.props.style||{},t=e.color,n=e.white,i=e.black,a=e.pointer,l=e.circle,s=f({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, #fff, rgba(255,255,255,0))"},black:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to top, #000, rgba(0,0,0,0))",boxShadow:this.props.shadow},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:t,white:n,black:i,pointer:a,circle:l}},{custom:!!this.props.style});return(0,r.jsx)("div",(0,o.pi)({style:s.color,ref:this.containerRef,onMouseDown:this.handleMouseDown,onTouchMove:this.handleTouch,onTouchStart:this.handleTouch,"data-zv":"10.0.10"},{children:(0,r.jsxs)("div",(0,o.pi)({style:s.white,"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",{style:s.black,"data-zv":"10.0.10"},void 0),(0,r.jsx)("div",(0,o.pi)({style:s.pointer,"data-zv":"10.0.10"},{children:this.props.pointer?(0,r.jsx)(this.props.pointer,(0,o.pi)({},this.props),void 0):(0,r.jsx)("div",{style:s.circle,"data-zv":"10.0.10"},void 0)}),void 0)]}),void 0)}),void 0)},t}(i.Component);function y(e,t,n,o){!t&&e.preventDefault();var r=o.clientWidth,i=o.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=a-(o.getBoundingClientRect().left+window.pageXOffset),c=l-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var u=void 0;if(u=c<0?359:c>i?0:360*(-100*c/i+100)/100,n.hsl.h!==u)return{h:u,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}else if(u=void 0,u=s<0?0:s>r?359:100*s/r*360/100,n.hsl.h!==u)return{h:u,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"};return null}var x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.containerRef=(0,i.createRef)(),t.eventCancelList=[],t.handleChange=(0,m.$j)((function(e,n){var o=y(e,n,t.props,t.containerRef.current);o&&t.props.onChange(o,e)})),t.handleTouch=function(e){e.persist(),t.handleChange(e)},t.handleMouseDown=function(e){e.persist(),t.handleChange(e,!0),t.eventCancelList.push((0,v.Oo)(window,"mousemove",t.handleChange)),t.eventCancelList.push((0,v.Oo)(window,"mouseup",t.handleMouseUp,{passive:!0}))},t.handleMouseUp=function(){t.unbindEventListeners()},t}return(0,o.ZT)(t,e),t.prototype.componentWillUnmount=function(){this.unbindEventListeners()},t.prototype.unbindEventListeners=function(){this.eventCancelList.forEach((function(e){return e()})),this.eventCancelList=[]},t.prototype.render=function(){var e=f({default:{hue:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{margin:"0 2px",position:"relative",height:"100%"},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{hue:{background:"linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)"},pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===this.props.direction});return(0,r.jsx)("div",(0,o.pi)({style:e.hue,className:"hue-area","data-zv":"10.0.10"},{children:(0,r.jsx)("div",(0,o.pi)({className:"hue-bar",style:e.container,ref:this.containerRef,onMouseDown:this.handleMouseDown,onTouchMove:this.handleTouch,onTouchStart:this.handleTouch,"data-zv":"10.0.10"},{children:(0,r.jsx)("div",(0,o.pi)({style:e.pointer,"data-zv":"10.0.10"},{children:this.props.pointer?(0,r.jsx)(this.props.pointer,(0,o.pi)({},this.props),void 0):(0,r.jsx)("div",{style:e.slider,"data-zv":"10.0.10"},void 0)}),void 0)}),void 0)}),void 0)},t}(i.Component);function w(e,t,n,o){!t&&e.preventDefault();var r=o.clientWidth,i=o.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=a-(o.getBoundingClientRect().left+window.pageXOffset),c=l-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var u=void 0;if(u=c<0?0:c>i?1:Math.round(100*c/i)/100,n.hsl.a!==u)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:u,source:"rgb"}}else if(u=void 0,u=s<0?0:s>r?1:Math.round(100*s/r)/100,n.a!==u)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:u,source:"rgb"};return null}var C=n(14805),P={};function j(e,t,n,o){var r=e+"-"+t+"-"+n+(o?"-server":""),i=function(e,t,n,o){if("undefined"==typeof document&&!o)return null;var r=o?new o:(0,C.Z)("canvas");r.width=2*n,r.height=2*n;var i=r.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,r.width,r.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),r.toDataURL()):null}(e,t,n,o);return P[r]?P[r]:(P[r]=i,i)}var k=function(e){var t=e.white,n=e.grey,o=e.size,i=e.renderers,a=f({default:{grid:{absolute:"0px 0px 0px 0px",background:"url("+j(t,n,o,i.canvas)+") center left"}}});return(0,r.jsx)("div",{style:a.grid,"data-zv":"10.0.10"},void 0)};k.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var z=k,S=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.containerRef=(0,i.createRef)(),t.eventCancelList=[],t.handleChange=function(e,n){var o=w(e,n,t.props,t.containerRef.current);o&&t.props.onChange(o,e)},t.handleMouseDown=function(e){t.handleChange(e,!0),t.eventCancelList.push((0,v.Oo)(window,"mousemove",t.handleChange)),t.eventCancelList.push((0,v.Oo)(window,"mouseup",t.handleMouseUp,{passive:!0}))},t.handleMouseUp=function(){t.unbindEventListeners()},t.unbindEventListeners=function(){t.eventCancelList.forEach((function(e){return e()})),t.eventCancelList=[]},t}return(0,o.ZT)(t,e),t.prototype.componentWillUnmount=function(){this.unbindEventListeners()},t.prototype.render=function(){var e=this.props.rgb,t=f({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden"},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+e.r+","+e.g+","+e.b+", 0) 0%,\n rgba("+e.r+","+e.g+","+e.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*e.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+e.r+","+e.g+","+e.b+", 0) 0%,\n rgba("+e.r+","+e.g+","+e.b+", 1) 100%)"},pointer:{left:0,top:100*e.a+"%"}},overwrite:(0,o.pi)({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return(0,r.jsxs)("div",(0,o.pi)({style:t.alpha,"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",(0,o.pi)({style:t.checkboard,"data-zv":"10.0.10"},{children:(0,r.jsx)(z,{renderers:this.props.renderers},void 0)}),void 0),(0,r.jsx)("div",{style:t.gradient,"data-zv":"10.0.10"},void 0),(0,r.jsx)("div",(0,o.pi)({className:"alpha-bar",style:t.container,ref:this.containerRef,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,"data-zv":"10.0.10"},{children:(0,r.jsx)("div",(0,o.pi)({style:t.pointer,"data-zv":"10.0.10"},{children:this.props.pointer?(0,r.jsx)(this.props.pointer,(0,o.pi)({},this.props),void 0):(0,r.jsx)("div",{style:t.slider,"data-zv":"10.0.10"},void 0)}),void 0)}),void 0)]}),void 0)},t}(i.Component),N=n(49566);function R(e,t){(function(e){return"string"==typeof e&&e.includes(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&e.includes("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function O(e){return e<=1?100*Number(e)+"%":e}function E(e){return 1===e.length?"0"+e:String(e)}function T(e){return M(e)/255}function M(e){return parseInt(e,16)}var Z={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var L="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",_="[\\s|\\(]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")\\s*\\)?",F="[\\s|\\(]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")\\s*\\)?",A={CSS_UNIT:new RegExp(L),rgb:new RegExp("rgb"+_),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+_),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+_),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function B(e){return Boolean(A.CSS_UNIT.exec(String(e)))}var D=function(){function e(t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;this.originalInput=t;var o=function(e){var t,n,o,r={r:0,g:0,b:0},i=1,a=null,l=null,s=null,c=!1,u=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(Z[e])e=Z[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=A.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=A.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=A.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=A.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=A.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=A.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=A.hex8.exec(e))?{r:M(n[1]),g:M(n[2]),b:M(n[3]),a:T(n[4]),format:t?"name":"hex8"}:(n=A.hex6.exec(e))?{r:M(n[1]),g:M(n[2]),b:M(n[3]),format:t?"name":"hex"}:(n=A.hex4.exec(e))?{r:M(n[1]+n[1]),g:M(n[2]+n[2]),b:M(n[3]+n[3]),a:T(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=A.hex3.exec(e))&&{r:M(n[1]+n[1]),g:M(n[2]+n[2]),b:M(n[3]+n[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(B(e.r)&&B(e.g)&&B(e.b)?(t=e.r,n=e.g,o=e.b,r={r:255*R(t,255),g:255*R(n,255),b:255*R(o,255)},c=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):B(e.h)&&B(e.s)&&B(e.v)?(a=O(e.s),l=O(e.v),r=function(e,t,n){e=6*R(e,360),t=R(t,100),n=R(n,100);var o=Math.floor(e),r=e-o,i=n*(1-t),a=n*(1-r*t),l=n*(1-(1-r)*t),s=o%6;return{r:255*[n,a,i,i,l,n][s],g:255*[l,n,n,a,i,i][s],b:255*[i,i,l,n,n,a][s]}}(e.h,a,l),c=!0,u="hsv"):B(e.h)&&B(e.s)&&B(e.l)&&(a=O(e.s),s=O(e.l),r=function(e,t,n){var o,r,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=R(e,360),t=R(t,100),n=R(n,100),0===t)r=n,i=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;o=a(s,l,e+1/3),r=a(s,l,e),i=a(s,l,e-1/3)}return{r:255*o,g:255*r,b:255*i}}(e.h,a,s),c=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(i=e.a)),i=function(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}(i),{ok:c,format:e.format||u,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:i}}(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format||o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.toHsv=function(){var e=function(e,t,n){e=R(e,255),t=R(t,255),n=R(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i=0,a=o,l=o-r,s=0===o?0:l/o;if(o===r)i=0;else{switch(o){case e:i=(t-n)/l+(t.5?s/(2-o-r):s/(o+r),o){case e:i=(t-n)/s+(t=0&&o<=n.props.dragMax&&n.props.onChange(((t={})[n.props.label]=o,t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),n.eventCancelList.push((0,v.Oo)(window,"mousemove",n.handleDrag)),n.eventCancelList.push((0,v.Oo)(window,"mouseup",n.handleMouseUp,{passive:!0})))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){n.eventCancelList.forEach((function(e){return e()})),n.eventCancelList=[]},n.state={value:String(t.value).toUpperCase(),blurValue:String(t.value).toUpperCase()},n}return(0,o.ZT)(t,e),t.prototype.componentDidUpdate=function(e){var t=this.inputRef.current,n=this.props.value;e.value!==n&&n!==this.state.value&&(t===document.activeElement?this.setState({blurValue:String(n).toUpperCase()}):this.setState({value:String(n).toUpperCase()}))},t.prototype.componentWillUnmount=function(){this.unbindEventListeners()},t.prototype.render=function(){var e=f({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return(0,r.jsxs)("div",(0,o.pi)({style:e.wrap,"data-zv":"10.0.10"},{children:[(0,r.jsx)("input",{style:e.input,ref:this.inputRef,value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,"data-zv":"10.0.10"},void 0),this.props.label?(0,r.jsx)("span",(0,o.pi)({style:e.label,onMouseDown:this.handleMouseDown,"data-zv":"10.0.10"},{children:this.props.label}),void 0):null]}),void 0)},t}(i.Component),W=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hexColor:t.props.hex.replace("#","")},t.confirmHexChange=function(e){var n=t.props.onChange,o=t.state.hexColor;U(o)&&n({hex:o,source:"hex"},e)},t.handleHexChange=function(e){t.setState({hexColor:e.hex})},t.handleChange=function(e,n){var o=t.props,r=o.rgb,i=o.hsl,a=o.onChange;e.r||e.g||e.b?a({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},n):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a=e.a/100,a({h:i.h,s:i.s,l:i.l,a:e.a,source:"rgb"},n))},t}return(0,o.ZT)(t,e),Object.defineProperty(t.prototype,"styles",{get:function(){var e=this.props.showAlpha;return f({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},showAlpha:{alpha:{display:"none"}}},{showAlpha:!e})},enumerable:!1,configurable:!0}),t.getDerivedStateFromProps=function(e,t){var n=e.hex,o={preHex:n,hexColor:t.hexColor};if(n!==t.preHex){var r=n.replace("#","");o.hexColor=r}return o},t.prototype.render=function(){var e=this.props.rgb,t=this.state.hexColor,n=this.styles;return(0,r.jsxs)("div",(0,o.pi)({style:n.fields,"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",(0,o.pi)({style:n.double,"data-zv":"10.0.10"},{children:(0,r.jsx)(V,{style:{input:n.input,label:n.label},label:"hex",value:t,onBlur:this.confirmHexChange,onPressEnter:this.confirmHexChange,onChange:this.handleHexChange},void 0)}),void 0),(0,r.jsx)("div",(0,o.pi)({style:n.single,"data-zv":"10.0.10"},{children:(0,r.jsx)(V,{style:{input:n.input,label:n.label},label:"r",value:e.r,onChange:this.handleChange,dragMax:"255"},void 0)}),void 0),(0,r.jsx)("div",(0,o.pi)({style:n.single,"data-zv":"10.0.10"},{children:(0,r.jsx)(V,{style:{input:n.input,label:n.label},label:"g",value:e.g,onChange:this.handleChange,dragMax:"255"},void 0)}),void 0),(0,r.jsx)("div",(0,o.pi)({style:n.single,"data-zv":"10.0.10"},{children:(0,r.jsx)(V,{style:{input:n.input,label:n.label},label:"b",value:e.b,onChange:this.handleChange,dragMax:"255"},void 0)}),void 0),(0,r.jsx)("div",(0,o.pi)({style:n.alpha,"data-zv":"10.0.10"},{children:(0,r.jsx)(V,{style:{input:n.input,label:n.label},label:"a",value:Math.round(100*e.a),onChange:this.handleChange,dragMax:"100"},void 0)}),void 0)]}),void 0)},t}(i.PureComponent),$=function(e){var t=e.color,n=e.style,o=e.onClick,i=e.title,a=void 0===i?t:i,l=f({default:{swatch:{background:t,height:"100%",width:"100%",cursor:"pointer"}},custom:{swatch:n}},"custom");return(0,r.jsx)("div",{style:l.swatch,onClick:function(e){o(t,e)},title:a,"data-zv":"10.0.10"},void 0)},q="zent-color-picker",Y=function(e){var t=e.colors,n=e.onClick,i=e.type,a=f({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),l=function(e,t){n({hex:e,source:"hex"},t)};return"simple"===i?(0,r.jsx)("div",(0,o.pi)({className:q+"-colors-select","data-zv":"10.0.10"},{children:t.map((function(e){return(0,r.jsx)("div",{className:q+"-colors-select__preview",style:{backgroundColor:e},onClick:function(){return n(e)},title:e,"data-zv":"10.0.10"},e)}))}),void 0):(0,r.jsx)("div",(0,o.pi)({style:a.colors,"data-zv":"10.0.10"},{children:t.map((function(e){var t="string"==typeof e?{color:e}:e;return(0,r.jsx)("div",(0,o.pi)({style:a.swatchWrap,"data-zv":"10.0.10"},{children:(0,r.jsx)($,(0,o.pi)({},t,{style:a.swatch,onClick:l}),void 0)}),t.color)}))}),void 0)},K=function(e){var t=e.width,n=e.rgb,i=e.hex,a=e.hsv,l=e.hsl,s=e.onChange,c=e.showAlpha,u=e.presetColors,d=e.renderers,p=e.className,h=e.type,v=f({default:{picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},showAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},{showAlpha:!c});return(0,r.jsxs)("div",(0,o.pi)({style:v.picker,className:p,"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",(0,o.pi)({style:v.saturation,"data-zv":"10.0.10"},{children:(0,r.jsx)(g,{style:v.Saturation,hsl:l,hsv:a,onChange:s},void 0)}),void 0),(0,r.jsxs)("div",(0,o.pi)({style:v.controls,className:"flexbox-fix","data-zv":"10.0.10"},{children:[(0,r.jsxs)("div",(0,o.pi)({style:v.sliders,"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",(0,o.pi)({style:v.hue,"data-zv":"10.0.10"},{children:(0,r.jsx)(x,{style:v.Hue,hsl:l,onChange:s},void 0)}),void 0),(0,r.jsx)("div",(0,o.pi)({style:v.alpha,"data-zv":"10.0.10"},{children:(0,r.jsx)(S,{style:v.Alpha,rgb:n,hsl:l,renderers:d,onChange:s},void 0)}),void 0)]}),void 0),(0,r.jsxs)("div",(0,o.pi)({style:v.color,"data-zv":"10.0.10"},{children:[(0,r.jsx)(z,{},void 0),(0,r.jsx)("div",{style:v.activeColor,"data-zv":"10.0.10"},void 0)]}),void 0)]}),void 0),(0,r.jsx)(W,{rgb:n,hsl:l,hex:i,onChange:s,showAlpha:c},void 0),(0,r.jsx)(Y,{colors:u,onClick:s,type:h},void 0)]}),void 0)};K.defaultProps={presetColors:["#FFFFFF","#F8F8F8","#F2F2F2","#999999","#444444","#FF4444","#FF6500","#FF884D","#FFCD00","#3FBD00","#3FBC87","#00CD98","#5197FF","#BADCFF","#FFEFB8"],width:200,showAlpha:!1,className:""};var X,J=(X=K,function(e){function t(t){var n=e.call(this,t)||this;return n.debounce=(0,N.Z)((function(e,t,n){e(t,n)}),100),n.handleChange=function(e,t){if(function(e){var t=0,n=0;return["r","g","b","a","h","s","a","v"].forEach((function(o){var r=e[o];r&&(t+=1,isNaN(r)||(n+=1))})),t===n&&e}(e)){var o=H(e,e.h||n.state.oldHue);n.setState(o),n.props.onChangeComplete&&n.debounce(n.props.onChangeComplete,o,t),n.props.onChange&&n.props.onChange(o,t)}},n.state=(0,o.pi)((0,o.pi)({},H(t.color,0)),{visible:t.display}),n}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e,t){return(0,o.pi)((0,o.pi)({},H(e.color,t.oldHue)),{visible:e.display})},t.prototype.render=function(){return(0,r.jsx)(X,(0,o.pi)({},this.props,this.state,{onChange:this.handleChange}),void 0)},t.defaultProps={color:{h:250,s:.5,l:.2,a:1}},t}(i.Component)),G=n(33806),Q=n(1348),ee=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={popVisible:!1},t.handleChange=function(e){var n=t.props,o=n.onChange,r=n.showAlpha,i=e;"object"==typeof e&&(i=r?e.rgba:e.hex),o(i)},t.handleVisibleChange=function(e){t.disabled||t.setState({popVisible:e})},t}return(0,o.ZT)(t,e),Object.defineProperty(t.prototype,"disabled",{get:function(){var e=this.props.disabled;return void 0===e?this.context.value:e},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this.props,n=t.color,i=t.showAlpha,a=t.className,s=t.wrapperClassName,c=t.type,u=t.presetColors,d=this.state.popVisible,p=d?"zent-color-picker--open":"",h=n;return(0,r.jsxs)(G.ZP,(0,o.pi)({className:l()("zent-color-picker-popover",a),position:G.ZP.Position.AutoBottomLeft,cushion:5,visible:d,onVisibleChange:this.handleVisibleChange},{children:[(0,r.jsx)(G.ZP.Trigger.Click,(0,o.pi)({toggle:!0},{children:(0,r.jsx)("div",(0,o.pi)({className:l()("zent-color-picker",s,p,(e={},e["zent-color-picker_disabled"]=this.disabled,e)),tabIndex:0,"data-zv":"10.0.10"},{children:(0,r.jsx)("div",(0,o.pi)({className:"zent-color-picker__text","data-zv":"10.0.10"},{children:(0,r.jsx)("div",{className:"zent-color-picker__preview",style:{backgroundColor:h},"data-zv":"10.0.10"},void 0)}),void 0)}),void 0)}),void 0),(0,r.jsx)(G.ZP.Content,{children:"simple"===c?(0,r.jsx)(Y,{colors:u,onClick:this.handleChange,type:c},void 0):(0,r.jsx)(J,{color:n,showAlpha:i,onChange:this.handleChange,type:c},void 0)},void 0)]}),void 0)},t.defaultProps={showAlpha:!1,onChange:function(){},className:"",wrapperClassName:"",type:"default",presetColors:["#FFFFFF","#F8F8F8","#F2F2F2","#999999","#444444","#FF4444","#FF6500","#FF884D","#FFCD00","#3FBD00","#3FBC87","#00CD98","#5197FF","#BADCFF","#FFEFB8"]},t.ColorBoard=J,t.contextType=Q.d,t}(i.PureComponent),te=ee},1348:(e,t,n)=>{n.d(t,{d:()=>a,x:()=>l});var o=n(59312),r=n(24246),i=n(27378),a=(0,i.createContext)({value:!1});a.displayName="DisabledContext";var l=function(e){var t=e.value,n=void 0===t||t,l=e.children,s=(0,i.useMemo)((function(){return{value:n}}),[n]);return(0,r.jsx)(a.Provider,(0,o.pi)({value:s},{children:l}),void 0)}},74566:(e,t,n)=>{n.d(t,{Z:()=>a});var o={};n.r(o),n.d(o,{Cascader:()=>i.vT,CopyButton:()=>i.qi,Form:()=>i.l0,Grid:()=>i.rj,Mention:()=>i.pf,NumberInput:()=>i.Y2,Pagination:()=>i.tl,Pop:()=>i.XE,PreviewImage:()=>i.Sy,RangePicker:()=>i.Sq,Select:()=>i.Ph,Sweetalert:()=>i.Hj,Switch:()=>i.rs,TimePicker:()=>i.jI,Transfer:()=>i.FE,Upload:()=>i.gq,mark:()=>i.B1});var r=n(27378),i=n(50642),a=(0,r.createContext)(o)},52074:(e,t,n)=>{var o=n(59312),r=n(27378),i=n(74566),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.receive=function(){var e=this.props.componentName,t=this.context[e];return"function"==typeof t?t():t},t.prototype.render=function(){return(0,this.props.children)(this.receive())},t.contextType=i.Z,t}(r.Component);t.Z=a},24654:(e,t,n)=>{function o(e){return e}n.d(t,{i_:()=>o,_z:()=>r,U1:()=>i});var r={dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:+(e-e%10!=10)*e%10]}},i={dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],amPm:["上午","下午"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:+(e-e%10!=10)*e%10]}}},50642:(e,t,n)=>{n.d(t,{B1:()=>l,qi:()=>s,tl:()=>c,XE:()=>u,Sy:()=>d,Sq:()=>p,Ph:()=>h,rs:()=>f,Hj:()=>v,rj:()=>m,vT:()=>b,jI:()=>y,gq:()=>x,pf:()=>w,FE:()=>C,l0:()=>P,Y2:()=>j});var o=n(59312),r=n(24246),i=n(24654),a={confirm:"确定",cancel:"取消",ok:"我知道了",comma:",",reset:"重置"},l="zh-CN",s={copy:"复制",success:"复制成功",error:"复制失败"},c={jumpTo:function(e){var t=e.input;return(0,r.jsxs)(r.Fragment,{children:["跳至",t,"页"]},void 0)},pageStats:function(e){var t=e.total,n=e.select,i=e.Text;return(0,r.jsxs)(r.Fragment,{children:["共 ",(0,r.jsx)(i,(0,o.pi)({type:"middle"},{children:t}),void 0)," 条,每页",n]},void 0)},pageStatsStatic:function(e){var t=e.total,n=e.pageSize,i=e.Text;return(0,r.jsxs)(r.Fragment,{children:["共 ",(0,r.jsx)(i,(0,o.pi)({type:"middle"},{children:t}),void 0)," 条,每页",(0,r.jsx)(i,(0,o.pi)({type:"middle"},{children:n}),void 0)," 条"]},void 0)},selectWidth:80,items:"条"},u=(0,o.pi)({},a),d={alt:"图片下载失败",prev:"上一张",next:"下一张",rotate:"翻转"},p={7:"近7天",30:"近30天"},h={input:"请选择",empty:"暂无数据",tagSeparator:"、",create:"+点击新建:"},f={checked:"开启",unchecked:"关闭"},v=(0,o.pi)((0,o.pi)({},a),{title:"提示"}),m=(0,o.pi)((0,o.pi)({},a),{emptyLabel:"没有更多数据了"}),b=(0,o.pi)((0,o.pi)({},a),{title:"标题",placeholder:"请选择",searchPlaceholder:"请选择或输入搜索",searchEmpty:"无搜索结果",empty:"无数据",loading:"加载中…"}),g=["第一季度","第二季度","第三季度","第四季度"],y=function(){return(0,i.i_)(i.U1),(0,o.pi)((0,o.pi)({},a),{time:"请选择时间",date:"请选择日期",week:"请选择自然周",month:"请选择月份",quarter:"请选择季度",year:"请选择年份",range:"开始日期 至 结束日期",timeErrorPop:"时间不可用",dateErrorPop:"日期不可用",start:"开始日期",end:"结束日期",startTime:"开始时间",endTime:"结束时间",to:"至",current:{time:"当前时间",date:"今天",week:"当前周",month:"当前月",year:"当前年"},panel:{hour:"时",minute:"分",second:"秒",year:"年",hourSelect:"选择小时",minuteSelect:"选择分钟",secondSelect:"选择秒",titleFormat:"YYYY年MMM",quarterNames:g,yearQuarterName:function(e){var t=e.year,n=e.quarter;return t+"年"+g[n]},dayNames:["日","一","二","三","四","五","六"],monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]}})},x=(0,o.pi)((0,o.pi)({},a),{delete:"删除",retry:"重新上传",failed:"上传失败",limit:"文件添加个数已达上限",add:"添加文件",uploading:"文件上传中"}),w={noContent:"无匹配结果,轻敲空格完成输入"},C={placeholder:"请输入搜索内容",item:"项",items:"项",emptyLabel:"暂无数据"},P={required:"必填"},j={min:"最小值不能小于",max:"最大值不能大于"}},39215:(e,t,n)=>{n.d(t,{J:()=>l});var o=n(59312),r=n(24246),i=n(60042),a=n.n(i),l=(0,n(27378).forwardRef)((function(e,t){var n=e.className,i=e.spin,l=e.type,s=(0,o._T)(e,["className","spin","type"]);return(0,r.jsx)("i",(0,o.pi)({ref:t,className:a()("zenticon","zenticon-"+l,n,{"zenticon-spin":i})},s,{"data-zv":"10.0.10"}),void 0)}));l.displayName="ZentIcon",t.Z=l},27036:(e,t,n)=>{var o=n(39215);t.Z=o.Z},38841:(e,t,n)=>{n.d(t,{B:()=>o});var o=(0,n(27378).createContext)({enable:!1});o.displayName="IMECompositionContext"},90475:(e,t,n)=>{n.d(t,{B:()=>l});var o=n(59312),r=n(27378),i=n(38841),a={getEventValue:function(e){return e.target.value}};function l(e){var t=(0,o.pi)((0,o.pi)({},a),e).getEventValue;return function(e,n,a,l){var s=(0,r.useContext)(i.B),c=(0,r.useRef)(!1),u=(0,r.useState)(e),d=u[0],p=u[1],h=(0,r.useRef)(n),f=(0,r.useRef)(a),v=(0,r.useRef)(l);(0,r.useEffect)((function(){h.current=n,f.current=a,v.current=l}),[n,a,l]),(0,r.useEffect)((function(){p(e)}),[e]);var m=(0,r.useCallback)((function(){for(var e,n=[],r=0;r{n.d(t,{I:()=>z,Z:()=>S});var o=n(59312),r=n(24246),i=n(27378),a=n(60042),l=n.n(a),s=n(27036),c=n(90475);function u(e){e.preventDefault()}var d=(0,c.B)(),p=(0,i.forwardRef)((function(e,t){var n=e.addonBefore,i=e.addonAfter,a=e.showClear,c=e.value,p=e.onChange,h=e.onCompositionStart,f=e.onCompositionEnd,v=e.onClear,m=(e.width,e.size,e.onPressEnter,e.autoFocus,e.autoSelect,e.initSelectionStart,e.initSelectionEnd,e.icon),b=e.iconPosition,g=void 0===b?"end":b,y=(e.inline,e.onIconClick),x=(0,o._T)(e,["addonBefore","addonAfter","showClear","value","onChange","onCompositionStart","onCompositionEnd","onClear","width","size","onPressEnter","autoFocus","autoSelect","initSelectionStart","initSelectionEnd","icon","iconPosition","inline","onIconClick"]),w=d(c,p,h,f),C=w.value,P=w.onChange,j=w.onCompositionStart,k=w.onCompositionEnd,z=a&&c&&!x.disabled&&!x.readOnly,S=l()("zent-input-icon",{"zent-input-icon-click":!!y});return(0,r.jsxs)(r.Fragment,{children:[n&&(0,r.jsx)("div",(0,o.pi)({className:"zent-input-addon-before","data-zv":"10.0.10"},{children:n}),void 0),m&&"front"===g?(0,r.jsx)(s.Z,{className:S,type:m,onMouseUp:u,onMouseDown:u,onClick:y},void 0):null,(0,r.jsx)("input",(0,o.pi)({},x,{ref:t,className:"zent-input",value:C,onChange:P,onCompositionStart:j,onCompositionEnd:k,"data-zv":"10.0.10"}),void 0),z&&(0,r.jsx)(s.Z,{className:"zent-input-icon",type:"close-circle",onClick:v,onMouseDown:u},void 0),m&&"end"===g?(0,r.jsx)(s.Z,{className:S,type:m,onMouseUp:u,onMouseDown:u,onClick:y},void 0):null,i&&(0,r.jsx)("div",(0,o.pi)({className:"zent-input-addon-after","data-zv":"10.0.10"},{children:i}),void 0)]},void 0)}));p.displayName="Input";var h=n(49744),f=new Map;function v(e){var t=f.get(e);t&&t.destroy()}function m(e){var t=f.get(e);t&&t.update()}function b(e){return"length"in e}var g=n(42690),y=n(79264),x=(0,c.B)(),w=(0,i.forwardRef)((function(e,t){var n=e.value,i=e.onChange,a=e.onCompositionStart,s=e.onCompositionEnd,c=e.autoSize,u=e.showCount,d=e.maxLength,p=(e.width,e.size,e.onPressEnter,e.autoFocus,e.autoSelect,e.initSelectionStart,e.initSelectionEnd,e.inline,e.maxCharacterCount),w=(e.type,(0,o._T)(e,["value","onChange","onCompositionStart","onCompositionEnd","autoSize","showCount","maxLength","width","size","onPressEnter","autoFocus","autoSelect","initSelectionStart","initSelectionEnd","inline","maxCharacterCount","type"])),C=x(n,i,a,s),P=C.value,j=C.onChange,k=C.onCompositionStart,z=C.onCompositionEnd,S=t;(0,y.L)((function(){if(!c)return g.Z;var e=S.current;return e?(function(e){e&&Array.prototype.forEach.call(b(e)?e:[e],(function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!f.has(e)){var t,n=NaN,o=NaN,r=NaN,i=[],a=function(t){i.forEach((function(e){return e()})),i.splice(0,i.length),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),f.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});i.push((0,h.Oo)(e,"autosize:destroy",a)),"onpropertychange"in e&&"oninput"in e&&i.push((0,h.Oo)(e,"keyup",c)),i.push((0,h.Oo)(window,"resize",(function(){e.clientWidth!==o&&c()}))),i.push((0,h.Oo)(e,"input",c)),i.push((0,h.Oo)(e,"autosize:update",c)),e.style.overflowX="hidden",e.style.wordWrap="break-word",f.set(e,{destroy:a,update:c}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),c()}function l(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function s(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",o=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),r&&(document.documentElement.scrollTop=r)}}function c(){s();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(op;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("textarea",(0,o.pi)({},w,{ref:t,className:l()("zent-textarea",{"zent-textarea-with-count":u}),value:P,maxLength:d,onChange:j,onCompositionStart:k,onCompositionEnd:z,"data-zv":"10.0.10"}),void 0),u&&(0,r.jsxs)("span",(0,o.pi)({className:l()("zent-textarea-count",{"zent-textarea-out-of-range-text":N}),"data-zv":"10.0.10"},{children:[(P||"").length,"/",null!=d?d:p]}),void 0)]},void 0)}));w.displayName="TextArea";var C=n(77125),P=n(1348),j=n(78513),k=["className","width","style","size","disabled","widthSize"],z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elementRef=(0,i.createRef)(),t.state={hasFocus:!1},t.onKeyDown=function(e){var n=t.props,o=n.onKeyDown,r=n.onPressEnter;r&&"Enter"===e.key&&r(e),o&&o(e)},t.onFocus=function(e){t.setState({hasFocus:!0});var n=t.props.onFocus;n&&n(e)},t.onBlur=function(e){t.setState({hasFocus:!1});var n=t.props.onBlur;n&&n(e)},t.clearInput=function(e){var n=t.props.onChange,r=Object.create(e);r.target=(0,o.pi)((0,o.pi)({},t.props),{value:""}),r.fromClearButton=!0,n&&n(r)},t.renderInput=function(e){return t.renderImpl(e)},t}return(0,o.ZT)(t,e),Object.defineProperty(t.prototype,"input",{get:function(){return this.elementRef.current},enumerable:!1,configurable:!0}),t.prototype.focus=function(){var e=this.elementRef.current;e&&e.focus()},t.prototype.select=function(e,t){var n=this.elementRef.current;n&&("number"==typeof e&&"number"==typeof t?n.setSelectionRange(e,t):n.select())},t.prototype.componentDidMount=function(){var e=this.props,t=e.autoFocus,n=e.autoSelect,o=e.initSelectionStart,r=e.initSelectionEnd,i=this.elementRef.current;t&&i&&i.focus(),n&&this.select(o,r)},t.prototype.renderImpl=function(e){var t,n,i,a=this.props,s=a.type,c=a.className,u=a.width,d=a.style,h=a.size,f=a.disabled,v=void 0===f?e.value:f,m=a.readOnly,b=a.widthSize,g=this.state.hasFocus,y="textarea"===s.toLowerCase(),x=!(v||m),C=this.context.renderInner,P=(0,o.pi)((0,o.pi)({},d),{width:u}),z=!1;if("textarea"===a.type){var S=null===(n=this.elementRef.current)||void 0===n?void 0:n.value;z=!(!a.maxCharacterCount||!S)&&S.length>a.maxCharacterCount,i=(0,r.jsx)(w,(0,o.pi)({},(0,j.Z)(a,k),{ref:this.elementRef,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,disabled:v}),void 0)}else i=(0,r.jsx)(p,(0,o.pi)({},(0,j.Z)(a,k),{ref:this.elementRef,onClear:this.clearInput,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,disabled:v}),void 0);var N=l()("zent-input-wrapper","zent-input--size-"+h,((t={})["zent-input-wrapper--width-"+b]=!!b,t["zent-input-wrapper__not-editable"]=!x,t["zent-textarea-wrapper"]=y,t["zent-textarea-wrapper-out-of-range"]=z,t["zent-input-addons"]=!y&&(a.addonAfter||a.addonBefore),t["zent-input--has-focus"]=g,t["zent-input-wrapper-inline"]=a.inline,t["zent-input-wrapper-disabled"]=v,t),c);return(0,r.jsx)("div",(0,o.pi)({className:N,style:P,onMouseEnter:a.onMouseEnter,onMouseLeave:a.onMouseLeave,"data-zv":"10.0.10"},{children:C?C(i):i}),void 0)},t.prototype.render=function(){return(0,r.jsx)(P.d.Consumer,{children:this.renderInput},void 0)},t.contextType=C.r,t.displayName="ZentInput",t.defaultProps={type:"text",size:"normal"},t}(i.Component),S=z},77125:(e,t,n)=>{n.d(t,{r:()=>o});var o=(0,n(27378).createContext)({renderInner:null})},20840:(e,t,n)=>{n.d(t,{l:()=>c});var o=n(59312),r=n(24246),i=n(60042),a=n.n(i),l=n(73326),s=n(56975);function c(e){var t=e.loading,n=void 0!==t&&t,i=e.delay,c=void 0===i?0:i,u=e.className,d=e.icon,p=void 0===d?"circle":d,h=e.iconSize,f=e.iconText,v=e.textPosition,m=void 0===v?"bottom":v,b=e.colorPreset,g=void 0===b?"primary":b,y=e.textSize;return(0,l.Z)({loading:n,delay:c})||!n?null:(0,r.jsx)("div",(0,o.pi)({className:a()("zent-loading","zent-loading--inline",u),"data-zv":"10.0.10"},{children:(0,r.jsx)(s.Z,{icon:p,size:h,text:f,textPosition:m,colorPreset:g,textSize:y},void 0)}),void 0)}t.Z=c},56975:(e,t,n)=>{n.d(t,{Z:()=>f});var o=n(59312),r=n(24246),i=n(60042),a=n.n(i);function l(e){return a()({"zent-loading-icon-and-text--bottom":"bottom"===e,"zent-loading-icon-and-text--top":"top"===e,"zent-loading-icon-and-text--left":"left"===e,"zent-loading-icon-and-text--right":"right"===e})}function s(e){var t=e.size,n=e.text,i=e.textPosition,s=e.colorPreset,u=e.textSize,d=void 0===u?14:u;return t=t||40,(0,r.jsxs)("div",(0,o.pi)({className:a()("zent-loading-icon-and-text","zent-loading-icon-and-text--youzan","zent-loading-color-preset--"+s,l(i)),"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",(0,o.pi)({className:"zent-loading-icon zent-loading-icon-youzan",style:{height:t,width:t},"data-zv":"10.0.10"},{children:(0,r.jsx)(c,{size:t},void 0)}),void 0),n&&(0,r.jsx)("div",(0,o.pi)({className:"zent-loading-icon-text",style:{fontSize:d+"px"},"data-zv":"10.0.10"},{children:n}),void 0)]}),void 0)}function c(e){var t=e.size;return(0,r.jsx)("svg",(0,o.pi)({width:u(t,19),height:u(t,23),viewBox:"0 0 19 23",xmlns:"http://www.w3.org/2000/svg",className:"zent-loading-icon-youzan-svg","data-zv":"10.0.10"},{children:(0,r.jsx)("path",{d:"M4.649 22.4V11.573c3.245-.966 4.18-10.27 4.18-10.27.084-.621.64-1.204 1.252-1.3l-.21.033C11.495-.22 12.71.92 12.583 2.58l-.337 4.43c-.046.613.404 1.051 1.006.98l4.005-.482c1.216-.146 1.97.714 1.682 1.92 0 0-.135.403-.21 1.111-.073.708.312.96.23 1.986-.08 1.027-.411 1.154-.479 1.944s.174.888.122 1.628c-.068.955-.434 1.205-.508 1.66-.074.457.01.779.01.779.081.904-.55 1.753-1.435 1.898L4.649 22.4zM3.568 11.801v10.776l-2.5.409C.478 23.082 0 22.67 0 22.064v-8.762c0-.454.357-.89.797-.972 0 0 1.64-.307 2.77-.529z",fillRule:"evenodd","data-zv":"10.0.10"},void 0)}),void 0)}function u(e,t){return e/40*t}var d={primary:["#155BD4","#EDF4FF"],grey:["#CCC","#F7F7F7"]},p=function(e,t){var n=d[t];return(0,r.jsx)("svg",(0,o.pi)({width:e+"px",height:e+"px",viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"zent-loading-icon zent-loading-icon-circle","data-zv":"10.0.10"},{children:(0,r.jsxs)("g",(0,o.pi)({id:"loading",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd","data-zv":"10.0.10"},{children:[(0,r.jsx)("rect",{x:"0",y:"0",width:"20",height:"20","data-zv":"10.0.10"},void 0),(0,r.jsx)("path",{d:"M10,2 C14.418278,2 18,5.581722 18,10 C18,14.418278 14.418278,18 10,18 C5.581722,18 2,14.418278 2,10 C2,5.581722 5.581722,2 10,2 Z M10,4 C6.6862915,4 4,6.6862915 4,10 C4,13.3137085 6.6862915,16 10,16 C13.3137085,16 16,13.3137085 16,10 C16,6.6862915 13.3137085,4 10,4 Z",fill:n[1],fillRule:"nonzero","data-zv":"10.0.10"},void 0),(0,r.jsx)("path",{d:"M10,2 L10,4 L10,4 C6.6862915,4 4,6.6862915 4,10 C4,13.3137085 6.6862915,16 10,16 L10,18 L10,18 C5.581722,18 2,14.418278 2,10 C2,5.581722 5.581722,2 10,2 Z",fill:n[0],fillRule:"nonzero","data-zv":"10.0.10"},void 0)]}),void 0)}),void 0)};function h(e){var t=e.size,n=e.text,i=e.textPosition,s=e.textSize,c=void 0===s?14:s,u=e.colorPreset;return t=t||20,(0,r.jsxs)("div",(0,o.pi)({className:a()("zent-loading-icon-and-text","zent-loading-icon-and-text--circle","zent-loading-color-preset--"+u,l(i)),"data-zv":"10.0.10"},{children:[p(t,u),n&&(0,r.jsx)("div",(0,o.pi)({className:"zent-loading-icon-text",style:{fontSize:c+"px"},"data-zv":"10.0.10"},{children:n}),void 0)]}),void 0)}function f(e){var t=e.icon,n=(0,o._T)(e,["icon"]);return"youzan"===t?(0,r.jsx)(s,(0,o.pi)({},n),void 0):"circle"===t?(0,r.jsx)(h,(0,o.pi)({},n),void 0):null}},73326:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(27378);function r(e){var t=e.loading,n=e.delay,r=!!(n&&n>0),i=(0,o.useState)(r),a=i[0],l=i[1];return(0,o.useEffect)((function(){if(t&&r){l(!0);var e=setTimeout((function(){return l(!1)}),n);return function(){return clearTimeout(e)}}return l(r)}),[t,n,r]),a}},23476:(e,t,n)=>{n.d(t,{g:()=>P,Z:()=>j});var o=n(59312),r=n(24246),i=n(31542),a=n(79352),l=n(14805),s=n(27378),c=n(14623),u=n(53552),d=n(27036),p=function(e){var t=e.children,n=(0,o._T)(e,["children"]);return(0,r.jsx)(c.Z,(0,o.pi)({},n,{timeout:800,classNames:"notify"},{children:t}),void 0)},h={success:"check-circle",warn:"warning",error:"close-circle",info:"info-circle"},f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onExited=function(){t.props.close()},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.text,n=e.status,i=e.selector,a=e.isIn;return(0,r.jsx)(u.ZP,(0,o.pi)({selector:i},{children:(0,r.jsx)(p,(0,o.pi)({appear:!0,unmountOnExit:!0,in:a,onExited:this.onExited},{children:(0,r.jsx)("div",(0,o.pi)({className:"zent-notify","data-zv":"10.0.10"},{children:(0,r.jsxs)("div",(0,o.pi)({className:"zent-notify-content zent-notify-content-"+n,"data-zv":"10.0.10"},{children:[(0,r.jsx)(d.Z,{className:"zent-notify-content-icon",type:h[n]},void 0),(0,r.jsx)("div",(0,o.pi)({"data-zv":"10.0.10"},{children:t}),void 0)]}),void 0)}),void 0)}),void 0)}),void 0)},t.defaultProps={text:"",status:"",className:""},t}(s.Component),v=0,m=3500,b="body",g={},y="zent-notify-container",x=function(e){var t=g[e];if(t){var n=t.container,o=t.callback,r=t.timeOutId;clearTimeout(r),i.unmountComponentAtNode(n),delete g[e],function(e){"function"==typeof e&&e()}(o)}},w=function(e,t){e.classList&&!e.classList.contains(t)&&e.classList.add(t)},C=function(e,t,n,s,c,u){if(!a.Z)return null;var d=(0,l.Z)("div"),p=function(e,t){var n=e||b,o=document.querySelector(n+" > ."+y),r=document.querySelector(n)||document.body;if(!o){var i=(0,l.Z)("div");i.className=y,o=r.appendChild(i)}return t&&w(o,t),"body"!==n&&w(o,"zent-notify-container-custom"),o}(c,u),h={text:e,status:n,duration:t,isIn:!0,selector:p};i.render((0,r.jsx)(f,(0,o.pi)({},h),void 0),d);var C=++v,P=setTimeout((function(){i.render((0,r.jsx)(f,{isIn:!1,text:e,selector:p,status:n,close:function(){return x(C)}},void 0),d)}),h.duration||m);return g[C]={container:d,callback:s,timeOutId:P},C},P={info:function(e,t,n,o,r){return C(e,t,"info",n,o,r)},success:function(e,t,n,o,r){return C(e,t,"success",n,o,r)},warn:function(e,t,n,o,r){return C(e,t,"warn",n,o,r)},error:function(e,t,n,o,r){return C(e,t,"error",n,o,r)},clear:function(e){e?x(e):Object.keys(g).forEach((function(e){x(e)}))},config:function(e){e.duration&&(m=e.duration),e.containerSelector&&(b=e.containerSelector)}},j=P},92497:(e,t,n)=>{n.d(t,{X:()=>g,Z:()=>y});var o=n(59312),r=n(24246),i=n(27378),a=n(60042),l=n.n(a),s=n(33806),c=n(16078),u=n(50707),d=n(90347),p=n(52074),h=n(65436);function f(e,t,n,o){if("function"!=typeof o)return n.close();var r=function(){t(e,!0)},i=function(){t(e,!1,n.close)};if(o.length>=1)return r(),o(i);var a=o();(0,h.Z)(a)?(r(),a.then(i).catch((function(){return t(e,!1)}))):n.close()}var v=function(e){var t=e.type,n=e.onConfirm,a=e.onCancel,l=e.confirmText,s=e.cancelText,u=e.confirmPending,h=e.cancelPending,v=e.changePending,m=(0,c.Sv)(),b=(0,i.useCallback)((function(){f("confirmPending",v,m,n)}),[n,m,v]),g=(0,i.useCallback)((function(){f("cancelPending",v,m,a)}),[a,m,v]);return(0,r.jsxs)("div",(0,o.pi)({className:"zent-pop-v2-buttons","data-zv":"10.0.10"},{children:[(0,r.jsx)(p.Z,(0,o.pi)({componentName:"Pop"},{children:function(e){return(0,r.jsx)(d.ZP,(0,o.pi)({loading:h,disabled:u,size:"small",onClick:g},{children:s||e.cancel}),void 0)}}),void 0),(0,r.jsx)(p.Z,(0,o.pi)({componentName:"Pop"},{children:function(e){return(0,r.jsx)(d.ZP,(0,o.pi)({loading:u,disabled:h,size:"small",type:t,onClick:b},{children:l||e.confirm}),void 0)}}),void 0)]}),void 0)},m=n(42690),b=s.ZP.Trigger,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popoverRef=(0,i.createRef)(),t.isUnmounted=!1,t.state={confirmPending:!1,cancelPending:!1},t.changePending=function(e,n,o){var r;t.isUnmounted||t.setState(((r={})[e]=n,r),o)},t}return(0,o.ZT)(t,e),t.prototype.adjustPosition=function(){var e=this.popoverRef.current;e&&e.adjustPosition()},t.prototype.getWrappedPopover=function(){return this.popoverRef.current},t.prototype.renderTrigger=function(){var e=this.props;switch(e.trigger){case"click":return(0,r.jsx)(b.Click,(0,o.pi)({closeOnClickOutside:e.closeOnClickOutside},{children:e.children}),void 0);case"hover":return(0,r.jsx)(b.Hover,(0,o.pi)({showDelay:e.mouseEnterDelay,hideDelay:e.mouseLeaveDelay,anchorOnly:e.anchorOnly,fixMouseEventsOnDisabledChildren:e.fixMouseEventsOnDisabledChildren},{children:e.children}),void 0);case"focus":return(0,r.jsx)(b.Focus,{children:e.children},void 0);case"none":return(0,r.jsx)(s.ZP.Anchor,{children:e.children},void 0);default:throw new Error("Pop trigger not assigned")}},t.prototype.componentWillUnmount=function(){this.isUnmounted=!0},t.prototype.render=function(){var e=this.props,t=e.className,n=e.style,i=e.trigger,a=e.visible,c=e.onShow,d=e.onClose,p=e.position,h=e.cushion,f=e.header,b=e.content,g=e.centerArrow,y=e.onBeforeClose,x=e.onBeforeShow,w=e.onPositionUpdated,C=e.onPositionReady,P=e.containerSelector,j=e.onCancel,k=e.onConfirm,z=e.confirmText,S=e.cancelText,N=e.type,R=null!=f,O=this.props.onVisibleChange;"none"===i&&(O=O||m.Z);var E=this.state,T=E.confirmPending,M=E.cancelPending,Z=T||M;return(0,r.jsxs)(s.ZP,(0,o.pi)({ref:this.popoverRef,visible:!!Z||a,onVisibleChange:Z?m.Z:O,className:l()("zent-pop-v2",t,{"zent-pop-v2--has-header":R,"zent-pop-v2--no-header":!R}),style:n,cushion:h,position:(0,u.Z)(p,g),onShow:c,onClose:d,onBeforeClose:y,onBeforeShow:x,onPositionUpdated:w,onPositionReady:C,containerSelector:P},{children:[this.renderTrigger(),(0,r.jsxs)(s.ZP.Content,{children:[R&&(0,r.jsx)("div",(0,o.pi)({className:"zent-pop-v2-header","data-zv":"10.0.10"},{children:f}),void 0),(0,r.jsxs)("div",(0,o.pi)({className:"zent-pop-v2-inner","data-zv":"10.0.10"},{children:[b,(j||k)&&(0,r.jsx)(v,{onConfirm:k,onCancel:j,confirmText:z,cancelText:S,confirmPending:T,cancelPending:M,changePending:this.changePending,type:N},void 0)]}),void 0),(0,r.jsx)("div",{className:"zent-pop-v2-arrow","data-zv":"10.0.10"},void 0)]},void 0)]}),void 0)},t.defaultProps={trigger:"none",position:"top-center",cushion:10,type:"primary",mouseLeaveDelay:200,mouseEnterDelay:200,containerSelector:"body"},t.withPop=(0,c.ou)("pop"),t}(i.Component),y=g},80522:(e,t,n)=>{var o=n(59312),r=n(27378),i=n(31542),a=n(42108),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.getElement=function(){var e=this.props.getElement,t=(0,i.findDOMNode)(this);return e?e(t):t},t.prototype.componentDidMount=function(){var e=this;this.context.popover.getAnchor=function(){return e.getElement()}},t.prototype.componentWillUnmount=function(){this.context.popover.getAnchor=null},t.prototype.render=function(){return this.props.children},t.contextType=a.Z,t}(r.Component);t.Z=l},28425:(e,t,n)=>{n.d(t,{Z:()=>m});var o=n(59312),r=n(24246),i=n(60042),a=n.n(i),l=n(44879),s=n(42108),c=n(53552),u=n(80186),d=n(49476),p=n(27378);function h(e,t){var n=(0,p.useRef)(null);return(0,p.useMemo)((function(){return n.current=null,function(){return n.current||(n.current=e()),n.current}}),t)}var f=n(43239),v=(0,p.createContext)({positionChanged$:new l.x});v.displayName="PopoverContentContext";var m=function(e){var t=e.children,n=(0,s.l)(),i=(0,p.useContext)(v).positionChanged$,m=(0,p.useMemo)((function(){return{positionChanged$:new l.x}}),[]),b=(0,p.useState)(d.w),g=b[0],y=b[1],x=(0,p.useRef)(n);x.current=n;var w,C,P,j=n.containerSelector,k=n.portalRef,z=h((function(){return document.querySelector(j)}),[j]),S=h((function(){var e=z();return e&&function(e,t){function n(e){var t=getComputedStyle(e).getPropertyValue("position");return t&&"static"!==t}if(void 0===t&&(t=!1),!e)return null;if(t&&n(e))return e;for(var o=e.parentElement;null!==o;o=o.parentElement)if(n(o))return o;return document.documentElement}(e)}),[z]),N=(0,f.s)(),R=(w=function(){if(N.current){var e=function(e,t,n,o){var r,i=e.visible,a=e.placement,l=e.popover,s=e.cushion;if(!i)return d.w;var c=t(),u=n(),p=o.current,h=null===(r=l.getAnchor)||void 0===r?void 0:r.call(l);if(!(c&&u&&p&&h&&h instanceof HTMLElement))return d.w;var f,v,m,b,g=u.getBoundingClientRect(),y=p.container,x=y.getBoundingClientRect(),w=h.getBoundingClientRect();return a({relativeRect:(v=w,m=(f=g).left,b=f.top,{width:v.width,height:v.height,top:v.top-b,left:v.left-m,bottom:v.bottom-b,right:v.right-m}),anchor:h,anchorRect:w,content:y,contentRect:x,containerRect:g,container:u,cushion:s})}(x.current,z,S,k);y(e)}},C=(0,p.useRef)(w),P=(0,p.useRef)(null),(0,p.useEffect)((function(){C.current=w}),[w]),(0,p.useCallback)((function(){P.current||(P.current=requestAnimationFrame((function(){P.current=null,C.current()})))}),[]));return(0,p.useImperativeHandle)(n.contentRef,(function(){return{adjustPosition:R}}),[R]),(0,u.Tb)("resize",R),(0,u.Tb)("scroll",R,{capture:!0}),(0,p.useEffect)((function(){n.popover.positionUpdated(),m.positionChanged$.next()}),[n.popover,g,m]),(0,p.useEffect)((function(){var e=i.subscribe((function(){R()}));return function(){return e.unsubscribe()}}),[i,R]),(0,r.jsx)(c.ZP,(0,o.pi)({ref:k,visible:n.visible,selector:j,className:a()("zent-popover-v2",g.className,n.className),style:(0,o.pi)((0,o.pi)({},g.style),n.style)},{children:(0,r.jsx)(v.Provider,(0,o.pi)({value:m},{children:t}),void 0)}),void 0)}},42108:(e,t,n)=>{n.d(t,{l:()=>i});var o=n(27378),r=(0,o.createContext)(null);function i(){var e=(0,o.useContext)(r);if(!e)throw new Error("Popover context not found");return e}r.displayName="ZentPopoverContext",t.Z=r},81044:(e,t,n)=>{n.d(t,{J:()=>Q,Z:()=>ee});var o={};n.r(o),n.d(o,{Arrow:()=>U,AutoBottomCenter:()=>b,AutoBottomLeft:()=>y,AutoBottomLeftInViewport:()=>T,AutoBottomRight:()=>w,AutoTopCenter:()=>P,AutoTopLeft:()=>k,AutoTopRight:()=>S,BottomCenter:()=>p,BottomLeft:()=>u,BottomLeftInViewport:()=>R,BottomRight:()=>d,BottomSameWidth:()=>M,CascaderAutoBottomLeft:()=>I,INVISIBLE_POSITION:()=>l.w,LeftBottom:()=>_,LeftCenter:()=>L,LeftTop:()=>Z,RightBottom:()=>B,RightCenter:()=>A,RightTop:()=>F,TopCenter:()=>v,TopLeft:()=>h,TopLeftInViewport:()=>O,TopRight:()=>f});var r=n(59312),i=n(24246),a=n(27378),l=n(49476),s=n(27468),c=n(33936),u=function(e){var t=e.relativeRect,n=e.cushion;return{style:{position:"absolute",left:t.left,top:t.bottom+n},className:(0,c.O)("position-bottom-left")}},d=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion,r=n.right,i=n.bottom;return{style:{position:"absolute",left:r-t.width,top:i+o},className:(0,c.O)("position-bottom-right")}},p=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion,r=n.left,i=n.right,a=n.bottom;return{style:{position:"absolute",left:(r+i)/2-t.width/2,top:a+o},className:(0,c.O)("position-bottom-center")}},h=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion;return{style:{position:"absolute",left:n.left,top:n.top-t.height-o},className:(0,c.O)("position-top-left")}},f=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion,r=n.right,i=n.top;return{style:{position:"absolute",left:r-t.width,top:i-t.height-o},className:(0,c.O)("position-top-right")}},v=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion,r=n.right,i=n.left,a=n.top;return{style:{position:"absolute",left:(i+r)/2-t.width/2,top:a-t.height-o},className:(0,c.O)("position-top-center")}},m={BottomLeft:u,BottomRight:d,BottomCenter:p,TopLeft:h,TopRight:f,TopCenter:v},b=function(e){var t,n,o=e.contentRect,r=e.cushion,i=e.anchorRect,a=(0,s.ZP)(),l=(i.left+i.right)/2,c=o.width/2;return t=l+c>a.width&&i.right-o.width>0?"Right":l-c<0&&i.left+o.widtha.height&&i.top-r-o.height>0?"Top":"Bottom",m[""+n+t](e)},g={BottomLeft:u,BottomRight:d,TopLeft:h,TopRight:f},y=function(e){var t,n,o=e.contentRect,r=e.cushion,i=e.anchorRect,a=(0,s.ZP)();return t=i.left+o.width>a.width&&i.right-o.width>0?"Right":"Left",n=i.bottom+r+o.height>a.height&&i.top-r-o.height>0?"Top":"Bottom",g[""+n+t](e)},x={BottomLeft:u,BottomRight:d,TopLeft:h,TopRight:f},w=function(e){var t,n,o=e.contentRect,r=e.cushion,i=e.anchorRect,a=(0,s.ZP)();return t=i.right-o.width<0&&i.left+o.widtha.height&&i.top-r-o.height>0?"Top":"Bottom",x[""+n+t](e)},C={BottomLeft:u,BottomRight:d,BottomCenter:p,TopLeft:h,TopRight:f,TopCenter:v},P=function(e){var t,n,o=e.contentRect,r=e.cushion,i=e.anchorRect,a=(0,s.ZP)(),l=(i.left+i.right)/2,c=o.width/2;return t=l+c>a.width&&i.right-o.width>0?"Right":l-c<0&&i.left+o.widtha.width&&i.right-o.width>0?"Right":"Left",n=i.top-r-o.height<0&&i.bottom+r+o.heighto.width?"Left":"LeftInViewport",n=i.bottom+r+o.height>a.height&&i.top-r-o.height>0?"Top":"Bottom",E[""+n+t](e)},M=function(e){var t=e.relativeRect,n=e.cushion,o=t.width,r=t.bottom;return{style:{position:"absolute",left:t.left,top:r+n,width:o},className:(0,c.O)("position-same-width")}},Z=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion;return{style:{position:"absolute",left:n.left-t.width-o,top:n.top},className:(0,c.O)("position-left-top")}},L=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion;return{style:{position:"absolute",left:n.left-t.width-o,top:(n.top+n.bottom)/2-t.height/2},className:(0,c.O)("position-left-center")}},_=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion;return{style:{position:"absolute",left:n.left-t.width-o,top:n.bottom-t.height},className:(0,c.O)("position-left-bottom")}},F=function(e){var t=e.relativeRect,n=e.cushion;return{style:{position:"absolute",left:t.right+n,top:t.top},className:(0,c.O)("position-right-top")}},A=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion;return{style:{position:"absolute",left:n.right+o,top:(n.top+n.bottom)/2-t.height/2},className:(0,c.O)("position-right-center")}},B=function(e){var t=e.relativeRect,n=e.cushion,o=e.contentRect;return{style:{position:"absolute",left:t.right+n,top:t.bottom-o.height},className:(0,c.O)("position-right-bottom")}},D={BottomLeft:u,BottomRight:d,TopLeft:h,TopRight:f},I=function(e){var t,n,o=e.contentRect,r=e.cushion,i=e.anchorRect,a=(0,s.ZP)();return t=i.left+o.width>a.width?"Right":"Left",n=i.bottom+r+o.height>a.height&&i.top-r-o.height>0?"Top":"Bottom",D[""+n+t](e)};function H(e,t,n){return{style:{position:"absolute",left:Math.round(e)+"px",top:Math.round(t)+"px"},className:(0,c.O)("position-arrow-"+n)}}var U={ArrowBottomLeftPosition:function(e){var t=e.relativeRect,n=e.cushion;return H((t.left+t.right)/2-15,t.bottom+n,"bottom-left")},ArrowBottomRightPosition:function(e){var t=e.relativeRect,n=e.cushion,o=e.contentRect,r=t.left,i=t.right,a=t.bottom;return H((r+i)/2-(o.width-15),a+n,"bottom-right")},ArrowLeftTopPosition:function(e){var t=e.relativeRect,n=e.contentRect,o=e.cushion;return H(t.left-n.width-o,(t.top+n.bottom)/2-9,"left-top")},ArrowLeftBottomPosition:function(e){var t=e.relativeRect,n=e.contentRect,o=e.cushion;return H(t.left-n.width-o,(t.top+t.bottom)/2-(n.height-9),"left-bottom")},ArrowRightTopPosition:function(e){var t=e.relativeRect,n=e.cushion;return H(t.right+n,(t.top+t.bottom)/2-9,"right-top")},ArrowRightBottomPosition:function(e){var t=e.relativeRect,n=e.contentRect,o=e.cushion;return H(t.right+o,(t.top+t.bottom)/2-(n.height-9),"right-bottom")},ArrowTopLeftPosition:function(e){var t=e.relativeRect,n=e.contentRect,o=e.cushion,r=t.right;return H((t.left+r)/2-15,t.top-n.height-o,"top-left")},ArrowTopRightPosition:function(e){var t=e.cushion,n=e.relativeRect,o=e.contentRect,r=n.right,i=n.left,a=n.top;return H((i+r)/2-(o.width-15),a-o.height-t,"top-right")}},V=n(28425),W=n(84042),$=n(673),q=n(19185),Y=n(42108),K=n(80522),X=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.getTriggerProps=function(e){return{}},t.prototype.render=function(){var e=a.Children.only(this.props.children);if(!e)throw new Error("Popover Trigger requires a child");return"number"!=typeof e&&"string"!=typeof e||(e=(0,i.jsx)("span",(0,r.pi)({"data-zv":"10.0.10"},{children:e}),void 0)),(0,i.jsx)(K.Z,{children:(0,a.cloneElement)(e,this.getTriggerProps(e))},void 0)},t.contextType=Y.Z,t}(a.Component),J={Click:W.Z,Hover:$.ZP,Focus:function(e){var t=e.children,n=e.getElement,o=(0,a.useContext)(Y.Z);if(!o)throw new Error("PopoverFocusTrigger must be child of Popover");var l,s={onFocus:function(){for(var e,n,i=[],a=0;a=1)return a(l,this.escape);Promise.resolve(a()).then(l,this.escape)}},t.prototype.adjustPosition=function(){var e;null===(e=this.contentRef.current)||void 0===e||e.adjustPosition()},t.prototype.positionUpdated=function(){var e=this.props,t=e.onPositionReady,n=e.onPositionUpdated;null==n||n(),this.isPositionReady||(this.isPositionReady=!0,null==t||t())},t.prototype.safeSetState=function(e,t){if(!this.isUnmounted)return this.setState(e,t)},t.getDerivedStateFromProps=function(e){return"boolean"==typeof e.visible?{visible:e.visible}:null},t.prototype.componentDidMount=function(){var e=this.props.onShow;this.state.visible&&e&&e(),this.didMountCleanup=this.didMountHooks.map((function(e){return e()}))},t.prototype.componentDidUpdate=function(e,t){if(t.visible!==this.state.visible){var n=this.props,o=n.onShow,r=n.onClose;this.state.visible?(this.isPositionReady=!1,o&&o()):r&&r()}this.adjustPosition()},t.prototype.componentWillUnmount=function(){this.isUnmounted=!0,this.didMountCleanup.forEach((function(e){return e()}))},t.prototype.render=function(){var e=this.props,t=e.containerSelector,n=e.position,o=e.cushion,a=e.className,l=e.children,s=e.style,c=this.state.visible;return(0,i.jsx)(Y.Z.Provider,(0,r.pi)({value:{visible:c,containerSelector:t,placement:n,cushion:o,className:a,portalRef:this.portalRef,contentRef:this.contentRef,popover:this,didMount:this.didMount,style:s}},{children:l}),void 0)},t.contextType=Y.Z,t.defaultProps={cushion:0,containerSelector:"body"},t.Anchor=K.Z,t.Content=V.Z,t.Trigger=J,t.Position=o,t.withPopover=G.ZP,t.Context=Y.Z,t}(a.Component),ee=Q},33806:(e,t,n)=>{var o=n(81044);t.ZP=o.Z},49476:(e,t,n)=>{n.d(t,{w:()=>o});var o={style:{position:"fixed",left:-1e5,top:-1e5,zIndex:-10,opacity:0},className:(0,n(33936).O)("position-invisible")}},33936:(e,t,n)=>{function o(e){return"zent-popover-v2-"+e}n.d(t,{O:()=>o})},84042:(e,t,n)=>{var o=n(59312),r=n(24246),i=n(27378),a=n(19185),l=n(42108),s=n(80522),c=n(80186);t.Z=function(e){var t=e.children,n=e.toggle,u=e.getElement,d=e.closeOnClickOutside,p=void 0===d||d,h=(0,l.l)(),f=(0,i.useRef)(null),v=(0,i.useCallback)((function(e){var t=f.current;if(t){var n=t.getElement();p&&n&&function(e,t,n){return!(!n||!(n instanceof Element)||n.contains(e)||t.contains(e))}(e.target,h.portalRef.current,n)&&h.popover.setVisible(!1)}}),[p,h.popover,h.portalRef]);(0,c.Tb)("click",v,{capture:!0});var m,b=function(){for(var e,r,i=[],l=0;l{n.d(t,{$L:()=>h});var o=n(59312),r=n(24246),i=n(27378),a=n(44879),l=n(49570),s=n(18462),c=n(42108),u=n(80522),d=n(49744),p=n(19185),h=(0,i.createContext)({fixMouseEventsOnDisabledChildren:!1});t.ZP=function(e){var t=(0,i.useContext)(c.Z);if(!t)throw new Error("PopoverHoverTrigger must be child of Popover");var n=(0,i.useRef)(e);n.current=e;var f=(0,i.useMemo)((function(){return new a.x}),[]);(0,i.useEffect)((function(){var e=f.pipe((0,s.w)((function(e){var t=n.current,o=t.hideDelay,r=void 0===o?150:o,i=t.showDelay,a=void 0===i?150:i;return new l.y((function(t){var n=setTimeout((function(){t.next(e),t.complete(),n=null}),e?a:r);return function(){n&&clearTimeout(n)}}))}))).subscribe((function(e){t.popover.setVisible(e)}));return function(){return e.unsubscribe()}}),[t.popover,f]);var v,m=e.children,b=e.fixMouseEventsOnDisabledChildren,g=void 0!==b&&b,y=t.portalRef;if((0,t.didMount)((function(){var e=y.current.container,t=[(0,d.Oo)(e,"mouseenter",(function(){n.current.anchorOnly||f.next(!0)})),(0,d.Oo)(e,"mouseleave",(function(){n.current.anchorOnly||f.next(!1)})),(0,d.Oo)(window,"blur",(function(){f.next(!1)}))];return function(){t.forEach((function(e){return e()}))}})),"function"==typeof m)v=m({onMouseEnter:function(){f.next(!0)},onMouseLeave:function(){f.next(!1)}});else if((0,p.isElement)(m)&&!(0,p.isFragment)(m)){var x=m;v=(0,i.cloneElement)(x,{onMouseEnter:function(){for(var e,t,n=[],r=0;r{n.d(t,{Sv:()=>l,ou:()=>s});var o=n(59312),r=n(27378),i=n(19185),a=n(42108);function l(){var e=(0,r.useContext)(a.Z);if(null===e)throw new Error("usePopover must be used as child of Popover");return e.popover}function s(e){return function(t){var n,a,s=t.displayName||t.constructor.name||"Component",c=!!(null===(a=null==(n=t)?void 0:n.prototype)||void 0===a?void 0:a.isReactComponent)||(0,i.isForwardRef)(t),u=(0,r.forwardRef)((function(n,i){var a,s=l(),u=((a={})[e]=s,a);return c&&(u.ref=i),(0,r.createElement)(t,(0,o.pi)((0,o.pi)({},n),u))}));return u.displayName="withPopover("+s+")",u}}t.ZP=s("popover")},23860:(e,t,n)=>{n.d(t,{h:()=>w,Z:()=>C});var o=n(59312),r=n(24246),i=n(27378),a=n(42690),l=n(79264),s=function(e){var t=e.node,n=e.getParent,o=e.selector;return(0,l.L)((function(){var e=n(o);return e.appendChild(t),function(){e.removeChild(t)}}),[t,o,n]),null},c=n(99496),u=n(54817),d=n(41925),p=n(14805),h={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},f=["Webkit","ms","Moz","O"];Object.keys(h).forEach((function(e){f.forEach((function(t){h[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=h[e]}))}));var v=n(72551),m=function(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||(0,v.n)(h,e)&&h[e]?(""+t).trim():t+"px"},b=n(49744),g=n(79352),y=n(23343),x=new Map,w=(0,i.forwardRef)((function(e,t){var n=e.visible,h=void 0===n||n,f=e.layer,v=void 0===f?"div":f,w=e.selector,C=void 0===w?"body":w,P=e.useLayerForClickAway,j=void 0!==P&&P,k=e.className,z=e.style,S=e.blockPageScroll,N=void 0!==S&&S,R=e.closeOnESC,O=void 0!==R&&R,E=e.closeOnClickOutside,T=void 0!==E&&E,M=e.children,Z=e.append,L=(0,i.useMemo)((function(){return g.Z?(0,p.Z)(v):null}),[v]),_=(0,i.useMemo)((function(){return(0,d.Z)(u.pD)}),[]),F=(0,i.useRef)(e);F.current=e;var A=(0,i.useRef)(z),B=(0,i.useRef)(null);return(0,i.useImperativeHandle)(t,(function(){return{contains:function(e){var t=B.current;return!!t&&t.contains(e)},purePortalRef:B,container:L}}),[L]),(0,l.L)((function(){k&&(L.className=k)}),[L,k]),(0,l.L)((function(){var e=function(e,t){for(var n={},o=Object.keys(e),r=0;r{n.d(t,{M:()=>u,Z:()=>d});var o=n(59312),r=n(24246),i=n(27378),a=n(31542),l=n(41925),s=n(54817),c=(0,i.createContext)({children:[]}),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.childContext={children:[]},t.getContainer=(0,l.Z)((function(e){var n=(0,s.pD)(e);return n?(t.props.append||(0,s.NH)(n),n):n})),t}return(0,o.ZT)(t,e),t.prototype.contains=function(e){var t=this.getContainer(this.props.selector);if(!t)return!1;if(t.contains(e))return!0;for(var n=0,o=this.childContext.children;n{var o=n(23860);t.ZP=o.Z},54817:(e,t,n)=>{function o(e){if(e instanceof Element)return e;if("string"==typeof e){var t=document.querySelector(e);if(t)return t}throw new Error("Invalid selector")}function r(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}function i(e){return e===document.body?e.scrollHeight>window.innerHeight:e.scrollHeight>e.clientHeight}n.d(t,{pD:()=>o,NH:()=>r,Se:()=>i})},95388:(e,t,n)=>{n.d(t,{P:()=>B,Z:()=>D});var o=n(59312),r=n(24246),i=n(60042),a=n.n(i),l=n(27378),s=n(33806),c=n(27036),u=(0,l.memo)((function(e){var t=e.item,n=e.onRemove,i=e.renderValue,a=(0,l.useCallback)((function(e){e.stopPropagation(),n(t)}),[n,t]);return(0,r.jsxs)("div",(0,o.pi)({className:"zent-select-v2-tag","data-zv":"10.0.10"},{children:[i?i(t):(0,r.jsx)("span",(0,o.pi)({title:t.text,className:"zent-select-v2-tag-text","data-zv":"10.0.10"},{children:t.text}),void 0),(0,r.jsx)(c.Z,{type:"close",className:"zent-select-v2-tag-close",onClick:a},void 0)]}),void 0)})),d=(0,l.memo)((function(e){var t=e.list,n=e.onRemove,o=e.renderValue;return(0,r.jsx)(r.Fragment,{children:t.map((function(e){return(0,r.jsx)(u,{item:e,onRemove:n,renderValue:o},e.key)}))},void 0)})),p=n(20840),h=(0,l.memo)((function(e){var t=e.value,n=e.active,i=e.selected,l=e.onSelect,s=e.index,u=e.onMouseEnter,d=e.onMouseLeave,h=e.multiple,f=e.children,v=e.loading;return(0,r.jsx)("div",(0,o.pi)({className:a()("zent-select-v2-option",{"zent-select-v2-option-active":n,"zent-select-v2-option-selected":!h&&i,"zent-select-v2-option-selected-bold":h&&i,"zent-select-v2-option-disabled":t.disabled,"zent-select-v2-option-header":"header"===t.type}),onClick:function(e){e.preventDefault(),l(t)},onMouseEnter:function(){return!t.type&&u(s)},onMouseLeave:function(){return!t.type&&d(s)},title:"string"==typeof t.text?t.text:"","data-zv":"10.0.10"},{children:(0,r.jsxs)("div",(0,o.pi)({className:"zent-select-v2-option-text","data-zv":"10.0.10"},{children:[(0,r.jsx)("p",(0,o.pi)({className:"zent-select-v2-option-text-content","data-zv":"10.0.10"},{children:f}),void 0),h&&i&&(0,r.jsx)(c.Z,{className:"zent-select-v2-option-selected-multiple",type:"check"},void 0),v&&(0,r.jsx)(p.l,{loading:!0,icon:"circle",iconSize:18,className:"zent-select-v2-option-loading"},void 0)]}),void 0)}),void 0)})),f=n(90475),v=n(79264),m=(0,f.B)(),b=(0,l.forwardRef)((function(e,t){var n=e.placeholder,i=e.onChange,s=e.onIndexChange,c=e.onEnter,u=e.autoWidth,d=e.value,p=(0,l.useRef)(null),h=(0,l.useCallback)((function(){p.current.focus({preventScroll:!0})}),[p]),f=(0,l.useCallback)((function(e){switch(e.key){case"ArrowUp":s(-1);break;case"ArrowDown":s(1);break;case"Enter":c()}}),[s,c]);(0,l.useImperativeHandle)(t,(function(){return{focus:function(){h()}}}));var b=m(d,i),g=b.onChange,y=b.onCompositionEnd,x=b.onCompositionStart,w=b.value;(0,v.L)((function(){h()}),[h]);var C=w||n,P=a()("zent-select-v2-search-wrap",{"zent-select-v2-search-wrap-auto-width":u});return(0,r.jsxs)("span",(0,o.pi)({className:P,"data-zv":"10.0.10"},{children:[(0,r.jsx)("input",{ref:p,placeholder:n,className:"zent-select-v2-search",value:w,onChange:g,onCompositionStart:x,onCompositionEnd:y,onKeyDown:f,"data-zv":"10.0.10"},void 0),u&&(0,r.jsx)("p",(0,o.pi)({className:"zent-select-v2-search-mirror","aria-hidden":!0,"data-zv":"10.0.10"},{children:C}),void 0)]}),void 0)})),g=n(1348),y=n(80186),x=n(8327),w=n(92497),C=n(52074),P=n(41925),j=n(70453),k=n(12482),z=n(17949);function S(e){var t;return t="function"==typeof e?e:(0,k.Z)(e)?function(t){return Object.keys(e).every((function(n){return(0,z.Z)(e[n],t[n])}))?t:null}:function(t){return t.key===e?t:null},{key:(0,j.Z)("select-item-reviver-"),text:null,type:"reviver",reviver:t}}function N(e){if(Array.isArray(e)){for(var t=!1,n=[],o=0,r=e;o=0?c.filter((function(e,t){return t!==u})):c.concat([r]);a?a(d):s.setState({value:d})}else s.onVisibleChange(!1),(a=s.props.onChange)?a(r):s.setState({value:r})}}},s.onKeywordChange=function(e){s.disabled||s.setKeyword(e.target.value,"user-change")},s.onRemove=function(e){if(!s.disabled){var t=s.state.value,n=s.props,o=n.onChange,r=n.isEqual,i=t.filter((function(t){return!r(e,t)}));s.focusSearchInput(),o?o(i):s.setState({value:i})}},s.onOptionMouseEnter=function(e){s.disabled||s.setState({activeIndex:e})},s.onOptionMouseLeave=function(e){s.disabled||s.setState((function(t){return t.activeIndex===e?{activeIndex:null}:null}))},s.selectCurrentIndex=function(){var e;if(!s.disabled){var t=s.state,n=t.activeIndex,o=t.keyword,r=t.value,i=s.props,a=i.creatable,l=i.options,c=i.filter,u=i.isValidNewOption,d=s.filterOptions(o,l,c,a,u,r);null!==n?s.onSelect(d[n]):d.length&&(null===(e=d[0])||void 0===e?void 0:e.key)===O&&s.onSelect(d[0])}},s.renderOption=function(e,t){var n=s.props,i=n.isEqual,a=n.multiple,l=n.renderOptionContent,c=n.highlight,u=n.filter,d=s.state,p=d.value,f=d.activeIndex,v=d.creating,m=!!p&&(a?p.findIndex((function(t){return i(t,e)}))>=0:i(p,e)),b=null,g=!1;if(e.key===O)g=v,b=(0,r.jsx)(C.Z,(0,o.pi)({componentName:"Select"},{children:function(t){return(0,r.jsxs)("span",(0,o.pi)({className:"zent-select-v2-option-text-highlight","data-zv":"10.0.10"},{children:[t.create,e.text]}),void 0)}}),void 0);else if(l)b=l(e);else{var y=s.state.keyword.trim();b=!1!==u&&y.length>0?null==c?void 0:c(y,e):e.text}return(0,r.jsx)(h,(0,o.pi)({value:e,selected:m,active:t===f,onSelect:s.onSelect,index:t,onMouseEnter:s.onOptionMouseEnter,onMouseLeave:s.onOptionMouseLeave,multiple:a,loading:g},{children:b}),e.key)},s.globalClick=function(e){var t;!s.disabled&&!s.state.open&&s.state.active&&s.triggerRef.current&&s.popoverRef.current&&((null===(t=s.triggerRef.current)||void 0===t?void 0:t.contains(e.target))||s.setState({active:!1}))},s.onIndexChange=function(e){s.disabled||s.setState((function(t,n){var o,r=n.options,i=n.creatable,a=n.filter,l=n.isValidNewOption,c=s.filterOptions(t.keyword,r,a,i,l,t.value);if((o=null===t.activeIndex?e<0?c.length-1:0:(t.activeIndex+e)%c.length)>=c.length&&(o=c.length-1),o<0&&(o=0),!Z(c[o])){var u;if(!(u=e>0?function(e,t){for(var n=t;n=0;n-=1)if(Z(e[n]))return n;return null}(c,o)))return null;o=u}return t.activeIndex===o?null:{activeIndex:o}}))},s.onClear=function(e){e.stopPropagation();var t=s.state.keyword;if(s.focusSearchInput(),t)s.resetKeyword("user-clear");else if(s.props.multiple){var n=[];(o=s.props.onChange)?o(n):s.setState({value:n})}else{var o;n=null,(o=s.props.onChange)?o(n):s.setState({value:n})}},s.onCreateClick=function(){var e=s.props,t=e.onCreate,n=e.multiple,o=s.state.keyword;t&&(s.setState({creating:!0}),t(o.trim()).then((function(){n?s.focusSearchInput():s.onVisibleChange(!1),s.resetKeyword("option-create")})).finally((function(){s.setState({creating:!1})})))},s.filterOptions=(0,P.Z)((function(e,t,n,r,i,a){void 0===t&&(t=[]);var l=r?function(e){var t,n;return Array.isArray(e)?e.reduce((function(e,t){var n,r;return(null===(r=null===(n=null==t?void 0:t.key)||void 0===n?void 0:n.toString())||void 0===r?void 0:r.indexOf(R))>-1?(0,o.ev)((0,o.ev)([],e),[t]):e}),[]):(null===(n=null===(t=null==e?void 0:e.key)||void 0===t?void 0:t.toString())||void 0===n?void 0:n.indexOf(R))>-1?[e]:[]}(a):[],s=(0,o.ev)((0,o.ev)([],t),l),c=!1!==n&&e?s.filter((function(t){return null==n?void 0:n(e,t)})):s;return(r&&e&&(null==i?void 0:i(e,s))?[{key:O,text:e}]:[]).concat(c)})),s.focusSearchInput=function(){var e,t;null===(t=null===(e=s.inputRef)||void 0===e?void 0:e.current)||void 0===t||t.focus()},a=t.multiple?N(null!==(n=t.value)&&void 0!==n?n:[]):N(null!==(i=t.value)&&void 0!==i?i:null);var c=t.keyword,u=t.width,d=t.options,p=t.size;return s.state={keyword:null!=c?c:"",value:a,open:!1,active:!1,activeIndex:null,prevOptions:d,creating:!1,triggerWidth:null!=u?u:A[p]||240},s.tryReviveOption(t),s}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e,t){var n,o={prevOptions:e.options};return"string"==typeof e.keyword&&(o.keyword=e.keyword),"boolean"==typeof e.open&&(o.open=e.open,o.active=e.open),e.multiple?Array.isArray(e.value)&&(o.value=N(e.value)):"value"in e&&(o.value=N(null!==(n=e.value)&&void 0!==n?n:null)),e.options!==t.prevOptions&&null!==t.activeIndex&&(e.options.length?t.activeIndex>=e.options.length&&(o.activeIndex=e.options.length-1):o.activeIndex=null),o},t.prototype.componentDidMount=function(){var e;if(!("popupWidth"in this.props)){var t=this.props,n=t.size,o=t.width,r="number"==typeof o?o:A[n]||240,i=(null===(e=this.triggerRef.current)||void 0===e?void 0:e.offsetWidth)||r;this.setState({triggerWidth:i})}},t.prototype.componentDidUpdate=function(e){this.props.options===e.options&&this.props.value===e.value||this.tryReviveOption(this.props)},Object.defineProperty(t.prototype,"disabled",{get:function(){var e=this.props.disabled;return void 0===e?this.context.value:e},enumerable:!1,configurable:!0}),t.prototype.tryReviveOption=function(e){var t,n,o,r,i=e.options;if(e.multiple){var a=null!==(t=e.value)&&void 0!==t?t:[],l=!1,s=a.map((function(e){var t;if("reviver"===e.type)for(var n=0,o=i;n0)return this.renderTagList(s,e);if(l)return null}else{if(l)return null;var s;if(s=this.state.value)return i?i(s):(0,r.jsx)("span",(0,o.pi)({className:"zent-select-v2-text",title:"string"==typeof s.text?s.text:"","data-zv":"10.0.10"},{children:s.text}),void 0)}return(0,r.jsx)("span",(0,o.pi)({className:"zent-select-v2-placeholder","data-zv":"10.0.10"},{children:n}),void 0)},t.prototype.renderTagCollapsedTrigger=function(e){return(0,r.jsxs)("span",(0,o.pi)({className:"zent-select-v2-tag-collapsed-trigger","data-zv":"10.0.10"},{children:["+",e.length]}),void 0)},t.prototype.renderTagList=function(e,t){var n=this.props,i=n.renderValue,a=n.renderTagList,l=n.collapsable,s=n.hideCollapsePop,c=n.collapseAt,u=void 0===c?1:c,p=n.renderCollapsedContent,h=l?e.slice(0,u):e,f=e.slice(u);return(0,r.jsxs)(r.Fragment,{children:["function"==typeof a?a({list:e,onRemove:this.onRemove,renderValue:i}):(0,r.jsx)(d,{list:h,onRemove:this.onRemove,renderValue:i},void 0),l&&f.length>0&&(s?this.renderTagCollapsedTrigger(f):(0,r.jsx)(w.X,(0,o.pi)({trigger:"hover",position:"auto-top-center",cushion:15,content:(0,r.jsx)("div",(0,o.pi)({className:"zent-select-v2-tag-collapsed-content","data-zv":"10.0.10"},{children:(0,r.jsx)("div",(0,o.pi)({"data-zv":"10.0.10"},{children:"function"==typeof p?p(f):f.map((function(e,n){return(0,r.jsxs)("span",(0,o.pi)({"data-zv":"10.0.10"},{children:[i?i(e):e.text,n!==f.length-1&&t.tagSeparator]}),e.key)}))}),void 0)}),void 0)},{children:this.renderTagCollapsedTrigger(f)}),void 0))]},void 0)},t.prototype.getSearchPlaceholder=function(){var e=this.props.placeholder;if(this.props.multiple)return this.state.value.length?"":null!=e?e:"";var t=this.state.value;return t&&"string"==typeof t.text?t.text:null!=e?e:""},t.prototype.renderPopoverContent=function(e){var t=this.props,n=t.notFoundContent,i=t.renderOptionList,a=t.loading,l=t.creatable,s=t.options,c=t.filter,u=t.isValidNewOption,d=this.state.keyword.trim(),p=this.state.value;if(a)return _;var h=this.filterOptions(d,s,c,l,u,p);return(null==h?void 0:h.length)?i(h,this.renderOption):(0,r.jsx)("div",(0,o.pi)({className:"zent-select-v2-popup-empty","data-zv":"10.0.10"},{children:null!=n?n:e.empty}),void 0)},t.prototype.render=function(){var e=this,t=this.state,n=t.keyword,i=t.open,l=t.active,u=t.value,d=t.triggerWidth,p=this.props,h=p.inline,f=p.width,v=p.clearable,m=p.multiple,g=p.popupWidth,x=p.collapsable,w=p.className,P=p.disableSearch,j=p.size,k=p.collapseAt,z=m?Array.isArray(u)&&u.length>0:u,S=v&&!this.disabled&&(n||z);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C.Z,(0,o.pi)({componentName:"Select"},{children:function(t){return(0,r.jsxs)(s.ZP,(0,o.pi)({ref:e.popoverRef,position:s.ZP.Position.AutoBottomLeft,visible:i,onVisibleChange:e.onVisibleChange,className:"zent-select-v2-popup",style:{width:null!=g?g:d},cushion:4},{children:[(0,r.jsx)(s.ZP.Trigger.Click,{children:(0,r.jsxs)("div",(0,o.pi)({ref:e.triggerRef,className:a()("zent-select-v2","zent-select-v2-"+j,w,{"zent-select-v2-inline":h,"zent-select-v2-active":l,"zent-select-v2-visible":i,"zent-select-v2-disabled":e.disabled,"zent-select-v2-clearable":S,"zent-select-v2-multiple":m,"zent-select-v2-collapsable":x,"zent-select-v2-collapsable-single":1===k}),style:{width:f},onClick:e.focusSearchInput,"data-zv":"10.0.10"},{children:[e.renderValue(t),S&&(0,r.jsx)(c.Z,{type:"close-circle",onClick:e.onClear},void 0),!P&&i&&(0,r.jsx)(b,{placeholder:e.getSearchPlaceholder(),value:n,autoWidth:m,onChange:e.onKeywordChange,onIndexChange:e.onIndexChange,onEnter:e.selectCurrentIndex,ref:e.inputRef},void 0),(0,r.jsx)(c.Z,{type:"down"},void 0)]}),void 0)},void 0),(0,r.jsx)(s.ZP.Content,{children:e.renderPopoverContent(t)},void 0)]}),void 0)}}),void 0),(0,r.jsx)(y.ZP,{eventName:"click",listener:this.globalClick,options:{capture:!0}},void 0)]},void 0)},t.defaultProps={isEqual:E,renderOptionList:M,filter:T,isValidNewOption:F,highlight:L,size:"s",multiple:!1,clearable:!1,loading:!1,creatable:!1},t.contextType=g.d,t.reviveValue=S,t}(l.Component),D=B},8327:(e,t,n)=>{n.d(t,{L:()=>h});var o=n(59312),r=n(24246),i=n(60042),a=n.n(i),l=function(e){return e},s=function(e){var t=e.autoEscape,n=e.caseSensitive,o=e.sanitize,r=void 0===o?l:o,i=e.searchWords,a=e.textToHighlight;return a=r(a),i.filter((function(e){return e})).reduce((function(e,o){"string"==typeof o&&(o=r(o),t&&(o=o.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")));for(var i,l=new RegExp(o,n?"g":"gi");i=l.exec(a);){var s=i.index,c=l.lastIndex;c>s&&e.push({highlight:!1,start:s,end:c}),i.index===l.lastIndex&&l.lastIndex++}return e}),[])};function c(e){var t=e.chunks;return t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var o=Math.max(n.end,t.end);e.push({highlight:!1,start:n.start,end:o})}else e.push(n,t);return e}),[])}var u=n(41925),d=n(72551),p=(0,u.Z)((function(e){var t={};for(var n in e)(0,d.n)(e,n)&&(t[n.toLowerCase()]=e[n]);return t}));function h(e){var t,n=e.textToHighlight,i=e.searchWords,l=e.highlightClassName,u=void 0===l?"":l,d=e.highlightStyle,h=void 0===d?{}:d,f=e.activeIndex,v=void 0===f?-1:f,m=e.activeClassName,b=void 0===m?"":m,g=e.activeStyle,y=e.unhighlightClassName,x=void 0===y?"":y,w=e.unhighlightStyle,C=e.highlightTag,P=void 0===C?"mark":C,j=e.autoEscape,k=void 0!==j&&j,z=e.caseSensitive,S=void 0!==z&&z,N=e.sanitize,R=e.findChunks,O=e.className,E=(0,o._T)(e,["textToHighlight","searchWords","highlightClassName","highlightStyle","activeIndex","activeClassName","activeStyle","unhighlightClassName","unhighlightStyle","highlightTag","autoEscape","caseSensitive","sanitize","findChunks","className"]),T=function(e){var t=e.caseSensitive,n=e.findChunks,o=e.textToHighlight;return function(e){var t=e.chunksToHighlight,n=e.totalLength,o=[],r=function(e,t,n){t-e>0&&o.push({start:e,end:t,highlight:n})};if(0===t.length)r(0,n,!1);else{var i=0;t.forEach((function(e){r(i,e.start,!1),r(e.start,e.end,!0),i=e.end})),r(i,n,!1)}return o}({chunksToHighlight:c({chunks:(void 0===n?s:n)({autoEscape:e.autoEscape,caseSensitive:void 0!==t&&t,sanitize:e.sanitize,searchWords:e.searchWords,textToHighlight:o})}),totalLength:o?o.length:0})}({autoEscape:k,caseSensitive:S,findChunks:R,sanitize:N,searchWords:i,textToHighlight:n}),M=P,Z=-1,L="";return(0,r.jsx)("span",(0,o.pi)({className:O},E,{"data-zv":"10.0.10"},{children:T.map((function(e,i){var l,s=n.substr(e.start,e.end-e.start);if(e.highlight){Z++;var c;c="object"==typeof u?S?u[s]:(u=p(u))[s.toLowerCase()]:u;var d=Z===+v;L=a()(c,((l={})[b]=d,l)),t=!0===d&&null!=g?(0,o.pi)((0,o.pi)({},h),g):h;var f="string"!=typeof M?{highlightIndex:Z}:{};return(0,r.jsx)(M,(0,o.pi)({className:L,style:t},f,{children:s}),i)}return(0,r.jsx)("span",(0,o.pi)({className:x,style:w,"data-zv":"10.0.10"},{children:s}),i)}))}),void 0)}},19832:(e,t,n)=>{function o(e){return""+e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}n.d(t,{Z:()=>o})},80186:(e,t,n)=>{n.d(t,{Tb:()=>a,ZM:()=>l});var o=n(24246),r=n(79352),i=n(49744);function a(e,t,n){if(r.Z)return(0,i.xd)(window,e,t,n)}function l(e){var t=e.eventName,n=e.listener,a=e.options;return r.Z?(0,o.jsx)(i.bi,{target:window,eventName:t,listener:n,options:a},void 0):null}t.ZP=l},49744:(e,t,n)=>{n.d(t,{bi:()=>h,Oo:()=>d,xd:()=>p});var o=n(27378);function r(e){return e?!0===e?1:(e.capture?2:0)|(e.passive?4:0)|(e.once?8:0):0}var i=function(){function e(e){this.target=e,this.events={}}return e.prototype.add=function(e,t,n){var o=this,r=this.getEventHandlers(e,n);a(r);var i=r.nextHandlers;0===i.length&&(r.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,r.handleEvent,n)),-1===i.indexOf(t)&&i.push(t);var l=!0;return function(){if(l){l=!1,a(r);var i=r.nextHandlers,s=i.indexOf(t);if(i.splice(s,1),0===i.length){var c=o.target;c&&c.removeEventListener(e,r.handleEvent,n),r.handleEvent=void 0}}}},e.prototype.getEventHandlers=function(e,t){var n=e+" "+r(t);return this.events[n]||(this.events[n]={handlers:[],handleEvent:void 0},this.events[n].nextHandlers=this.events[n].handlers),this.events[n]},e.prototype.handleEvent=function(e,t,n){var o=this.getEventHandlers(e,t);o.handlers=o.nextHandlers,o.handlers.forEach((function(e){e(n)}))},e}();function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}var l=n(79352),s=(0,n(41925).Z)((function(){if(!l.Z)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(e){}return e}));function c(e){return!!e&&(s()?e:!!e.capture)}var u=new WeakMap;function d(e,t,n,o){u.has(e)||u.set(e,new i(e));var r=c(o);return u.get(e).add(t,n,r)}function p(e,t,n,i){var a=(0,o.useRef)(n);a.current=n;var l=r(c(i));(0,o.useEffect)((function(){return d(e,t,(function(e){a.current(e)}),i)}),[e,t,l])}var h=function(e){return p(e.target,e.eventName,e.listener,e.options),null}},49566:(e,t,n)=>{function o(e,t,n){var o,r;void 0===t&&(t=0),void 0===n&&(n={});var i=function(t){o=null,void 0!==t&&(r=e.apply(void 0,t))},a=function(){for(var a=[],l=0;lo})},14805:(e,t)=>{t.Z=function(e,t){var n=document.createElement(e,t);return n.setAttribute("data-zv","10.0.10"),n}},27468:(e,t,n)=>{n.d(t,{mP:()=>c});var o=n(49744),r=n(79352);function i(){return Math.max(document.documentElement.clientWidth,window.innerWidth)}function a(){return Math.max(document.documentElement.clientHeight,window.innerHeight)}var l=0,s=0;function c(){return l}r.Z&&(l=a(),s=i(),(0,o.Oo)(window,"resize",(function(){l=a(),s=i()}),{passive:!0})),t.ZP=function(){return{width:s,height:l}}},23343:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(79352),r=n(14805),i=0,a={position:"absolute",top:"-9999px",width:"50px",height:"50px",overflow:"scroll"};function l(){if(!o.Z)return 0;if(i)return i;var e=(0,r.Z)("div");Object.keys(a).forEach((function(t){e.style[t]=a[t]})),document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),i=t}},50707:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(19832),r=n(33806).ZP.Position,i=r.Arrow;function a(e,t){if("function"==typeof e)return e;var n=e.split("-").map((function(e){return(0,o.Z)(e)})).join(""),a=r[n];return a||(a=r.TopCenter,n="TopCenter"),!t||/^.+Center$/.test(n)?a:i[n="Arrow"+n+"Position"]}},72551:(e,t,n)=>{n.d(t,{n:()=>r});var o=Object.prototype.hasOwnProperty;function r(e,t){return o.call(e,t)}},79264:(e,t,n)=>{n.d(t,{L:()=>r});var o=n(27378),r=n(79352).Z?o.useLayoutEffect:o.useEffect},43239:(e,t,n)=>{n.d(t,{s:()=>r});var o=n(27378);function r(){var e=(0,o.useRef)(!1);return(0,o.useEffect)((function(){return e.current=!0,function(){e.current=!1}})),e}},79352:(e,t)=>{t.Z=!("undefined"==typeof window||!window)},17949:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(72551),r=Object.prototype.toString,i=Symbol.prototype.valueOf,a=Object.keys,l=Object.is;function s(e,t){for(var n=[{type:"generic",a:e,b:t}],s=[],c=[];n.length>0;){var u=n.pop();if("generic"===u.type){var d=u.a,p=u.b;if(l(d,p))continue;var h=typeof d;if("function"!==h&&"object"!==h&&"object"!=typeof p)return!1;var f=r.call(d);if(f!==r.call(p))return!1;if("[object RegExp]"===f||"[object String]"===f){if(""+d!=""+p)return!1;continue}if("[object Number]"===f){if(!l(+d,+p))return!1;continue}if("[object Date]"===f||"[object Boolean]"===f){if(+d!=+p)return!1;continue}if("[object Symbol]"===f){if(i.call(d)!==i.call(p))return!1;continue}var v="[object Array]"===f;if(!v){if("object"!=typeof d||"object"!=typeof p)return!1;var m=d.constructor,b=p.constructor;if(m!==b&&!("function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b)&&"constructor"in d&&"constructor"in p)return!1}for(var g=s.length;g--;)if(s[g]===d){if(c[g]===p)break;return!1}if(g>=0)continue;if(s.push(d),c.push(p),n.push({type:"children-done"}),v){if((y=d.length)!==p.length)return!1;if(0===y)continue;n.push({type:"array",size:y,index:0,a:d,b:p})}else{if("[object Object]"!==f)throw new Error("isEqual not implemented for "+f);var y=(C=a(d)).length;if(a(p).length!==y)return!1;if(0===y)continue;n.push({type:"object",a:d,b:p,keys:C,size:y,index:0})}}else if("array"===u.type){d=u.a,p=u.b;var x=u.size;(w=u.index){function o(e){if(null===e||"object"!=typeof e)return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}n.d(t,{Z:()=>o})},65436:(e,t,n)=>{function o(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}n.d(t,{Z:()=>o})},41925:(e,t,n)=>{n.d(t,{Z:()=>r});var o=function(e,t){return e.length===t.length&&e.every((function(e,n){return e===t[n]}))};function r(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1;return function(){for(var o=[],l=0;l{n.d(t,{tA:()=>r,$j:()=>i,BN:()=>a});var o=n(27378);function r(e){var t=requestAnimationFrame((function(){t=requestAnimationFrame((function(){e(),t=null}))}));return function(){t&&(cancelAnimationFrame(t),t=null)}}function i(e){var t,n=!1,o=null,i=function(){for(var i=[],a=0;a{function o(){}n.d(t,{Z:()=>o})},78513:(e,t,n)=>{function o(e,t){return null==e?{}:Object.keys(e).reduce((function(n,o){return-1===t.indexOf(o)&&(n[o]=e[o]),n}),{})}n.d(t,{Z:()=>o})},57318:(e,t,n)=>{n.d(t,{l:()=>u});var o=n(79352),r=o.Z?window:{},i=o.Z?document:{},a=r.scroll||r.scrollTo,l=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function s(e,t){this.scrollLeft=e,this.scrollTop=t}function c(e,t){var n,o=(l()-e.startTime)/e.duration,i=(n=o=o>1?1:o,.5*(1-Math.cos(Math.PI*n))),a=e.startX+(e.x-e.startX)*i,s=e.startY+(e.y-e.startY)*i;e.method.call(e.scrollable,a,s),a!==e.x||s!==e.y?requestAnimationFrame(c.bind(r,e,t)):t()}function u(e,t,n,u){return void 0===u&&(u=250),new Promise((function(d,p){if(!o.Z)return p();var h,f,v,m,b=l();e===i.body||e===r?(h=r,f=r.scrollX||r.pageXOffset,v=r.scrollY||r.pageYOffset,m=a):(h=e,f=e.scrollLeft,v=e.scrollTop,m=s),c({duration:u,scrollable:h,method:m,startTime:b,startX:f,startY:v,x:t,y:n},d)}))}},70453:(e,t,n)=>{n.d(t,{Z:()=>i});var o=0,r="v"+"10.0.10".replace(/[^0-9a-z]/gi,"x")+Math.ceil(8999*Math.random()+1e3).toString();function i(e){var t=""+r+ ++o;return e?""+e+t:t}},70387:e=>{e.exports=JSON.parse('{"hex":{"$text-600":["--theme-title-color","--theme-body-color","--theme-default-color","--theme-weak-link-color"],"$text-500":["--theme-hint-color"],"$text-400":["--theme-disabled-color","--theme-default-disabled-color"],"$gray-100":["--theme-section-bg"],"$gray-200":["--theme-body-bg","--theme-default-hover-bg","--theme-default-disabled-bg"],"$success-500":["--theme-success-color","--theme-success-border-color"],"$success-100":["--theme-success-bg"],"$warning-500":["--theme-warning-color","--theme-warning-border-color"],"$warning-100":["--theme-warning-bg"],"$danger-500":["--theme-danger-color","--theme-danger-border-color"],"$danger-100":["--theme-danger-bg"],"$text-100":["--theme-default-bg","--theme-primary-color"],"$gray-300":["--theme-default-border-color"],"$primary-100":["--theme-default-selected-bg"],"$primary-500":["--theme-primary-bg","--theme-primary-border-color","--theme-link-color"],"$primary-400":["--theme-primary-hover-bg","--theme-primary-hover-border-color","--theme-link-hover-color","--theme-weak-link-hover-color"],"$primary-600":["--theme-primary-active-bg","--theme-primary-active-border-color","--theme-link-active-color","--theme-weak-link-active-color"],"$star-color":["--theme-rate-bg"]},"rgb":{"$text-600":["--theme-rgb-title-color","--theme-rgb-body-color","--theme-rgb-default-color","--theme-rgb-weak-link-color"],"$text-500":["--theme-rgb-hint-color"],"$text-400":["--theme-rgb-disabled-color","--theme-rgb-default-disabled-color"],"$gray-100":["--theme-rgb-section-bg"],"$gray-200":["--theme-rgb-body-bg","--theme-rgb-default-hover-bg","--theme-rgb-default-disabled-bg"],"$success-500":["--theme-rgb-success-color","--theme-rgb-success-border-color"],"$success-100":["--theme-rgb-success-bg"],"$warning-500":["--theme-rgb-warning-color","--theme-rgb-warning-border-color"],"$warning-100":["--theme-rgb-warning-bg"],"$danger-500":["--theme-rgb-danger-color","--theme-rgb-danger-border-color"],"$danger-100":["--theme-rgb-danger-bg"],"$text-100":["--theme-rgb-default-bg","--theme-rgb-primary-color"],"$gray-300":["--theme-rgb-default-border-color"],"$primary-100":["--theme-rgb-default-selected-bg"],"$primary-500":["--theme-rgb-primary-bg","--theme-rgb-primary-border-color","--theme-rgb-link-color"],"$primary-400":["--theme-rgb-primary-hover-bg","--theme-rgb-primary-hover-border-color","--theme-rgb-link-hover-color","--theme-rgb-weak-link-hover-color"],"$primary-600":["--theme-rgb-primary-active-bg","--theme-rgb-primary-active-border-color","--theme-rgb-link-active-color","--theme-rgb-weak-link-active-color"],"$star-color":["--theme-rgb-rate-bg"]},"vars":{"--theme-primary-bg":{"comment":" Primary background color of components, e.g. primary type button"},"--theme-primary-border-color":{"comment":" Primary border color of components, e.g. primary type button"},"--theme-primary-hover-bg":{"comment":" Hover state of primary background color of components, e.g. primary type button"},"--theme-primary-hover-border-color":{"comment":" Hover state of primary border color of components, e.g. primary type button"},"--theme-primary-active-bg":{"comment":" Active state of primary background color of components, e.g. primary type button"},"--theme-primary-active-border-color":{"comment":" Active state of primary border color of components, e.g. primary type button"},"--theme-link-color":{"comment":" Primary text link brand color"},"--theme-link-hover-color":{"comment":" Hover state of primary text link brand color"},"--theme-link-active-color":{"comment":" Active state of primary text link brand color"},"--theme-weak-link-hover-color":{"comment":" Hover state of primary text weak link brand color"},"--theme-weak-link-active-color":{"comment":" Active state of primary text weak link brand color"}}}')}},a={};function l(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return i[e].call(n.exports,n,n.exports,l),n.exports}l.m=i,e=[],l.O=(t,n,o,r)=>{if(!n){var i=1/0;for(c=0;c=r)&&Object.keys(l.O).every((e=>l.O[e](n[s])))?n.splice(s--,1):(a=!1,r0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[n,o,r]},l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var r=Object.create(null);l.r(r);var i={};t=t||[null,n({}),n([]),n(n)];for(var a=2&o&&e;"object"==typeof a&&!~t.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,l.d(r,i),r},l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce(((t,n)=>(l.f[n](e,t),t)),[])),l.u=e=>e+"-"+{77:"f9da879ff42950dd03a0",183:"59363fb3f4a8cb4b288f",294:"9830d96cf35f04a8fb9b",381:"b6a3c1eb7bf7cfcb1ee3",405:"d339faef9da20bc2a196",413:"cbeac10b57e0d3bfa92f",457:"77002ebe145c42e3c71c",459:"a242ce299808f150ebfc",464:"dcad482a87b99b6bfa34",467:"52c0a521bd531d95bb23",508:"3c35062196dc20048f1e",509:"dd89cb2a446fde27e7de",541:"cf326336c37ed7081141",610:"364f675f2d4041c60cbb",624:"f2c35de5eeee054cb44b",646:"5dafc2d552d80a47ad4d",730:"e21c9db8232350aa7358",772:"e753347057f35d247e1a",835:"9602b6e1d5d62a63e8f5",870:"25c0dfa058fdfd34f943",896:"c50416f68661cd84f165",964:"a8711cda6c86146892d8",1026:"13d783dddf38a6a5e153",1035:"701233b1645e35826111",1074:"e7aaf997c8fed941969d",1127:"746583fb6962c1fc1b11",1216:"fb5a65c7247e9dc21be5",1230:"37190b5778ac2fa53be9",1415:"f0eaee3e24072c46ec89",1430:"4f36c74e992b9cd361aa",1553:"3e5206eabf348314f641",1610:"7422039a5f3d7d2e79e7",1636:"e01e5d5d46d81e4e9df6",1663:"735a3020c28315b6c925",1837:"607d6b12dac81c2d92a9",1846:"065b57cc96e40c78b4c8",1859:"970d893d2ef65e2e40e0",2083:"eca27842e3cce7abebd0",2093:"51b8e8fb0743932c52f0",2124:"517651e75834b1254684",2174:"6403081fa8f5ac994007",2221:"004e488f028d439da217",2226:"f68a4762c7da7999878c",2336:"1843d25c0224afc8aec5",2374:"0dd8d37485208ea4eb6b",2397:"7be37a8645f6371636ee",2449:"c22d43d3edf77b6bf1ab",2469:"b03711a4106623145fa3",2476:"92a15ef3f70d71450832",2554:"6b71b0a9bd34459832e6",2583:"e9ae0546850ce11f8a70",2604:"29b10ffe0a89edbd13ce",2673:"5870b02c5b245072df21",2714:"a038ca33e39df5314a15",2764:"34b8145a4edde9b763dd",2779:"19c10041aeb3f69113da",2797:"c67a104140b25c947877",2811:"410b89c0faa20e5835b2",2866:"6c2812cf197b5b07232f",2868:"207043e08a204c75cbb9",3051:"78e75e12884e6def2821",3205:"95674499298ea294eb63",3231:"9f04103d29c20354f61b",3296:"61b72c1d76f425327144",3310:"75a6078c893494259456",3314:"ca2603bad3ec20cd88ab",3345:"dc6e1a2dd4f142f2f36a",3369:"6cf76cc747f712049106",3382:"1795100a52e742adac5e",3420:"ebfe824e9974539e99e9",3425:"a1d5470b4696f4f1d6b3",3439:"07911b779531f5c29136",3481:"0b46e87347e4ac5fed41",3533:"067f6305d93007c59bd2",3536:"0fc6a0c94865ed238975",3646:"56cf5d8287101785bf41",3653:"f15d278a6a92923658ec",3679:"11ced6f0bf713792738a",3770:"466d50a89c7e15816415",3775:"2b62b422c2be32fdd20a",3807:"4aeb7e5b8a1ddf9bc86b",3826:"1ed4e3d28b8eb3ab6cda",3854:"93cf8fb0f26b594075a2",3898:"9d6e2f921a41c67a03ad",3935:"291c636888f1bf45d475",4112:"63c1a9255eacd4d811bd",4195:"07a76f068f509ec9b7de",4229:"ff1883cb9e5217cdbe8f",4280:"57635153326ccf46aeab",4315:"e5bca41dda7c8ce60fb7",4372:"aee6cc6949817e263ce0",4373:"23612f8f91f642100c76",4439:"2708f2661fd815422677",4471:"86bd07a8e4dcaea4aaf9",4599:"b228648381907ea6b134",4600:"5c15f4a67f9ff84a9da9",4715:"180f1b8020ecd3ad34dc",4912:"1a8cae0bd62e327ea6dd",4947:"40cbb67e1634685e3aa0",5071:"8209ceaca9132e2aed85",5099:"5a25a45f70fd4fb57ee8",5166:"aa0ed0e52a26848879b3",5183:"a8846e0ede1144110644",5217:"1343b37f9b50bc649651",5265:"1162927dd03ff47aa8d3",5353:"602ecd81659283594bc2",5504:"ddc42efffa022a12a163",5646:"f955988b6c2d0a14fe0c",5683:"b2c3a654aa6599d07a12",5762:"b8f9624db20163655019",5807:"7d50a75f1ffac0a5dbff",5870:"c8676029a80fc9a0dc1e",5876:"3c7529a969356146cb9a",5892:"3e8274f85a4280b2164a",5956:"ea4dfd02c1f82e1217ef",6110:"2597444eb14a75581dcb",6286:"f23e3e853a405baa7007",6298:"842bc4066c4606521557",6317:"9d0e2ec94faec5dd7ae2",6423:"edeffb22a26866769163",6445:"a20deaf1257976e5a613",6520:"9df9d20b55b36513da0b",6575:"41d99c9ca70797348375",6638:"6d8daa4d2a8c4a78e423",6823:"5f59015197e644c77f38",6852:"113d385d59cb7c179c12",6874:"8a289a7962e780708062",6938:"290efcb37ae005e78076",6945:"f3bf2e5f5e8ee7471343",7029:"2d2b91912e959e367870",7045:"ee1797bd6d313b89295e",7115:"9cfe09984ee5f840d52b",7167:"0dc43886ec9d304c71f1",7172:"79cb65ce65be11c12b20",7249:"c0b8aa87adbccbcc4f9b",7267:"cae9496979278a9d83c4",7363:"11ab14b76bd754ee716d",7481:"10cb90ec488576392e79",7528:"59a7e58e807f279542b5",7570:"55e41f2f449579655676",7572:"b00d50561a4dc0c9c045",7637:"ddd8da1eb48d9dc43f35",7652:"20a5b8c942c1323dbd78",7659:"2c849f503e21588b4124",7700:"7cfd48e79061c79fd056",7807:"e064eeb9d3904cad8284",7836:"b5bfed8073a2beb189a1",7879:"405c58f097bc3158ebf8",7932:"84c6cdf9659c91cbca2b",7950:"6c3e3e7446e051d9e0c7",8034:"a48654aafe076151b475",8212:"91222e1f961e7f7cb4d3",8262:"086f859c773a57168c83",8339:"ce86ea8b78faf514aee2",8503:"1365eb5f934933ad355b",8513:"05eef8492f568378e6b2",8606:"8e878335ed33229c0c3d",8689:"603d9dba3580d228f4a3",8757:"29d69389e8c4f78163d2",8767:"b1ad36bd9f9f02e89459",8770:"2b6e646a1b6e6f384a54",8800:"edc8187fa167168e565d",8846:"5f2c9b087360c0a83a03",8878:"f6437a61de4f9ca04d93",8935:"667ed954b9c085e7ec25",8982:"e5444e38e0c5eca6208e",9052:"936fa363419247a4d641",9086:"bc9ac102624600daee04",9145:"4f12d6a13786e9f0afe4",9311:"efbe3b3cb8fe4b7ca58c",9349:"27fcc4da566c48f7fe0b",9395:"87059b8fce31c1dc6350",9430:"bfe2cd1add9d07e5a966",9480:"93704f381c318fd5a9db",9499:"9b2cebe1eb1efed5431b",9503:"ef68c52659ca5121f21f",9570:"23d933efff04cf2b84a4",9632:"a85938cc3f83af4a0517",9690:"2cd8980d1cf57c253ab4",9736:"1b67d0fad756c8ca1ea6",9757:"53174c1ce8d926c6b17b",9760:"0b291d8eb9b0e0b2752e",9871:"a74f6f6b5eaaa45fc7b6",9907:"72db89ee413de5677397",9928:"3aa4f476eb7e4f682cc9",9952:"a480fb6afc0a89011ba8"}[e]+".js",l.miniCssF=e=>{},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},r="zent-docs:",l.l=(e,t,n,i)=>{if(o[e])o[e].push(t);else{var a,s;if(void 0!==n)for(var c=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(h);var r=o[e];if(delete o[e],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)}},l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.p="/zent/",(()=>{var e={1163:0};l.f.j=(t,n)=>{var o=l.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var r=new Promise(((n,r)=>o=e[t]=[n,r]));n.push(o[2]=r);var i=l.p+l.u(t),a=new Error;l.l(i,(n=>{if(l.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var r=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",a.name="ChunkLoadError",a.type=r,a.request=i,o[1](a)}}),"chunk-"+t,t)}},l.O.j=t=>0===e[t];var t=(t,n)=>{var o,r,[i,a,s]=n,c=0;for(o in a)l.o(a,o)&&(l.m[o]=a[o]);if(s)var u=s(l);for(t&&t(n);cl(18369)));s=l.O(s)})(); \ No newline at end of file +(()=>{"use strict";var e,t,n,o,r,i={18369:(e,t,n)=>{var o={};n.r(o),n.d(o,{Cascader:()=>k,CopyButton:()=>m,Form:()=>E,Grid:()=>j,Mention:()=>R,NumberInput:()=>T,Pagination:()=>b,Pop:()=>g,PreviewImage:()=>y,RangePicker:()=>x,Select:()=>w,Sweetalert:()=>C,Switch:()=>P,TimePicker:()=>S,Transfer:()=>O,Upload:()=>N,mark:()=>v});var r,i=n(24246),a=(n(75377),n(31542)),l=n(27378),s=n(4289),c=n(69635),u=n(49744),d=n(74566).Z.Provider,p=n(59312),h=n(24654),f={confirm:"Confirm",cancel:"Cancel",comma:", ",ok:"OK",reset:"Reset"},v="en-US",m={copy:"Copy",success:"Copied",error:"Copy failed"},b={jumpTo:function(e){var t=e.input;return(0,i.jsxs)(i.Fragment,{children:["Goto page ",t]},void 0)},pageStats:function(e){var t=e.total,n=e.Text,o=e.select;return(0,i.jsxs)(i.Fragment,{children:["Total ",(0,i.jsx)(n,(0,p.pi)({type:"middle"},{children:t}),void 0)," items, ",o,(0,i.jsx)(n,(0,p.pi)({type:"right"},{children:"per page"}),void 0)]},void 0)},pageStatsStatic:function(e){var t=e.total,n=e.pageSize,o=e.Text;return(0,i.jsxs)(i.Fragment,{children:["Total ",(0,i.jsx)(o,(0,p.pi)({type:"middle"},{children:t}),void 0)," items,",(0,i.jsx)(o,(0,p.pi)({type:"middle"},{children:n}),void 0)," items per page"]},void 0)},selectWidth:100,items:" items"},g=(0,p.pi)({},f),y={alt:"Image download failed",prev:"Previous",next:"Next",rotate:"Rotate"},x={7:"7 days",30:"30 days"},w={input:"Please choose...",empty:"Not Found",tagSeparator:", ",create:"+Create: "},C=(0,p.pi)((0,p.pi)({},f),{title:"Alert"}),P={checked:"On",unchecked:"Off"},j=(0,p.pi)((0,p.pi)({},f),{emptyLabel:"No data"}),k=(0,p.pi)((0,p.pi)({},f),{title:"Title",placeholder:"Please select",searchPlaceholder:"Please select or search",searchEmpty:"No result",empty:"Empty",loading:"loading…"}),z=["1st Quarter","2nd Quarter","3rd Quarter","4th Quarter"],S=function(){return(0,h.i_)(h._z),(0,p.pi)((0,p.pi)({},f),{time:"Please select a time",date:"Please select a date",week:"Please select a week",month:"Please select a month",quarter:"Please select a quarter",year:"Please select a year",range:"Please select a range",timeErrorPop:"Selected time is unavailable",dateErrorPop:"Selected date is unavailable",start:"Start date",end:"End date",startTime:"Start time",endTime:"End time",to:"to",current:{time:"Now",date:"Today",week:"This week",month:"This month",year:"This year"},panel:{hour:"",minute:"",second:"",year:"",hourSelect:"Choose hours",minuteSelect:"Choose minutes",secondSelect:"Choose seconds",titleFormat:"MMMM YYYY",quarterNames:z,yearQuarterName:function(e){var t=e.year,n=e.quarter;return z[n]+" of "+t},dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}})},N=(0,p.pi)((0,p.pi)({},f),{delete:"Delete",retry:"Retry",failed:"Failed",limit:"Maximum number of files has been reached",add:"Add File",uploading:"File uploading"}),R={noContent:"No result found, press SPACE to finish typing"},O={placeholder:"Please Enter",item:"item",items:"items",emptyLabel:"No Data"},E={required:"required"},T={min:"the minimum value cannot be less than",max:"the maximum value cannot be greater than"},M=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Z=function(){return(Z=Object.assign||function(e){for(var t,n=1,o=arguments.length;nl;(s||a-i0){var n=t.state.activeIndex;n<0&&(n=0),t.redirectToResult(e[n])}}),0);if("ArrowDown"===n||"ArrowUp"===n)if(t.state.resultVisible){var o=t.state.activeIndex;if(o===ee&&(o=-1),"ArrowDown"===n)o++;else{if("ArrowUp"!==n)return;o--}var r=t.state.matches.length-1;o<0?o=r:o>r&&(o=0),t.setState({activeIndex:o,resultVisible:!0})}else t.setState({activeIndex:0,resultVisible:!0})},t.onResultVisibleChange=function(e){t.setState({resultVisible:e})},t.onInputClick=function(){t.search(t.state.keyword)},t.clearActiveIndex=function(){t.setState({activeIndex:ee})},t.buildLUT=(0,X.Z)((function(e){var t=e[1].groups.reduce((function(e,t){return t.list.reduce((function(e,t){return e.push(t),e}),e)}),[]);return t.sort((function(e,t){return e.title>t.title?1:e.title===t.title?0:-1})),le(t)})),t.redirectToResult=function(e){var n=e.path,o=t.props,r=o.history,i=o.locale.split("-")[0];r.replace("/"+i+"/"+n),t.onResultVisibleChange(!1)},t}return se(t,e),t.prototype.render=function(){var e=this.state,t=e.keyword,n=e.matches,o=e.activeIndex,r=e.resultVisible,a=this.props.locale;return(0,i.jsx)("div",ce({className:"zandoc-react-search-box-popover-wrapper"},{children:(0,i.jsxs)(Y.J,ce({position:Y.J.Position.BottomLeft,visible:r,cushion:5,onVisibleChange:this.onResultVisibleChange},{children:[(0,i.jsx)(Y.J.Trigger.Click,{children:(0,i.jsx)(K.I,{className:"zandoc-react-search-box-input",icon:"search",placeholder:ue[a].placeholder,value:t,onChange:this.onKeywordChange,onClick:this.onInputClick,onKeyDown:this.onKeydown},void 0)},void 0),(0,i.jsx)(Y.J.Content,{children:(0,i.jsx)(re,{matches:n,activeIndex:o,locale:a,redirectToResult:this.redirectToResult,clearActiveIndex:this.clearActiveIndex},void 0)},void 0)]}),void 0)}),void 0)},t.prototype.search=function(e){var t=this.buildLUT(this.props.navData);if(t){var n=t.search(e);this.setState({keyword:e,resultVisible:!0,matches:n,activeIndex:0})}},t}(l.Component),pe=(0,c.EN)(de),he=n(23476),fe=n(93531),ve=n(70387),me=n(61853),be=function(){return(be=Object.assign||function(e){for(var t,n=1,o=arguments.length;n{n.d(t,{z:()=>f,Z:()=>v});var o=n(59312),r=n(24246),i=n(27378),a=n(60042),l=n.n(a),s=function(e){var t=e.className,n=(0,o._T)(e,["className"]);return(0,r.jsx)("div",(0,o.pi)({className:l()("zent-btn-group",t)},n,{"data-zv":"10.0.10"}),void 0)},c=n(19185),u=n(27036),d=n(1348),p=n(673);function h(e){var t,n=(0,i.useContext)(d.d),a=(0,i.useContext)(p.$L),s=e.outline,h=e.type,f=void 0===h?"default":h,v=e.size,m=void 0===v?"medium":v,b=e.block,g=e.loading,y=e.disabled,x=void 0===y?n.value:y,w=e.bordered,C=void 0===w||w,P=e.icon,j=e.children,k=e.onMouseEnter,z=e.onMouseLeave;if(!(0,c.isElement)(j)||(0,c.isFragment)(j))throw new Error("Button Directive child must be a non fragment element, string | number | boolean | null is not accepted");var S=(0,i.useRef)(x);S.current=x;var N=(0,i.useRef)(e);N.current=e;var R=j,O=(0,i.useCallback)((function(e){var t=N.current,n=t.loading,o=t.children.props.onClick,r=S.current;n||r?e.preventDefault():null==o||o(e)}),[]),E=P?(0,r.jsx)(u.Z,{type:P},void 0):null,T="text"!==f&&"icon"!==f&&s,M=l()(((t={})["zent-btn-"+f+(T?"-outline":"")]="default"!==f,t["zent-btn-"+m]="medium"!==m,t["zent-btn-block"]=b,t["zent-btn-loading"]=g,t["zent-btn-disabled"]=x,t["zent-btn-border-transparent"]=!C,t),"zent-btn",R.props.className);return function(e,t){var n=t.onMouseEnter,i=t.onMouseLeave;return t.fixMouseEventsOnDisabledChildren?(0,r.jsx)("span",(0,o.pi)({className:"zent-btn-disabled-wrapper",onMouseEnter:n,onMouseLeave:i,"data-zv":"10.0.10"},{children:e}),void 0):e}(i.cloneElement.apply(void 0,(0,o.ev)([j,{className:M,disabled:!(!x&&!g),onClick:O,"data-zv":"10.0.10"},E],i.Children.map(R.props.children,(function(e){return"string"==typeof e?(0,r.jsx)("span",(0,o.pi)({"data-zv":"10.0.10"},{children:e}),void 0):e}))||[])),{fixMouseEventsOnDisabledChildren:a.fixMouseEventsOnDisabledChildren,onMouseEnter:k,onMouseLeave:z})}var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.href,n=e.target,i=e.htmlType,a=e.type,l=e.size,s=e.block,c=e.disabled,u=e.loading,d=e.outline,p=e.bordered,f=e.icon,v=e.children,m=e.download,b=(0,o._T)(e,["href","target","htmlType","type","size","block","disabled","loading","outline","bordered","icon","children","download"]);return(0,r.jsx)(h,(0,o.pi)({type:a,size:l,block:s,disabled:c,loading:u,outline:d,bordered:p,icon:f,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},{children:t||n?(0,r.jsx)("a",(0,o.pi)({href:c?void 0:t||"",target:n,download:m},b,{"data-zv":"10.0.10"},{children:v}),void 0):(0,r.jsx)("button",(0,o.pi)({type:i},b,{"data-zv":"10.0.10"},{children:v}),void 0)}),void 0)},t.defaultProps={type:"default",size:"medium",htmlType:"button",bordered:!0},t.Group=s,t.Directive=h,t.contextType=p.$L,t}(i.Component),v=f},90347:(e,t,n)=>{var o=n(3454);t.ZP=o.Z},93531:(e,t,n)=>{n.d(t,{z:()=>ee,Z:()=>te});var o=n(59312),r=n(24246),i=n(27378),a=n(60042),l=n.n(a),s=Object.prototype.toString,c=function(e){void 0===e&&(e=[]);var t=[];return e.forEach((function(e){var n;Array.isArray(e)?t=t.concat(c(e)):(n=e,"[object Object]"===s.call(n)?Object.keys(e).forEach((function(n){var o=e[n];!0===o&&t.push(n),t.push(n+"-"+o)})):"string"==typeof e&&t.push(e))})),t},u=c,d=function(e,t){void 0===t&&(t=[]);var n=(0,o.pi)({},e.default);return t.map((function(t){var r=e[t];return r&&Object.keys(r).forEach((function(e){n[e]||(n[e]={}),n[e]=(0,o.pi)((0,o.pi)({},n[e]),r[e])})),t})),n},p={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}}},h=function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n],i={};Object.keys(r).forEach((function(e){var t=r[e],n=p[e];n?i=(0,o.pi)((0,o.pi)({},i),n(t)):i[e]=t})),t[n]=i})),t},f=function(e){for(var t=[],n=1;nr?s=r:c<0?c=0:c>i&&(c=i);var u=100*s/r,d=-100*c/i+100;return{h:n.hsl.h,s:u,v:d,a:n.hsl.a,source:"rgb"}}var g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.containerRef=(0,i.createRef)(),t.eventCancelList=[],t.handleChange=(0,m.$j)((function(e,n){t.props.onChange(b(e,n,t.props,t.containerRef.current),e)})),t.handleTouch=function(e){e.persist(),t.handleChange(e)},t.handleMouseDown=function(e){e.persist(),t.handleChange(e,!0),t.eventCancelList.push((0,v.Oo)(window,"mousemove",t.handleChange)),t.eventCancelList.push((0,v.Oo)(window,"mouseup",t.handleMouseUp,{passive:!0}))},t.handleMouseUp=function(){t.unbindEventListeners()},t}return(0,o.ZT)(t,e),t.prototype.componentWillUnmount=function(){this.unbindEventListeners(),this.handleChange.cancel()},t.prototype.unbindEventListeners=function(){this.eventCancelList.forEach((function(e){return e()})),this.eventCancelList=[]},t.prototype.render=function(){var e=this.props.style||{},t=e.color,n=e.white,i=e.black,a=e.pointer,l=e.circle,s=f({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, #fff, rgba(255,255,255,0))"},black:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to top, #000, rgba(0,0,0,0))",boxShadow:this.props.shadow},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:t,white:n,black:i,pointer:a,circle:l}},{custom:!!this.props.style});return(0,r.jsx)("div",(0,o.pi)({style:s.color,ref:this.containerRef,onMouseDown:this.handleMouseDown,onTouchMove:this.handleTouch,onTouchStart:this.handleTouch,"data-zv":"10.0.10"},{children:(0,r.jsxs)("div",(0,o.pi)({style:s.white,"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",{style:s.black,"data-zv":"10.0.10"},void 0),(0,r.jsx)("div",(0,o.pi)({style:s.pointer,"data-zv":"10.0.10"},{children:this.props.pointer?(0,r.jsx)(this.props.pointer,(0,o.pi)({},this.props),void 0):(0,r.jsx)("div",{style:s.circle,"data-zv":"10.0.10"},void 0)}),void 0)]}),void 0)}),void 0)},t}(i.Component);function y(e,t,n,o){!t&&e.preventDefault();var r=o.clientWidth,i=o.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=a-(o.getBoundingClientRect().left+window.pageXOffset),c=l-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var u=void 0;if(u=c<0?359:c>i?0:360*(-100*c/i+100)/100,n.hsl.h!==u)return{h:u,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}else if(u=void 0,u=s<0?0:s>r?359:100*s/r*360/100,n.hsl.h!==u)return{h:u,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"};return null}var x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.containerRef=(0,i.createRef)(),t.eventCancelList=[],t.handleChange=(0,m.$j)((function(e,n){var o=y(e,n,t.props,t.containerRef.current);o&&t.props.onChange(o,e)})),t.handleTouch=function(e){e.persist(),t.handleChange(e)},t.handleMouseDown=function(e){e.persist(),t.handleChange(e,!0),t.eventCancelList.push((0,v.Oo)(window,"mousemove",t.handleChange)),t.eventCancelList.push((0,v.Oo)(window,"mouseup",t.handleMouseUp,{passive:!0}))},t.handleMouseUp=function(){t.unbindEventListeners()},t}return(0,o.ZT)(t,e),t.prototype.componentWillUnmount=function(){this.unbindEventListeners()},t.prototype.unbindEventListeners=function(){this.eventCancelList.forEach((function(e){return e()})),this.eventCancelList=[]},t.prototype.render=function(){var e=f({default:{hue:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{margin:"0 2px",position:"relative",height:"100%"},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{hue:{background:"linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)"},pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===this.props.direction});return(0,r.jsx)("div",(0,o.pi)({style:e.hue,className:"hue-area","data-zv":"10.0.10"},{children:(0,r.jsx)("div",(0,o.pi)({className:"hue-bar",style:e.container,ref:this.containerRef,onMouseDown:this.handleMouseDown,onTouchMove:this.handleTouch,onTouchStart:this.handleTouch,"data-zv":"10.0.10"},{children:(0,r.jsx)("div",(0,o.pi)({style:e.pointer,"data-zv":"10.0.10"},{children:this.props.pointer?(0,r.jsx)(this.props.pointer,(0,o.pi)({},this.props),void 0):(0,r.jsx)("div",{style:e.slider,"data-zv":"10.0.10"},void 0)}),void 0)}),void 0)}),void 0)},t}(i.Component);function w(e,t,n,o){!t&&e.preventDefault();var r=o.clientWidth,i=o.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=a-(o.getBoundingClientRect().left+window.pageXOffset),c=l-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var u=void 0;if(u=c<0?0:c>i?1:Math.round(100*c/i)/100,n.hsl.a!==u)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:u,source:"rgb"}}else if(u=void 0,u=s<0?0:s>r?1:Math.round(100*s/r)/100,n.a!==u)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:u,source:"rgb"};return null}var C=n(14805),P={};function j(e,t,n,o){var r=e+"-"+t+"-"+n+(o?"-server":""),i=function(e,t,n,o){if("undefined"==typeof document&&!o)return null;var r=o?new o:(0,C.Z)("canvas");r.width=2*n,r.height=2*n;var i=r.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,r.width,r.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),r.toDataURL()):null}(e,t,n,o);return P[r]?P[r]:(P[r]=i,i)}var k=function(e){var t=e.white,n=e.grey,o=e.size,i=e.renderers,a=f({default:{grid:{absolute:"0px 0px 0px 0px",background:"url("+j(t,n,o,i.canvas)+") center left"}}});return(0,r.jsx)("div",{style:a.grid,"data-zv":"10.0.10"},void 0)};k.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var z=k,S=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.containerRef=(0,i.createRef)(),t.eventCancelList=[],t.handleChange=function(e,n){var o=w(e,n,t.props,t.containerRef.current);o&&t.props.onChange(o,e)},t.handleMouseDown=function(e){t.handleChange(e,!0),t.eventCancelList.push((0,v.Oo)(window,"mousemove",t.handleChange)),t.eventCancelList.push((0,v.Oo)(window,"mouseup",t.handleMouseUp,{passive:!0}))},t.handleMouseUp=function(){t.unbindEventListeners()},t.unbindEventListeners=function(){t.eventCancelList.forEach((function(e){return e()})),t.eventCancelList=[]},t}return(0,o.ZT)(t,e),t.prototype.componentWillUnmount=function(){this.unbindEventListeners()},t.prototype.render=function(){var e=this.props.rgb,t=f({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden"},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+e.r+","+e.g+","+e.b+", 0) 0%,\n rgba("+e.r+","+e.g+","+e.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*e.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+e.r+","+e.g+","+e.b+", 0) 0%,\n rgba("+e.r+","+e.g+","+e.b+", 1) 100%)"},pointer:{left:0,top:100*e.a+"%"}},overwrite:(0,o.pi)({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return(0,r.jsxs)("div",(0,o.pi)({style:t.alpha,"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",(0,o.pi)({style:t.checkboard,"data-zv":"10.0.10"},{children:(0,r.jsx)(z,{renderers:this.props.renderers},void 0)}),void 0),(0,r.jsx)("div",{style:t.gradient,"data-zv":"10.0.10"},void 0),(0,r.jsx)("div",(0,o.pi)({className:"alpha-bar",style:t.container,ref:this.containerRef,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,"data-zv":"10.0.10"},{children:(0,r.jsx)("div",(0,o.pi)({style:t.pointer,"data-zv":"10.0.10"},{children:this.props.pointer?(0,r.jsx)(this.props.pointer,(0,o.pi)({},this.props),void 0):(0,r.jsx)("div",{style:t.slider,"data-zv":"10.0.10"},void 0)}),void 0)}),void 0)]}),void 0)},t}(i.Component),N=n(49566);function R(e,t){(function(e){return"string"==typeof e&&e.includes(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&e.includes("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function O(e){return e<=1?100*Number(e)+"%":e}function E(e){return 1===e.length?"0"+e:String(e)}function T(e){return M(e)/255}function M(e){return parseInt(e,16)}var Z={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var L="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",_="[\\s|\\(]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")\\s*\\)?",F="[\\s|\\(]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")\\s*\\)?",A={CSS_UNIT:new RegExp(L),rgb:new RegExp("rgb"+_),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+_),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+_),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function B(e){return Boolean(A.CSS_UNIT.exec(String(e)))}var D=function(){function e(t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;this.originalInput=t;var o=function(e){var t,n,o,r={r:0,g:0,b:0},i=1,a=null,l=null,s=null,c=!1,u=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(Z[e])e=Z[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=A.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=A.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=A.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=A.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=A.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=A.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=A.hex8.exec(e))?{r:M(n[1]),g:M(n[2]),b:M(n[3]),a:T(n[4]),format:t?"name":"hex8"}:(n=A.hex6.exec(e))?{r:M(n[1]),g:M(n[2]),b:M(n[3]),format:t?"name":"hex"}:(n=A.hex4.exec(e))?{r:M(n[1]+n[1]),g:M(n[2]+n[2]),b:M(n[3]+n[3]),a:T(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=A.hex3.exec(e))&&{r:M(n[1]+n[1]),g:M(n[2]+n[2]),b:M(n[3]+n[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(B(e.r)&&B(e.g)&&B(e.b)?(t=e.r,n=e.g,o=e.b,r={r:255*R(t,255),g:255*R(n,255),b:255*R(o,255)},c=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):B(e.h)&&B(e.s)&&B(e.v)?(a=O(e.s),l=O(e.v),r=function(e,t,n){e=6*R(e,360),t=R(t,100),n=R(n,100);var o=Math.floor(e),r=e-o,i=n*(1-t),a=n*(1-r*t),l=n*(1-(1-r)*t),s=o%6;return{r:255*[n,a,i,i,l,n][s],g:255*[l,n,n,a,i,i][s],b:255*[i,i,l,n,n,a][s]}}(e.h,a,l),c=!0,u="hsv"):B(e.h)&&B(e.s)&&B(e.l)&&(a=O(e.s),s=O(e.l),r=function(e,t,n){var o,r,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=R(e,360),t=R(t,100),n=R(n,100),0===t)r=n,i=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;o=a(s,l,e+1/3),r=a(s,l,e),i=a(s,l,e-1/3)}return{r:255*o,g:255*r,b:255*i}}(e.h,a,s),c=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(i=e.a)),i=function(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}(i),{ok:c,format:e.format||u,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:i}}(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format||o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.toHsv=function(){var e=function(e,t,n){e=R(e,255),t=R(t,255),n=R(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i=0,a=o,l=o-r,s=0===o?0:l/o;if(o===r)i=0;else{switch(o){case e:i=(t-n)/l+(t.5?s/(2-o-r):s/(o+r),o){case e:i=(t-n)/s+(t=0&&o<=n.props.dragMax&&n.props.onChange(((t={})[n.props.label]=o,t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),n.eventCancelList.push((0,v.Oo)(window,"mousemove",n.handleDrag)),n.eventCancelList.push((0,v.Oo)(window,"mouseup",n.handleMouseUp,{passive:!0})))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){n.eventCancelList.forEach((function(e){return e()})),n.eventCancelList=[]},n.state={value:String(t.value).toUpperCase(),blurValue:String(t.value).toUpperCase()},n}return(0,o.ZT)(t,e),t.prototype.componentDidUpdate=function(e){var t=this.inputRef.current,n=this.props.value;e.value!==n&&n!==this.state.value&&(t===document.activeElement?this.setState({blurValue:String(n).toUpperCase()}):this.setState({value:String(n).toUpperCase()}))},t.prototype.componentWillUnmount=function(){this.unbindEventListeners()},t.prototype.render=function(){var e=f({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return(0,r.jsxs)("div",(0,o.pi)({style:e.wrap,"data-zv":"10.0.10"},{children:[(0,r.jsx)("input",{style:e.input,ref:this.inputRef,value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,"data-zv":"10.0.10"},void 0),this.props.label?(0,r.jsx)("span",(0,o.pi)({style:e.label,onMouseDown:this.handleMouseDown,"data-zv":"10.0.10"},{children:this.props.label}),void 0):null]}),void 0)},t}(i.Component),W=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hexColor:t.props.hex.replace("#","")},t.confirmHexChange=function(e){var n=t.props.onChange,o=t.state.hexColor;U(o)&&n({hex:o,source:"hex"},e)},t.handleHexChange=function(e){t.setState({hexColor:e.hex})},t.handleChange=function(e,n){var o=t.props,r=o.rgb,i=o.hsl,a=o.onChange;e.r||e.g||e.b?a({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},n):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a=e.a/100,a({h:i.h,s:i.s,l:i.l,a:e.a,source:"rgb"},n))},t}return(0,o.ZT)(t,e),Object.defineProperty(t.prototype,"styles",{get:function(){var e=this.props.showAlpha;return f({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},showAlpha:{alpha:{display:"none"}}},{showAlpha:!e})},enumerable:!1,configurable:!0}),t.getDerivedStateFromProps=function(e,t){var n=e.hex,o={preHex:n,hexColor:t.hexColor};if(n!==t.preHex){var r=n.replace("#","");o.hexColor=r}return o},t.prototype.render=function(){var e=this.props.rgb,t=this.state.hexColor,n=this.styles;return(0,r.jsxs)("div",(0,o.pi)({style:n.fields,"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",(0,o.pi)({style:n.double,"data-zv":"10.0.10"},{children:(0,r.jsx)(V,{style:{input:n.input,label:n.label},label:"hex",value:t,onBlur:this.confirmHexChange,onPressEnter:this.confirmHexChange,onChange:this.handleHexChange},void 0)}),void 0),(0,r.jsx)("div",(0,o.pi)({style:n.single,"data-zv":"10.0.10"},{children:(0,r.jsx)(V,{style:{input:n.input,label:n.label},label:"r",value:e.r,onChange:this.handleChange,dragMax:"255"},void 0)}),void 0),(0,r.jsx)("div",(0,o.pi)({style:n.single,"data-zv":"10.0.10"},{children:(0,r.jsx)(V,{style:{input:n.input,label:n.label},label:"g",value:e.g,onChange:this.handleChange,dragMax:"255"},void 0)}),void 0),(0,r.jsx)("div",(0,o.pi)({style:n.single,"data-zv":"10.0.10"},{children:(0,r.jsx)(V,{style:{input:n.input,label:n.label},label:"b",value:e.b,onChange:this.handleChange,dragMax:"255"},void 0)}),void 0),(0,r.jsx)("div",(0,o.pi)({style:n.alpha,"data-zv":"10.0.10"},{children:(0,r.jsx)(V,{style:{input:n.input,label:n.label},label:"a",value:Math.round(100*e.a),onChange:this.handleChange,dragMax:"100"},void 0)}),void 0)]}),void 0)},t}(i.PureComponent),$=function(e){var t=e.color,n=e.style,o=e.onClick,i=e.title,a=void 0===i?t:i,l=f({default:{swatch:{background:t,height:"100%",width:"100%",cursor:"pointer"}},custom:{swatch:n}},"custom");return(0,r.jsx)("div",{style:l.swatch,onClick:function(e){o(t,e)},title:a,"data-zv":"10.0.10"},void 0)},q="zent-color-picker",Y=function(e){var t=e.colors,n=e.onClick,i=e.type,a=f({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),l=function(e,t){n({hex:e,source:"hex"},t)};return"simple"===i?(0,r.jsx)("div",(0,o.pi)({className:q+"-colors-select","data-zv":"10.0.10"},{children:t.map((function(e){return(0,r.jsx)("div",{className:q+"-colors-select__preview",style:{backgroundColor:e},onClick:function(){return n(e)},title:e,"data-zv":"10.0.10"},e)}))}),void 0):(0,r.jsx)("div",(0,o.pi)({style:a.colors,"data-zv":"10.0.10"},{children:t.map((function(e){var t="string"==typeof e?{color:e}:e;return(0,r.jsx)("div",(0,o.pi)({style:a.swatchWrap,"data-zv":"10.0.10"},{children:(0,r.jsx)($,(0,o.pi)({},t,{style:a.swatch,onClick:l}),void 0)}),t.color)}))}),void 0)},K=function(e){var t=e.width,n=e.rgb,i=e.hex,a=e.hsv,l=e.hsl,s=e.onChange,c=e.showAlpha,u=e.presetColors,d=e.renderers,p=e.className,h=e.type,v=f({default:{picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},showAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},{showAlpha:!c});return(0,r.jsxs)("div",(0,o.pi)({style:v.picker,className:p,"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",(0,o.pi)({style:v.saturation,"data-zv":"10.0.10"},{children:(0,r.jsx)(g,{style:v.Saturation,hsl:l,hsv:a,onChange:s},void 0)}),void 0),(0,r.jsxs)("div",(0,o.pi)({style:v.controls,className:"flexbox-fix","data-zv":"10.0.10"},{children:[(0,r.jsxs)("div",(0,o.pi)({style:v.sliders,"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",(0,o.pi)({style:v.hue,"data-zv":"10.0.10"},{children:(0,r.jsx)(x,{style:v.Hue,hsl:l,onChange:s},void 0)}),void 0),(0,r.jsx)("div",(0,o.pi)({style:v.alpha,"data-zv":"10.0.10"},{children:(0,r.jsx)(S,{style:v.Alpha,rgb:n,hsl:l,renderers:d,onChange:s},void 0)}),void 0)]}),void 0),(0,r.jsxs)("div",(0,o.pi)({style:v.color,"data-zv":"10.0.10"},{children:[(0,r.jsx)(z,{},void 0),(0,r.jsx)("div",{style:v.activeColor,"data-zv":"10.0.10"},void 0)]}),void 0)]}),void 0),(0,r.jsx)(W,{rgb:n,hsl:l,hex:i,onChange:s,showAlpha:c},void 0),(0,r.jsx)(Y,{colors:u,onClick:s,type:h},void 0)]}),void 0)};K.defaultProps={presetColors:["#FFFFFF","#F8F8F8","#F2F2F2","#999999","#444444","#FF4444","#FF6500","#FF884D","#FFCD00","#3FBD00","#3FBC87","#00CD98","#5197FF","#BADCFF","#FFEFB8"],width:200,showAlpha:!1,className:""};var X,J=(X=K,function(e){function t(t){var n=e.call(this,t)||this;return n.debounce=(0,N.Z)((function(e,t,n){e(t,n)}),100),n.handleChange=function(e,t){if(function(e){var t=0,n=0;return["r","g","b","a","h","s","a","v"].forEach((function(o){var r=e[o];r&&(t+=1,isNaN(r)||(n+=1))})),t===n&&e}(e)){var o=H(e,e.h||n.state.oldHue);n.setState(o),n.props.onChangeComplete&&n.debounce(n.props.onChangeComplete,o,t),n.props.onChange&&n.props.onChange(o,t)}},n.state=(0,o.pi)((0,o.pi)({},H(t.color,0)),{visible:t.display}),n}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e,t){return(0,o.pi)((0,o.pi)({},H(e.color,t.oldHue)),{visible:e.display})},t.prototype.render=function(){return(0,r.jsx)(X,(0,o.pi)({},this.props,this.state,{onChange:this.handleChange}),void 0)},t.defaultProps={color:{h:250,s:.5,l:.2,a:1}},t}(i.Component)),G=n(33806),Q=n(1348),ee=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={popVisible:!1},t.handleChange=function(e){var n=t.props,o=n.onChange,r=n.showAlpha,i=e;"object"==typeof e&&(i=r?e.rgba:e.hex),o(i)},t.handleVisibleChange=function(e){t.disabled||t.setState({popVisible:e})},t}return(0,o.ZT)(t,e),Object.defineProperty(t.prototype,"disabled",{get:function(){var e=this.props.disabled;return void 0===e?this.context.value:e},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this.props,n=t.color,i=t.showAlpha,a=t.className,s=t.wrapperClassName,c=t.type,u=t.presetColors,d=this.state.popVisible,p=d?"zent-color-picker--open":"",h=n;return(0,r.jsxs)(G.ZP,(0,o.pi)({className:l()("zent-color-picker-popover",a),position:G.ZP.Position.AutoBottomLeft,cushion:5,visible:d,onVisibleChange:this.handleVisibleChange},{children:[(0,r.jsx)(G.ZP.Trigger.Click,(0,o.pi)({toggle:!0},{children:(0,r.jsx)("div",(0,o.pi)({className:l()("zent-color-picker",s,p,(e={},e["zent-color-picker_disabled"]=this.disabled,e)),tabIndex:0,"data-zv":"10.0.10"},{children:(0,r.jsx)("div",(0,o.pi)({className:"zent-color-picker__text","data-zv":"10.0.10"},{children:(0,r.jsx)("div",{className:"zent-color-picker__preview",style:{backgroundColor:h},"data-zv":"10.0.10"},void 0)}),void 0)}),void 0)}),void 0),(0,r.jsx)(G.ZP.Content,{children:"simple"===c?(0,r.jsx)(Y,{colors:u,onClick:this.handleChange,type:c},void 0):(0,r.jsx)(J,{color:n,showAlpha:i,onChange:this.handleChange,type:c},void 0)},void 0)]}),void 0)},t.defaultProps={showAlpha:!1,onChange:function(){},className:"",wrapperClassName:"",type:"default",presetColors:["#FFFFFF","#F8F8F8","#F2F2F2","#999999","#444444","#FF4444","#FF6500","#FF884D","#FFCD00","#3FBD00","#3FBC87","#00CD98","#5197FF","#BADCFF","#FFEFB8"]},t.ColorBoard=J,t.contextType=Q.d,t}(i.PureComponent),te=ee},1348:(e,t,n)=>{n.d(t,{d:()=>a,x:()=>l});var o=n(59312),r=n(24246),i=n(27378),a=(0,i.createContext)({value:!1});a.displayName="DisabledContext";var l=function(e){var t=e.value,n=void 0===t||t,l=e.children,s=(0,i.useMemo)((function(){return{value:n}}),[n]);return(0,r.jsx)(a.Provider,(0,o.pi)({value:s},{children:l}),void 0)}},74566:(e,t,n)=>{n.d(t,{Z:()=>a});var o={};n.r(o),n.d(o,{Cascader:()=>i.vT,CopyButton:()=>i.qi,Form:()=>i.l0,Grid:()=>i.rj,Mention:()=>i.pf,NumberInput:()=>i.Y2,Pagination:()=>i.tl,Pop:()=>i.XE,PreviewImage:()=>i.Sy,RangePicker:()=>i.Sq,Select:()=>i.Ph,Sweetalert:()=>i.Hj,Switch:()=>i.rs,TimePicker:()=>i.jI,Transfer:()=>i.FE,Upload:()=>i.gq,mark:()=>i.B1});var r=n(27378),i=n(50642),a=(0,r.createContext)(o)},52074:(e,t,n)=>{var o=n(59312),r=n(27378),i=n(74566),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.receive=function(){var e=this.props.componentName,t=this.context[e];return"function"==typeof t?t():t},t.prototype.render=function(){return(0,this.props.children)(this.receive())},t.contextType=i.Z,t}(r.Component);t.Z=a},24654:(e,t,n)=>{function o(e){return e}n.d(t,{i_:()=>o,_z:()=>r,U1:()=>i});var r={dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:+(e-e%10!=10)*e%10]}},i={dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],amPm:["上午","下午"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:+(e-e%10!=10)*e%10]}}},50642:(e,t,n)=>{n.d(t,{B1:()=>l,qi:()=>s,tl:()=>c,XE:()=>u,Sy:()=>d,Sq:()=>p,Ph:()=>h,rs:()=>f,Hj:()=>v,rj:()=>m,vT:()=>b,jI:()=>y,gq:()=>x,pf:()=>w,FE:()=>C,l0:()=>P,Y2:()=>j});var o=n(59312),r=n(24246),i=n(24654),a={confirm:"确定",cancel:"取消",ok:"我知道了",comma:",",reset:"重置"},l="zh-CN",s={copy:"复制",success:"复制成功",error:"复制失败"},c={jumpTo:function(e){var t=e.input;return(0,r.jsxs)(r.Fragment,{children:["跳至",t,"页"]},void 0)},pageStats:function(e){var t=e.total,n=e.select,i=e.Text;return(0,r.jsxs)(r.Fragment,{children:["共 ",(0,r.jsx)(i,(0,o.pi)({type:"middle"},{children:t}),void 0)," 条,每页",n]},void 0)},pageStatsStatic:function(e){var t=e.total,n=e.pageSize,i=e.Text;return(0,r.jsxs)(r.Fragment,{children:["共 ",(0,r.jsx)(i,(0,o.pi)({type:"middle"},{children:t}),void 0)," 条,每页",(0,r.jsx)(i,(0,o.pi)({type:"middle"},{children:n}),void 0)," 条"]},void 0)},selectWidth:80,items:"条"},u=(0,o.pi)({},a),d={alt:"图片下载失败",prev:"上一张",next:"下一张",rotate:"翻转"},p={7:"近7天",30:"近30天"},h={input:"请选择",empty:"暂无数据",tagSeparator:"、",create:"+点击新建:"},f={checked:"开启",unchecked:"关闭"},v=(0,o.pi)((0,o.pi)({},a),{title:"提示"}),m=(0,o.pi)((0,o.pi)({},a),{emptyLabel:"没有更多数据了"}),b=(0,o.pi)((0,o.pi)({},a),{title:"标题",placeholder:"请选择",searchPlaceholder:"请选择或输入搜索",searchEmpty:"无搜索结果",empty:"无数据",loading:"加载中…"}),g=["第一季度","第二季度","第三季度","第四季度"],y=function(){return(0,i.i_)(i.U1),(0,o.pi)((0,o.pi)({},a),{time:"请选择时间",date:"请选择日期",week:"请选择自然周",month:"请选择月份",quarter:"请选择季度",year:"请选择年份",range:"开始日期 至 结束日期",timeErrorPop:"时间不可用",dateErrorPop:"日期不可用",start:"开始日期",end:"结束日期",startTime:"开始时间",endTime:"结束时间",to:"至",current:{time:"当前时间",date:"今天",week:"当前周",month:"当前月",year:"当前年"},panel:{hour:"时",minute:"分",second:"秒",year:"年",hourSelect:"选择小时",minuteSelect:"选择分钟",secondSelect:"选择秒",titleFormat:"YYYY年MMM",quarterNames:g,yearQuarterName:function(e){var t=e.year,n=e.quarter;return t+"年"+g[n]},dayNames:["日","一","二","三","四","五","六"],monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]}})},x=(0,o.pi)((0,o.pi)({},a),{delete:"删除",retry:"重新上传",failed:"上传失败",limit:"文件添加个数已达上限",add:"添加文件",uploading:"文件上传中"}),w={noContent:"无匹配结果,轻敲空格完成输入"},C={placeholder:"请输入搜索内容",item:"项",items:"项",emptyLabel:"暂无数据"},P={required:"必填"},j={min:"最小值不能小于",max:"最大值不能大于"}},39215:(e,t,n)=>{n.d(t,{J:()=>l});var o=n(59312),r=n(24246),i=n(60042),a=n.n(i),l=(0,n(27378).forwardRef)((function(e,t){var n=e.className,i=e.spin,l=e.type,s=(0,o._T)(e,["className","spin","type"]);return(0,r.jsx)("i",(0,o.pi)({ref:t,className:a()("zenticon","zenticon-"+l,n,{"zenticon-spin":i})},s,{"data-zv":"10.0.10"}),void 0)}));l.displayName="ZentIcon",t.Z=l},27036:(e,t,n)=>{var o=n(39215);t.Z=o.Z},38841:(e,t,n)=>{n.d(t,{B:()=>o});var o=(0,n(27378).createContext)({enable:!1});o.displayName="IMECompositionContext"},90475:(e,t,n)=>{n.d(t,{B:()=>l});var o=n(59312),r=n(27378),i=n(38841),a={getEventValue:function(e){return e.target.value}};function l(e){var t=(0,o.pi)((0,o.pi)({},a),e).getEventValue;return function(e,n,a,l){var s=(0,r.useContext)(i.B),c=(0,r.useRef)(!1),u=(0,r.useState)(e),d=u[0],p=u[1],h=(0,r.useRef)(n),f=(0,r.useRef)(a),v=(0,r.useRef)(l);(0,r.useEffect)((function(){h.current=n,f.current=a,v.current=l}),[n,a,l]),(0,r.useEffect)((function(){p(e)}),[e]);var m=(0,r.useCallback)((function(){for(var e,n=[],r=0;r{n.d(t,{I:()=>z,Z:()=>S});var o=n(59312),r=n(24246),i=n(27378),a=n(60042),l=n.n(a),s=n(27036),c=n(90475);function u(e){e.preventDefault()}var d=(0,c.B)(),p=(0,i.forwardRef)((function(e,t){var n=e.addonBefore,i=e.addonAfter,a=e.showClear,c=e.value,p=e.onChange,h=e.onCompositionStart,f=e.onCompositionEnd,v=e.onClear,m=(e.width,e.size,e.onPressEnter,e.autoFocus,e.autoSelect,e.initSelectionStart,e.initSelectionEnd,e.icon),b=e.iconPosition,g=void 0===b?"end":b,y=(e.inline,e.onIconClick),x=(0,o._T)(e,["addonBefore","addonAfter","showClear","value","onChange","onCompositionStart","onCompositionEnd","onClear","width","size","onPressEnter","autoFocus","autoSelect","initSelectionStart","initSelectionEnd","icon","iconPosition","inline","onIconClick"]),w=d(c,p,h,f),C=w.value,P=w.onChange,j=w.onCompositionStart,k=w.onCompositionEnd,z=a&&c&&!x.disabled&&!x.readOnly,S=l()("zent-input-icon",{"zent-input-icon-click":!!y});return(0,r.jsxs)(r.Fragment,{children:[n&&(0,r.jsx)("div",(0,o.pi)({className:"zent-input-addon-before","data-zv":"10.0.10"},{children:n}),void 0),m&&"front"===g?(0,r.jsx)(s.Z,{className:S,type:m,onMouseUp:u,onMouseDown:u,onClick:y},void 0):null,(0,r.jsx)("input",(0,o.pi)({},x,{ref:t,className:"zent-input",value:C,onChange:P,onCompositionStart:j,onCompositionEnd:k,"data-zv":"10.0.10"}),void 0),z&&(0,r.jsx)(s.Z,{className:"zent-input-icon",type:"close-circle",onClick:v,onMouseDown:u},void 0),m&&"end"===g?(0,r.jsx)(s.Z,{className:S,type:m,onMouseUp:u,onMouseDown:u,onClick:y},void 0):null,i&&(0,r.jsx)("div",(0,o.pi)({className:"zent-input-addon-after","data-zv":"10.0.10"},{children:i}),void 0)]},void 0)}));p.displayName="Input";var h=n(49744),f=new Map;function v(e){var t=f.get(e);t&&t.destroy()}function m(e){var t=f.get(e);t&&t.update()}function b(e){return"length"in e}var g=n(42690),y=n(79264),x=(0,c.B)(),w=(0,i.forwardRef)((function(e,t){var n=e.value,i=e.onChange,a=e.onCompositionStart,s=e.onCompositionEnd,c=e.autoSize,u=e.showCount,d=e.maxLength,p=(e.width,e.size,e.onPressEnter,e.autoFocus,e.autoSelect,e.initSelectionStart,e.initSelectionEnd,e.inline,e.maxCharacterCount),w=(e.type,(0,o._T)(e,["value","onChange","onCompositionStart","onCompositionEnd","autoSize","showCount","maxLength","width","size","onPressEnter","autoFocus","autoSelect","initSelectionStart","initSelectionEnd","inline","maxCharacterCount","type"])),C=x(n,i,a,s),P=C.value,j=C.onChange,k=C.onCompositionStart,z=C.onCompositionEnd,S=t;(0,y.L)((function(){if(!c)return g.Z;var e=S.current;return e?(function(e){e&&Array.prototype.forEach.call(b(e)?e:[e],(function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!f.has(e)){var t,n=NaN,o=NaN,r=NaN,i=[],a=function(t){i.forEach((function(e){return e()})),i.splice(0,i.length),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),f.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});i.push((0,h.Oo)(e,"autosize:destroy",a)),"onpropertychange"in e&&"oninput"in e&&i.push((0,h.Oo)(e,"keyup",c)),i.push((0,h.Oo)(window,"resize",(function(){e.clientWidth!==o&&c()}))),i.push((0,h.Oo)(e,"input",c)),i.push((0,h.Oo)(e,"autosize:update",c)),e.style.overflowX="hidden",e.style.wordWrap="break-word",f.set(e,{destroy:a,update:c}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),c()}function l(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function s(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",o=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),r&&(document.documentElement.scrollTop=r)}}function c(){s();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(op;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("textarea",(0,o.pi)({},w,{ref:t,className:l()("zent-textarea",{"zent-textarea-with-count":u}),value:P,maxLength:d,onChange:j,onCompositionStart:k,onCompositionEnd:z,"data-zv":"10.0.10"}),void 0),u&&(0,r.jsxs)("span",(0,o.pi)({className:l()("zent-textarea-count",{"zent-textarea-out-of-range-text":N}),"data-zv":"10.0.10"},{children:[(P||"").length,"/",null!=d?d:p]}),void 0)]},void 0)}));w.displayName="TextArea";var C=n(77125),P=n(1348),j=n(78513),k=["className","width","style","size","disabled","widthSize"],z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elementRef=(0,i.createRef)(),t.state={hasFocus:!1},t.onKeyDown=function(e){var n=t.props,o=n.onKeyDown,r=n.onPressEnter;r&&"Enter"===e.key&&r(e),o&&o(e)},t.onFocus=function(e){t.setState({hasFocus:!0});var n=t.props.onFocus;n&&n(e)},t.onBlur=function(e){t.setState({hasFocus:!1});var n=t.props.onBlur;n&&n(e)},t.clearInput=function(e){var n=t.props.onChange,r=Object.create(e);r.target=(0,o.pi)((0,o.pi)({},t.props),{value:""}),r.fromClearButton=!0,n&&n(r)},t.renderInput=function(e){return t.renderImpl(e)},t}return(0,o.ZT)(t,e),Object.defineProperty(t.prototype,"input",{get:function(){return this.elementRef.current},enumerable:!1,configurable:!0}),t.prototype.focus=function(){var e=this.elementRef.current;e&&e.focus()},t.prototype.select=function(e,t){var n=this.elementRef.current;n&&("number"==typeof e&&"number"==typeof t?n.setSelectionRange(e,t):n.select())},t.prototype.componentDidMount=function(){var e=this.props,t=e.autoFocus,n=e.autoSelect,o=e.initSelectionStart,r=e.initSelectionEnd,i=this.elementRef.current;t&&i&&i.focus(),n&&this.select(o,r)},t.prototype.renderImpl=function(e){var t,n,i,a=this.props,s=a.type,c=a.className,u=a.width,d=a.style,h=a.size,f=a.disabled,v=void 0===f?e.value:f,m=a.readOnly,b=a.widthSize,g=this.state.hasFocus,y="textarea"===s.toLowerCase(),x=!(v||m),C=this.context.renderInner,P=(0,o.pi)((0,o.pi)({},d),{width:u}),z=!1;if("textarea"===a.type){var S=null===(n=this.elementRef.current)||void 0===n?void 0:n.value;z=!(!a.maxCharacterCount||!S)&&S.length>a.maxCharacterCount,i=(0,r.jsx)(w,(0,o.pi)({},(0,j.Z)(a,k),{ref:this.elementRef,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,disabled:v}),void 0)}else i=(0,r.jsx)(p,(0,o.pi)({},(0,j.Z)(a,k),{ref:this.elementRef,onClear:this.clearInput,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,disabled:v}),void 0);var N=l()("zent-input-wrapper","zent-input--size-"+h,((t={})["zent-input-wrapper--width-"+b]=!!b,t["zent-input-wrapper__not-editable"]=!x,t["zent-textarea-wrapper"]=y,t["zent-textarea-wrapper-out-of-range"]=z,t["zent-input-addons"]=!y&&(a.addonAfter||a.addonBefore),t["zent-input--has-focus"]=g,t["zent-input-wrapper-inline"]=a.inline,t["zent-input-wrapper-disabled"]=v,t),c);return(0,r.jsx)("div",(0,o.pi)({className:N,style:P,onMouseEnter:a.onMouseEnter,onMouseLeave:a.onMouseLeave,"data-zv":"10.0.10"},{children:C?C(i):i}),void 0)},t.prototype.render=function(){return(0,r.jsx)(P.d.Consumer,{children:this.renderInput},void 0)},t.contextType=C.r,t.displayName="ZentInput",t.defaultProps={type:"text",size:"normal"},t}(i.Component),S=z},77125:(e,t,n)=>{n.d(t,{r:()=>o});var o=(0,n(27378).createContext)({renderInner:null})},20840:(e,t,n)=>{n.d(t,{l:()=>c});var o=n(59312),r=n(24246),i=n(60042),a=n.n(i),l=n(73326),s=n(56975);function c(e){var t=e.loading,n=void 0!==t&&t,i=e.delay,c=void 0===i?0:i,u=e.className,d=e.icon,p=void 0===d?"circle":d,h=e.iconSize,f=e.iconText,v=e.textPosition,m=void 0===v?"bottom":v,b=e.colorPreset,g=void 0===b?"primary":b,y=e.textSize;return(0,l.Z)({loading:n,delay:c})||!n?null:(0,r.jsx)("div",(0,o.pi)({className:a()("zent-loading","zent-loading--inline",u),"data-zv":"10.0.10"},{children:(0,r.jsx)(s.Z,{icon:p,size:h,text:f,textPosition:m,colorPreset:g,textSize:y},void 0)}),void 0)}t.Z=c},56975:(e,t,n)=>{n.d(t,{Z:()=>f});var o=n(59312),r=n(24246),i=n(60042),a=n.n(i);function l(e){return a()({"zent-loading-icon-and-text--bottom":"bottom"===e,"zent-loading-icon-and-text--top":"top"===e,"zent-loading-icon-and-text--left":"left"===e,"zent-loading-icon-and-text--right":"right"===e})}function s(e){var t=e.size,n=e.text,i=e.textPosition,s=e.colorPreset,u=e.textSize,d=void 0===u?14:u;return t=t||40,(0,r.jsxs)("div",(0,o.pi)({className:a()("zent-loading-icon-and-text","zent-loading-icon-and-text--youzan","zent-loading-color-preset--"+s,l(i)),"data-zv":"10.0.10"},{children:[(0,r.jsx)("div",(0,o.pi)({className:"zent-loading-icon zent-loading-icon-youzan",style:{height:t,width:t},"data-zv":"10.0.10"},{children:(0,r.jsx)(c,{size:t},void 0)}),void 0),n&&(0,r.jsx)("div",(0,o.pi)({className:"zent-loading-icon-text",style:{fontSize:d+"px"},"data-zv":"10.0.10"},{children:n}),void 0)]}),void 0)}function c(e){var t=e.size;return(0,r.jsx)("svg",(0,o.pi)({width:u(t,19),height:u(t,23),viewBox:"0 0 19 23",xmlns:"http://www.w3.org/2000/svg",className:"zent-loading-icon-youzan-svg","data-zv":"10.0.10"},{children:(0,r.jsx)("path",{d:"M4.649 22.4V11.573c3.245-.966 4.18-10.27 4.18-10.27.084-.621.64-1.204 1.252-1.3l-.21.033C11.495-.22 12.71.92 12.583 2.58l-.337 4.43c-.046.613.404 1.051 1.006.98l4.005-.482c1.216-.146 1.97.714 1.682 1.92 0 0-.135.403-.21 1.111-.073.708.312.96.23 1.986-.08 1.027-.411 1.154-.479 1.944s.174.888.122 1.628c-.068.955-.434 1.205-.508 1.66-.074.457.01.779.01.779.081.904-.55 1.753-1.435 1.898L4.649 22.4zM3.568 11.801v10.776l-2.5.409C.478 23.082 0 22.67 0 22.064v-8.762c0-.454.357-.89.797-.972 0 0 1.64-.307 2.77-.529z",fillRule:"evenodd","data-zv":"10.0.10"},void 0)}),void 0)}function u(e,t){return e/40*t}var d={primary:["#155BD4","#EDF4FF"],grey:["#CCC","#F7F7F7"]},p=function(e,t){var n=d[t];return(0,r.jsx)("svg",(0,o.pi)({width:e+"px",height:e+"px",viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"zent-loading-icon zent-loading-icon-circle","data-zv":"10.0.10"},{children:(0,r.jsxs)("g",(0,o.pi)({id:"loading",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd","data-zv":"10.0.10"},{children:[(0,r.jsx)("rect",{x:"0",y:"0",width:"20",height:"20","data-zv":"10.0.10"},void 0),(0,r.jsx)("path",{d:"M10,2 C14.418278,2 18,5.581722 18,10 C18,14.418278 14.418278,18 10,18 C5.581722,18 2,14.418278 2,10 C2,5.581722 5.581722,2 10,2 Z M10,4 C6.6862915,4 4,6.6862915 4,10 C4,13.3137085 6.6862915,16 10,16 C13.3137085,16 16,13.3137085 16,10 C16,6.6862915 13.3137085,4 10,4 Z",fill:n[1],fillRule:"nonzero","data-zv":"10.0.10"},void 0),(0,r.jsx)("path",{d:"M10,2 L10,4 L10,4 C6.6862915,4 4,6.6862915 4,10 C4,13.3137085 6.6862915,16 10,16 L10,18 L10,18 C5.581722,18 2,14.418278 2,10 C2,5.581722 5.581722,2 10,2 Z",fill:n[0],fillRule:"nonzero","data-zv":"10.0.10"},void 0)]}),void 0)}),void 0)};function h(e){var t=e.size,n=e.text,i=e.textPosition,s=e.textSize,c=void 0===s?14:s,u=e.colorPreset;return t=t||20,(0,r.jsxs)("div",(0,o.pi)({className:a()("zent-loading-icon-and-text","zent-loading-icon-and-text--circle","zent-loading-color-preset--"+u,l(i)),"data-zv":"10.0.10"},{children:[p(t,u),n&&(0,r.jsx)("div",(0,o.pi)({className:"zent-loading-icon-text",style:{fontSize:c+"px"},"data-zv":"10.0.10"},{children:n}),void 0)]}),void 0)}function f(e){var t=e.icon,n=(0,o._T)(e,["icon"]);return"youzan"===t?(0,r.jsx)(s,(0,o.pi)({},n),void 0):"circle"===t?(0,r.jsx)(h,(0,o.pi)({},n),void 0):null}},73326:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(27378);function r(e){var t=e.loading,n=e.delay,r=!!(n&&n>0),i=(0,o.useState)(r),a=i[0],l=i[1];return(0,o.useEffect)((function(){if(t&&r){l(!0);var e=setTimeout((function(){return l(!1)}),n);return function(){return clearTimeout(e)}}return l(r)}),[t,n,r]),a}},23476:(e,t,n)=>{n.d(t,{g:()=>P,Z:()=>j});var o=n(59312),r=n(24246),i=n(31542),a=n(79352),l=n(14805),s=n(27378),c=n(14623),u=n(53552),d=n(27036),p=function(e){var t=e.children,n=(0,o._T)(e,["children"]);return(0,r.jsx)(c.Z,(0,o.pi)({},n,{timeout:800,classNames:"notify"},{children:t}),void 0)},h={success:"check-circle",warn:"warning",error:"close-circle",info:"info-circle"},f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onExited=function(){t.props.close()},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.text,n=e.status,i=e.selector,a=e.isIn;return(0,r.jsx)(u.ZP,(0,o.pi)({selector:i},{children:(0,r.jsx)(p,(0,o.pi)({appear:!0,unmountOnExit:!0,in:a,onExited:this.onExited},{children:(0,r.jsx)("div",(0,o.pi)({className:"zent-notify","data-zv":"10.0.10"},{children:(0,r.jsxs)("div",(0,o.pi)({className:"zent-notify-content zent-notify-content-"+n,"data-zv":"10.0.10"},{children:[(0,r.jsx)(d.Z,{className:"zent-notify-content-icon",type:h[n]},void 0),(0,r.jsx)("div",(0,o.pi)({"data-zv":"10.0.10"},{children:t}),void 0)]}),void 0)}),void 0)}),void 0)}),void 0)},t.defaultProps={text:"",status:"",className:""},t}(s.Component),v=0,m=3500,b="body",g={},y="zent-notify-container",x=function(e){var t=g[e];if(t){var n=t.container,o=t.callback,r=t.timeOutId;clearTimeout(r),i.unmountComponentAtNode(n),delete g[e],function(e){"function"==typeof e&&e()}(o)}},w=function(e,t){e.classList&&!e.classList.contains(t)&&e.classList.add(t)},C=function(e,t,n,s,c,u){if(!a.Z)return null;var d=(0,l.Z)("div"),p=function(e,t){var n=e||b,o=document.querySelector(n+" > ."+y),r=document.querySelector(n)||document.body;if(!o){var i=(0,l.Z)("div");i.className=y,o=r.appendChild(i)}return t&&w(o,t),"body"!==n&&w(o,"zent-notify-container-custom"),o}(c,u),h={text:e,status:n,duration:t,isIn:!0,selector:p};i.render((0,r.jsx)(f,(0,o.pi)({},h),void 0),d);var C=++v,P=setTimeout((function(){i.render((0,r.jsx)(f,{isIn:!1,text:e,selector:p,status:n,close:function(){return x(C)}},void 0),d)}),h.duration||m);return g[C]={container:d,callback:s,timeOutId:P},C},P={info:function(e,t,n,o,r){return C(e,t,"info",n,o,r)},success:function(e,t,n,o,r){return C(e,t,"success",n,o,r)},warn:function(e,t,n,o,r){return C(e,t,"warn",n,o,r)},error:function(e,t,n,o,r){return C(e,t,"error",n,o,r)},clear:function(e){e?x(e):Object.keys(g).forEach((function(e){x(e)}))},config:function(e){e.duration&&(m=e.duration),e.containerSelector&&(b=e.containerSelector)}},j=P},92497:(e,t,n)=>{n.d(t,{X:()=>g,Z:()=>y});var o=n(59312),r=n(24246),i=n(27378),a=n(60042),l=n.n(a),s=n(33806),c=n(16078),u=n(50707),d=n(90347),p=n(52074),h=n(65436);function f(e,t,n,o){if("function"!=typeof o)return n.close();var r=function(){t(e,!0)},i=function(){t(e,!1,n.close)};if(o.length>=1)return r(),o(i);var a=o();(0,h.Z)(a)?(r(),a.then(i).catch((function(){return t(e,!1)}))):n.close()}var v=function(e){var t=e.type,n=e.onConfirm,a=e.onCancel,l=e.confirmText,s=e.cancelText,u=e.confirmPending,h=e.cancelPending,v=e.changePending,m=(0,c.Sv)(),b=(0,i.useCallback)((function(){f("confirmPending",v,m,n)}),[n,m,v]),g=(0,i.useCallback)((function(){f("cancelPending",v,m,a)}),[a,m,v]);return(0,r.jsxs)("div",(0,o.pi)({className:"zent-pop-v2-buttons","data-zv":"10.0.10"},{children:[(0,r.jsx)(p.Z,(0,o.pi)({componentName:"Pop"},{children:function(e){return(0,r.jsx)(d.ZP,(0,o.pi)({loading:h,disabled:u,size:"small",onClick:g},{children:s||e.cancel}),void 0)}}),void 0),(0,r.jsx)(p.Z,(0,o.pi)({componentName:"Pop"},{children:function(e){return(0,r.jsx)(d.ZP,(0,o.pi)({loading:u,disabled:h,size:"small",type:t,onClick:b},{children:l||e.confirm}),void 0)}}),void 0)]}),void 0)},m=n(42690),b=s.ZP.Trigger,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popoverRef=(0,i.createRef)(),t.isUnmounted=!1,t.state={confirmPending:!1,cancelPending:!1},t.changePending=function(e,n,o){var r;t.isUnmounted||t.setState(((r={})[e]=n,r),o)},t}return(0,o.ZT)(t,e),t.prototype.adjustPosition=function(){var e=this.popoverRef.current;e&&e.adjustPosition()},t.prototype.getWrappedPopover=function(){return this.popoverRef.current},t.prototype.renderTrigger=function(){var e=this.props;switch(e.trigger){case"click":return(0,r.jsx)(b.Click,(0,o.pi)({closeOnClickOutside:e.closeOnClickOutside},{children:e.children}),void 0);case"hover":return(0,r.jsx)(b.Hover,(0,o.pi)({showDelay:e.mouseEnterDelay,hideDelay:e.mouseLeaveDelay,anchorOnly:e.anchorOnly,fixMouseEventsOnDisabledChildren:e.fixMouseEventsOnDisabledChildren},{children:e.children}),void 0);case"focus":return(0,r.jsx)(b.Focus,{children:e.children},void 0);case"none":return(0,r.jsx)(s.ZP.Anchor,{children:e.children},void 0);default:throw new Error("Pop trigger not assigned")}},t.prototype.componentWillUnmount=function(){this.isUnmounted=!0},t.prototype.render=function(){var e=this.props,t=e.className,n=e.style,i=e.trigger,a=e.visible,c=e.onShow,d=e.onClose,p=e.position,h=e.cushion,f=e.header,b=e.content,g=e.centerArrow,y=e.onBeforeClose,x=e.onBeforeShow,w=e.onPositionUpdated,C=e.onPositionReady,P=e.containerSelector,j=e.onCancel,k=e.onConfirm,z=e.confirmText,S=e.cancelText,N=e.type,R=null!=f,O=this.props.onVisibleChange;"none"===i&&(O=O||m.Z);var E=this.state,T=E.confirmPending,M=E.cancelPending,Z=T||M;return(0,r.jsxs)(s.ZP,(0,o.pi)({ref:this.popoverRef,visible:!!Z||a,onVisibleChange:Z?m.Z:O,className:l()("zent-pop-v2",t,{"zent-pop-v2--has-header":R,"zent-pop-v2--no-header":!R}),style:n,cushion:h,position:(0,u.Z)(p,g),onShow:c,onClose:d,onBeforeClose:y,onBeforeShow:x,onPositionUpdated:w,onPositionReady:C,containerSelector:P},{children:[this.renderTrigger(),(0,r.jsxs)(s.ZP.Content,{children:[R&&(0,r.jsx)("div",(0,o.pi)({className:"zent-pop-v2-header","data-zv":"10.0.10"},{children:f}),void 0),(0,r.jsxs)("div",(0,o.pi)({className:"zent-pop-v2-inner","data-zv":"10.0.10"},{children:[b,(j||k)&&(0,r.jsx)(v,{onConfirm:k,onCancel:j,confirmText:z,cancelText:S,confirmPending:T,cancelPending:M,changePending:this.changePending,type:N},void 0)]}),void 0),(0,r.jsx)("div",{className:"zent-pop-v2-arrow","data-zv":"10.0.10"},void 0)]},void 0)]}),void 0)},t.defaultProps={trigger:"none",position:"top-center",cushion:10,type:"primary",mouseLeaveDelay:200,mouseEnterDelay:200,containerSelector:"body"},t.withPop=(0,c.ou)("pop"),t}(i.Component),y=g},80522:(e,t,n)=>{var o=n(59312),r=n(27378),i=n(31542),a=n(42108),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.getElement=function(){var e=this.props.getElement,t=(0,i.findDOMNode)(this);return e?e(t):t},t.prototype.componentDidMount=function(){var e=this;this.context.popover.getAnchor=function(){return e.getElement()}},t.prototype.componentWillUnmount=function(){this.context.popover.getAnchor=null},t.prototype.render=function(){return this.props.children},t.contextType=a.Z,t}(r.Component);t.Z=l},28425:(e,t,n)=>{n.d(t,{Z:()=>m});var o=n(59312),r=n(24246),i=n(60042),a=n.n(i),l=n(44879),s=n(42108),c=n(53552),u=n(80186),d=n(49476),p=n(27378);function h(e,t){var n=(0,p.useRef)(null);return(0,p.useMemo)((function(){return n.current=null,function(){return n.current||(n.current=e()),n.current}}),t)}var f=n(43239),v=(0,p.createContext)({positionChanged$:new l.x});v.displayName="PopoverContentContext";var m=function(e){var t=e.children,n=(0,s.l)(),i=(0,p.useContext)(v).positionChanged$,m=(0,p.useMemo)((function(){return{positionChanged$:new l.x}}),[]),b=(0,p.useState)(d.w),g=b[0],y=b[1],x=(0,p.useRef)(n);x.current=n;var w,C,P,j=n.containerSelector,k=n.portalRef,z=h((function(){return document.querySelector(j)}),[j]),S=h((function(){var e=z();return e&&function(e,t){function n(e){var t=getComputedStyle(e).getPropertyValue("position");return t&&"static"!==t}if(void 0===t&&(t=!1),!e)return null;if(t&&n(e))return e;for(var o=e.parentElement;null!==o;o=o.parentElement)if(n(o))return o;return document.documentElement}(e)}),[z]),N=(0,f.s)(),R=(w=function(){if(N.current){var e=function(e,t,n,o){var r,i=e.visible,a=e.placement,l=e.popover,s=e.cushion;if(!i)return d.w;var c=t(),u=n(),p=o.current,h=null===(r=l.getAnchor)||void 0===r?void 0:r.call(l);if(!(c&&u&&p&&h&&h instanceof HTMLElement))return d.w;var f,v,m,b,g=u.getBoundingClientRect(),y=p.container,x=y.getBoundingClientRect(),w=h.getBoundingClientRect();return a({relativeRect:(v=w,m=(f=g).left,b=f.top,{width:v.width,height:v.height,top:v.top-b,left:v.left-m,bottom:v.bottom-b,right:v.right-m}),anchor:h,anchorRect:w,content:y,contentRect:x,containerRect:g,container:u,cushion:s})}(x.current,z,S,k);y(e)}},C=(0,p.useRef)(w),P=(0,p.useRef)(null),(0,p.useEffect)((function(){C.current=w}),[w]),(0,p.useCallback)((function(){P.current||(P.current=requestAnimationFrame((function(){P.current=null,C.current()})))}),[]));return(0,p.useImperativeHandle)(n.contentRef,(function(){return{adjustPosition:R}}),[R]),(0,u.Tb)("resize",R),(0,u.Tb)("scroll",R,{capture:!0}),(0,p.useEffect)((function(){n.popover.positionUpdated(),m.positionChanged$.next()}),[n.popover,g,m]),(0,p.useEffect)((function(){var e=i.subscribe((function(){R()}));return function(){return e.unsubscribe()}}),[i,R]),(0,r.jsx)(c.ZP,(0,o.pi)({ref:k,visible:n.visible,selector:j,className:a()("zent-popover-v2",g.className,n.className),style:(0,o.pi)((0,o.pi)({},g.style),n.style)},{children:(0,r.jsx)(v.Provider,(0,o.pi)({value:m},{children:t}),void 0)}),void 0)}},42108:(e,t,n)=>{n.d(t,{l:()=>i});var o=n(27378),r=(0,o.createContext)(null);function i(){var e=(0,o.useContext)(r);if(!e)throw new Error("Popover context not found");return e}r.displayName="ZentPopoverContext",t.Z=r},81044:(e,t,n)=>{n.d(t,{J:()=>Q,Z:()=>ee});var o={};n.r(o),n.d(o,{Arrow:()=>U,AutoBottomCenter:()=>b,AutoBottomLeft:()=>y,AutoBottomLeftInViewport:()=>T,AutoBottomRight:()=>w,AutoTopCenter:()=>P,AutoTopLeft:()=>k,AutoTopRight:()=>S,BottomCenter:()=>p,BottomLeft:()=>u,BottomLeftInViewport:()=>R,BottomRight:()=>d,BottomSameWidth:()=>M,CascaderAutoBottomLeft:()=>I,INVISIBLE_POSITION:()=>l.w,LeftBottom:()=>_,LeftCenter:()=>L,LeftTop:()=>Z,RightBottom:()=>B,RightCenter:()=>A,RightTop:()=>F,TopCenter:()=>v,TopLeft:()=>h,TopLeftInViewport:()=>O,TopRight:()=>f});var r=n(59312),i=n(24246),a=n(27378),l=n(49476),s=n(27468),c=n(33936),u=function(e){var t=e.relativeRect,n=e.cushion;return{style:{position:"absolute",left:t.left,top:t.bottom+n},className:(0,c.O)("position-bottom-left")}},d=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion,r=n.right,i=n.bottom;return{style:{position:"absolute",left:r-t.width,top:i+o},className:(0,c.O)("position-bottom-right")}},p=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion,r=n.left,i=n.right,a=n.bottom;return{style:{position:"absolute",left:(r+i)/2-t.width/2,top:a+o},className:(0,c.O)("position-bottom-center")}},h=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion;return{style:{position:"absolute",left:n.left,top:n.top-t.height-o},className:(0,c.O)("position-top-left")}},f=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion,r=n.right,i=n.top;return{style:{position:"absolute",left:r-t.width,top:i-t.height-o},className:(0,c.O)("position-top-right")}},v=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion,r=n.right,i=n.left,a=n.top;return{style:{position:"absolute",left:(i+r)/2-t.width/2,top:a-t.height-o},className:(0,c.O)("position-top-center")}},m={BottomLeft:u,BottomRight:d,BottomCenter:p,TopLeft:h,TopRight:f,TopCenter:v},b=function(e){var t,n,o=e.contentRect,r=e.cushion,i=e.anchorRect,a=(0,s.ZP)(),l=(i.left+i.right)/2,c=o.width/2;return t=l+c>a.width&&i.right-o.width>0?"Right":l-c<0&&i.left+o.widtha.height&&i.top-r-o.height>0?"Top":"Bottom",m[""+n+t](e)},g={BottomLeft:u,BottomRight:d,TopLeft:h,TopRight:f},y=function(e){var t,n,o=e.contentRect,r=e.cushion,i=e.anchorRect,a=(0,s.ZP)();return t=i.left+o.width>a.width&&i.right-o.width>0?"Right":"Left",n=i.bottom+r+o.height>a.height&&i.top-r-o.height>0?"Top":"Bottom",g[""+n+t](e)},x={BottomLeft:u,BottomRight:d,TopLeft:h,TopRight:f},w=function(e){var t,n,o=e.contentRect,r=e.cushion,i=e.anchorRect,a=(0,s.ZP)();return t=i.right-o.width<0&&i.left+o.widtha.height&&i.top-r-o.height>0?"Top":"Bottom",x[""+n+t](e)},C={BottomLeft:u,BottomRight:d,BottomCenter:p,TopLeft:h,TopRight:f,TopCenter:v},P=function(e){var t,n,o=e.contentRect,r=e.cushion,i=e.anchorRect,a=(0,s.ZP)(),l=(i.left+i.right)/2,c=o.width/2;return t=l+c>a.width&&i.right-o.width>0?"Right":l-c<0&&i.left+o.widtha.width&&i.right-o.width>0?"Right":"Left",n=i.top-r-o.height<0&&i.bottom+r+o.heighto.width?"Left":"LeftInViewport",n=i.bottom+r+o.height>a.height&&i.top-r-o.height>0?"Top":"Bottom",E[""+n+t](e)},M=function(e){var t=e.relativeRect,n=e.cushion,o=t.width,r=t.bottom;return{style:{position:"absolute",left:t.left,top:r+n,width:o},className:(0,c.O)("position-same-width")}},Z=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion;return{style:{position:"absolute",left:n.left-t.width-o,top:n.top},className:(0,c.O)("position-left-top")}},L=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion;return{style:{position:"absolute",left:n.left-t.width-o,top:(n.top+n.bottom)/2-t.height/2},className:(0,c.O)("position-left-center")}},_=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion;return{style:{position:"absolute",left:n.left-t.width-o,top:n.bottom-t.height},className:(0,c.O)("position-left-bottom")}},F=function(e){var t=e.relativeRect,n=e.cushion;return{style:{position:"absolute",left:t.right+n,top:t.top},className:(0,c.O)("position-right-top")}},A=function(e){var t=e.contentRect,n=e.relativeRect,o=e.cushion;return{style:{position:"absolute",left:n.right+o,top:(n.top+n.bottom)/2-t.height/2},className:(0,c.O)("position-right-center")}},B=function(e){var t=e.relativeRect,n=e.cushion,o=e.contentRect;return{style:{position:"absolute",left:t.right+n,top:t.bottom-o.height},className:(0,c.O)("position-right-bottom")}},D={BottomLeft:u,BottomRight:d,TopLeft:h,TopRight:f},I=function(e){var t,n,o=e.contentRect,r=e.cushion,i=e.anchorRect,a=(0,s.ZP)();return t=i.left+o.width>a.width?"Right":"Left",n=i.bottom+r+o.height>a.height&&i.top-r-o.height>0?"Top":"Bottom",D[""+n+t](e)};function H(e,t,n){return{style:{position:"absolute",left:Math.round(e)+"px",top:Math.round(t)+"px"},className:(0,c.O)("position-arrow-"+n)}}var U={ArrowBottomLeftPosition:function(e){var t=e.relativeRect,n=e.cushion;return H((t.left+t.right)/2-15,t.bottom+n,"bottom-left")},ArrowBottomRightPosition:function(e){var t=e.relativeRect,n=e.cushion,o=e.contentRect,r=t.left,i=t.right,a=t.bottom;return H((r+i)/2-(o.width-15),a+n,"bottom-right")},ArrowLeftTopPosition:function(e){var t=e.relativeRect,n=e.contentRect,o=e.cushion;return H(t.left-n.width-o,(t.top+n.bottom)/2-9,"left-top")},ArrowLeftBottomPosition:function(e){var t=e.relativeRect,n=e.contentRect,o=e.cushion;return H(t.left-n.width-o,(t.top+t.bottom)/2-(n.height-9),"left-bottom")},ArrowRightTopPosition:function(e){var t=e.relativeRect,n=e.cushion;return H(t.right+n,(t.top+t.bottom)/2-9,"right-top")},ArrowRightBottomPosition:function(e){var t=e.relativeRect,n=e.contentRect,o=e.cushion;return H(t.right+o,(t.top+t.bottom)/2-(n.height-9),"right-bottom")},ArrowTopLeftPosition:function(e){var t=e.relativeRect,n=e.contentRect,o=e.cushion,r=t.right;return H((t.left+r)/2-15,t.top-n.height-o,"top-left")},ArrowTopRightPosition:function(e){var t=e.cushion,n=e.relativeRect,o=e.contentRect,r=n.right,i=n.left,a=n.top;return H((i+r)/2-(o.width-15),a-o.height-t,"top-right")}},V=n(28425),W=n(84042),$=n(673),q=n(19185),Y=n(42108),K=n(80522),X=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.getTriggerProps=function(e){return{}},t.prototype.render=function(){var e=a.Children.only(this.props.children);if(!e)throw new Error("Popover Trigger requires a child");return"number"!=typeof e&&"string"!=typeof e||(e=(0,i.jsx)("span",(0,r.pi)({"data-zv":"10.0.10"},{children:e}),void 0)),(0,i.jsx)(K.Z,{children:(0,a.cloneElement)(e,this.getTriggerProps(e))},void 0)},t.contextType=Y.Z,t}(a.Component),J={Click:W.Z,Hover:$.ZP,Focus:function(e){var t=e.children,n=e.getElement,o=(0,a.useContext)(Y.Z);if(!o)throw new Error("PopoverFocusTrigger must be child of Popover");var l,s={onFocus:function(){for(var e,n,i=[],a=0;a=1)return a(l,this.escape);Promise.resolve(a()).then(l,this.escape)}},t.prototype.adjustPosition=function(){var e;null===(e=this.contentRef.current)||void 0===e||e.adjustPosition()},t.prototype.positionUpdated=function(){var e=this.props,t=e.onPositionReady,n=e.onPositionUpdated;null==n||n(),this.isPositionReady||(this.isPositionReady=!0,null==t||t())},t.prototype.safeSetState=function(e,t){if(!this.isUnmounted)return this.setState(e,t)},t.getDerivedStateFromProps=function(e){return"boolean"==typeof e.visible?{visible:e.visible}:null},t.prototype.componentDidMount=function(){var e=this.props.onShow;this.state.visible&&e&&e(),this.didMountCleanup=this.didMountHooks.map((function(e){return e()}))},t.prototype.componentDidUpdate=function(e,t){if(t.visible!==this.state.visible){var n=this.props,o=n.onShow,r=n.onClose;this.state.visible?(this.isPositionReady=!1,o&&o()):r&&r()}this.adjustPosition()},t.prototype.componentWillUnmount=function(){this.isUnmounted=!0,this.didMountCleanup.forEach((function(e){return e()}))},t.prototype.render=function(){var e=this.props,t=e.containerSelector,n=e.position,o=e.cushion,a=e.className,l=e.children,s=e.style,c=this.state.visible;return(0,i.jsx)(Y.Z.Provider,(0,r.pi)({value:{visible:c,containerSelector:t,placement:n,cushion:o,className:a,portalRef:this.portalRef,contentRef:this.contentRef,popover:this,didMount:this.didMount,style:s}},{children:l}),void 0)},t.contextType=Y.Z,t.defaultProps={cushion:0,containerSelector:"body"},t.Anchor=K.Z,t.Content=V.Z,t.Trigger=J,t.Position=o,t.withPopover=G.ZP,t.Context=Y.Z,t}(a.Component),ee=Q},33806:(e,t,n)=>{var o=n(81044);t.ZP=o.Z},49476:(e,t,n)=>{n.d(t,{w:()=>o});var o={style:{position:"fixed",left:-1e5,top:-1e5,zIndex:-10,opacity:0},className:(0,n(33936).O)("position-invisible")}},33936:(e,t,n)=>{function o(e){return"zent-popover-v2-"+e}n.d(t,{O:()=>o})},84042:(e,t,n)=>{var o=n(59312),r=n(24246),i=n(27378),a=n(19185),l=n(42108),s=n(80522),c=n(80186);t.Z=function(e){var t=e.children,n=e.toggle,u=e.getElement,d=e.closeOnClickOutside,p=void 0===d||d,h=(0,l.l)(),f=(0,i.useRef)(null),v=(0,i.useCallback)((function(e){var t=f.current;if(t){var n=t.getElement();p&&n&&function(e,t,n){return!(!n||!(n instanceof Element)||n.contains(e)||t.contains(e))}(e.target,h.portalRef.current,n)&&h.popover.setVisible(!1)}}),[p,h.popover,h.portalRef]);(0,c.Tb)("click",v,{capture:!0});var m,b=function(){for(var e,r,i=[],l=0;l{n.d(t,{$L:()=>h});var o=n(59312),r=n(24246),i=n(27378),a=n(44879),l=n(49570),s=n(18462),c=n(42108),u=n(80522),d=n(49744),p=n(19185),h=(0,i.createContext)({fixMouseEventsOnDisabledChildren:!1});t.ZP=function(e){var t=(0,i.useContext)(c.Z);if(!t)throw new Error("PopoverHoverTrigger must be child of Popover");var n=(0,i.useRef)(e);n.current=e;var f=(0,i.useMemo)((function(){return new a.x}),[]);(0,i.useEffect)((function(){var e=f.pipe((0,s.w)((function(e){var t=n.current,o=t.hideDelay,r=void 0===o?150:o,i=t.showDelay,a=void 0===i?150:i;return new l.y((function(t){var n=setTimeout((function(){t.next(e),t.complete(),n=null}),e?a:r);return function(){n&&clearTimeout(n)}}))}))).subscribe((function(e){t.popover.setVisible(e)}));return function(){return e.unsubscribe()}}),[t.popover,f]);var v,m=e.children,b=e.fixMouseEventsOnDisabledChildren,g=void 0!==b&&b,y=t.portalRef;if((0,t.didMount)((function(){var e=y.current.container,t=[(0,d.Oo)(e,"mouseenter",(function(){n.current.anchorOnly||f.next(!0)})),(0,d.Oo)(e,"mouseleave",(function(){n.current.anchorOnly||f.next(!1)})),(0,d.Oo)(window,"blur",(function(){f.next(!1)}))];return function(){t.forEach((function(e){return e()}))}})),"function"==typeof m)v=m({onMouseEnter:function(){f.next(!0)},onMouseLeave:function(){f.next(!1)}});else if((0,p.isElement)(m)&&!(0,p.isFragment)(m)){var x=m;v=(0,i.cloneElement)(x,{onMouseEnter:function(){for(var e,t,n=[],r=0;r{n.d(t,{Sv:()=>l,ou:()=>s});var o=n(59312),r=n(27378),i=n(19185),a=n(42108);function l(){var e=(0,r.useContext)(a.Z);if(null===e)throw new Error("usePopover must be used as child of Popover");return e.popover}function s(e){return function(t){var n,a,s=t.displayName||t.constructor.name||"Component",c=!!(null===(a=null==(n=t)?void 0:n.prototype)||void 0===a?void 0:a.isReactComponent)||(0,i.isForwardRef)(t),u=(0,r.forwardRef)((function(n,i){var a,s=l(),u=((a={})[e]=s,a);return c&&(u.ref=i),(0,r.createElement)(t,(0,o.pi)((0,o.pi)({},n),u))}));return u.displayName="withPopover("+s+")",u}}t.ZP=s("popover")},23860:(e,t,n)=>{n.d(t,{h:()=>w,Z:()=>C});var o=n(59312),r=n(24246),i=n(27378),a=n(42690),l=n(79264),s=function(e){var t=e.node,n=e.getParent,o=e.selector;return(0,l.L)((function(){var e=n(o);return e.appendChild(t),function(){e.removeChild(t)}}),[t,o,n]),null},c=n(99496),u=n(54817),d=n(41925),p=n(14805),h={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},f=["Webkit","ms","Moz","O"];Object.keys(h).forEach((function(e){f.forEach((function(t){h[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=h[e]}))}));var v=n(72551),m=function(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||(0,v.n)(h,e)&&h[e]?(""+t).trim():t+"px"},b=n(49744),g=n(79352),y=n(23343),x=new Map,w=(0,i.forwardRef)((function(e,t){var n=e.visible,h=void 0===n||n,f=e.layer,v=void 0===f?"div":f,w=e.selector,C=void 0===w?"body":w,P=e.useLayerForClickAway,j=void 0!==P&&P,k=e.className,z=e.style,S=e.blockPageScroll,N=void 0!==S&&S,R=e.closeOnESC,O=void 0!==R&&R,E=e.closeOnClickOutside,T=void 0!==E&&E,M=e.children,Z=e.append,L=(0,i.useMemo)((function(){return g.Z?(0,p.Z)(v):null}),[v]),_=(0,i.useMemo)((function(){return(0,d.Z)(u.pD)}),[]),F=(0,i.useRef)(e);F.current=e;var A=(0,i.useRef)(z),B=(0,i.useRef)(null);return(0,i.useImperativeHandle)(t,(function(){return{contains:function(e){var t=B.current;return!!t&&t.contains(e)},purePortalRef:B,container:L}}),[L]),(0,l.L)((function(){k&&(L.className=k)}),[L,k]),(0,l.L)((function(){var e=function(e,t){for(var n={},o=Object.keys(e),r=0;r{n.d(t,{M:()=>u,Z:()=>d});var o=n(59312),r=n(24246),i=n(27378),a=n(31542),l=n(41925),s=n(54817),c=(0,i.createContext)({children:[]}),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.childContext={children:[]},t.getContainer=(0,l.Z)((function(e){var n=(0,s.pD)(e);return n?(t.props.append||(0,s.NH)(n),n):n})),t}return(0,o.ZT)(t,e),t.prototype.contains=function(e){var t=this.getContainer(this.props.selector);if(!t)return!1;if(t.contains(e))return!0;for(var n=0,o=this.childContext.children;n{var o=n(23860);t.ZP=o.Z},54817:(e,t,n)=>{function o(e){if(e instanceof Element)return e;if("string"==typeof e){var t=document.querySelector(e);if(t)return t}throw new Error("Invalid selector")}function r(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}function i(e){return e===document.body?e.scrollHeight>window.innerHeight:e.scrollHeight>e.clientHeight}n.d(t,{pD:()=>o,NH:()=>r,Se:()=>i})},95388:(e,t,n)=>{n.d(t,{P:()=>B,Z:()=>D});var o=n(59312),r=n(24246),i=n(60042),a=n.n(i),l=n(27378),s=n(33806),c=n(27036),u=(0,l.memo)((function(e){var t=e.item,n=e.onRemove,i=e.renderValue,a=(0,l.useCallback)((function(e){e.stopPropagation(),n(t)}),[n,t]);return(0,r.jsxs)("div",(0,o.pi)({className:"zent-select-v2-tag","data-zv":"10.0.10"},{children:[i?i(t):(0,r.jsx)("span",(0,o.pi)({title:t.text,className:"zent-select-v2-tag-text","data-zv":"10.0.10"},{children:t.text}),void 0),(0,r.jsx)(c.Z,{type:"close",className:"zent-select-v2-tag-close",onClick:a},void 0)]}),void 0)})),d=(0,l.memo)((function(e){var t=e.list,n=e.onRemove,o=e.renderValue;return(0,r.jsx)(r.Fragment,{children:t.map((function(e){return(0,r.jsx)(u,{item:e,onRemove:n,renderValue:o},e.key)}))},void 0)})),p=n(20840),h=(0,l.memo)((function(e){var t=e.value,n=e.active,i=e.selected,l=e.onSelect,s=e.index,u=e.onMouseEnter,d=e.onMouseLeave,h=e.multiple,f=e.children,v=e.loading;return(0,r.jsx)("div",(0,o.pi)({className:a()("zent-select-v2-option",{"zent-select-v2-option-active":n,"zent-select-v2-option-selected":!h&&i,"zent-select-v2-option-selected-bold":h&&i,"zent-select-v2-option-disabled":t.disabled,"zent-select-v2-option-header":"header"===t.type}),onClick:function(e){e.preventDefault(),l(t)},onMouseEnter:function(){return!t.type&&u(s)},onMouseLeave:function(){return!t.type&&d(s)},title:"string"==typeof t.text?t.text:"","data-zv":"10.0.10"},{children:(0,r.jsxs)("div",(0,o.pi)({className:"zent-select-v2-option-text","data-zv":"10.0.10"},{children:[(0,r.jsx)("p",(0,o.pi)({className:"zent-select-v2-option-text-content","data-zv":"10.0.10"},{children:f}),void 0),h&&i&&(0,r.jsx)(c.Z,{className:"zent-select-v2-option-selected-multiple",type:"check"},void 0),v&&(0,r.jsx)(p.l,{loading:!0,icon:"circle",iconSize:18,className:"zent-select-v2-option-loading"},void 0)]}),void 0)}),void 0)})),f=n(90475),v=n(79264),m=(0,f.B)(),b=(0,l.forwardRef)((function(e,t){var n=e.placeholder,i=e.onChange,s=e.onIndexChange,c=e.onEnter,u=e.autoWidth,d=e.value,p=(0,l.useRef)(null),h=(0,l.useCallback)((function(){p.current.focus({preventScroll:!0})}),[p]),f=(0,l.useCallback)((function(e){switch(e.key){case"ArrowUp":s(-1);break;case"ArrowDown":s(1);break;case"Enter":c()}}),[s,c]);(0,l.useImperativeHandle)(t,(function(){return{focus:function(){h()}}}));var b=m(d,i),g=b.onChange,y=b.onCompositionEnd,x=b.onCompositionStart,w=b.value;(0,v.L)((function(){h()}),[h]);var C=w||n,P=a()("zent-select-v2-search-wrap",{"zent-select-v2-search-wrap-auto-width":u});return(0,r.jsxs)("span",(0,o.pi)({className:P,"data-zv":"10.0.10"},{children:[(0,r.jsx)("input",{ref:p,placeholder:n,className:"zent-select-v2-search",value:w,onChange:g,onCompositionStart:x,onCompositionEnd:y,onKeyDown:f,"data-zv":"10.0.10"},void 0),u&&(0,r.jsx)("p",(0,o.pi)({className:"zent-select-v2-search-mirror","aria-hidden":!0,"data-zv":"10.0.10"},{children:C}),void 0)]}),void 0)})),g=n(1348),y=n(80186),x=n(8327),w=n(92497),C=n(52074),P=n(41925),j=n(70453),k=n(12482),z=n(17949);function S(e){var t;return t="function"==typeof e?e:(0,k.Z)(e)?function(t){return Object.keys(e).every((function(n){return(0,z.Z)(e[n],t[n])}))?t:null}:function(t){return t.key===e?t:null},{key:(0,j.Z)("select-item-reviver-"),text:null,type:"reviver",reviver:t}}function N(e){if(Array.isArray(e)){for(var t=!1,n=[],o=0,r=e;o=0?c.filter((function(e,t){return t!==u})):c.concat([r]);a?a(d):s.setState({value:d})}else s.onVisibleChange(!1),(a=s.props.onChange)?a(r):s.setState({value:r})}}},s.onKeywordChange=function(e){s.disabled||s.setKeyword(e.target.value,"user-change")},s.onRemove=function(e){if(!s.disabled){var t=s.state.value,n=s.props,o=n.onChange,r=n.isEqual,i=t.filter((function(t){return!r(e,t)}));s.focusSearchInput(),o?o(i):s.setState({value:i})}},s.onOptionMouseEnter=function(e){s.disabled||s.setState({activeIndex:e})},s.onOptionMouseLeave=function(e){s.disabled||s.setState((function(t){return t.activeIndex===e?{activeIndex:null}:null}))},s.selectCurrentIndex=function(){var e;if(!s.disabled){var t=s.state,n=t.activeIndex,o=t.keyword,r=t.value,i=s.props,a=i.creatable,l=i.options,c=i.filter,u=i.isValidNewOption,d=s.filterOptions(o,l,c,a,u,r);null!==n?s.onSelect(d[n]):d.length&&(null===(e=d[0])||void 0===e?void 0:e.key)===O&&s.onSelect(d[0])}},s.renderOption=function(e,t){var n=s.props,i=n.isEqual,a=n.multiple,l=n.renderOptionContent,c=n.highlight,u=n.filter,d=s.state,p=d.value,f=d.activeIndex,v=d.creating,m=!!p&&(a?p.findIndex((function(t){return i(t,e)}))>=0:i(p,e)),b=null,g=!1;if(e.key===O)g=v,b=(0,r.jsx)(C.Z,(0,o.pi)({componentName:"Select"},{children:function(t){return(0,r.jsxs)("span",(0,o.pi)({className:"zent-select-v2-option-text-highlight","data-zv":"10.0.10"},{children:[t.create,e.text]}),void 0)}}),void 0);else if(l)b=l(e);else{var y=s.state.keyword.trim();b=!1!==u&&y.length>0?null==c?void 0:c(y,e):e.text}return(0,r.jsx)(h,(0,o.pi)({value:e,selected:m,active:t===f,onSelect:s.onSelect,index:t,onMouseEnter:s.onOptionMouseEnter,onMouseLeave:s.onOptionMouseLeave,multiple:a,loading:g},{children:b}),e.key)},s.globalClick=function(e){var t;!s.disabled&&!s.state.open&&s.state.active&&s.triggerRef.current&&s.popoverRef.current&&((null===(t=s.triggerRef.current)||void 0===t?void 0:t.contains(e.target))||s.setState({active:!1}))},s.onIndexChange=function(e){s.disabled||s.setState((function(t,n){var o,r=n.options,i=n.creatable,a=n.filter,l=n.isValidNewOption,c=s.filterOptions(t.keyword,r,a,i,l,t.value);if((o=null===t.activeIndex?e<0?c.length-1:0:(t.activeIndex+e)%c.length)>=c.length&&(o=c.length-1),o<0&&(o=0),!Z(c[o])){var u;if(!(u=e>0?function(e,t){for(var n=t;n=0;n-=1)if(Z(e[n]))return n;return null}(c,o)))return null;o=u}return t.activeIndex===o?null:{activeIndex:o}}))},s.onClear=function(e){e.stopPropagation();var t=s.state.keyword;if(s.focusSearchInput(),t)s.resetKeyword("user-clear");else if(s.props.multiple){var n=[];(o=s.props.onChange)?o(n):s.setState({value:n})}else{var o;n=null,(o=s.props.onChange)?o(n):s.setState({value:n})}},s.onCreateClick=function(){var e=s.props,t=e.onCreate,n=e.multiple,o=s.state.keyword;t&&(s.setState({creating:!0}),t(o.trim()).then((function(){n?s.focusSearchInput():s.onVisibleChange(!1),s.resetKeyword("option-create")})).finally((function(){s.setState({creating:!1})})))},s.filterOptions=(0,P.Z)((function(e,t,n,r,i,a){void 0===t&&(t=[]);var l=r?function(e){var t,n;return Array.isArray(e)?e.reduce((function(e,t){var n,r;return(null===(r=null===(n=null==t?void 0:t.key)||void 0===n?void 0:n.toString())||void 0===r?void 0:r.indexOf(R))>-1?(0,o.ev)((0,o.ev)([],e),[t]):e}),[]):(null===(n=null===(t=null==e?void 0:e.key)||void 0===t?void 0:t.toString())||void 0===n?void 0:n.indexOf(R))>-1?[e]:[]}(a):[],s=(0,o.ev)((0,o.ev)([],t),l),c=!1!==n&&e?s.filter((function(t){return null==n?void 0:n(e,t)})):s;return(r&&e&&(null==i?void 0:i(e,s))?[{key:O,text:e}]:[]).concat(c)})),s.focusSearchInput=function(){var e,t;null===(t=null===(e=s.inputRef)||void 0===e?void 0:e.current)||void 0===t||t.focus()},a=t.multiple?N(null!==(n=t.value)&&void 0!==n?n:[]):N(null!==(i=t.value)&&void 0!==i?i:null);var c=t.keyword,u=t.width,d=t.options,p=t.size;return s.state={keyword:null!=c?c:"",value:a,open:!1,active:!1,activeIndex:null,prevOptions:d,creating:!1,triggerWidth:null!=u?u:A[p]||240},s.tryReviveOption(t),s}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e,t){var n,o={prevOptions:e.options};return"string"==typeof e.keyword&&(o.keyword=e.keyword),"boolean"==typeof e.open&&(o.open=e.open,o.active=e.open),e.multiple?Array.isArray(e.value)&&(o.value=N(e.value)):"value"in e&&(o.value=N(null!==(n=e.value)&&void 0!==n?n:null)),e.options!==t.prevOptions&&null!==t.activeIndex&&(e.options.length?t.activeIndex>=e.options.length&&(o.activeIndex=e.options.length-1):o.activeIndex=null),o},t.prototype.componentDidMount=function(){var e;if(!("popupWidth"in this.props)){var t=this.props,n=t.size,o=t.width,r="number"==typeof o?o:A[n]||240,i=(null===(e=this.triggerRef.current)||void 0===e?void 0:e.offsetWidth)||r;this.setState({triggerWidth:i})}},t.prototype.componentDidUpdate=function(e){this.props.options===e.options&&this.props.value===e.value||this.tryReviveOption(this.props)},Object.defineProperty(t.prototype,"disabled",{get:function(){var e=this.props.disabled;return void 0===e?this.context.value:e},enumerable:!1,configurable:!0}),t.prototype.tryReviveOption=function(e){var t,n,o,r,i=e.options;if(e.multiple){var a=null!==(t=e.value)&&void 0!==t?t:[],l=!1,s=a.map((function(e){var t;if("reviver"===e.type)for(var n=0,o=i;n0)return this.renderTagList(s,e);if(l)return null}else{if(l)return null;var s;if(s=this.state.value)return i?i(s):(0,r.jsx)("span",(0,o.pi)({className:"zent-select-v2-text",title:"string"==typeof s.text?s.text:"","data-zv":"10.0.10"},{children:s.text}),void 0)}return(0,r.jsx)("span",(0,o.pi)({className:"zent-select-v2-placeholder","data-zv":"10.0.10"},{children:n}),void 0)},t.prototype.renderTagCollapsedTrigger=function(e){return(0,r.jsxs)("span",(0,o.pi)({className:"zent-select-v2-tag-collapsed-trigger","data-zv":"10.0.10"},{children:["+",e.length]}),void 0)},t.prototype.renderTagList=function(e,t){var n=this.props,i=n.renderValue,a=n.renderTagList,l=n.collapsable,s=n.hideCollapsePop,c=n.collapseAt,u=void 0===c?1:c,p=n.renderCollapsedContent,h=l?e.slice(0,u):e,f=e.slice(u);return(0,r.jsxs)(r.Fragment,{children:["function"==typeof a?a({list:e,onRemove:this.onRemove,renderValue:i}):(0,r.jsx)(d,{list:h,onRemove:this.onRemove,renderValue:i},void 0),l&&f.length>0&&(s?this.renderTagCollapsedTrigger(f):(0,r.jsx)(w.X,(0,o.pi)({trigger:"hover",position:"auto-top-center",cushion:15,content:(0,r.jsx)("div",(0,o.pi)({className:"zent-select-v2-tag-collapsed-content","data-zv":"10.0.10"},{children:(0,r.jsx)("div",(0,o.pi)({"data-zv":"10.0.10"},{children:"function"==typeof p?p(f):f.map((function(e,n){return(0,r.jsxs)("span",(0,o.pi)({"data-zv":"10.0.10"},{children:[i?i(e):e.text,n!==f.length-1&&t.tagSeparator]}),e.key)}))}),void 0)}),void 0)},{children:this.renderTagCollapsedTrigger(f)}),void 0))]},void 0)},t.prototype.getSearchPlaceholder=function(){var e=this.props.placeholder;if(this.props.multiple)return this.state.value.length?"":null!=e?e:"";var t=this.state.value;return t&&"string"==typeof t.text?t.text:null!=e?e:""},t.prototype.renderPopoverContent=function(e){var t=this.props,n=t.notFoundContent,i=t.renderOptionList,a=t.loading,l=t.creatable,s=t.options,c=t.filter,u=t.isValidNewOption,d=this.state.keyword.trim(),p=this.state.value;if(a)return _;var h=this.filterOptions(d,s,c,l,u,p);return(null==h?void 0:h.length)?i(h,this.renderOption):(0,r.jsx)("div",(0,o.pi)({className:"zent-select-v2-popup-empty","data-zv":"10.0.10"},{children:null!=n?n:e.empty}),void 0)},t.prototype.render=function(){var e=this,t=this.state,n=t.keyword,i=t.open,l=t.active,u=t.value,d=t.triggerWidth,p=this.props,h=p.inline,f=p.width,v=p.clearable,m=p.multiple,g=p.popupWidth,x=p.collapsable,w=p.className,P=p.disableSearch,j=p.size,k=p.collapseAt,z=m?Array.isArray(u)&&u.length>0:u,S=v&&!this.disabled&&(n||z);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C.Z,(0,o.pi)({componentName:"Select"},{children:function(t){return(0,r.jsxs)(s.ZP,(0,o.pi)({ref:e.popoverRef,position:s.ZP.Position.AutoBottomLeft,visible:i,onVisibleChange:e.onVisibleChange,className:"zent-select-v2-popup",style:{width:null!=g?g:d},cushion:4},{children:[(0,r.jsx)(s.ZP.Trigger.Click,{children:(0,r.jsxs)("div",(0,o.pi)({ref:e.triggerRef,className:a()("zent-select-v2","zent-select-v2-"+j,w,{"zent-select-v2-inline":h,"zent-select-v2-active":l,"zent-select-v2-visible":i,"zent-select-v2-disabled":e.disabled,"zent-select-v2-clearable":S,"zent-select-v2-multiple":m,"zent-select-v2-collapsable":x,"zent-select-v2-collapsable-single":1===k}),style:{width:f},onClick:e.focusSearchInput,"data-zv":"10.0.10"},{children:[e.renderValue(t),S&&(0,r.jsx)(c.Z,{type:"close-circle",onClick:e.onClear},void 0),!P&&i&&(0,r.jsx)(b,{placeholder:e.getSearchPlaceholder(),value:n,autoWidth:m,onChange:e.onKeywordChange,onIndexChange:e.onIndexChange,onEnter:e.selectCurrentIndex,ref:e.inputRef},void 0),(0,r.jsx)(c.Z,{type:"down"},void 0)]}),void 0)},void 0),(0,r.jsx)(s.ZP.Content,{children:e.renderPopoverContent(t)},void 0)]}),void 0)}}),void 0),(0,r.jsx)(y.ZP,{eventName:"click",listener:this.globalClick,options:{capture:!0}},void 0)]},void 0)},t.defaultProps={isEqual:E,renderOptionList:M,filter:T,isValidNewOption:F,highlight:L,size:"s",multiple:!1,clearable:!1,loading:!1,creatable:!1},t.contextType=g.d,t.reviveValue=S,t}(l.Component),D=B},8327:(e,t,n)=>{n.d(t,{L:()=>h});var o=n(59312),r=n(24246),i=n(60042),a=n.n(i),l=function(e){return e},s=function(e){var t=e.autoEscape,n=e.caseSensitive,o=e.sanitize,r=void 0===o?l:o,i=e.searchWords,a=e.textToHighlight;return a=r(a),i.filter((function(e){return e})).reduce((function(e,o){"string"==typeof o&&(o=r(o),t&&(o=o.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")));for(var i,l=new RegExp(o,n?"g":"gi");i=l.exec(a);){var s=i.index,c=l.lastIndex;c>s&&e.push({highlight:!1,start:s,end:c}),i.index===l.lastIndex&&l.lastIndex++}return e}),[])};function c(e){var t=e.chunks;return t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var o=Math.max(n.end,t.end);e.push({highlight:!1,start:n.start,end:o})}else e.push(n,t);return e}),[])}var u=n(41925),d=n(72551),p=(0,u.Z)((function(e){var t={};for(var n in e)(0,d.n)(e,n)&&(t[n.toLowerCase()]=e[n]);return t}));function h(e){var t,n=e.textToHighlight,i=e.searchWords,l=e.highlightClassName,u=void 0===l?"":l,d=e.highlightStyle,h=void 0===d?{}:d,f=e.activeIndex,v=void 0===f?-1:f,m=e.activeClassName,b=void 0===m?"":m,g=e.activeStyle,y=e.unhighlightClassName,x=void 0===y?"":y,w=e.unhighlightStyle,C=e.highlightTag,P=void 0===C?"mark":C,j=e.autoEscape,k=void 0!==j&&j,z=e.caseSensitive,S=void 0!==z&&z,N=e.sanitize,R=e.findChunks,O=e.className,E=(0,o._T)(e,["textToHighlight","searchWords","highlightClassName","highlightStyle","activeIndex","activeClassName","activeStyle","unhighlightClassName","unhighlightStyle","highlightTag","autoEscape","caseSensitive","sanitize","findChunks","className"]),T=function(e){var t=e.caseSensitive,n=e.findChunks,o=e.textToHighlight;return function(e){var t=e.chunksToHighlight,n=e.totalLength,o=[],r=function(e,t,n){t-e>0&&o.push({start:e,end:t,highlight:n})};if(0===t.length)r(0,n,!1);else{var i=0;t.forEach((function(e){r(i,e.start,!1),r(e.start,e.end,!0),i=e.end})),r(i,n,!1)}return o}({chunksToHighlight:c({chunks:(void 0===n?s:n)({autoEscape:e.autoEscape,caseSensitive:void 0!==t&&t,sanitize:e.sanitize,searchWords:e.searchWords,textToHighlight:o})}),totalLength:o?o.length:0})}({autoEscape:k,caseSensitive:S,findChunks:R,sanitize:N,searchWords:i,textToHighlight:n}),M=P,Z=-1,L="";return(0,r.jsx)("span",(0,o.pi)({className:O},E,{"data-zv":"10.0.10"},{children:T.map((function(e,i){var l,s=n.substr(e.start,e.end-e.start);if(e.highlight){Z++;var c;c="object"==typeof u?S?u[s]:(u=p(u))[s.toLowerCase()]:u;var d=Z===+v;L=a()(c,((l={})[b]=d,l)),t=!0===d&&null!=g?(0,o.pi)((0,o.pi)({},h),g):h;var f="string"!=typeof M?{highlightIndex:Z}:{};return(0,r.jsx)(M,(0,o.pi)({className:L,style:t},f,{children:s}),i)}return(0,r.jsx)("span",(0,o.pi)({className:x,style:w,"data-zv":"10.0.10"},{children:s}),i)}))}),void 0)}},19832:(e,t,n)=>{function o(e){return""+e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}n.d(t,{Z:()=>o})},80186:(e,t,n)=>{n.d(t,{Tb:()=>a,ZM:()=>l});var o=n(24246),r=n(79352),i=n(49744);function a(e,t,n){if(r.Z)return(0,i.xd)(window,e,t,n)}function l(e){var t=e.eventName,n=e.listener,a=e.options;return r.Z?(0,o.jsx)(i.bi,{target:window,eventName:t,listener:n,options:a},void 0):null}t.ZP=l},49744:(e,t,n)=>{n.d(t,{bi:()=>h,Oo:()=>d,xd:()=>p});var o=n(27378);function r(e){return e?!0===e?1:(e.capture?2:0)|(e.passive?4:0)|(e.once?8:0):0}var i=function(){function e(e){this.target=e,this.events={}}return e.prototype.add=function(e,t,n){var o=this,r=this.getEventHandlers(e,n);a(r);var i=r.nextHandlers;0===i.length&&(r.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,r.handleEvent,n)),-1===i.indexOf(t)&&i.push(t);var l=!0;return function(){if(l){l=!1,a(r);var i=r.nextHandlers,s=i.indexOf(t);if(i.splice(s,1),0===i.length){var c=o.target;c&&c.removeEventListener(e,r.handleEvent,n),r.handleEvent=void 0}}}},e.prototype.getEventHandlers=function(e,t){var n=e+" "+r(t);return this.events[n]||(this.events[n]={handlers:[],handleEvent:void 0},this.events[n].nextHandlers=this.events[n].handlers),this.events[n]},e.prototype.handleEvent=function(e,t,n){var o=this.getEventHandlers(e,t);o.handlers=o.nextHandlers,o.handlers.forEach((function(e){e(n)}))},e}();function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}var l=n(79352),s=(0,n(41925).Z)((function(){if(!l.Z)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(e){}return e}));function c(e){return!!e&&(s()?e:!!e.capture)}var u=new WeakMap;function d(e,t,n,o){u.has(e)||u.set(e,new i(e));var r=c(o);return u.get(e).add(t,n,r)}function p(e,t,n,i){var a=(0,o.useRef)(n);a.current=n;var l=r(c(i));(0,o.useEffect)((function(){return d(e,t,(function(e){a.current(e)}),i)}),[e,t,l])}var h=function(e){return p(e.target,e.eventName,e.listener,e.options),null}},49566:(e,t,n)=>{function o(e,t,n){var o,r;void 0===t&&(t=0),void 0===n&&(n={});var i=function(t){o=null,void 0!==t&&(r=e.apply(void 0,t))},a=function(){for(var a=[],l=0;lo})},14805:(e,t)=>{t.Z=function(e,t){var n=document.createElement(e,t);return n.setAttribute("data-zv","10.0.10"),n}},27468:(e,t,n)=>{n.d(t,{mP:()=>c});var o=n(49744),r=n(79352);function i(){return Math.max(document.documentElement.clientWidth,window.innerWidth)}function a(){return Math.max(document.documentElement.clientHeight,window.innerHeight)}var l=0,s=0;function c(){return l}r.Z&&(l=a(),s=i(),(0,o.Oo)(window,"resize",(function(){l=a(),s=i()}),{passive:!0})),t.ZP=function(){return{width:s,height:l}}},23343:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(79352),r=n(14805),i=0,a={position:"absolute",top:"-9999px",width:"50px",height:"50px",overflow:"scroll"};function l(){if(!o.Z)return 0;if(i)return i;var e=(0,r.Z)("div");Object.keys(a).forEach((function(t){e.style[t]=a[t]})),document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),i=t}},50707:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(19832),r=n(33806).ZP.Position,i=r.Arrow;function a(e,t){if("function"==typeof e)return e;var n=e.split("-").map((function(e){return(0,o.Z)(e)})).join(""),a=r[n];return a||(a=r.TopCenter,n="TopCenter"),!t||/^.+Center$/.test(n)?a:i[n="Arrow"+n+"Position"]}},72551:(e,t,n)=>{n.d(t,{n:()=>r});var o=Object.prototype.hasOwnProperty;function r(e,t){return o.call(e,t)}},79264:(e,t,n)=>{n.d(t,{L:()=>r});var o=n(27378),r=n(79352).Z?o.useLayoutEffect:o.useEffect},43239:(e,t,n)=>{n.d(t,{s:()=>r});var o=n(27378);function r(){var e=(0,o.useRef)(!1);return(0,o.useEffect)((function(){return e.current=!0,function(){e.current=!1}})),e}},79352:(e,t)=>{t.Z=!("undefined"==typeof window||!window)},17949:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(72551),r=Object.prototype.toString,i=Symbol.prototype.valueOf,a=Object.keys,l=Object.is;function s(e,t){for(var n=[{type:"generic",a:e,b:t}],s=[],c=[];n.length>0;){var u=n.pop();if("generic"===u.type){var d=u.a,p=u.b;if(l(d,p))continue;var h=typeof d;if("function"!==h&&"object"!==h&&"object"!=typeof p)return!1;var f=r.call(d);if(f!==r.call(p))return!1;if("[object RegExp]"===f||"[object String]"===f){if(""+d!=""+p)return!1;continue}if("[object Number]"===f){if(!l(+d,+p))return!1;continue}if("[object Date]"===f||"[object Boolean]"===f){if(+d!=+p)return!1;continue}if("[object Symbol]"===f){if(i.call(d)!==i.call(p))return!1;continue}var v="[object Array]"===f;if(!v){if("object"!=typeof d||"object"!=typeof p)return!1;var m=d.constructor,b=p.constructor;if(m!==b&&!("function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b)&&"constructor"in d&&"constructor"in p)return!1}for(var g=s.length;g--;)if(s[g]===d){if(c[g]===p)break;return!1}if(g>=0)continue;if(s.push(d),c.push(p),n.push({type:"children-done"}),v){if((y=d.length)!==p.length)return!1;if(0===y)continue;n.push({type:"array",size:y,index:0,a:d,b:p})}else{if("[object Object]"!==f)throw new Error("isEqual not implemented for "+f);var y=(C=a(d)).length;if(a(p).length!==y)return!1;if(0===y)continue;n.push({type:"object",a:d,b:p,keys:C,size:y,index:0})}}else if("array"===u.type){d=u.a,p=u.b;var x=u.size;(w=u.index){function o(e){if(null===e||"object"!=typeof e)return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}n.d(t,{Z:()=>o})},65436:(e,t,n)=>{function o(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}n.d(t,{Z:()=>o})},41925:(e,t,n)=>{n.d(t,{Z:()=>r});var o=function(e,t){return e.length===t.length&&e.every((function(e,n){return e===t[n]}))};function r(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1;return function(){for(var o=[],l=0;l{n.d(t,{tA:()=>r,$j:()=>i,BN:()=>a});var o=n(27378);function r(e){var t=requestAnimationFrame((function(){t=requestAnimationFrame((function(){e(),t=null}))}));return function(){t&&(cancelAnimationFrame(t),t=null)}}function i(e){var t,n=!1,o=null,i=function(){for(var i=[],a=0;a{function o(){}n.d(t,{Z:()=>o})},78513:(e,t,n)=>{function o(e,t){return null==e?{}:Object.keys(e).reduce((function(n,o){return-1===t.indexOf(o)&&(n[o]=e[o]),n}),{})}n.d(t,{Z:()=>o})},57318:(e,t,n)=>{n.d(t,{l:()=>u});var o=n(79352),r=o.Z?window:{},i=o.Z?document:{},a=r.scroll||r.scrollTo,l=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function s(e,t){this.scrollLeft=e,this.scrollTop=t}function c(e,t){var n,o=(l()-e.startTime)/e.duration,i=(n=o=o>1?1:o,.5*(1-Math.cos(Math.PI*n))),a=e.startX+(e.x-e.startX)*i,s=e.startY+(e.y-e.startY)*i;e.method.call(e.scrollable,a,s),a!==e.x||s!==e.y?requestAnimationFrame(c.bind(r,e,t)):t()}function u(e,t,n,u){return void 0===u&&(u=250),new Promise((function(d,p){if(!o.Z)return p();var h,f,v,m,b=l();e===i.body||e===r?(h=r,f=r.scrollX||r.pageXOffset,v=r.scrollY||r.pageYOffset,m=a):(h=e,f=e.scrollLeft,v=e.scrollTop,m=s),c({duration:u,scrollable:h,method:m,startTime:b,startX:f,startY:v,x:t,y:n},d)}))}},70453:(e,t,n)=>{n.d(t,{Z:()=>i});var o=0,r="v"+"10.0.10".replace(/[^0-9a-z]/gi,"x")+Math.ceil(8999*Math.random()+1e3).toString();function i(e){var t=""+r+ ++o;return e?""+e+t:t}},70387:e=>{e.exports=JSON.parse('{"hex":{"$text-600":["--theme-title-color","--theme-body-color","--theme-default-color","--theme-weak-link-color"],"$text-500":["--theme-hint-color"],"$text-400":["--theme-disabled-color","--theme-default-disabled-color"],"$gray-100":["--theme-section-bg"],"$gray-200":["--theme-body-bg","--theme-default-hover-bg","--theme-default-disabled-bg"],"$success-500":["--theme-success-color","--theme-success-border-color"],"$success-100":["--theme-success-bg"],"$warning-500":["--theme-warning-color","--theme-warning-border-color"],"$warning-100":["--theme-warning-bg"],"$danger-500":["--theme-danger-color","--theme-danger-border-color"],"$danger-100":["--theme-danger-bg"],"$text-100":["--theme-default-bg","--theme-primary-color"],"$gray-300":["--theme-default-border-color"],"$primary-100":["--theme-default-selected-bg"],"$primary-500":["--theme-primary-bg","--theme-primary-border-color","--theme-link-color"],"$primary-400":["--theme-primary-hover-bg","--theme-primary-hover-border-color","--theme-link-hover-color","--theme-weak-link-hover-color"],"$primary-600":["--theme-primary-active-bg","--theme-primary-active-border-color","--theme-link-active-color","--theme-weak-link-active-color"],"$star-color":["--theme-rate-bg"]},"rgb":{"$text-600":["--theme-rgb-title-color","--theme-rgb-body-color","--theme-rgb-default-color","--theme-rgb-weak-link-color"],"$text-500":["--theme-rgb-hint-color"],"$text-400":["--theme-rgb-disabled-color","--theme-rgb-default-disabled-color"],"$gray-100":["--theme-rgb-section-bg"],"$gray-200":["--theme-rgb-body-bg","--theme-rgb-default-hover-bg","--theme-rgb-default-disabled-bg"],"$success-500":["--theme-rgb-success-color","--theme-rgb-success-border-color"],"$success-100":["--theme-rgb-success-bg"],"$warning-500":["--theme-rgb-warning-color","--theme-rgb-warning-border-color"],"$warning-100":["--theme-rgb-warning-bg"],"$danger-500":["--theme-rgb-danger-color","--theme-rgb-danger-border-color"],"$danger-100":["--theme-rgb-danger-bg"],"$text-100":["--theme-rgb-default-bg","--theme-rgb-primary-color"],"$gray-300":["--theme-rgb-default-border-color"],"$primary-100":["--theme-rgb-default-selected-bg"],"$primary-500":["--theme-rgb-primary-bg","--theme-rgb-primary-border-color","--theme-rgb-link-color"],"$primary-400":["--theme-rgb-primary-hover-bg","--theme-rgb-primary-hover-border-color","--theme-rgb-link-hover-color","--theme-rgb-weak-link-hover-color"],"$primary-600":["--theme-rgb-primary-active-bg","--theme-rgb-primary-active-border-color","--theme-rgb-link-active-color","--theme-rgb-weak-link-active-color"],"$star-color":["--theme-rgb-rate-bg"]},"vars":{"--theme-primary-bg":{"comment":" Primary background color of components, e.g. primary type button"},"--theme-primary-border-color":{"comment":" Primary border color of components, e.g. primary type button"},"--theme-primary-hover-bg":{"comment":" Hover state of primary background color of components, e.g. primary type button"},"--theme-primary-hover-border-color":{"comment":" Hover state of primary border color of components, e.g. primary type button"},"--theme-primary-active-bg":{"comment":" Active state of primary background color of components, e.g. primary type button"},"--theme-primary-active-border-color":{"comment":" Active state of primary border color of components, e.g. primary type button"},"--theme-link-color":{"comment":" Primary text link brand color"},"--theme-link-hover-color":{"comment":" Hover state of primary text link brand color"},"--theme-link-active-color":{"comment":" Active state of primary text link brand color"},"--theme-weak-link-hover-color":{"comment":" Hover state of primary text weak link brand color"},"--theme-weak-link-active-color":{"comment":" Active state of primary text weak link brand color"}}}')}},a={};function l(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return i[e].call(n.exports,n,n.exports,l),n.exports}l.m=i,e=[],l.O=(t,n,o,r)=>{if(!n){var i=1/0;for(c=0;c=r)&&Object.keys(l.O).every((e=>l.O[e](n[s])))?n.splice(s--,1):(a=!1,r0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[n,o,r]},l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var r=Object.create(null);l.r(r);var i={};t=t||[null,n({}),n([]),n(n)];for(var a=2&o&&e;"object"==typeof a&&!~t.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,l.d(r,i),r},l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce(((t,n)=>(l.f[n](e,t),t)),[])),l.u=e=>e+"-"+{77:"5a0d24387c690a71bc67",183:"59363fb3f4a8cb4b288f",294:"9830d96cf35f04a8fb9b",381:"b6a3c1eb7bf7cfcb1ee3",405:"7941fb569eef0c45f472",413:"cbeac10b57e0d3bfa92f",457:"77002ebe145c42e3c71c",459:"a242ce299808f150ebfc",464:"dcad482a87b99b6bfa34",467:"52c0a521bd531d95bb23",508:"3c35062196dc20048f1e",509:"dd89cb2a446fde27e7de",541:"cf326336c37ed7081141",610:"364f675f2d4041c60cbb",624:"f2c35de5eeee054cb44b",646:"5dafc2d552d80a47ad4d",730:"e21c9db8232350aa7358",772:"e753347057f35d247e1a",835:"9602b6e1d5d62a63e8f5",870:"25c0dfa058fdfd34f943",896:"c50416f68661cd84f165",964:"a8711cda6c86146892d8",1026:"13d783dddf38a6a5e153",1035:"701233b1645e35826111",1074:"e7aaf997c8fed941969d",1127:"746583fb6962c1fc1b11",1216:"fb5a65c7247e9dc21be5",1230:"37190b5778ac2fa53be9",1415:"f0eaee3e24072c46ec89",1430:"4f36c74e992b9cd361aa",1553:"3e5206eabf348314f641",1610:"31d21e140310747831d4",1636:"e01e5d5d46d81e4e9df6",1663:"735a3020c28315b6c925",1837:"607d6b12dac81c2d92a9",1846:"065b57cc96e40c78b4c8",1859:"970d893d2ef65e2e40e0",1937:"edd2034cd13ae7feaf78",2083:"eca27842e3cce7abebd0",2093:"51b8e8fb0743932c52f0",2124:"517651e75834b1254684",2174:"6403081fa8f5ac994007",2221:"004e488f028d439da217",2226:"f68a4762c7da7999878c",2336:"1843d25c0224afc8aec5",2374:"0dd8d37485208ea4eb6b",2397:"7be37a8645f6371636ee",2449:"c22d43d3edf77b6bf1ab",2469:"b03711a4106623145fa3",2476:"92a15ef3f70d71450832",2554:"6b71b0a9bd34459832e6",2583:"e9ae0546850ce11f8a70",2604:"29b10ffe0a89edbd13ce",2673:"5870b02c5b245072df21",2714:"a038ca33e39df5314a15",2764:"34b8145a4edde9b763dd",2779:"19c10041aeb3f69113da",2797:"c67a104140b25c947877",2811:"410b89c0faa20e5835b2",2866:"6c2812cf197b5b07232f",2868:"207043e08a204c75cbb9",3051:"78e75e12884e6def2821",3205:"95674499298ea294eb63",3231:"9f04103d29c20354f61b",3296:"61b72c1d76f425327144",3310:"75a6078c893494259456",3314:"8439f9042c13340bd148",3345:"dc6e1a2dd4f142f2f36a",3369:"6cf76cc747f712049106",3382:"1795100a52e742adac5e",3420:"ebfe824e9974539e99e9",3425:"a1d5470b4696f4f1d6b3",3439:"07911b779531f5c29136",3481:"0b46e87347e4ac5fed41",3533:"067f6305d93007c59bd2",3536:"0fc6a0c94865ed238975",3646:"56cf5d8287101785bf41",3653:"f15d278a6a92923658ec",3679:"11ced6f0bf713792738a",3770:"466d50a89c7e15816415",3775:"2b62b422c2be32fdd20a",3807:"4aeb7e5b8a1ddf9bc86b",3826:"1ed4e3d28b8eb3ab6cda",3854:"93cf8fb0f26b594075a2",3898:"9d6e2f921a41c67a03ad",3935:"291c636888f1bf45d475",4112:"63c1a9255eacd4d811bd",4195:"da3534d20df55bc73806",4229:"ff1883cb9e5217cdbe8f",4280:"57635153326ccf46aeab",4315:"e5bca41dda7c8ce60fb7",4372:"aee6cc6949817e263ce0",4373:"23612f8f91f642100c76",4439:"2708f2661fd815422677",4471:"86bd07a8e4dcaea4aaf9",4599:"b228648381907ea6b134",4600:"5c15f4a67f9ff84a9da9",4715:"180f1b8020ecd3ad34dc",4912:"1a8cae0bd62e327ea6dd",4947:"40cbb67e1634685e3aa0",5071:"8209ceaca9132e2aed85",5099:"5a25a45f70fd4fb57ee8",5166:"aa0ed0e52a26848879b3",5183:"a8846e0ede1144110644",5217:"1343b37f9b50bc649651",5265:"1162927dd03ff47aa8d3",5353:"602ecd81659283594bc2",5504:"ddc42efffa022a12a163",5646:"f955988b6c2d0a14fe0c",5683:"b2c3a654aa6599d07a12",5762:"b8f9624db20163655019",5807:"7d50a75f1ffac0a5dbff",5870:"c8676029a80fc9a0dc1e",5876:"3c7529a969356146cb9a",5892:"3e8274f85a4280b2164a",5956:"ea4dfd02c1f82e1217ef",6110:"2597444eb14a75581dcb",6286:"f23e3e853a405baa7007",6298:"842bc4066c4606521557",6317:"9d0e2ec94faec5dd7ae2",6423:"edeffb22a26866769163",6445:"a20deaf1257976e5a613",6520:"9df9d20b55b36513da0b",6575:"41d99c9ca70797348375",6638:"6d8daa4d2a8c4a78e423",6823:"5f59015197e644c77f38",6852:"113d385d59cb7c179c12",6874:"8a289a7962e780708062",6938:"290efcb37ae005e78076",6945:"f3bf2e5f5e8ee7471343",7029:"2d2b91912e959e367870",7045:"bdee7e6188ef3ae98b43",7115:"9cfe09984ee5f840d52b",7167:"0dc43886ec9d304c71f1",7172:"79cb65ce65be11c12b20",7249:"c0b8aa87adbccbcc4f9b",7267:"cae9496979278a9d83c4",7363:"11ab14b76bd754ee716d",7481:"10cb90ec488576392e79",7528:"59a7e58e807f279542b5",7570:"55e41f2f449579655676",7572:"b00d50561a4dc0c9c045",7637:"ddd8da1eb48d9dc43f35",7652:"20a5b8c942c1323dbd78",7659:"2c849f503e21588b4124",7700:"7cfd48e79061c79fd056",7807:"e064eeb9d3904cad8284",7836:"b5bfed8073a2beb189a1",7879:"405c58f097bc3158ebf8",7932:"84c6cdf9659c91cbca2b",7950:"6c3e3e7446e051d9e0c7",8034:"a48654aafe076151b475",8212:"91222e1f961e7f7cb4d3",8262:"086f859c773a57168c83",8339:"ce86ea8b78faf514aee2",8503:"1365eb5f934933ad355b",8513:"05eef8492f568378e6b2",8606:"8e878335ed33229c0c3d",8689:"603d9dba3580d228f4a3",8757:"29d69389e8c4f78163d2",8767:"b1ad36bd9f9f02e89459",8770:"2b6e646a1b6e6f384a54",8800:"edc8187fa167168e565d",8846:"5f2c9b087360c0a83a03",8878:"f6437a61de4f9ca04d93",8935:"667ed954b9c085e7ec25",8982:"e5444e38e0c5eca6208e",9052:"936fa363419247a4d641",9086:"bc9ac102624600daee04",9145:"4f12d6a13786e9f0afe4",9349:"27fcc4da566c48f7fe0b",9395:"87059b8fce31c1dc6350",9430:"bfe2cd1add9d07e5a966",9480:"93704f381c318fd5a9db",9499:"9b2cebe1eb1efed5431b",9503:"ef68c52659ca5121f21f",9570:"23d933efff04cf2b84a4",9632:"a85938cc3f83af4a0517",9690:"2cd8980d1cf57c253ab4",9736:"1b67d0fad756c8ca1ea6",9757:"53174c1ce8d926c6b17b",9760:"0b291d8eb9b0e0b2752e",9871:"a74f6f6b5eaaa45fc7b6",9907:"72db89ee413de5677397",9928:"3aa4f476eb7e4f682cc9",9952:"a480fb6afc0a89011ba8"}[e]+".js",l.miniCssF=e=>{},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},r="zent-docs:",l.l=(e,t,n,i)=>{if(o[e])o[e].push(t);else{var a,s;if(void 0!==n)for(var c=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(h);var r=o[e];if(delete o[e],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)}},l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.p="/zent/",(()=>{var e={1163:0};l.f.j=(t,n)=>{var o=l.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var r=new Promise(((n,r)=>o=e[t]=[n,r]));n.push(o[2]=r);var i=l.p+l.u(t),a=new Error;l.l(i,(n=>{if(l.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var r=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",a.name="ChunkLoadError",a.type=r,a.request=i,o[1](a)}}),"chunk-"+t,t)}},l.O.j=t=>0===e[t];var t=(t,n)=>{var o,r,[i,a,s]=n,c=0;for(o in a)l.o(a,o)&&(l.m[o]=a[o]);if(s)var u=s(l);for(t&&t(n);cl(18369)));s=l.O(s)})(); \ No newline at end of file diff --git a/index.html b/index.html index 38d07622e..26fded28c 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Zent - 好用的React组件库
    Loading...
    \ No newline at end of file +Zent - 好用的React组件库
    Loading...
    \ No newline at end of file