From 4e2a59bed3f27fc6c5fa988cbc98c015b7624173 Mon Sep 17 00:00:00 2001 From: edwardxiao Date: Mon, 20 Apr 2020 15:23:15 +0800 Subject: [PATCH] - compile after umd global config: 'react-dom': 'ReactDOM', --- lib/react-minimal-datetime-range.js | 2 +- lib/react-minimal-datetime-range.js.map | 2 +- lib/react-minimal-datetime-range.min.js | 2 +- lib/react-minimal-datetime-range.min.js.map | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/react-minimal-datetime-range.js b/lib/react-minimal-datetime-range.js index 7a9ab2e..74b199f 100644 --- a/lib/react-minimal-datetime-range.js +++ b/lib/react-minimal-datetime-range.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("react-dom")):"function"==typeof define&&define.amd?define(["React","react-dom"],t):"object"==typeof exports?exports["react-minimal-datetime-range"]=t(require("React"),require("react-dom")):e["react-minimal-datetime-range"]=t(e.React,e["react-dom"])}(this,(function(e,t){return function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=21)}([function(t,a){t.exports=e},function(e,t,a){"use strict";e.exports=a(6)},function(e,t,a){e.exports=a(7)()},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,a){"use strict";t.__esModule=!0,t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n,e.exports=t.default},function(e,t,a){"use strict";t.__esModule=!0,t.nameShape=void 0,t.transitionTimeout=function(e){var t="transition"+e+"Timeout",a="transition"+e;return function(e){if(e[a]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}};r(a(0));var n=r(a(2));function r(e){return e&&e.__esModule?e:{default:e}}t.nameShape=n.default.oneOfType([n.default.string,n.default.shape({enter:n.default.string,leave:n.default.string,active:n.default.string}),n.default.shape({enter:n.default.string,enterActive:n.default.string,leave:n.default.string,leaveActive:n.default.string,appear:n.default.string,appearActive:n.default.string})])},function(e,t,a){"use strict";t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var a=0,n=new Array(t);ae.length)&&(t=e.length);for(var a=0,n=new Array(t);a0&&void 0!==arguments[0]&&arguments[0],t=M,a=P,n=x;if(!e){var r=o.split("-");t=Number(r[0]),a=Number(r[1]),n=Number(r[2])}var i="next";(te.length)&&(t=e.length);for(var a=0,n=new Array(t);a_?n:r}if(y.length){f=y[0]===e.year&&y[1]===e.month&&y[2]===e.name;var E=new Date(y.join("-"));b.length?s>E&&sE&&(v=!0)}b.length&&(h=b[0]===e.year&&b[1]===e.month&&b[2]===e.name)}var O=c("react-minimal-datetime-range-calendar__table-cel","react-minimal-datetime-range-calendar__date-item","range",u&&"disabled",f&&"active",h&&"active",v&&"highlight",G==e.name&&F==e.month&&q==e.year&&"today");return i.a.createElement(Q,{key:m,selected:t,setSelected:a,startDatePickedArray:n,endDatePickedArray:r,handleChooseStartDate:o,handleChooseEndDate:l,item:e,onClick:p,datePickerItemClass:O})}))),i.a.createElement("div",{className:"react-minimal-datetime-range-calendar__table-row",key:e},m)}));return i.a.createElement("div",{className:"react-minimal-datetime-range-calendar__table slide"},h)})),Q=Object(r.memo)((function(e){var t=e.selected,a=e.setSelected,n=e.startDatePickedArray,o=e.endDatePickedArray,c=e.handleChooseStartDate,l=e.handleChooseEndDate,m=e.item,s=void 0===m?{}:m,u=e.datePickerItemClass,d=void 0===u?"":u,f=(e.onClick,Object(r.useCallback)((function(){n.length?(a(!0),l(s)):c(s),t&&(l({year:"",month:"",name:"",value:""}),c(s),a(!1))}),[s,t,n,o])),p=Object(r.useCallback)((function(){t||n.length&&l(s)}),[s,t,n,o]);return i.a.createElement("div",{className:"".concat(d),onMouseOver:p,onClick:f},s.name)})),J=K;function X(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Z(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(a);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Z(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);ae.length)&&(t=e.length);for(var a=0,n=new Array(t);at?H:U,r="".concat(a.join("-")," ").concat(J.join(":")),i="".concat(n.join("-")," ").concat(ee.join(":"));D(r),A(i),W(a),Y(n),ie([a.join("-"),n.join("-")]),I(!1),h&&h([r,i])}),[H,U,J,ee]),ge=Object(r.useCallback)((function(e){e.stopPropagation(),k(!1),I(!1),D(""),A(""),W([]),Y([]),ie(["",""]),se(["",""]),X(["00","00"]),te(["00","00"]),y&&y()}),[]);return Object(r.useEffect)((function(){x(ce[0])}),[R]),Object(r.useEffect)((function(){R||g&&g()}),[R]),Object(r.useEffect)((function(){D(m[0]?"".concat(m[0]," ").concat(u[0]?u[0]:""):""),A(m[1]?"".concat(m[1]," ").concat(u[1]?u[1]:""):"")}),[m]),i.a.createElement("div",{className:"react-minimal-datetime-range__range",style:E},i.a.createElement("span",{className:"react-minimal-datetime-range__range-input-wrapper",onClick:function(){return I(!R)}},i.a.createElement("input",{readOnly:!0,placeholder:o[0],className:"react-minimal-datetime-range__range-input",tabIndex:"-1",value:C}),i.a.createElement("span",{className:"react-minimal-datetime-range__range-input-separator"}," ~ "),i.a.createElement("input",{readOnly:!0,placeholder:o[1],className:"react-minimal-datetime-range__range-input",tabIndex:"-1",value:S}),C?i.a.createElement("svg",{className:"react-minimal-datetime-range__clear",width:"15",height:"15",viewBox:"0 0 24 24",onClick:ge},i.a.createElement("path",{className:"react-minimal-datetime-range__icon-fill",d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),i.a.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})):i.a.createElement("svg",{className:"react-minimal-datetime-range__clear",width:"15",height:"15",viewBox:"0 0 24 24"},i.a.createElement("path",{className:"react-minimal-datetime-range__icon-fill",d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),i.a.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}))),R&&i.a.createElement(me,{show:R,selected:w,setSelected:k,handleChooseStartDate:ue,handleChooseEndDate:de,dates:re,times:le,locale:a,startDatePickedArray:H,endDatePickedArray:U,type:P,handleOnChangeType:ye,handleOnConfirm:be,startTimePickedArray:J,endTimePickedArray:ee,handleChooseStartTimeHour:fe,handleChooseStartTimeMinute:pe,handleChooseEndTimeHour:he,handleChooseEndTimeMinute:ve,currentDateObjStart:q,setCurrentDateObjStart:F,currentDateObjEnd:K,setCurrentDateObjEnd:$}))})),me=Object(r.memo)((function(e){var t=e.show,a=e.selected,n=e.setSelected,o=e.handleChooseStartDate,l=e.handleChooseEndDate,m=e.dates,s=e.times,u=e.locale,d=e.startDatePickedArray,f=e.endDatePickedArray,p=e.type,h=e.handleOnChangeType,y=e.handleOnConfirm,b=e.handleChooseStartTimeHour,g=e.handleChooseStartTimeMinute,_=e.handleChooseEndTimeHour,E=e.handleChooseEndTimeMinute,O=e.startTimePickedArray,j=e.endTimePickedArray,w=(e.currentDateObjList,e.currentDateObjStart),k=e.setCurrentDateObjStart,N=e.currentDateObjEnd,C=e.setCurrentDateObjEnd,D=ne(Object(r.useState)(!1),2),T=D[0],S=D[1];Object(r.useEffect)((function(){t&&setTimeout((function(){S(!0)}),0)}),[t]);var A=Object(r.useMemo)((function(){return c("react-minimal-datetime-range",T&&"visible")}),[T]);return i.a.createElement("div",{className:A},i.a.createElement("div",{className:"react-minimal-datetime-date-piker"},i.a.createElement(J,{selected:a,setSelected:n,handleChooseStartDate:o,handleChooseEndDate:l,rangeDirection:"start",defaultDateStart:m[0],defaultDateEnd:m[1],locale:u,startDatePickedArray:d,endDatePickedArray:f,currentDateObjStart:w,setCurrentDateObjStart:k,currentDateObjEnd:N,setCurrentDateObjEnd:C}),i.a.createElement(J,{selected:a,setSelected:n,handleChooseStartDate:o,handleChooseEndDate:l,rangeDirection:"end",defaultDateStart:m[0],defaultDateEnd:m[1],locale:u,startDatePickedArray:d,endDatePickedArray:f,currentDateObjStart:w,setCurrentDateObjStart:k,currentDateObjEnd:N,setCurrentDateObjEnd:C}),p===ce[1]&&i.a.createElement("div",{className:"react-minimal-datetime-range__time-piker"},i.a.createElement(ae,{defaultTimeStart:s[0],defaultTimeEnd:s[1],startDatePickedArray:d,endDatePickedArray:f,handleChooseStartTimeHour:b,handleChooseStartTimeMinute:g,handleChooseEndTimeHour:_,handleChooseEndTimeMinute:E,startTimePickedArray:O,endTimePickedArray:j}))),i.a.createElement("div",{className:"react-minimal-datetime-range__button-wrapper"},i.a.createElement("div",{className:c("react-minimal-datetime-range__button","react-minimal-datetime-range__button--type",!a&&"disabled"),onClick:a?h:function(){}},p===ce[0]?v[u][ce[1]]:v[u][ce[0]]),i.a.createElement("div",{className:c("react-minimal-datetime-range__button","react-minimal-datetime-range__button--confirm",!a&&"disabled"),onClick:a?y:function(){}},v[u].confirm)))}));"undefined"!=typeof window&&(window.ReactMinimalDateTimeRange=n);t.default=n}])})); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports["react-minimal-datetime-range"]=t(require("React"),require("ReactDOM")):e["react-minimal-datetime-range"]=t(e.React,e.ReactDOM)}(this,(function(e,t){return function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=21)}([function(t,a){t.exports=e},function(e,t,a){"use strict";e.exports=a(6)},function(e,t,a){e.exports=a(7)()},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,a){"use strict";t.__esModule=!0,t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n,e.exports=t.default},function(e,t,a){"use strict";t.__esModule=!0,t.nameShape=void 0,t.transitionTimeout=function(e){var t="transition"+e+"Timeout",a="transition"+e;return function(e){if(e[a]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}};r(a(0));var n=r(a(2));function r(e){return e&&e.__esModule?e:{default:e}}t.nameShape=n.default.oneOfType([n.default.string,n.default.shape({enter:n.default.string,leave:n.default.string,active:n.default.string}),n.default.shape({enter:n.default.string,enterActive:n.default.string,leave:n.default.string,leaveActive:n.default.string,appear:n.default.string,appearActive:n.default.string})])},function(e,t,a){"use strict";t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var a=0,n=new Array(t);ae.length)&&(t=e.length);for(var a=0,n=new Array(t);a0&&void 0!==arguments[0]&&arguments[0],t=M,a=P,n=x;if(!e){var r=o.split("-");t=Number(r[0]),a=Number(r[1]),n=Number(r[2])}var i="next";(te.length)&&(t=e.length);for(var a=0,n=new Array(t);a_?n:r}if(y.length){f=y[0]===e.year&&y[1]===e.month&&y[2]===e.name;var E=new Date(y.join("-"));b.length?s>E&&sE&&(v=!0)}b.length&&(h=b[0]===e.year&&b[1]===e.month&&b[2]===e.name)}var O=c("react-minimal-datetime-range-calendar__table-cel","react-minimal-datetime-range-calendar__date-item","range",u&&"disabled",f&&"active",h&&"active",v&&"highlight",G==e.name&&F==e.month&&q==e.year&&"today");return i.a.createElement(Q,{key:m,selected:t,setSelected:a,startDatePickedArray:n,endDatePickedArray:r,handleChooseStartDate:o,handleChooseEndDate:l,item:e,onClick:p,datePickerItemClass:O})}))),i.a.createElement("div",{className:"react-minimal-datetime-range-calendar__table-row",key:e},m)}));return i.a.createElement("div",{className:"react-minimal-datetime-range-calendar__table slide"},h)})),Q=Object(r.memo)((function(e){var t=e.selected,a=e.setSelected,n=e.startDatePickedArray,o=e.endDatePickedArray,c=e.handleChooseStartDate,l=e.handleChooseEndDate,m=e.item,s=void 0===m?{}:m,u=e.datePickerItemClass,d=void 0===u?"":u,f=(e.onClick,Object(r.useCallback)((function(){n.length?(a(!0),l(s)):c(s),t&&(l({year:"",month:"",name:"",value:""}),c(s),a(!1))}),[s,t,n,o])),p=Object(r.useCallback)((function(){t||n.length&&l(s)}),[s,t,n,o]);return i.a.createElement("div",{className:"".concat(d),onMouseOver:p,onClick:f},s.name)})),J=K;function X(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Z(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(a);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Z(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);ae.length)&&(t=e.length);for(var a=0,n=new Array(t);at?H:U,r="".concat(a.join("-")," ").concat(J.join(":")),i="".concat(n.join("-")," ").concat(ee.join(":"));D(r),A(i),W(a),Y(n),ie([a.join("-"),n.join("-")]),I(!1),h&&h([r,i])}),[H,U,J,ee]),ge=Object(r.useCallback)((function(e){e.stopPropagation(),k(!1),I(!1),D(""),A(""),W([]),Y([]),ie(["",""]),se(["",""]),X(["00","00"]),te(["00","00"]),y&&y()}),[]);return Object(r.useEffect)((function(){x(ce[0])}),[R]),Object(r.useEffect)((function(){R||g&&g()}),[R]),Object(r.useEffect)((function(){D(m[0]?"".concat(m[0]," ").concat(u[0]?u[0]:""):""),A(m[1]?"".concat(m[1]," ").concat(u[1]?u[1]:""):"")}),[m]),i.a.createElement("div",{className:"react-minimal-datetime-range__range",style:E},i.a.createElement("span",{className:"react-minimal-datetime-range__range-input-wrapper",onClick:function(){return I(!R)}},i.a.createElement("input",{readOnly:!0,placeholder:o[0],className:"react-minimal-datetime-range__range-input",tabIndex:"-1",value:C}),i.a.createElement("span",{className:"react-minimal-datetime-range__range-input-separator"}," ~ "),i.a.createElement("input",{readOnly:!0,placeholder:o[1],className:"react-minimal-datetime-range__range-input",tabIndex:"-1",value:S}),C?i.a.createElement("svg",{className:"react-minimal-datetime-range__clear",width:"15",height:"15",viewBox:"0 0 24 24",onClick:ge},i.a.createElement("path",{className:"react-minimal-datetime-range__icon-fill",d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),i.a.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})):i.a.createElement("svg",{className:"react-minimal-datetime-range__clear",width:"15",height:"15",viewBox:"0 0 24 24"},i.a.createElement("path",{className:"react-minimal-datetime-range__icon-fill",d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),i.a.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}))),R&&i.a.createElement(me,{show:R,selected:w,setSelected:k,handleChooseStartDate:ue,handleChooseEndDate:de,dates:re,times:le,locale:a,startDatePickedArray:H,endDatePickedArray:U,type:P,handleOnChangeType:ye,handleOnConfirm:be,startTimePickedArray:J,endTimePickedArray:ee,handleChooseStartTimeHour:fe,handleChooseStartTimeMinute:pe,handleChooseEndTimeHour:he,handleChooseEndTimeMinute:ve,currentDateObjStart:q,setCurrentDateObjStart:F,currentDateObjEnd:K,setCurrentDateObjEnd:$}))})),me=Object(r.memo)((function(e){var t=e.show,a=e.selected,n=e.setSelected,o=e.handleChooseStartDate,l=e.handleChooseEndDate,m=e.dates,s=e.times,u=e.locale,d=e.startDatePickedArray,f=e.endDatePickedArray,p=e.type,h=e.handleOnChangeType,y=e.handleOnConfirm,b=e.handleChooseStartTimeHour,g=e.handleChooseStartTimeMinute,_=e.handleChooseEndTimeHour,E=e.handleChooseEndTimeMinute,O=e.startTimePickedArray,j=e.endTimePickedArray,w=(e.currentDateObjList,e.currentDateObjStart),k=e.setCurrentDateObjStart,N=e.currentDateObjEnd,C=e.setCurrentDateObjEnd,D=ne(Object(r.useState)(!1),2),T=D[0],S=D[1];Object(r.useEffect)((function(){t&&setTimeout((function(){S(!0)}),0)}),[t]);var A=Object(r.useMemo)((function(){return c("react-minimal-datetime-range",T&&"visible")}),[T]);return i.a.createElement("div",{className:A},i.a.createElement("div",{className:"react-minimal-datetime-date-piker"},i.a.createElement(J,{selected:a,setSelected:n,handleChooseStartDate:o,handleChooseEndDate:l,rangeDirection:"start",defaultDateStart:m[0],defaultDateEnd:m[1],locale:u,startDatePickedArray:d,endDatePickedArray:f,currentDateObjStart:w,setCurrentDateObjStart:k,currentDateObjEnd:N,setCurrentDateObjEnd:C}),i.a.createElement(J,{selected:a,setSelected:n,handleChooseStartDate:o,handleChooseEndDate:l,rangeDirection:"end",defaultDateStart:m[0],defaultDateEnd:m[1],locale:u,startDatePickedArray:d,endDatePickedArray:f,currentDateObjStart:w,setCurrentDateObjStart:k,currentDateObjEnd:N,setCurrentDateObjEnd:C}),p===ce[1]&&i.a.createElement("div",{className:"react-minimal-datetime-range__time-piker"},i.a.createElement(ae,{defaultTimeStart:s[0],defaultTimeEnd:s[1],startDatePickedArray:d,endDatePickedArray:f,handleChooseStartTimeHour:b,handleChooseStartTimeMinute:g,handleChooseEndTimeHour:_,handleChooseEndTimeMinute:E,startTimePickedArray:O,endTimePickedArray:j}))),i.a.createElement("div",{className:"react-minimal-datetime-range__button-wrapper"},i.a.createElement("div",{className:c("react-minimal-datetime-range__button","react-minimal-datetime-range__button--type",!a&&"disabled"),onClick:a?h:function(){}},p===ce[0]?v[u][ce[1]]:v[u][ce[0]]),i.a.createElement("div",{className:c("react-minimal-datetime-range__button","react-minimal-datetime-range__button--confirm",!a&&"disabled"),onClick:a?y:function(){}},v[u].confirm)))}));"undefined"!=typeof window&&(window.ReactMinimalDateTimeRange=n);t.default=n}])})); //# sourceMappingURL=react-minimal-datetime-range.js.map \ No newline at end of file diff --git a/lib/react-minimal-datetime-range.js.map b/lib/react-minimal-datetime-range.js.map index 9111091..1484f95 100644 --- a/lib/react-minimal-datetime-range.js.map +++ b/lib/react-minimal-datetime-range.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://react-minimal-datetime-range/webpack/universalModuleDefinition","webpack://react-minimal-datetime-range/webpack/bootstrap","webpack://react-minimal-datetime-range/external \"React\"","webpack://react-minimal-datetime-range/./node_modules/_react-addons-css-transition-group@15.6.2@react-addons-css-transition-group/index.js","webpack://react-minimal-datetime-range/./node_modules/_prop-types@15.7.2@prop-types/index.js","webpack://react-minimal-datetime-range/./node_modules/_@babel_runtime@7.9.2@@babel/runtime/helpers/interopRequireDefault.js","webpack://react-minimal-datetime-range/./node_modules/_dom-helpers@3.4.0@dom-helpers/util/inDOM.js","webpack://react-minimal-datetime-range/./node_modules/_react-transition-group@1.2.1@react-transition-group/utils/PropTypes.js","webpack://react-minimal-datetime-range/./node_modules/_react-transition-group@1.2.1@react-transition-group/CSSTransitionGroup.js","webpack://react-minimal-datetime-range/./node_modules/_prop-types@15.7.2@prop-types/factoryWithThrowingShims.js","webpack://react-minimal-datetime-range/./node_modules/_prop-types@15.7.2@prop-types/lib/ReactPropTypesSecret.js","webpack://react-minimal-datetime-range/./node_modules/_react-transition-group@1.2.1@react-transition-group/TransitionGroup.js","webpack://react-minimal-datetime-range/./node_modules/_chain-function@1.0.1@chain-function/index.js","webpack://react-minimal-datetime-range/./node_modules/_warning@3.0.0@warning/browser.js","webpack://react-minimal-datetime-range/./node_modules/_react-transition-group@1.2.1@react-transition-group/utils/ChildMapping.js","webpack://react-minimal-datetime-range/./node_modules/_react-transition-group@1.2.1@react-transition-group/CSSTransitionGroupChild.js","webpack://react-minimal-datetime-range/./node_modules/_dom-helpers@3.4.0@dom-helpers/class/addClass.js","webpack://react-minimal-datetime-range/./node_modules/_dom-helpers@3.4.0@dom-helpers/class/hasClass.js","webpack://react-minimal-datetime-range/./node_modules/_dom-helpers@3.4.0@dom-helpers/class/removeClass.js","webpack://react-minimal-datetime-range/./node_modules/_dom-helpers@3.4.0@dom-helpers/util/requestAnimationFrame.js","webpack://react-minimal-datetime-range/./node_modules/_dom-helpers@3.4.0@dom-helpers/transition/properties.js","webpack://react-minimal-datetime-range/external \"react-dom\"","webpack://react-minimal-datetime-range/./src/js/component/utils.js","webpack://react-minimal-datetime-range/./src/js/component/locale.js","webpack://react-minimal-datetime-range/./src/js/component/const.js","webpack://react-minimal-datetime-range/./src/js/component/Calendar.js","webpack://react-minimal-datetime-range/./src/js/component/RangeDate.js","webpack://react-minimal-datetime-range/./src/js/component/RangeTime.js","webpack://react-minimal-datetime-range/./src/js/component/index.js","webpack://react-minimal-datetime-range/./src/js/component/index.umd.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE__0__","__WEBPACK_EXTERNAL_MODULE__19__","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","obj","default","_default","window","document","createElement","nameShape","undefined","transitionTimeout","transitionType","timeoutPropName","enabledPropName","props","Error","_interopRequireDefault","_propTypes2","oneOfType","string","shape","enter","leave","active","enterActive","leaveActive","appear","appearActive","_extends","assign","target","arguments","length","source","_react2","_TransitionGroup2","_CSSTransitionGroupChild2","_PropTypes","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","isRequired","bool","CSSTransitionGroup","_React$Component","_temp","_this","_len","args","Array","_key","apply","concat","_wrapChild","child","transitionName","transitionAppear","transitionEnter","transitionLeave","appearTimeout","transitionAppearTimeout","enterTimeout","transitionEnterTimeout","leaveTimeout","transitionLeaveTimeout","subClass","superClass","constructor","writable","configurable","setPrototypeOf","__proto__","_inherits","render","childFactory","Component","displayName","propTypes","defaultProps","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","componentName","location","propFullName","secret","err","getShim","ReactPropTypes","array","func","number","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","exact","checkPropTypes","PropTypes","_chainFunction2","_ChildMapping","TransitionGroup","context","performAppear","component","currentlyTransitioningKeys","componentWillAppear","_handleDoneAppearing","componentDidAppear","currentChildMapping","getChildMapping","children","performLeave","performEnter","componentWillEnter","_handleDoneEntering","componentDidEnter","componentWillLeave","_handleDoneLeaving","componentDidLeave","keysToEnter","push","setState","state","newChildren","childRefs","componentWillMount","keysToLeave","componentDidMount","initialChildMapping","componentWillReceiveProps","nextProps","nextChildMapping","prevChildMapping","mergeChildMappings","hasPrev","hasNext","componentDidUpdate","_this2","forEach","_this3","childrenToRender","_loop","isCallbackRef","ref","factoryChild","cloneElement","len","filter","fn","reduce","current","next","result","_react","Children","map","prev","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","_addClass2","_removeClass2","_requestAnimationFrame2","_properties","_reactDom","events","transitionEnd","animationEnd","CSSTransitionGroupChild","done","transition","classNameAndNodeQueue","transitionTimeouts","componentWillUnmount","unmounted","timeout","clearTimeout","animationType","finishCallback","findDOMNode","className","activeClassName","timer","removeListeners","queueClassAndNode","finish","e","setTimeout","listener","addEventListener","removeEventListener","addEndListener","rafHandle","flushClassNameAndNodeQueue","scrollTop","only","classList","add","_hasClass","setAttribute","baseVal","contains","indexOf","replaceClassName","origClass","classToRemove","replace","RegExp","remove","compatRaf","_inDOM","cancel","raf","curr","Date","getTime","ms","Math","max","req","getKey","vendor","k","toUpperCase","substr","some","rafKey","cb","id","animationDelay","animationTiming","animationDuration","animationName","transitionDuration","transitionDelay","transitionTiming","transitionProperty","transform","prefix","_getTransitionPropert","style","vendorMap","O","toLowerCase","Moz","Webkit","vendors","keys","getTransitionProperties","end","timing","delay","duration","cx","classes","arg","argType","isArray","inner","join","isValidDate","str","isNaN","locale","w","res","today","reset","clear","now","weeks","months","date","time","confirm","REACT_MINIMAL_DATETIME_RANGE","j","console","error","getDaysArray","year","month","prevMonth","nextMonth","prevYear","nextYear","thisMonthDate","prevMonthDate","nextMonthDate","startOffset","getDay","getDaysListByMonth","endOffset","day","String","monthName","formatDateString","getMonth","dayName","getDate","item","setDate","val","Number","getYearSet","itemNumber","isWith1Month","PI","year1","year2","month1","month2","type","TODAY","YEAR","getFullYear","MONTH","DATE","Index","memo","defaultDate","onYearPicked","onMonthPicked","onDatePicked","onResetDate","onResetDefaultDate","defaultDateDate","defaultDateMonth","defaultDateYear","defaultDates","isDefaultDateValid","useMemo","dateStr","split","defaultYearStr","defaultMonthStr","defaultDateStr","useState","dates","setDates","pickedYearMonth","setPickedYearMonth","pickedDateInfo","setPickedDateInfo","direction","setDirection","yearSelectorPanelList","setYearSelectorPanelList","yearSelectorPanel","setYearSelectorPanel","showMask","setShowMask","showSelectorPanel","setShowSelectorPanel","$monthSelectorPanel","useRef","onMouseDown","useCallback","onMouseUp","useEffect","transitionContainerStyle","content","pickYear","pickMonth","yearStr","monthStr","pickDate","pickedDate","newPickedDateInfo","changeSelectorPanelYearSet","handleShowSelectorPanel","row","rowIndex","rowObj","CalendarBody","data","onClick","height","selectorPanelYearHtml","captionHtml","LOCALE","selectorPanelClass","selectorPanelMonthHtml","itemMonth","monthItemClass","yearItemClass","verticalAlign","onTouchEnd","onTouchCancel","width","viewBox","fill","colHtml","isPicked","isDisabled","datePickerItemClass","CalendarItem","handleOnClick","defaultDateMonthEnd","selected","setSelected","defaultDateStart","defaultDateEnd","rangeDirection","startDatePickedArray","endDatePickedArray","handleChooseStartDate","handleChooseEndDate","currentDateObjStart","currentDateObjEnd","setCurrentDateObjStart","setCurrentDateObjEnd","defaultDateDateStart","defaultDateMonthStart","defaultDateYearStart","defaultDateDateEnd","defaultDateYearEnd","showPrevYearArrow","showPrevMonthArrow","showNextYearArrow","showNextMonthArrow","defaultDatesStart","defaultDatesEnd","newData","itemDate","isPickedStart","isPickedEnd","isHighlight","starts","ends","a","b","targetDate","handleOnMouseOver","onMouseOver","HOURS","MINUTES","handleChooseStartTimeHour","handleChooseStartTimeMinute","handleChooseEndTimeHour","handleChooseEndTimeMinute","startTimePickedArray","endTimePickedArray","STYLES","ex","CalendarPicker","show","onClose","internalShow","setInternalShow","handleOnClose","handleOnYearPicked","yearObj","handleOnMonthPicked","monthObj","handleOnDatePicked","dateObj","handleOnResetDate","handleOnResetDefaultDate","CalendarPickerComponent","componentClass","Calendar","TYPES","RangePicker","placeholder","defaultTimes","onConfirm","onClear","isDefaultDatesValid","isValid","start","setStart","setEnd","setType","setStartDatePickedArray","setEndDatePickedArray","setStartTimePickedArray","setEndTimePickedArray","times","setTimes","handleOnChangeType","handleOnConfirm","startStr","endStr","handleOnClear","stopPropagation","readOnly","tabIndex","RangePickerComponent","currentDateObjList","RangeDate","RangeTime","defaultTimeStart","defaultTimeEnd","ReactMinimalDateTimeRange"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,SAAUA,QAAQ,cAC1B,mBAAXC,QAAyBA,OA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tB3E,OAAQA,EACR6I,qBAAsBA,EACtBC,mBAAoBA,EACpBG,oBAAqBA,EACrBE,uBAAwBA,EACxBD,kBAAmBA,EACnBE,qBAAsBA,IAEvBnG,IAASsJ,GAAM,IACd,yBAAK1R,UAAU,4CACb,kBAACuT,GAAD,CACEC,iBAAkBd,EAAM,GACxBe,eAAgBf,EAAM,GACtB1E,qBAAsBA,EACtBC,mBAAoBA,EACpBgC,0BAA2BA,EAC3BC,4BAA6BA,EAC7BC,wBAAyBA,EACzBC,0BAA2BA,EAC3BC,qBAAsBA,EACtBC,mBAAoBA,MAK5B,yBAAKtQ,UAAU,gDACb,yBAAKA,UAAWyE,EAAG,uCAAwC,8CAA+CkJ,GAAY,YAAavB,QAASuB,EAAWiF,EAAqB,cACzKxK,IAASsJ,GAAM,GAAKlF,EAAOrH,GAAQuM,GAAM,IAAMlF,EAAOrH,GAAQuM,GAAM,KAEvE,yBAAK1R,UAAWyE,EAAG,uCAAwC,iDAAkDkJ,GAAY,YAAavB,QAASuB,EAAWkF,EAAkB,cACzKrG,EAAOrH,GAAP,cCtYS,oBAAXnR,SACVA,OAAO0f,0BAA4BhL,GAGrBA","file":"react-minimal-datetime-range.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"React\"), require(\"react-dom\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"React\", \"react-dom\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"react-minimal-datetime-range\"] = factory(require(\"React\"), require(\"react-dom\"));\n\telse\n\t\troot[\"react-minimal-datetime-range\"] = factory(root[\"React\"], root[\"react-dom\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE__0__, __WEBPACK_EXTERNAL_MODULE__19__) {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 21);\n","module.exports = __WEBPACK_EXTERNAL_MODULE__0__;","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nmodule.exports = require('react-transition-group/CSSTransitionGroup');\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault;","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _default = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nexports.default = _default;\nmodule.exports = exports[\"default\"];","'use strict';\n\nexports.__esModule = true;\nexports.nameShape = undefined;\nexports.transitionTimeout = transitionTimeout;\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction transitionTimeout(transitionType) {\n var timeoutPropName = 'transition' + transitionType + 'Timeout';\n var enabledPropName = 'transition' + transitionType;\n\n return function (props) {\n // If the transition is enabled\n if (props[enabledPropName]) {\n // If no timeout duration is provided\n if (props[timeoutPropName] == null) {\n return new Error(timeoutPropName + ' wasn\\'t supplied to CSSTransitionGroup: ' + 'this can cause unreliable animations and won\\'t be supported in ' + 'a future version of React. See ' + 'https://fb.me/react-animation-transition-group-timeout for more ' + 'information.');\n\n // If the duration isn't a number\n } else if (typeof props[timeoutPropName] !== 'number') {\n return new Error(timeoutPropName + ' must be a number (in milliseconds)');\n }\n }\n\n return null;\n };\n}\n\nvar nameShape = exports.nameShape = _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.shape({\n enter: _propTypes2.default.string,\n leave: _propTypes2.default.string,\n active: _propTypes2.default.string\n}), _propTypes2.default.shape({\n enter: _propTypes2.default.string,\n enterActive: _propTypes2.default.string,\n leave: _propTypes2.default.string,\n leaveActive: _propTypes2.default.string,\n appear: _propTypes2.default.string,\n appearActive: _propTypes2.default.string\n})]);","'use strict';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _TransitionGroup = require('./TransitionGroup');\n\nvar _TransitionGroup2 = _interopRequireDefault(_TransitionGroup);\n\nvar _CSSTransitionGroupChild = require('./CSSTransitionGroupChild');\n\nvar _CSSTransitionGroupChild2 = _interopRequireDefault(_CSSTransitionGroupChild);\n\nvar _PropTypes = require('./utils/PropTypes');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar propTypes = {\n transitionName: _PropTypes.nameShape.isRequired,\n\n transitionAppear: _propTypes2.default.bool,\n transitionEnter: _propTypes2.default.bool,\n transitionLeave: _propTypes2.default.bool,\n transitionAppearTimeout: (0, _PropTypes.transitionTimeout)('Appear'),\n transitionEnterTimeout: (0, _PropTypes.transitionTimeout)('Enter'),\n transitionLeaveTimeout: (0, _PropTypes.transitionTimeout)('Leave')\n};\n\nvar defaultProps = {\n transitionAppear: false,\n transitionEnter: true,\n transitionLeave: true\n};\n\nvar CSSTransitionGroup = function (_React$Component) {\n _inherits(CSSTransitionGroup, _React$Component);\n\n function CSSTransitionGroup() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, CSSTransitionGroup);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this._wrapChild = function (child) {\n return _react2.default.createElement(_CSSTransitionGroupChild2.default, {\n name: _this.props.transitionName,\n appear: _this.props.transitionAppear,\n enter: _this.props.transitionEnter,\n leave: _this.props.transitionLeave,\n appearTimeout: _this.props.transitionAppearTimeout,\n enterTimeout: _this.props.transitionEnterTimeout,\n leaveTimeout: _this.props.transitionLeaveTimeout\n }, child);\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n // We need to provide this childFactory so that\n // ReactCSSTransitionGroupChild can receive updates to name, enter, and\n // leave while it is leaving.\n\n\n CSSTransitionGroup.prototype.render = function render() {\n return _react2.default.createElement(_TransitionGroup2.default, _extends({}, this.props, { childFactory: this._wrapChild }));\n };\n\n return CSSTransitionGroup;\n}(_react2.default.Component);\n\nCSSTransitionGroup.displayName = 'CSSTransitionGroup';\n\n\nCSSTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nCSSTransitionGroup.defaultProps = defaultProps;\n\nexports.default = CSSTransitionGroup;\nmodule.exports = exports['default'];","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","'use strict';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _chainFunction = require('chain-function');\n\nvar _chainFunction2 = _interopRequireDefault(_chainFunction);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar _ChildMapping = require('./utils/ChildMapping');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar propTypes = {\n component: _propTypes2.default.any,\n childFactory: _propTypes2.default.func,\n children: _propTypes2.default.node\n};\n\nvar defaultProps = {\n component: 'span',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n\nvar TransitionGroup = function (_React$Component) {\n _inherits(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n _classCallCheck(this, TransitionGroup);\n\n var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));\n\n _this.performAppear = function (key, component) {\n _this.currentlyTransitioningKeys[key] = true;\n\n if (component.componentWillAppear) {\n component.componentWillAppear(_this._handleDoneAppearing.bind(_this, key, component));\n } else {\n _this._handleDoneAppearing(key, component);\n }\n };\n\n _this._handleDoneAppearing = function (key, component) {\n if (component.componentDidAppear) {\n component.componentDidAppear();\n }\n\n delete _this.currentlyTransitioningKeys[key];\n\n var currentChildMapping = (0, _ChildMapping.getChildMapping)(_this.props.children);\n\n if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) {\n // This was removed before it had fully appeared. Remove it.\n _this.performLeave(key, component);\n }\n };\n\n _this.performEnter = function (key, component) {\n _this.currentlyTransitioningKeys[key] = true;\n\n if (component.componentWillEnter) {\n component.componentWillEnter(_this._handleDoneEntering.bind(_this, key, component));\n } else {\n _this._handleDoneEntering(key, component);\n }\n };\n\n _this._handleDoneEntering = function (key, component) {\n if (component.componentDidEnter) {\n component.componentDidEnter();\n }\n\n delete _this.currentlyTransitioningKeys[key];\n\n var currentChildMapping = (0, _ChildMapping.getChildMapping)(_this.props.children);\n\n if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) {\n // This was removed before it had fully entered. Remove it.\n _this.performLeave(key, component);\n }\n };\n\n _this.performLeave = function (key, component) {\n _this.currentlyTransitioningKeys[key] = true;\n\n if (component.componentWillLeave) {\n component.componentWillLeave(_this._handleDoneLeaving.bind(_this, key, component));\n } else {\n // Note that this is somewhat dangerous b/c it calls setState()\n // again, effectively mutating the component before all the work\n // is done.\n _this._handleDoneLeaving(key, component);\n }\n };\n\n _this._handleDoneLeaving = function (key, component) {\n if (component.componentDidLeave) {\n component.componentDidLeave();\n }\n\n delete _this.currentlyTransitioningKeys[key];\n\n var currentChildMapping = (0, _ChildMapping.getChildMapping)(_this.props.children);\n\n if (currentChildMapping && currentChildMapping.hasOwnProperty(key)) {\n // This entered again before it fully left. Add it again.\n _this.keysToEnter.push(key);\n } else {\n _this.setState(function (state) {\n var newChildren = _extends({}, state.children);\n delete newChildren[key];\n return { children: newChildren };\n });\n }\n };\n\n _this.childRefs = Object.create(null);\n\n _this.state = {\n children: (0, _ChildMapping.getChildMapping)(props.children)\n };\n return _this;\n }\n\n TransitionGroup.prototype.componentWillMount = function componentWillMount() {\n this.currentlyTransitioningKeys = {};\n this.keysToEnter = [];\n this.keysToLeave = [];\n };\n\n TransitionGroup.prototype.componentDidMount = function componentDidMount() {\n var initialChildMapping = this.state.children;\n for (var key in initialChildMapping) {\n if (initialChildMapping[key]) {\n this.performAppear(key, this.childRefs[key]);\n }\n }\n };\n\n TransitionGroup.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n var nextChildMapping = (0, _ChildMapping.getChildMapping)(nextProps.children);\n var prevChildMapping = this.state.children;\n\n this.setState({\n children: (0, _ChildMapping.mergeChildMappings)(prevChildMapping, nextChildMapping)\n });\n\n for (var key in nextChildMapping) {\n var hasPrev = prevChildMapping && prevChildMapping.hasOwnProperty(key);\n if (nextChildMapping[key] && !hasPrev && !this.currentlyTransitioningKeys[key]) {\n this.keysToEnter.push(key);\n }\n }\n\n for (var _key in prevChildMapping) {\n var hasNext = nextChildMapping && nextChildMapping.hasOwnProperty(_key);\n if (prevChildMapping[_key] && !hasNext && !this.currentlyTransitioningKeys[_key]) {\n this.keysToLeave.push(_key);\n }\n }\n\n // If we want to someday check for reordering, we could do it here.\n };\n\n TransitionGroup.prototype.componentDidUpdate = function componentDidUpdate() {\n var _this2 = this;\n\n var keysToEnter = this.keysToEnter;\n this.keysToEnter = [];\n keysToEnter.forEach(function (key) {\n return _this2.performEnter(key, _this2.childRefs[key]);\n });\n\n var keysToLeave = this.keysToLeave;\n this.keysToLeave = [];\n keysToLeave.forEach(function (key) {\n return _this2.performLeave(key, _this2.childRefs[key]);\n });\n };\n\n TransitionGroup.prototype.render = function render() {\n var _this3 = this;\n\n // TODO: we could get rid of the need for the wrapper node\n // by cloning a single child\n var childrenToRender = [];\n\n var _loop = function _loop(key) {\n var child = _this3.state.children[key];\n if (child) {\n var isCallbackRef = typeof child.ref !== 'string';\n var factoryChild = _this3.props.childFactory(child);\n var ref = function ref(r) {\n _this3.childRefs[key] = r;\n };\n\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(isCallbackRef, 'string refs are not supported on children of TransitionGroup and will be ignored. ' + 'Please use a callback ref instead: https://facebook.github.io/react/docs/refs-and-the-dom.html#the-ref-callback-attribute') : void 0;\n\n // Always chaining the refs leads to problems when the childFactory\n // wraps the child. The child ref callback gets called twice with the\n // wrapper and the child. So we only need to chain the ref if the\n // factoryChild is not different from child.\n if (factoryChild === child && isCallbackRef) {\n ref = (0, _chainFunction2.default)(child.ref, ref);\n }\n\n // You may need to apply reactive updates to a child as it is leaving.\n // The normal React way to do it won't work since the child will have\n // already been removed. In case you need this behavior you can provide\n // a childFactory function to wrap every child, even the ones that are\n // leaving.\n childrenToRender.push(_react2.default.cloneElement(factoryChild, {\n key: key,\n ref: ref\n }));\n }\n };\n\n for (var key in this.state.children) {\n _loop(key);\n }\n\n // Do not forward TransitionGroup props to primitive DOM nodes\n var props = _extends({}, this.props);\n delete props.transitionLeave;\n delete props.transitionName;\n delete props.transitionAppear;\n delete props.transitionEnter;\n delete props.childFactory;\n delete props.transitionLeaveTimeout;\n delete props.transitionEnterTimeout;\n delete props.transitionAppearTimeout;\n delete props.component;\n\n return _react2.default.createElement(this.props.component, props, childrenToRender);\n };\n\n return TransitionGroup;\n}(_react2.default.Component);\n\nTransitionGroup.displayName = 'TransitionGroup';\n\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nTransitionGroup.defaultProps = defaultProps;\n\nexports.default = TransitionGroup;\nmodule.exports = exports['default'];","\nmodule.exports = function chain(){\n var len = arguments.length\n var args = [];\n\n for (var i = 0; i < len; i++)\n args[i] = arguments[i]\n\n args = args.filter(function(fn){ return fn != null })\n\n if (args.length === 0) return undefined\n if (args.length === 1) return args[0]\n\n return args.reduce(function(current, next){\n return function chainedFunction() {\n current.apply(this, arguments);\n next.apply(this, arguments);\n };\n })\n}\n","/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n\n if (format.length < 10 || (/^[s\\W]*$/).test(format)) {\n throw new Error(\n 'The warning format should be able to uniquely identify this ' +\n 'warning. Please, use a more descriptive format than: ' + format\n );\n }\n\n if (!condition) {\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch(x) {}\n }\n };\n}\n\nmodule.exports = warning;\n","'use strict';\n\nexports.__esModule = true;\nexports.getChildMapping = getChildMapping;\nexports.mergeChildMappings = mergeChildMappings;\n\nvar _react = require('react');\n\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\nfunction getChildMapping(children) {\n if (!children) {\n return children;\n }\n var result = {};\n _react.Children.map(children, function (child) {\n return child;\n }).forEach(function (child) {\n result[child.key] = child;\n });\n return result;\n}\n\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\nfunction mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n if (next.hasOwnProperty(key)) {\n return next[key];\n }\n\n return prev[key];\n }\n\n // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n var nextKeysPending = {};\n\n var pendingKeys = [];\n for (var prevKey in prev) {\n if (next.hasOwnProperty(prevKey)) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i = void 0;\n var childMapping = {};\n for (var nextKey in next) {\n if (nextKeysPending.hasOwnProperty(nextKey)) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n childMapping[nextKey] = getValueForKey(nextKey);\n }\n\n // Finally, add the keys which didn't appear before any key in `next`\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}","'use strict';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _addClass = require('dom-helpers/class/addClass');\n\nvar _addClass2 = _interopRequireDefault(_addClass);\n\nvar _removeClass = require('dom-helpers/class/removeClass');\n\nvar _removeClass2 = _interopRequireDefault(_removeClass);\n\nvar _requestAnimationFrame = require('dom-helpers/util/requestAnimationFrame');\n\nvar _requestAnimationFrame2 = _interopRequireDefault(_requestAnimationFrame);\n\nvar _properties = require('dom-helpers/transition/properties');\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _reactDom = require('react-dom');\n\nvar _PropTypes = require('./utils/PropTypes');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar events = [];\nif (_properties.transitionEnd) events.push(_properties.transitionEnd);\nif (_properties.animationEnd) events.push(_properties.animationEnd);\n\nfunction addEndListener(node, listener) {\n if (events.length) {\n events.forEach(function (e) {\n return node.addEventListener(e, listener, false);\n });\n } else {\n setTimeout(listener, 0);\n }\n\n return function () {\n if (!events.length) return;\n events.forEach(function (e) {\n return node.removeEventListener(e, listener, false);\n });\n };\n}\n\nvar propTypes = {\n children: _propTypes2.default.node,\n name: _PropTypes.nameShape.isRequired,\n\n // Once we require timeouts to be specified, we can remove the\n // boolean flags (appear etc.) and just accept a number\n // or a bool for the timeout flags (appearTimeout etc.)\n appear: _propTypes2.default.bool,\n enter: _propTypes2.default.bool,\n leave: _propTypes2.default.bool,\n appearTimeout: _propTypes2.default.number,\n enterTimeout: _propTypes2.default.number,\n leaveTimeout: _propTypes2.default.number\n};\n\nvar CSSTransitionGroupChild = function (_React$Component) {\n _inherits(CSSTransitionGroupChild, _React$Component);\n\n function CSSTransitionGroupChild() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, CSSTransitionGroupChild);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.componentWillAppear = function (done) {\n if (_this.props.appear) {\n _this.transition('appear', done, _this.props.appearTimeout);\n } else {\n done();\n }\n }, _this.componentWillEnter = function (done) {\n if (_this.props.enter) {\n _this.transition('enter', done, _this.props.enterTimeout);\n } else {\n done();\n }\n }, _this.componentWillLeave = function (done) {\n if (_this.props.leave) {\n _this.transition('leave', done, _this.props.leaveTimeout);\n } else {\n done();\n }\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n CSSTransitionGroupChild.prototype.componentWillMount = function componentWillMount() {\n this.classNameAndNodeQueue = [];\n this.transitionTimeouts = [];\n };\n\n CSSTransitionGroupChild.prototype.componentWillUnmount = function componentWillUnmount() {\n this.unmounted = true;\n\n if (this.timeout) {\n clearTimeout(this.timeout);\n }\n this.transitionTimeouts.forEach(function (timeout) {\n clearTimeout(timeout);\n });\n\n this.classNameAndNodeQueue.length = 0;\n };\n\n CSSTransitionGroupChild.prototype.transition = function transition(animationType, finishCallback, timeout) {\n var node = (0, _reactDom.findDOMNode)(this);\n\n if (!node) {\n if (finishCallback) {\n finishCallback();\n }\n return;\n }\n\n var className = this.props.name[animationType] || this.props.name + '-' + animationType;\n var activeClassName = this.props.name[animationType + 'Active'] || className + '-active';\n var timer = null;\n var removeListeners = void 0;\n\n (0, _addClass2.default)(node, className);\n\n // Need to do this to actually trigger a transition.\n this.queueClassAndNode(activeClassName, node);\n\n // Clean-up the animation after the specified delay\n var finish = function finish(e) {\n if (e && e.target !== node) {\n return;\n }\n\n clearTimeout(timer);\n if (removeListeners) removeListeners();\n\n (0, _removeClass2.default)(node, className);\n (0, _removeClass2.default)(node, activeClassName);\n\n if (removeListeners) removeListeners();\n\n // Usually this optional callback is used for informing an owner of\n // a leave animation and telling it to remove the child.\n if (finishCallback) {\n finishCallback();\n }\n };\n\n if (timeout) {\n timer = setTimeout(finish, timeout);\n this.transitionTimeouts.push(timer);\n } else if (_properties.transitionEnd) {\n removeListeners = addEndListener(node, finish);\n }\n };\n\n CSSTransitionGroupChild.prototype.queueClassAndNode = function queueClassAndNode(className, node) {\n var _this2 = this;\n\n this.classNameAndNodeQueue.push({\n className: className,\n node: node\n });\n\n if (!this.rafHandle) {\n this.rafHandle = (0, _requestAnimationFrame2.default)(function () {\n return _this2.flushClassNameAndNodeQueue();\n });\n }\n };\n\n CSSTransitionGroupChild.prototype.flushClassNameAndNodeQueue = function flushClassNameAndNodeQueue() {\n if (!this.unmounted) {\n this.classNameAndNodeQueue.forEach(function (obj) {\n // This is for to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n /* eslint-disable no-unused-expressions */\n obj.node.scrollTop;\n /* eslint-enable no-unused-expressions */\n (0, _addClass2.default)(obj.node, obj.className);\n });\n }\n this.classNameAndNodeQueue.length = 0;\n this.rafHandle = null;\n };\n\n CSSTransitionGroupChild.prototype.render = function render() {\n var props = _extends({}, this.props);\n delete props.name;\n delete props.appear;\n delete props.enter;\n delete props.leave;\n delete props.appearTimeout;\n delete props.enterTimeout;\n delete props.leaveTimeout;\n delete props.children;\n return _react2.default.cloneElement(_react2.default.Children.only(this.props.children), props);\n };\n\n return CSSTransitionGroupChild;\n}(_react2.default.Component);\n\nCSSTransitionGroupChild.displayName = 'CSSTransitionGroupChild';\n\n\nCSSTransitionGroupChild.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\n\nexports.default = CSSTransitionGroupChild;\nmodule.exports = exports['default'];","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = addClass;\n\nvar _hasClass = _interopRequireDefault(require(\"./hasClass\"));\n\nfunction addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!(0, _hasClass.default)(element, className)) if (typeof element.className === 'string') element.className = element.className + ' ' + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + ' ' + className);\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nexports.__esModule = true;\nexports.default = hasClass;\n\nfunction hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);else return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}\n\nmodule.exports = exports[\"default\"];","'use strict';\n\nfunction replaceClassName(origClass, classToRemove) {\n return origClass.replace(new RegExp('(^|\\\\s)' + classToRemove + '(?:\\\\s|$)', 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n\nmodule.exports = function removeClass(element, className) {\n if (element.classList) element.classList.remove(className);else if (typeof element.className === 'string') element.className = replaceClassName(element.className, className);else element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n};","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _inDOM = _interopRequireDefault(require(\"./inDOM\"));\n\nvar vendors = ['', 'webkit', 'moz', 'o', 'ms'];\nvar cancel = 'clearTimeout';\nvar raf = fallback;\nvar compatRaf;\n\nvar getKey = function getKey(vendor, k) {\n return vendor + (!vendor ? k : k[0].toUpperCase() + k.substr(1)) + 'AnimationFrame';\n};\n\nif (_inDOM.default) {\n vendors.some(function (vendor) {\n var rafKey = getKey(vendor, 'request');\n\n if (rafKey in window) {\n cancel = getKey(vendor, 'cancel');\n return raf = function raf(cb) {\n return window[rafKey](cb);\n };\n }\n });\n}\n/* https://github.com/component/raf */\n\n\nvar prev = new Date().getTime();\n\nfunction fallback(fn) {\n var curr = new Date().getTime(),\n ms = Math.max(0, 16 - (curr - prev)),\n req = setTimeout(fn, ms);\n prev = curr;\n return req;\n}\n\ncompatRaf = function compatRaf(cb) {\n return raf(cb);\n};\n\ncompatRaf.cancel = function (id) {\n window[cancel] && typeof window[cancel] === 'function' && window[cancel](id);\n};\n\nvar _default = compatRaf;\nexports.default = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = exports.animationEnd = exports.animationDelay = exports.animationTiming = exports.animationDuration = exports.animationName = exports.transitionEnd = exports.transitionDuration = exports.transitionDelay = exports.transitionTiming = exports.transitionProperty = exports.transform = void 0;\n\nvar _inDOM = _interopRequireDefault(require(\"../util/inDOM\"));\n\nvar transform = 'transform';\nexports.transform = transform;\nvar prefix, transitionEnd, animationEnd;\nexports.animationEnd = animationEnd;\nexports.transitionEnd = transitionEnd;\nvar transitionProperty, transitionDuration, transitionTiming, transitionDelay;\nexports.transitionDelay = transitionDelay;\nexports.transitionTiming = transitionTiming;\nexports.transitionDuration = transitionDuration;\nexports.transitionProperty = transitionProperty;\nvar animationName, animationDuration, animationTiming, animationDelay;\nexports.animationDelay = animationDelay;\nexports.animationTiming = animationTiming;\nexports.animationDuration = animationDuration;\nexports.animationName = animationName;\n\nif (_inDOM.default) {\n var _getTransitionPropert = getTransitionProperties();\n\n prefix = _getTransitionPropert.prefix;\n exports.transitionEnd = transitionEnd = _getTransitionPropert.transitionEnd;\n exports.animationEnd = animationEnd = _getTransitionPropert.animationEnd;\n exports.transform = transform = prefix + \"-\" + transform;\n exports.transitionProperty = transitionProperty = prefix + \"-transition-property\";\n exports.transitionDuration = transitionDuration = prefix + \"-transition-duration\";\n exports.transitionDelay = transitionDelay = prefix + \"-transition-delay\";\n exports.transitionTiming = transitionTiming = prefix + \"-transition-timing-function\";\n exports.animationName = animationName = prefix + \"-animation-name\";\n exports.animationDuration = animationDuration = prefix + \"-animation-duration\";\n exports.animationTiming = animationTiming = prefix + \"-animation-delay\";\n exports.animationDelay = animationDelay = prefix + \"-animation-timing-function\";\n}\n\nvar _default = {\n transform: transform,\n end: transitionEnd,\n property: transitionProperty,\n timing: transitionTiming,\n delay: transitionDelay,\n duration: transitionDuration\n};\nexports.default = _default;\n\nfunction getTransitionProperties() {\n var style = document.createElement('div').style;\n var vendorMap = {\n O: function O(e) {\n return \"o\" + e.toLowerCase();\n },\n Moz: function Moz(e) {\n return e.toLowerCase();\n },\n Webkit: function Webkit(e) {\n return \"webkit\" + e;\n },\n ms: function ms(e) {\n return \"MS\" + e;\n }\n };\n var vendors = Object.keys(vendorMap);\n var transitionEnd, animationEnd;\n var prefix = '';\n\n for (var i = 0; i < vendors.length; i++) {\n var vendor = vendors[i];\n\n if (vendor + \"TransitionProperty\" in style) {\n prefix = \"-\" + vendor.toLowerCase();\n transitionEnd = vendorMap[vendor]('TransitionEnd');\n animationEnd = vendorMap[vendor]('AnimationEnd');\n break;\n }\n }\n\n if (!transitionEnd && 'transitionProperty' in style) transitionEnd = 'transitionend';\n if (!animationEnd && 'animationName' in style) animationEnd = 'animationend';\n style = null;\n return {\n animationEnd: animationEnd,\n transitionEnd: transitionEnd,\n prefix: prefix\n };\n}","module.exports = __WEBPACK_EXTERNAL_MODULE__19__;","export const cx = (...params) => {\n const classes = [];\n for (let i = 0; i < params.length; i += 1) {\n const arg = params[i];\n if (!arg) continue;\n const argType = typeof arg;\n if (argType === 'string' || argType === 'number') {\n classes.push(arg);\n } else if (Array.isArray(arg) && arg.length) {\n const inner = cx.apply(null, arg);\n if (inner) {\n classes.push(inner);\n }\n } else if (argType === 'object') {\n for (const key in arg) {\n if ({}.hasOwnProperty.call(arg, key) && arg[key]) {\n classes.push(key);\n }\n }\n }\n }\n return classes.join(' ');\n};\n\nexport const isValidDate = str => {\n try {\n const d = new Date(str);\n if (!isNaN(d.getTime())) {\n return true;\n }\n return false;\n } catch (e) {\n return false;\n }\n};\n","let locale = {\n 'en-us': {\n today: 'Today',\n reset: 'Reset',\n 'reset-date': 'Reset Date',\n clear: 'Clear',\n now: 'Now',\n weeks: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n date: 'Select date',\n time: 'Select time',\n confirm: 'Confirm',\n },\n 'zh-cn': {\n today: '今天',\n reset: '重置',\n 'reset-date': '重置日期',\n clear: '清零',\n now: '现在',\n weeks: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],\n months: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],\n date: '选择日期',\n time: '选择时间',\n confirm: '确定',\n },\n};\n\nconst getCustomLocale = (o, m) => {\n if (!o || typeof o !== 'object' || o.constructor !== Object || !Object.keys(o).length) {\n console.error('wrong structure');\n return false;\n }\n Object.keys(o).map(i => {\n if (!m[i]) {\n m[i] = o[i];\n } else {\n if (Object.keys(o[i]).length) {\n Object.keys(o[i]).map(j => {\n m[i][j] = o[i][j];\n });\n }\n }\n });\n return m;\n};\n\nconst handleCustomLocale = (locale, w) => {\n let res;\n if (typeof w !== 'undefined') {\n if (w.REACT_MINIMAL_DATETIME_RANGE && w.REACT_MINIMAL_DATETIME_RANGE['customLocale']) {\n res = getCustomLocale(w.REACT_MINIMAL_DATETIME_RANGE['customLocale'], locale);\n }\n }\n if (typeof res === 'undefined' || res === false) {\n return locale;\n }\n return res;\n};\n\nif (typeof window !== 'undefined') {\n window.REACT_MINIMAL_DATETIME_RANGE = window.REACT_MINIMAL_DATETIME_RANGE || {};\n locale = handleCustomLocale(locale, window);\n}\n\nexport default locale;\n","export const PREV_TRANSITION = 'prev';\nexport const NEXT_TRANSITION = 'next';\n\nexport const SELECTOR_YEAR_SET_NUMBER = 5;\n\nexport const POINTER_ROTATE = 0;\n\nexport const WEEK_NUMBER = 7;\n\nexport const getDaysArray = (year, month) => {\n let prevMonth;\n let nextMonth;\n let prevYear;\n let nextYear;\n if (month === 12) {\n prevMonth = 11;\n nextMonth = 1;\n prevYear = year;\n nextYear = year + 1;\n } else if (month === 1) {\n prevMonth = 12;\n nextMonth = 2;\n prevYear = year - 1;\n nextYear = year;\n } else {\n prevMonth = month - 1;\n nextMonth = month + 1;\n prevYear = year;\n nextYear = year;\n }\n const date = new Date(year, month - 1, 1);\n let prevMonthDate = null;\n let thisMonthDate = null;\n let nextMonthDate = null;\n let res = [];\n let startOffset = date.getDay();\n if (startOffset != 0) {\n prevMonthDate = getDaysListByMonth(prevYear, prevMonth);\n for (let i = prevMonthDate.length - startOffset; i <= prevMonthDate.length - 1; i++) {\n res.push(prevMonthDate[i]);\n }\n }\n thisMonthDate = getDaysListByMonth(year, month);\n res = [...res, ...thisMonthDate];\n let endOffset = WEEK_NUMBER - thisMonthDate[thisMonthDate.length - 1].day - 1;\n if (endOffset != 0) {\n nextMonthDate = getDaysListByMonth(nextYear, nextMonth);\n for (let i = 0; i <= endOffset - 1; i++) {\n res.push(nextMonthDate[i]);\n }\n }\n return res;\n};\n\nexport const getDaysListByMonth = (year, month) => {\n const date = new Date(year, month - 1, 1);\n let res = [];\n year = String(year);\n const monthName = formatDateString(month);\n while (date.getMonth() == month - 1) {\n const dayName = formatDateString(date.getDate());\n let item = {\n name: dayName,\n day: date.getDay(),\n month: monthName,\n year: year,\n value: `${year}-${monthName}-${dayName}`,\n };\n res.push(item);\n date.setDate(date.getDate() + 1);\n }\n return res;\n};\n\nexport const formatDateString = val => {\n if (Number(val) < 10) {\n return String('0' + Number(val));\n }\n return String(val);\n};\n\nexport const getYearSet = year => {\n let res = [];\n let itemNumber;\n let startOffset;\n let endOffset;\n if (SELECTOR_YEAR_SET_NUMBER % 2 == 1) {\n itemNumber = (SELECTOR_YEAR_SET_NUMBER - 1) / 2 + 1;\n startOffset = SELECTOR_YEAR_SET_NUMBER - itemNumber;\n } else {\n itemNumber = SELECTOR_YEAR_SET_NUMBER / 2 - 1;\n startOffset = itemNumber - 1;\n }\n\n endOffset = SELECTOR_YEAR_SET_NUMBER - itemNumber;\n\n for (let i = year - startOffset; i <= year - 1; i++) {\n res.push(i);\n }\n res.push(year);\n for (let i = 0; i <= endOffset - 1; i++) {\n year = year + 1;\n res.push(year);\n }\n return res;\n};\n\n// CLOCK\n\nexport const R2D = 180 / Math.PI;\n\nexport const SECOND_DEGREE_NUMBER = 6;\nexport const MINUTE_DEGREE_NUMBER = 6;\nexport const HOUR_DEGREE_NUMBER = 30;\n\nexport const QUARTER = [0, 15, 30, 45];\n\nexport const TIME_SELECTION_FIRST_CHAR_POS_LIST = [0, 3, 6];\nexport const TIME_SELECTION_FIRST_CHAR_POS_BACKSPACE_LIST = [1, 4, 7];\nexport const TIME_SELECTION_SECOND_CHAR_POS_LIST = [1, 4, 7];\nexport const TIME_SELECTION_SECOND_CHAR_POS_BACKSPACE_LIST = [2, 5, 8];\nexport const TIME_JUMP_CHAR_POS_LIST = [1, 4, 7];\nexport const TIME_CURSOR_POSITION_OBJECT = {\n 0: 'clockHandHour',\n 1: 'clockHandHour',\n 2: 'clockHandHour',\n 3: 'clockHandMinute',\n 4: 'clockHandMinute',\n 5: 'clockHandMinute',\n 6: 'clockHandSecond',\n 7: 'clockHandSecond',\n 8: 'clockHandSecond',\n 9: 'meridiem',\n 10: 'meridiem',\n 11: 'meridiem',\n};\nexport const TIME_TYPE = ['clockHandHour', 'clockHandMinute', 'clockHandSecond', 'meridiem'];\n\nexport const KEY_CODE = {\n '8': 'Backspace',\n '46': 'Delete',\n '38': 'ArrowUp',\n '37': 'ArrowLeft',\n '39': 'ArrowRight',\n '40': 'ArrowDown',\n '48': '0',\n '49': '1',\n '50': '2',\n '51': '3',\n '52': '4',\n '53': '5',\n '54': '6',\n '55': '7',\n '56': '8',\n '57': '9',\n};\n// Number(currentDateObjStart.year) === Number(currentDateObjEnd.year) && Number(currentDateObjStart.month) + 1 === Number(currentDateObjEnd.month))\n// Number(currentDateObjEnd.year) === Number(currentDateObjStart.year) && Number(currentDateObjEnd.month) - 1 === Number(currentDateObjStart.month))\nexport const isWith1Month = (year1, year2, month1, month2, type) => {\n year1 = Number(year1);\n month1 = Number(month1);\n year2 = Number(year2);\n month2 = Number(month2);\n if (type === 'add') {\n if (month1 === 12) {\n if (year1 + 1 === year2 && month2 === 1) {\n return true;\n }\n } else {\n if (year1 === year2 && month1 + 1 === month2) {\n return true;\n }\n }\n } else {\n if (month1 === 1) {\n if (year1 - 1 === year2 && month2 === 12) {\n return true;\n }\n } else {\n if (year1 === year2 && month1 - 1 === month2) {\n return true;\n }\n }\n }\n\n return false;\n // if (type === 'minus') {\n // if (month === 1) {\n // res['year'] = year - 1;\n // res['month'] = 12;\n // }\n // } else {\n // if (month === 12) {\n // res['year'] = year + 1;\n // res['month'] = 1;\n // }\n // }\n};\n","import React, { useState, useEffect, useRef, useMemo, useCallback, memo } from 'react';\nimport ReactCSSTransitionGroup from 'react-addons-css-transition-group';\nimport LOCALE from './locale.js';\nimport { WEEK_NUMBER, PREV_TRANSITION, NEXT_TRANSITION, SELECTOR_YEAR_SET_NUMBER, getDaysArray, getYearSet, formatDateString } from './const';\nimport { cx, isValidDate } from './utils.js';\n\nconst TODAY = new Date();\nconst YEAR = TODAY.getFullYear();\nconst MONTH = TODAY.getMonth() + 1;\nconst DATE = TODAY.getDate();\n\nconst ITEM_HEIGHT = 40;\n\nconst Index = memo(({ locale = 'en-us', defaultDate = '', onYearPicked = () => {}, onMonthPicked = () => {}, onDatePicked = () => {}, onResetDate = () => {}, onResetDefaultDate = () => {} }) => {\n let defaultDateDate = DATE;\n let defaultDateMonth = MONTH;\n let defaultDateYear = YEAR;\n let defaultDates = getDaysArray(YEAR, MONTH);\n const isDefaultDateValid = useMemo(() => isValidDate(defaultDate), [defaultDate]);\n if (isDefaultDateValid) {\n const dateStr = defaultDate.split('-');\n defaultDateYear = Number(dateStr[0]);\n defaultDateMonth = Number(dateStr[1]);\n defaultDateDate = Number(dateStr[2]);\n defaultDates = getDaysArray(defaultDateYear, defaultDateMonth);\n }\n const defaultYearStr = String(defaultDateYear);\n const defaultMonthStr = formatDateString(defaultDateMonth);\n const defaultDateStr = formatDateString(defaultDateDate);\n const [dates, setDates] = useState(defaultDates);\n const [pickedYearMonth, setPickedYearMonth] = useState({\n year: defaultYearStr,\n month: defaultMonthStr,\n string: `${defaultYearStr}-${defaultMonthStr}`,\n });\n const [defaultDateObj, setDefaultDateObj] = useState({\n year: defaultYearStr,\n month: defaultMonthStr,\n date: defaultDateStr,\n });\n const [pickedDateInfo, setPickedDateInfo] = useState({\n year: defaultYearStr,\n month: defaultMonthStr,\n date: defaultDateStr,\n });\n const [direction, setDirection] = useState(NEXT_TRANSITION);\n const [yearSelectorPanelList, setYearSelectorPanelList] = useState(getYearSet(defaultDateYear));\n const [yearSelectorPanel, setYearSelectorPanel] = useState(defaultDateYear);\n const [showMask, setShowMask] = useState(false);\n const [showSelectorPanel, setShowSelectorPanel] = useState(false);\n const $monthSelectorPanel = useRef(null);\n const onMouseDown = useCallback(() => {}, []);\n const onMouseUp = useCallback(() => {}, []);\n useEffect(\n () => {\n setDates(getDaysArray(Number(pickedYearMonth.year), Number(pickedYearMonth.month)));\n },\n [pickedYearMonth],\n );\n const pickYear = useCallback(\n (year, direction) => {\n year = Number(year);\n if (direction === PREV_TRANSITION) {\n year = year - 1;\n } else {\n year = year + 1;\n }\n setPickedYearMonth({ ...pickedYearMonth, year, string: `${year}-${pickedYearMonth.month}` });\n setDirection(direction);\n onYearPicked({ year });\n },\n [pickedYearMonth],\n );\n const pickMonth = useCallback(\n (month, direction) => {\n month = Number(month);\n let year = Number(pickedYearMonth.year);\n if (direction === PREV_TRANSITION) {\n if (month === 1) {\n month = 12;\n year = year - 1;\n } else {\n month = month - 1;\n }\n } else {\n if (month === 12) {\n month = 1;\n year = year + 1;\n } else {\n month = month + 1;\n }\n }\n const yearStr = String(year);\n const monthStr = formatDateString(month);\n setPickedYearMonth({ ...pickedYearMonth, year: yearStr, month: monthStr, string: `${yearStr}-${monthStr}` });\n setDirection(direction);\n onMonthPicked({ year: yearStr, month: monthStr });\n },\n [pickedYearMonth],\n );\n const pickDate = useCallback(\n pickedDate => {\n const newPickedDateInfo = {\n ...pickedDateInfo,\n year: pickedYearMonth.year,\n month: pickedYearMonth.month,\n date: formatDateString(pickedDate),\n };\n setPickedDateInfo(newPickedDateInfo);\n onDatePicked(newPickedDateInfo);\n },\n [pickedYearMonth, pickedDateInfo],\n );\n const reset = useCallback(\n (today = false) => {\n let year = YEAR;\n let month = MONTH;\n let date = DATE;\n if (!today) {\n const dateStr = defaultDate.split('-');\n year = Number(dateStr[0]);\n month = Number(dateStr[1]);\n date = Number(dateStr[2]);\n }\n let direction = NEXT_TRANSITION;\n if (year < Number(pickedYearMonth.year)) {\n direction = PREV_TRANSITION;\n } else if (year === Number(pickedYearMonth.year)) {\n if (month < Number(pickedYearMonth.month)) {\n direction = PREV_TRANSITION;\n }\n }\n const yearStr = formatDateString(year);\n const monthStr = formatDateString(month);\n const dateStr = formatDateString(date);\n setPickedDateInfo({\n ...pickedDateInfo,\n year: yearStr,\n month: monthStr,\n date: dateStr,\n });\n setPickedYearMonth({\n ...pickedYearMonth,\n year: yearStr,\n month: monthStr,\n string: `${yearStr}-${monthStr}`,\n });\n changeSelectorPanelYearSet(year, direction);\n if (!today) {\n onResetDefaultDate(pickedDateInfo);\n } else {\n onResetDate(pickedDateInfo);\n }\n },\n [pickedYearMonth],\n );\n const changeSelectorPanelYearSet = useCallback((yearSelectorPanel, direction) => {\n setDirection(direction);\n setYearSelectorPanel(yearSelectorPanel);\n setYearSelectorPanelList(getYearSet(yearSelectorPanel));\n }, []);\n const handleShowSelectorPanel = useCallback(\n () => {\n setShowSelectorPanel(!showSelectorPanel);\n setShowMask(!showMask);\n },\n [showSelectorPanel, showMask],\n );\n let transitionContainerStyle;\n let content;\n if (dates.length) {\n let row = dates.length / WEEK_NUMBER;\n let rowIndex = 1;\n let rowObj = {};\n dates.map((item, key) => {\n if (key < rowIndex * WEEK_NUMBER) {\n if (!rowObj[rowIndex]) {\n rowObj[rowIndex] = [];\n }\n rowObj[rowIndex].push(item);\n } else {\n rowIndex = rowIndex + 1;\n if (!rowObj[rowIndex]) {\n rowObj[rowIndex] = [];\n }\n rowObj[rowIndex].push(item);\n }\n });\n content = ;\n transitionContainerStyle = {\n height: `${row * ITEM_HEIGHT}px`,\n };\n }\n const captionHtml = LOCALE[locale].weeks.map((item, key) => {\n return (\n
\n {item}\n
\n );\n });\n let selectorPanelClass = cx('react-minimal-datetime-range-dropdown', 'react-minimal-datetime-range-calendar__selector-panel', showSelectorPanel && 'visible');\n let selectorPanelMonthHtml = LOCALE[locale].months.map((item, key) => {\n let itemMonth = key + 1;\n let monthItemClass = cx('react-minimal-datetime-range-dropdown-calendar__month-item', itemMonth == pickedYearMonth.month && 'active');\n let month = itemMonth - 1;\n let direction = NEXT_TRANSITION;\n if (itemMonth < pickedYearMonth.month) {\n direction = PREV_TRANSITION;\n month = itemMonth + 1;\n }\n return (\n pickMonth(month, direction)\n : () => {\n return;\n }\n }\n key={key}\n >\n
{item}
\n \n );\n });\n let selectorPanelYearHtml;\n if (yearSelectorPanelList.length) {\n selectorPanelYearHtml = yearSelectorPanelList.map((item, key) => {\n let yearItemClass = cx('react-minimal-datetime-range-dropdown-calendar__year-item', item == pickedYearMonth.year && 'active');\n let year = item - 1;\n let direction = NEXT_TRANSITION;\n if (item < pickedYearMonth.year) {\n direction = PREV_TRANSITION;\n year = item + 1;\n }\n return (\n pickYear(year, direction)\n : () => {\n return;\n }\n }\n key={key}\n >\n {item}\n \n );\n });\n }\n return (\n
\n
\n
\n
\n
{selectorPanelMonthHtml}
\n
\n
\n changeSelectorPanelYearSet(yearSelectorPanel - SELECTOR_YEAR_SET_NUMBER, PREV_TRANSITION)}\n >\n \n \n \n
\n
\n \n
\n {selectorPanelYearHtml}\n
\n \n
\n
\n changeSelectorPanelYearSet(yearSelectorPanel + SELECTOR_YEAR_SET_NUMBER, NEXT_TRANSITION)}\n >\n \n \n \n
\n
\n
\n
\n
pickYear(pickedYearMonth.year, PREV_TRANSITION)}>\n \n \n \n \n
\n
pickMonth(pickedYearMonth.month, PREV_TRANSITION)}>\n \n \n \n \n
\n
\n
\n \n
\n \n \n {`${LOCALE[locale].months[pickedYearMonth.month - 1]}`}\n \n  \n \n {`${pickedYearMonth.year}`}\n \n \n
\n \n
\n
\n
pickMonth(pickedYearMonth.month, NEXT_TRANSITION)}>\n \n \n \n \n
\n
pickYear(pickedYearMonth.year, NEXT_TRANSITION)}>\n \n \n \n \n
\n
\n
\n
\n
\n
{captionHtml}
\n
\n \n {content}\n \n
\n
reset(true)}>\n {LOCALE[locale]['today']}\n \n
\n {isDefaultDateValid ? (\n
reset(false)}>\n {LOCALE[locale]['reset-date']}\n \n
\n ) : (\n ``\n )}\n
\n );\n});\n\nconst CalendarBody = memo(({ data = {}, pickedDateInfo = {}, pickedYearMonth = {}, onClick = () => {} }) => {\n const content = Object.keys(data).map(key => {\n let colHtml;\n if (data[key].length) {\n colHtml = data[key].map((item, key) => {\n const isPicked = pickedDateInfo.date === item.name && pickedDateInfo.month === item.month && pickedDateInfo.year === item.year;\n let isDisabled = pickedYearMonth.month !== item.month;\n const datePickerItemClass = cx(\n 'react-minimal-datetime-range-calendar__table-cel',\n 'react-minimal-datetime-range-calendar__date-item',\n isDisabled && 'disabled',\n DATE == item.name && MONTH == item.month && YEAR == item.year && 'today',\n isPicked && 'active',\n );\n return ;\n });\n }\n return (\n
\n {colHtml}\n
\n );\n });\n return
{content}
;\n});\n\nconst CalendarItem = memo(({ item = {}, isPicked = false, isDisabled = false, datePickerItemClass = '', onClick = () => {} }) => {\n const handleOnClick = useCallback(\n () => {\n onClick(item.name);\n },\n [item.name],\n );\n return (\n {\n return;\n }\n }\n >\n {item.name}\n {isPicked && (\n \n \n \n \n )}\n
\n );\n});\n\nexport default Index;\n","import React, { useState, useEffect, useRef, useMemo, useCallback, memo } from 'react';\nimport ReactCSSTransitionGroup from 'react-addons-css-transition-group';\nimport LOCALE from './locale.js';\nimport { WEEK_NUMBER, PREV_TRANSITION, NEXT_TRANSITION, SELECTOR_YEAR_SET_NUMBER, getDaysArray, getYearSet, formatDateString, isWith1Month } from './const';\nimport { cx, isValidDate } from './utils.js';\n\nconst TODAY = new Date();\nconst YEAR = TODAY.getFullYear();\nconst MONTH = TODAY.getMonth() + 1;\nconst DATE = TODAY.getDate();\n\nconst ITEM_HEIGHT = 40;\n\nconst Index = memo(\n ({\n selected,\n setSelected,\n locale = 'en-us',\n defaultDateStart = '',\n defaultDateEnd = '',\n rangeDirection = 'start',\n startDatePickedArray = [], // [YY, MM, DD]\n endDatePickedArray = [], // [YY, MM, DD]\n handleChooseStartDate = () => {},\n handleChooseEndDate = () => {},\n currentDateObjStart = () => {},\n currentDateObjEnd = () => {},\n setCurrentDateObjStart = () => {},\n setCurrentDateObjEnd = () => {},\n }) => {\n let defaultDateDateStart = DATE;\n let defaultDateMonthStart = MONTH;\n let defaultDateYearStart = YEAR;\n\n let defaultDateDateEnd = defaultDateDateStart;\n let defaultDateMonthEnd;\n let defaultDateYearEnd = defaultDateYearStart;\n\n if (defaultDateMonthStart === 12) {\n defaultDateMonthEnd = 1;\n defaultDateYearEnd = defaultDateYearStart + 1;\n } else {\n defaultDateMonthEnd = defaultDateMonthStart + 1;\n }\n\n const isDefaultDateValidStart = useMemo(() => isValidDate(defaultDateStart), [defaultDateStart]);\n if (isDefaultDateValidStart) {\n const dateStr = defaultDateStart.split('-');\n defaultDateYearStart = Number(dateStr[0]);\n defaultDateMonthStart = Number(dateStr[1]);\n defaultDateDateStart = Number(dateStr[2]);\n }\n const isDefaultDateValidEnd = useMemo(() => isValidDate(defaultDateEnd), [defaultDateEnd]);\n if (isDefaultDateValidEnd) {\n const dateStr = defaultDateEnd.split('-');\n defaultDateYearEnd = Number(dateStr[0]);\n defaultDateMonthEnd = Number(dateStr[1]);\n defaultDateDateEnd = Number(dateStr[2]);\n // special handle\n if (defaultDateMonthStart === 12) {\n defaultDateMonthEnd = 1;\n defaultDateYearEnd = defaultDateYearStart + 1;\n } else {\n defaultDateMonthEnd = defaultDateMonthStart + 1;\n }\n }\n\n let showPrevYearArrow = true;\n let showPrevMonthArrow = true;\n let showNextYearArrow = true;\n let showNextMonthArrow = true;\n\n if (currentDateObjStart.string && currentDateObjEnd.string) {\n if (rangeDirection === 'start') {\n if (isWith1Month(currentDateObjStart.year, currentDateObjEnd.year, currentDateObjStart.month, currentDateObjEnd.month, 'add')) {\n showNextYearArrow = false;\n showNextMonthArrow = false;\n }\n } else {\n if (isWith1Month(currentDateObjEnd.year, currentDateObjStart.year, currentDateObjEnd.month, currentDateObjStart.month, 'minus')) {\n showPrevYearArrow = false;\n showPrevMonthArrow = false;\n }\n }\n }\n\n const defaultDatesStart = getDaysArray(defaultDateYearStart, defaultDateMonthStart);\n const defaultDatesEnd = getDaysArray(defaultDateYearEnd, defaultDateMonthEnd);\n\n let defaultDateMonth;\n let defaultDateDate;\n let defaultDateYear;\n let defaultDates;\n let defaultYearStr;\n let defaultMonthStr;\n let defaultDateStr;\n\n if (rangeDirection === 'start') {\n defaultDateMonth = defaultDateMonthStart;\n defaultDateDate = defaultDateDateStart;\n defaultDateYear = defaultDateYearStart;\n defaultDates = defaultDatesStart;\n defaultYearStr = formatDateString(defaultDateYearStart);\n defaultMonthStr = formatDateString(defaultDateMonthStart);\n defaultDateStr = formatDateString(defaultDateDateStart);\n } else {\n defaultDateMonth = defaultDateMonthEnd;\n defaultDateDate = defaultDateDateEnd;\n defaultDateYear = defaultDateYearEnd;\n defaultDates = defaultDatesEnd;\n defaultYearStr = formatDateString(defaultDateYearEnd);\n defaultMonthStr = formatDateString(defaultDateMonthEnd);\n defaultDateStr = formatDateString(defaultDateDateEnd);\n }\n\n useEffect(\n () => {\n if (rangeDirection === 'start') {\n setCurrentDateObjStart({ year: defaultDateYear, month: defaultDateMonth, string: `${defaultDateYear}-${defaultDateMonth}` });\n } else {\n setCurrentDateObjEnd({ year: defaultDateYear, month: defaultDateMonth, string: `${defaultDateYear}-${defaultDateMonth}` });\n }\n },\n [rangeDirection, defaultDateYear, defaultDateMonth],\n );\n\n const [dates, setDates] = useState(defaultDates);\n const [pickedYearMonth, setPickedYearMonth] = useState({\n year: defaultYearStr,\n month: defaultMonthStr,\n string: `${defaultYearStr}-${defaultMonthStr}`,\n });\n const [defaultDateObj, setDefaultDateObj] = useState({\n year: defaultYearStr,\n month: defaultMonthStr,\n date: defaultDateStr,\n });\n const [pickedDateInfo, setPickedDateInfo] = useState({\n year: defaultYearStr,\n month: defaultMonthStr,\n date: defaultDateStr,\n });\n const [direction, setDirection] = useState(NEXT_TRANSITION);\n const [yearSelectorPanelList, setYearSelectorPanelList] = useState(getYearSet(defaultDateYear));\n const [yearSelectorPanel, setYearSelectorPanel] = useState(defaultDateYear);\n const [showMask, setShowMask] = useState(false);\n const [showSelectorPanel, setShowSelectorPanel] = useState(false);\n const $monthSelectorPanel = useRef(null);\n const onMouseDown = useCallback(() => {}, []);\n const onMouseUp = useCallback(() => {}, []);\n useEffect(\n () => {\n setDates(getDaysArray(Number(pickedYearMonth.year), Number(pickedYearMonth.month)));\n },\n [pickedYearMonth],\n );\n const pickYear = useCallback(\n (year, direction) => {\n year = Number(year);\n if (direction === PREV_TRANSITION) {\n year = year - 1;\n } else {\n year = year + 1;\n }\n const newData = { ...pickedYearMonth, year, string: `${year}-${pickedYearMonth.month}` };\n setPickedYearMonth(newData);\n if (rangeDirection === 'start') {\n setCurrentDateObjStart(newData);\n } else {\n setCurrentDateObjEnd(newData);\n }\n setDirection(direction);\n },\n [pickedYearMonth],\n );\n const pickMonth = useCallback(\n (month, direction) => {\n month = Number(month);\n let year = Number(pickedYearMonth.year);\n if (direction === PREV_TRANSITION) {\n if (month === 1) {\n month = 12;\n year = year - 1;\n } else {\n month = month - 1;\n }\n } else {\n if (month === 12) {\n month = 1;\n year = year + 1;\n } else {\n month = month + 1;\n }\n }\n const yearStr = String(year);\n const monthStr = formatDateString(month);\n const newData = { ...pickedYearMonth, year: yearStr, month: monthStr, string: `${yearStr}-${monthStr}` };\n setPickedYearMonth(newData);\n if (rangeDirection === 'start') {\n setCurrentDateObjStart(newData);\n } else {\n setCurrentDateObjEnd(newData);\n }\n setDirection(direction);\n },\n [pickedYearMonth],\n );\n const pickDate = useCallback(pickedDate => {}, []);\n const changeSelectorPanelYearSet = useCallback((yearSelectorPanel, direction) => {\n setDirection(direction);\n setYearSelectorPanel(yearSelectorPanel);\n setYearSelectorPanelList(getYearSet(yearSelectorPanel));\n }, []);\n const handleShowSelectorPanel = useCallback(\n () => {\n setShowSelectorPanel(!showSelectorPanel);\n setShowMask(!showMask);\n },\n [showSelectorPanel, showMask],\n );\n let transitionContainerStyle;\n let content;\n if (dates.length) {\n let row = dates.length / WEEK_NUMBER;\n let rowIndex = 1;\n let rowObj = {};\n dates.map((item, key) => {\n if (key < rowIndex * WEEK_NUMBER) {\n if (!rowObj[rowIndex]) {\n rowObj[rowIndex] = [];\n }\n rowObj[rowIndex].push(item);\n } else {\n rowIndex = rowIndex + 1;\n if (!rowObj[rowIndex]) {\n rowObj[rowIndex] = [];\n }\n rowObj[rowIndex].push(item);\n }\n });\n content = (\n \n );\n transitionContainerStyle = {\n height: `${row * ITEM_HEIGHT}px`,\n };\n }\n const captionHtml = LOCALE[locale].weeks.map((item, key) => {\n return (\n
\n {item}\n
\n );\n });\n let selectorPanelClass = cx('react-minimal-datetime-range-dropdown', 'react-minimal-datetime-range-calendar__selector-panel', showSelectorPanel && 'visible');\n let selectorPanelMonthHtml = LOCALE[locale].months.map((item, key) => {\n let itemMonth = key + 1;\n let monthItemClass = cx('react-minimal-datetime-range-dropdown-calendar__month-item', itemMonth == pickedYearMonth.month && 'active');\n let month = itemMonth - 1;\n let direction = NEXT_TRANSITION;\n if (itemMonth < pickedYearMonth.month) {\n direction = PREV_TRANSITION;\n month = itemMonth + 1;\n }\n return (\n pickMonth(month, direction)\n : () => {\n return;\n }\n }\n key={key}\n >\n
{item}
\n \n );\n });\n let selectorPanelYearHtml;\n if (yearSelectorPanelList.length) {\n selectorPanelYearHtml = yearSelectorPanelList.map((item, key) => {\n let yearItemClass = cx('react-minimal-datetime-range-dropdown-calendar__year-item', item == pickedYearMonth.year && 'active');\n let year = item - 1;\n let direction = NEXT_TRANSITION;\n if (item < pickedYearMonth.year) {\n direction = PREV_TRANSITION;\n year = item + 1;\n }\n return (\n pickYear(year, direction)\n : () => {\n return;\n }\n }\n key={key}\n >\n {item}\n \n );\n });\n }\n return (\n
\n
\n
\n
\n
{selectorPanelMonthHtml}
\n
\n
\n changeSelectorPanelYearSet(yearSelectorPanel - SELECTOR_YEAR_SET_NUMBER, PREV_TRANSITION)}\n >\n \n \n \n
\n
\n \n
\n {selectorPanelYearHtml}\n
\n \n
\n
\n changeSelectorPanelYearSet(yearSelectorPanel + SELECTOR_YEAR_SET_NUMBER, NEXT_TRANSITION)}\n >\n \n \n \n
\n
\n
\n
\n {showPrevYearArrow && (\n
pickYear(pickedYearMonth.year, PREV_TRANSITION)}>\n \n \n \n \n
\n )}\n {showPrevMonthArrow && (\n
pickMonth(pickedYearMonth.month, PREV_TRANSITION)}>\n \n \n \n \n
\n )}\n
\n
\n \n
\n \n \n {`${LOCALE[locale].months[pickedYearMonth.month - 1]}`}\n \n  \n \n {`${pickedYearMonth.year}`}\n \n \n
\n \n
\n
\n {showNextMonthArrow && (\n
pickMonth(pickedYearMonth.month, NEXT_TRANSITION)}>\n \n \n \n \n
\n )}\n {showNextYearArrow && (\n
pickYear(pickedYearMonth.year, NEXT_TRANSITION)}>\n \n \n \n \n
\n )}\n
\n
\n
\n
\n
{captionHtml}
\n
\n \n {content}\n \n
\n
\n );\n },\n);\n\nconst CalendarBody = memo(\n ({\n selected,\n setSelected,\n startDatePickedArray,\n endDatePickedArray,\n handleChooseStartDate,\n handleChooseEndDate,\n rangeDirection,\n data = {},\n pickedDateInfo = {},\n pickedYearMonth = {},\n onClick = () => {},\n }) => {\n const content = Object.keys(data).map(key => {\n let colHtml;\n if (data[key].length) {\n colHtml = data[key].map((item, key) => {\n const itemDate = new Date(`${item.year}-${item.month}-${item.name}`);\n let isDisabled = pickedYearMonth.month !== item.month;\n let isPickedStart = false;\n let isPickedEnd = false;\n let isHighlight = false;\n if (isDisabled === false) {\n let starts = startDatePickedArray;\n let ends = endDatePickedArray;\n if (startDatePickedArray.length && endDatePickedArray.length) {\n const a = new Date(startDatePickedArray.join('-'));\n const b = new Date(endDatePickedArray.join('-'));\n starts = a < b ? startDatePickedArray : endDatePickedArray;\n ends = a > b ? startDatePickedArray : endDatePickedArray;\n }\n if (starts.length) {\n isPickedStart = starts[0] === item.year && starts[1] === item.month && starts[2] === item.name;\n const targetDate = new Date(starts.join('-'));\n if (!ends.length) {\n if (itemDate > targetDate) {\n isHighlight = true;\n }\n } else {\n if (itemDate > targetDate && itemDate < new Date(ends.join('-'))) {\n isHighlight = true;\n }\n }\n }\n if (ends.length) {\n isPickedEnd = ends[0] === item.year && ends[1] === item.month && ends[2] === item.name;\n }\n }\n const datePickerItemClass = cx(\n 'react-minimal-datetime-range-calendar__table-cel',\n 'react-minimal-datetime-range-calendar__date-item',\n 'range',\n isDisabled && 'disabled',\n isPickedStart && 'active',\n isPickedEnd && 'active',\n isHighlight && 'highlight',\n DATE == item.name && MONTH == item.month && YEAR == item.year && 'today',\n );\n return (\n \n );\n });\n }\n return (\n
\n {colHtml}\n
\n );\n });\n return
{content}
;\n },\n);\n\nconst CalendarItem = memo(\n ({ selected, setSelected, startDatePickedArray, endDatePickedArray, handleChooseStartDate, handleChooseEndDate, item = {}, datePickerItemClass = '', onClick = () => {} }) => {\n const handleOnClick = useCallback(\n () => {\n if (startDatePickedArray.length) {\n setSelected(true);\n handleChooseEndDate(item);\n } else {\n handleChooseStartDate(item);\n }\n if (selected) {\n handleChooseEndDate({ year: '', month: '', name: '', value: '' });\n handleChooseStartDate(item);\n setSelected(false);\n }\n },\n [item, selected, startDatePickedArray, endDatePickedArray],\n );\n const handleOnMouseOver = useCallback(\n () => {\n if (!selected) {\n if (startDatePickedArray.length) {\n handleChooseEndDate(item);\n }\n }\n },\n [item, selected, startDatePickedArray, endDatePickedArray],\n );\n return (\n
\n {item.name}\n
\n );\n },\n);\n\nexport default Index;\n","import React, { memo } from 'react';\nimport { formatDateString } from './const';\nimport { cx, isValidDate } from './utils.js';\n\nconst HOURS = [...Array(24).keys()];\nconst MINUTES = [...Array(60).keys()];\n\nconst Index = memo(\n ({\n startDatePickedArray,\n endDatePickedArray,\n handleChooseStartTimeHour,\n handleChooseStartTimeMinute,\n handleChooseEndTimeHour,\n handleChooseEndTimeMinute,\n startTimePickedArray,\n endTimePickedArray,\n }) => {\n return (\n
\n
\n
{startDatePickedArray.join('-')}
\n
{endDatePickedArray.join('-')}
\n
\n
\n {HOURS.map(i => {\n const item = formatDateString(i);\n return (\n
handleChooseStartTimeHour(item)}>\n {item}\n
\n );\n })}\n
\n
\n {MINUTES.map(i => {\n const item = formatDateString(i);\n return (\n
handleChooseStartTimeMinute(item)}>\n {item}\n
\n );\n })}\n
\n
\n {HOURS.map(i => {\n const item = formatDateString(i);\n return (\n
handleChooseEndTimeHour(item)}>\n {item}\n
\n );\n })}\n
\n
\n {MINUTES.map(i => {\n const item = formatDateString(i);\n return (\n
handleChooseEndTimeMinute(item)}>\n {item}\n
\n );\n })}\n
\n
\n );\n },\n);\n\nexport default Index;\n","import React, { useState, useEffect, useRef, useMemo, useCallback, memo } from 'react';\nimport { cx, isValidDate } from './utils.js';\nimport LOCALE from './locale.js';\nimport Calendar from './Calendar.js';\nimport RangeDate from './RangeDate.js';\nimport RangeTime from './RangeTime.js';\nconst DEFAULT_LACALE = 'en-us';\ntry {\n STYLES = require('./react-minimal-datetime-range.css');\n} catch (ex) {}\nexport const CalendarPicker = memo(\n ({\n locale = DEFAULT_LACALE,\n show = false,\n onClose = () => {},\n defaultDate = '',\n onYearPicked = () => {},\n onMonthPicked = () => {},\n onDatePicked = () => {},\n onResetDate = () => {},\n onResetDefaultDate = () => {},\n style = {},\n }) => {\n const [internalShow, setInternalShow] = useState(show);\n const handleOnClose = useCallback(() => {\n setInternalShow(false);\n onClose && onClose();\n }, []);\n const handleOnYearPicked = useCallback(yearObj => {\n onYearPicked && onYearPicked(yearObj);\n }, []);\n const handleOnMonthPicked = useCallback(monthObj => {\n onMonthPicked && onMonthPicked(monthObj);\n }, []);\n const handleOnDatePicked = useCallback(dateObj => {\n onDatePicked && onDatePicked(dateObj);\n }, []);\n const handleOnResetDate = useCallback(dateObj => {\n onResetDate && onResetDate(dateObj);\n }, []);\n const handleOnResetDefaultDate = useCallback(dateObj => {\n onResetDefaultDate && onResetDefaultDate(dateObj);\n }, []);\n useEffect(\n () => {\n setInternalShow(show);\n },\n [show],\n );\n return (\n
\n {internalShow && (\n \n )}\n
\n );\n },\n);\n\nconst CalendarPickerComponent = memo(({ show, defaultDate, locale, onClose, handleOnYearPicked, handleOnMonthPicked, handleOnDatePicked, handleOnResetDate, handleOnResetDefaultDate }) => {\n const [internalShow, setInternalShow] = useState(false);\n const handleOnClose = useCallback(() => {\n setInternalShow(false);\n onClose && onClose();\n }, []);\n useEffect(\n () => {\n if (show) {\n setTimeout(() => {\n setInternalShow(true);\n }, 0);\n }\n },\n [show],\n );\n const componentClass = useMemo(() => cx('react-minimal-datetime-range', internalShow && 'visible'), [internalShow]);\n return (\n
\n \n \n \n
\n \n
\n
\n );\n});\n\nconst TYPES = ['date', 'time'];\n\nexport const RangePicker = memo(\n ({ locale = DEFAULT_LACALE, placeholder = ['', ''], defaultDates = ['', ''], defaultTimes = ['', ''], show = false, onConfirm = () => {}, onClear = () => {}, onClose = () => {}, style = {} }) => {\n // ['YYYY-MM-DD', 'YYYY-MM-DD'] // ['hh:mm', 'hh:mm']\n const isDefaultDatesValid = useMemo(\n () => {\n let isValid = false;\n if (defaultDates.length === 2) {\n isValid = true;\n defaultDates.forEach(defaultDate => {\n if (!isValidDate(defaultDate)) {\n isValid = false;\n }\n });\n }\n return isValid;\n },\n [defaultDates],\n );\n const [selected, setSelected] = useState(isDefaultDatesValid ? true : false);\n const [start, setStart] = useState(defaultDates[0] ? `${defaultDates[0]} ${defaultTimes[0] ? defaultTimes[0] : ''}` : '');\n const [end, setEnd] = useState(defaultDates[1] ? `${defaultDates[1]} ${defaultTimes[1] ? defaultTimes[1] : ''}` : '');\n const [type, setType] = useState(TYPES[0]);\n const [internalShow, setInternalShow] = useState(show);\n const [startDatePickedArray, setStartDatePickedArray] = useState(defaultDates[0] ? defaultDates[0].split('-') : []);\n const [endDatePickedArray, setEndDatePickedArray] = useState(defaultDates[1] ? defaultDates[1].split('-') : []);\n const [currentDateObjStart, setCurrentDateObjStart] = useState({});\n const [currentDateObjEnd, setCurrentDateObjEnd] = useState({});\n const [startTimePickedArray, setStartTimePickedArray] = useState(['00', '00']);\n const [endTimePickedArray, setEndTimePickedArray] = useState(['00', '00']);\n const [dates, setDates] = useState(defaultDates);\n const [times, setTimes] = useState(defaultTimes);\n const handleChooseStartDate = useCallback(\n ({ name, month, year, value }) => {\n setDates([value, dates[1]]);\n setStartDatePickedArray(value === '' ? [] : [year, month, name]);\n },\n [dates],\n );\n const handleChooseEndDate = useCallback(\n ({ name, month, year, value }) => {\n setDates([dates[0], value]);\n setEndDatePickedArray(value === '' ? [] : [year, month, name]);\n },\n [dates],\n );\n const handleChooseStartTimeHour = useCallback(\n res => {\n setStartTimePickedArray([res, startTimePickedArray[1]]);\n },\n [startTimePickedArray],\n );\n const handleChooseStartTimeMinute = useCallback(\n res => {\n setStartTimePickedArray([startTimePickedArray[0], res]);\n },\n [startTimePickedArray],\n );\n const handleChooseEndTimeHour = useCallback(\n res => {\n setEndTimePickedArray([res, endTimePickedArray[1]]);\n },\n [endTimePickedArray],\n );\n const handleChooseEndTimeMinute = useCallback(\n res => {\n setEndTimePickedArray([endTimePickedArray[0], res]);\n },\n [endTimePickedArray],\n );\n const handleOnChangeType = useCallback(\n () => {\n if (type === TYPES[0]) {\n setType(TYPES[1]);\n } else {\n setType(TYPES[0]);\n }\n },\n [type],\n );\n const handleOnConfirm = useCallback(\n () => {\n const a = new Date(startDatePickedArray.join('-'));\n const b = new Date(endDatePickedArray.join('-'));\n const starts = a < b ? startDatePickedArray : endDatePickedArray;\n const ends = a > b ? startDatePickedArray : endDatePickedArray;\n const startStr = `${starts.join('-')} ${startTimePickedArray.join(':')}`;\n const endStr = `${ends.join('-')} ${endTimePickedArray.join(':')}`;\n setStart(startStr);\n setEnd(endStr);\n setStartDatePickedArray(starts);\n setEndDatePickedArray(ends);\n setDates([starts.join('-'), ends.join('-')]);\n setInternalShow(false);\n onConfirm && onConfirm([startStr, endStr]);\n },\n [startDatePickedArray, endDatePickedArray, startTimePickedArray, endTimePickedArray],\n );\n const handleOnClear = useCallback(e => {\n e.stopPropagation();\n setSelected(false);\n setInternalShow(false);\n setStart('');\n setEnd('');\n setStartDatePickedArray([]);\n setEndDatePickedArray([]);\n setDates(['', '']);\n setTimes(['', '']);\n setStartTimePickedArray(['00', '00']);\n setEndTimePickedArray(['00', '00']);\n onClear && onClear();\n }, []);\n useEffect(\n () => {\n setType(TYPES[0]);\n },\n [internalShow],\n );\n useEffect(\n () => {\n if (!internalShow) {\n onClose && onClose();\n }\n },\n [internalShow],\n );\n useEffect(\n () => {\n setStart(defaultDates[0] ? `${defaultDates[0]} ${defaultTimes[0] ? defaultTimes[0] : ''}` : '');\n setEnd(defaultDates[1] ? `${defaultDates[1]} ${defaultTimes[1] ? defaultTimes[1] : ''}` : '');\n },\n [defaultDates],\n );\n return (\n
\n setInternalShow(!internalShow)}>\n \n ~ \n \n {start ? (\n \n \n \n \n ) : (\n \n \n \n \n )}\n \n {internalShow && (\n \n )}\n
\n );\n },\n);\n\nconst RangePickerComponent = memo(\n ({\n show,\n selected,\n setSelected,\n handleChooseStartDate,\n handleChooseEndDate,\n dates,\n times,\n locale,\n startDatePickedArray,\n endDatePickedArray,\n type,\n handleOnChangeType,\n handleOnConfirm,\n handleChooseStartTimeHour,\n handleChooseStartTimeMinute,\n handleChooseEndTimeHour,\n handleChooseEndTimeMinute,\n startTimePickedArray,\n endTimePickedArray,\n currentDateObjList,\n currentDateObjStart,\n setCurrentDateObjStart,\n currentDateObjEnd,\n setCurrentDateObjEnd,\n }) => {\n const [internalShow, setInternalShow] = useState(false);\n useEffect(\n () => {\n if (show) {\n setTimeout(() => {\n setInternalShow(true);\n }, 0);\n }\n },\n [show],\n );\n const componentClass = useMemo(() => cx('react-minimal-datetime-range', internalShow && 'visible'), [internalShow]);\n return (\n
\n
\n \n \n {type === TYPES[1] && (\n
\n \n
\n )}\n
\n
\n
{}}>\n {type === TYPES[0] ? LOCALE[locale][TYPES[1]] : LOCALE[locale][TYPES[0]]}\n
\n
{}}>\n {LOCALE[locale]['confirm']}\n
\n
\n
\n );\n },\n);\n","import * as Index from './index.js';\n\nif (typeof window !== 'undefined') {\n\twindow.ReactMinimalDateTimeRange = Index;\n}\n\nexport default Index;\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://react-minimal-datetime-range/webpack/universalModuleDefinition","webpack://react-minimal-datetime-range/webpack/bootstrap","webpack://react-minimal-datetime-range/external \"React\"","webpack://react-minimal-datetime-range/./node_modules/_react-addons-css-transition-group@15.6.2@react-addons-css-transition-group/index.js","webpack://react-minimal-datetime-range/./node_modules/_prop-types@15.7.2@prop-types/index.js","webpack://react-minimal-datetime-range/./node_modules/_@babel_runtime@7.9.2@@babel/runtime/helpers/interopRequireDefault.js","webpack://react-minimal-datetime-range/./node_modules/_dom-helpers@3.4.0@dom-helpers/util/inDOM.js","webpack://react-minimal-datetime-range/./node_modules/_react-transition-group@1.2.1@react-transition-group/utils/PropTypes.js","webpack://react-minimal-datetime-range/./node_modules/_react-transition-group@1.2.1@react-transition-group/CSSTransitionGroup.js","webpack://react-minimal-datetime-range/./node_modules/_prop-types@15.7.2@prop-types/factoryWithThrowingShims.js","webpack://react-minimal-datetime-range/./node_modules/_prop-types@15.7.2@prop-types/lib/ReactPropTypesSecret.js","webpack://react-minimal-datetime-range/./node_modules/_react-transition-group@1.2.1@react-transition-group/TransitionGroup.js","webpack://react-minimal-datetime-range/./node_modules/_chain-function@1.0.1@chain-function/index.js","webpack://react-minimal-datetime-range/./node_modules/_warning@3.0.0@warning/browser.js","webpack://react-minimal-datetime-range/./node_modules/_react-transition-group@1.2.1@react-transition-group/utils/ChildMapping.js","webpack://react-minimal-datetime-range/./node_modules/_react-transition-group@1.2.1@react-transition-group/CSSTransitionGroupChild.js","webpack://react-minimal-datetime-range/./node_modules/_dom-helpers@3.4.0@dom-helpers/class/addClass.js","webpack://react-minimal-datetime-range/./node_modules/_dom-helpers@3.4.0@dom-helpers/class/hasClass.js","webpack://react-minimal-datetime-range/./node_modules/_dom-helpers@3.4.0@dom-helpers/class/removeClass.js","webpack://react-minimal-datetime-range/./node_modules/_dom-helpers@3.4.0@dom-helpers/util/requestAnimationFrame.js","webpack://react-minimal-datetime-range/./node_modules/_dom-helpers@3.4.0@dom-helpers/transition/properties.js","webpack://react-minimal-datetime-range/external \"ReactDOM\"","webpack://react-minimal-datetime-range/./src/js/component/utils.js","webpack://react-minimal-datetime-range/./src/js/component/locale.js","webpack://react-minimal-datetime-range/./src/js/component/const.js","webpack://react-minimal-datetime-range/./src/js/component/Calendar.js","webpack://react-minimal-datetime-range/./src/js/component/RangeDate.js","webpack://react-minimal-datetime-range/./src/js/component/RangeTime.js","webpack://react-minimal-datetime-range/./src/js/component/index.js","webpack://react-minimal-datetime-range/./src/js/component/index.umd.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE__0__","__WEBPACK_EXTERNAL_MODULE__19__","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","obj","default","_default","window","document","createElement","nameShape","undefined","transitionTimeout","transitionType","timeoutPropName","enabledPropName","props","Error","_interopRequireDefault","_propTypes2","oneOfType","string","shape","enter","leave","active","enterActive","leaveActive","appear","appearActive","_extends","assign","target","arguments","length","source","_react2","_TransitionGroup2","_CSSTransitionGroupChild2","_PropTypes","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","isRequired","bool","CSSTransitionGroup","_React$Component","_temp","_this","_len","args","Array","_key","apply","concat","_wrapChild","child","transitionName","transitionAppear","transitionEnter","transitionLeave","appearTimeout","transitionAppearTimeout","enterTimeout","transitionEnterTimeout","leaveTimeout","transitionLeaveTimeout","subClass","superClass","constructor","writable","configurable","setPrototypeOf","__proto__","_inherits","render","childFactory","Component","displayName","propTypes","defaultProps","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","componentName","location","propFullName","secret","err","getShim","ReactPropTypes","array","func","number","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","exact","checkPropTypes","PropTypes","_chainFunction2","_ChildMapping","TransitionGroup","context","performAppear","component","currentlyTransitioningKeys","componentWillAppear","_handleDoneAppearing","componentDidAppear","currentChildMapping","getChildMapping","children","performLeave","performEnter","componentWillEnter","_handleDoneEntering","componentDidEnter","componentWillLeave","_handleDoneLeaving","componentDidLeave","keysToEnter","push","setState","state","newChildren","childRefs","componentWillMount","keysToLeave","componentDidMount","initialChildMapping","componentWillReceiveProps","nextProps","nextChildMapping","prevChildMapping","mergeChildMappings","hasPrev","hasNext","componentDidUpdate","_this2","forEach","_this3","childrenToRender","_loop","isCallbackRef","ref","factoryChild","cloneElement","len","filter","fn","reduce","current","next","result","_react","Children","map","prev","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","_addClass2","_removeClass2","_requestAnimationFrame2","_properties","_reactDom","events","transitionEnd","animationEnd","CSSTransitionGroupChild","done","transition","classNameAndNodeQueue","transitionTimeouts","componentWillUnmount","unmounted","timeout","clearTimeout","animationType","finishCallback","findDOMNode","className","activeClassName","timer","removeListeners","queueClassAndNode","finish","e","setTimeout","listener","addEventListener","removeEventListener","addEndListener","rafHandle","flushClassNameAndNodeQueue","scrollTop","only","classList","add","_hasClass","setAttribute","baseVal","contains","indexOf","replaceClassName","origClass","classToRemove","replace","RegExp","remove","compatRaf","_inDOM","cancel","raf","curr","Date","getTime","ms","Math","max","req","getKey","vendor","k","toUpperCase","substr","some","rafKey","cb","id","animationDelay","animationTiming","animationDuration","animationName","transitionDuration","transitionDelay","transitionTiming","transitionProperty","transform","prefix","_getTransitionPropert","style","vendorMap","O","toLowerCase","Moz","Webkit","vendors","keys","getTransitionProperties","end","timing","delay","duration","cx","classes","arg","argType","isArray","inner","join","isValidDate","str","isNaN","locale","w","res","today","reset","clear","now","weeks","months","date","time","confirm","REACT_MINIMAL_DATETIME_RANGE","j","console","error","getDaysArray","year","month","prevMonth","nextMonth","prevYear","nextYear","thisMonthDate","prevMonthDate","nextMonthDate","startOffset","getDay","getDaysListByMonth","endOffset","day","String","monthName","formatDateString","getMonth","dayName","getDate","item","setDate","val","Number","getYearSet","itemNumber","isWith1Month","PI","year1","year2","month1","month2","type","TODAY","YEAR","getFullYear","MONTH","DATE","Index","memo","defaultDate","onYearPicked","onMonthPicked","onDatePicked","onResetDate","onResetDefaultDate","defaultDateDate","defaultDateMonth","defaultDateYear","defaultDates","isDefaultDateValid","useMemo","dateStr","split","defaultYearStr","defaultMonthStr","defaultDateStr","useState","dates","setDates","pickedYearMonth","setPickedYearMonth","pickedDateInfo","setPickedDateInfo","direction","setDirection","yearSelectorPanelList","setYearSelectorPanelList","yearSelectorPanel","setYearSelectorPanel","showMask","setShowMask","showSelectorPanel","setShowSelectorPanel","$monthSelectorPanel","useRef","onMouseDown","useCallback","onMouseUp","useEffect","transitionContainerStyle","content","pickYear","pickMonth","yearStr","monthStr","pickDate","pickedDate","newPickedDateInfo","changeSelectorPanelYearSet","handleShowSelectorPanel","row","rowIndex","rowObj","CalendarBody","data","onClick","height","selectorPanelYearHtml","captionHtml","LOCALE","selectorPanelClass","selectorPanelMonthHtml","itemMonth","monthItemClass","yearItemClass","verticalAlign","onTouchEnd","onTouchCancel","width","viewBox","fill","colHtml","isPicked","isDisabled","datePickerItemClass","CalendarItem","handleOnClick","defaultDateMonthEnd","selected","setSelected","defaultDateStart","defaultDateEnd","rangeDirection","startDatePickedArray","endDatePickedArray","handleChooseStartDate","handleChooseEndDate","currentDateObjStart","currentDateObjEnd","setCurrentDateObjStart","setCurrentDateObjEnd","defaultDateDateStart","defaultDateMonthStart","defaultDateYearStart","defaultDateDateEnd","defaultDateYearEnd","showPrevYearArrow","showPrevMonthArrow","showNextYearArrow","showNextMonthArrow","defaultDatesStart","defaultDatesEnd","newData","itemDate","isPickedStart","isPickedEnd","isHighlight","starts","ends","a","b","targetDate","handleOnMouseOver","onMouseOver","HOURS","MINUTES","handleChooseStartTimeHour","handleChooseStartTimeMinute","handleChooseEndTimeHour","handleChooseEndTimeMinute","startTimePickedArray","endTimePickedArray","STYLES","ex","CalendarPicker","show","onClose","internalShow","setInternalShow","handleOnClose","handleOnYearPicked","yearObj","handleOnMonthPicked","monthObj","handleOnDatePicked","dateObj","handleOnResetDate","handleOnResetDefaultDate","CalendarPickerComponent","componentClass","Calendar","TYPES","RangePicker","placeholder","defaultTimes","onConfirm","onClear","isDefaultDatesValid","isValid","start","setStart","setEnd","setType","setStartDatePickedArray","setEndDatePickedArray","setStartTimePickedArray","setEndTimePickedArray","times","setTimes","handleOnChangeType","handleOnConfirm","startStr","endStr","handleOnClear","stopPropagation","readOnly","tabIndex","RangePickerComponent","currentDateObjList","RangeDate","RangeTime","defaultTimeStart","defaultTimeEnd","ReactMinimalDateTimeRange"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,S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BAAkB/D,EAAM,GACxBgE,eAAgBhE,EAAM,GACtB3E,OAAQA,EACR6I,qBAAsBA,EACtBC,mBAAoBA,EACpBG,oBAAqBA,EACrBE,uBAAwBA,EACxBD,kBAAmBA,EACnBE,qBAAsBA,IAEvBnG,IAASsJ,GAAM,IACd,yBAAK1R,UAAU,4CACb,kBAACuT,GAAD,CACEC,iBAAkBd,EAAM,GACxBe,eAAgBf,EAAM,GACtB1E,qBAAsBA,EACtBC,mBAAoBA,EACpBgC,0BAA2BA,EAC3BC,4BAA6BA,EAC7BC,wBAAyBA,EACzBC,0BAA2BA,EAC3BC,qBAAsBA,EACtBC,mBAAoBA,MAK5B,yBAAKtQ,UAAU,gDACb,yBAAKA,UAAWyE,EAAG,uCAAwC,8CAA+CkJ,GAAY,YAAavB,QAASuB,EAAWiF,EAAqB,cACzKxK,IAASsJ,GAAM,GAAKlF,EAAOrH,GAAQuM,GAAM,IAAMlF,EAAOrH,GAAQuM,GAAM,KAEvE,yBAAK1R,UAAWyE,EAAG,uCAAwC,iDAAkDkJ,GAAY,YAAavB,QAASuB,EAAWkF,EAAkB,cACzKrG,EAAOrH,GAAP,cCtYS,oBAAXnR,SACVA,OAAO0f,0BAA4BhL,GAGrBA","file":"react-minimal-datetime-range.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"React\"), require(\"ReactDOM\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"React\", \"ReactDOM\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"react-minimal-datetime-range\"] = factory(require(\"React\"), require(\"ReactDOM\"));\n\telse\n\t\troot[\"react-minimal-datetime-range\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE__0__, __WEBPACK_EXTERNAL_MODULE__19__) {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 21);\n","module.exports = __WEBPACK_EXTERNAL_MODULE__0__;","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nmodule.exports = require('react-transition-group/CSSTransitionGroup');\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault;","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _default = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nexports.default = _default;\nmodule.exports = exports[\"default\"];","'use strict';\n\nexports.__esModule = true;\nexports.nameShape = undefined;\nexports.transitionTimeout = transitionTimeout;\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction transitionTimeout(transitionType) {\n var timeoutPropName = 'transition' + transitionType + 'Timeout';\n var enabledPropName = 'transition' + transitionType;\n\n return function (props) {\n // If the transition is enabled\n if (props[enabledPropName]) {\n // If no timeout duration is provided\n if (props[timeoutPropName] == null) {\n return new Error(timeoutPropName + ' wasn\\'t supplied to CSSTransitionGroup: ' + 'this can cause unreliable animations and won\\'t be supported in ' + 'a future version of React. See ' + 'https://fb.me/react-animation-transition-group-timeout for more ' + 'information.');\n\n // If the duration isn't a number\n } else if (typeof props[timeoutPropName] !== 'number') {\n return new Error(timeoutPropName + ' must be a number (in milliseconds)');\n }\n }\n\n return null;\n };\n}\n\nvar nameShape = exports.nameShape = _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.shape({\n enter: _propTypes2.default.string,\n leave: _propTypes2.default.string,\n active: _propTypes2.default.string\n}), _propTypes2.default.shape({\n enter: _propTypes2.default.string,\n enterActive: _propTypes2.default.string,\n leave: _propTypes2.default.string,\n leaveActive: _propTypes2.default.string,\n appear: _propTypes2.default.string,\n appearActive: _propTypes2.default.string\n})]);","'use strict';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _TransitionGroup = require('./TransitionGroup');\n\nvar _TransitionGroup2 = _interopRequireDefault(_TransitionGroup);\n\nvar _CSSTransitionGroupChild = require('./CSSTransitionGroupChild');\n\nvar _CSSTransitionGroupChild2 = _interopRequireDefault(_CSSTransitionGroupChild);\n\nvar _PropTypes = require('./utils/PropTypes');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar propTypes = {\n transitionName: _PropTypes.nameShape.isRequired,\n\n transitionAppear: _propTypes2.default.bool,\n transitionEnter: _propTypes2.default.bool,\n transitionLeave: _propTypes2.default.bool,\n transitionAppearTimeout: (0, _PropTypes.transitionTimeout)('Appear'),\n transitionEnterTimeout: (0, _PropTypes.transitionTimeout)('Enter'),\n transitionLeaveTimeout: (0, _PropTypes.transitionTimeout)('Leave')\n};\n\nvar defaultProps = {\n transitionAppear: false,\n transitionEnter: true,\n transitionLeave: true\n};\n\nvar CSSTransitionGroup = function (_React$Component) {\n _inherits(CSSTransitionGroup, _React$Component);\n\n function CSSTransitionGroup() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, CSSTransitionGroup);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this._wrapChild = function (child) {\n return _react2.default.createElement(_CSSTransitionGroupChild2.default, {\n name: _this.props.transitionName,\n appear: _this.props.transitionAppear,\n enter: _this.props.transitionEnter,\n leave: _this.props.transitionLeave,\n appearTimeout: _this.props.transitionAppearTimeout,\n enterTimeout: _this.props.transitionEnterTimeout,\n leaveTimeout: _this.props.transitionLeaveTimeout\n }, child);\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n // We need to provide this childFactory so that\n // ReactCSSTransitionGroupChild can receive updates to name, enter, and\n // leave while it is leaving.\n\n\n CSSTransitionGroup.prototype.render = function render() {\n return _react2.default.createElement(_TransitionGroup2.default, _extends({}, this.props, { childFactory: this._wrapChild }));\n };\n\n return CSSTransitionGroup;\n}(_react2.default.Component);\n\nCSSTransitionGroup.displayName = 'CSSTransitionGroup';\n\n\nCSSTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nCSSTransitionGroup.defaultProps = defaultProps;\n\nexports.default = CSSTransitionGroup;\nmodule.exports = exports['default'];","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","'use strict';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _chainFunction = require('chain-function');\n\nvar _chainFunction2 = _interopRequireDefault(_chainFunction);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar _ChildMapping = require('./utils/ChildMapping');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar propTypes = {\n component: _propTypes2.default.any,\n childFactory: _propTypes2.default.func,\n children: _propTypes2.default.node\n};\n\nvar defaultProps = {\n component: 'span',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n\nvar TransitionGroup = function (_React$Component) {\n _inherits(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n _classCallCheck(this, TransitionGroup);\n\n var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));\n\n _this.performAppear = function (key, component) {\n _this.currentlyTransitioningKeys[key] = true;\n\n if (component.componentWillAppear) {\n component.componentWillAppear(_this._handleDoneAppearing.bind(_this, key, component));\n } else {\n _this._handleDoneAppearing(key, component);\n }\n };\n\n _this._handleDoneAppearing = function (key, component) {\n if (component.componentDidAppear) {\n component.componentDidAppear();\n }\n\n delete _this.currentlyTransitioningKeys[key];\n\n var currentChildMapping = (0, _ChildMapping.getChildMapping)(_this.props.children);\n\n if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) {\n // This was removed before it had fully appeared. Remove it.\n _this.performLeave(key, component);\n }\n };\n\n _this.performEnter = function (key, component) {\n _this.currentlyTransitioningKeys[key] = true;\n\n if (component.componentWillEnter) {\n component.componentWillEnter(_this._handleDoneEntering.bind(_this, key, component));\n } else {\n _this._handleDoneEntering(key, component);\n }\n };\n\n _this._handleDoneEntering = function (key, component) {\n if (component.componentDidEnter) {\n component.componentDidEnter();\n }\n\n delete _this.currentlyTransitioningKeys[key];\n\n var currentChildMapping = (0, _ChildMapping.getChildMapping)(_this.props.children);\n\n if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) {\n // This was removed before it had fully entered. Remove it.\n _this.performLeave(key, component);\n }\n };\n\n _this.performLeave = function (key, component) {\n _this.currentlyTransitioningKeys[key] = true;\n\n if (component.componentWillLeave) {\n component.componentWillLeave(_this._handleDoneLeaving.bind(_this, key, component));\n } else {\n // Note that this is somewhat dangerous b/c it calls setState()\n // again, effectively mutating the component before all the work\n // is done.\n _this._handleDoneLeaving(key, component);\n }\n };\n\n _this._handleDoneLeaving = function (key, component) {\n if (component.componentDidLeave) {\n component.componentDidLeave();\n }\n\n delete _this.currentlyTransitioningKeys[key];\n\n var currentChildMapping = (0, _ChildMapping.getChildMapping)(_this.props.children);\n\n if (currentChildMapping && currentChildMapping.hasOwnProperty(key)) {\n // This entered again before it fully left. Add it again.\n _this.keysToEnter.push(key);\n } else {\n _this.setState(function (state) {\n var newChildren = _extends({}, state.children);\n delete newChildren[key];\n return { children: newChildren };\n });\n }\n };\n\n _this.childRefs = Object.create(null);\n\n _this.state = {\n children: (0, _ChildMapping.getChildMapping)(props.children)\n };\n return _this;\n }\n\n TransitionGroup.prototype.componentWillMount = function componentWillMount() {\n this.currentlyTransitioningKeys = {};\n this.keysToEnter = [];\n this.keysToLeave = [];\n };\n\n TransitionGroup.prototype.componentDidMount = function componentDidMount() {\n var initialChildMapping = this.state.children;\n for (var key in initialChildMapping) {\n if (initialChildMapping[key]) {\n this.performAppear(key, this.childRefs[key]);\n }\n }\n };\n\n TransitionGroup.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n var nextChildMapping = (0, _ChildMapping.getChildMapping)(nextProps.children);\n var prevChildMapping = this.state.children;\n\n this.setState({\n children: (0, _ChildMapping.mergeChildMappings)(prevChildMapping, nextChildMapping)\n });\n\n for (var key in nextChildMapping) {\n var hasPrev = prevChildMapping && prevChildMapping.hasOwnProperty(key);\n if (nextChildMapping[key] && !hasPrev && !this.currentlyTransitioningKeys[key]) {\n this.keysToEnter.push(key);\n }\n }\n\n for (var _key in prevChildMapping) {\n var hasNext = nextChildMapping && nextChildMapping.hasOwnProperty(_key);\n if (prevChildMapping[_key] && !hasNext && !this.currentlyTransitioningKeys[_key]) {\n this.keysToLeave.push(_key);\n }\n }\n\n // If we want to someday check for reordering, we could do it here.\n };\n\n TransitionGroup.prototype.componentDidUpdate = function componentDidUpdate() {\n var _this2 = this;\n\n var keysToEnter = this.keysToEnter;\n this.keysToEnter = [];\n keysToEnter.forEach(function (key) {\n return _this2.performEnter(key, _this2.childRefs[key]);\n });\n\n var keysToLeave = this.keysToLeave;\n this.keysToLeave = [];\n keysToLeave.forEach(function (key) {\n return _this2.performLeave(key, _this2.childRefs[key]);\n });\n };\n\n TransitionGroup.prototype.render = function render() {\n var _this3 = this;\n\n // TODO: we could get rid of the need for the wrapper node\n // by cloning a single child\n var childrenToRender = [];\n\n var _loop = function _loop(key) {\n var child = _this3.state.children[key];\n if (child) {\n var isCallbackRef = typeof child.ref !== 'string';\n var factoryChild = _this3.props.childFactory(child);\n var ref = function ref(r) {\n _this3.childRefs[key] = r;\n };\n\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(isCallbackRef, 'string refs are not supported on children of TransitionGroup and will be ignored. ' + 'Please use a callback ref instead: https://facebook.github.io/react/docs/refs-and-the-dom.html#the-ref-callback-attribute') : void 0;\n\n // Always chaining the refs leads to problems when the childFactory\n // wraps the child. The child ref callback gets called twice with the\n // wrapper and the child. So we only need to chain the ref if the\n // factoryChild is not different from child.\n if (factoryChild === child && isCallbackRef) {\n ref = (0, _chainFunction2.default)(child.ref, ref);\n }\n\n // You may need to apply reactive updates to a child as it is leaving.\n // The normal React way to do it won't work since the child will have\n // already been removed. In case you need this behavior you can provide\n // a childFactory function to wrap every child, even the ones that are\n // leaving.\n childrenToRender.push(_react2.default.cloneElement(factoryChild, {\n key: key,\n ref: ref\n }));\n }\n };\n\n for (var key in this.state.children) {\n _loop(key);\n }\n\n // Do not forward TransitionGroup props to primitive DOM nodes\n var props = _extends({}, this.props);\n delete props.transitionLeave;\n delete props.transitionName;\n delete props.transitionAppear;\n delete props.transitionEnter;\n delete props.childFactory;\n delete props.transitionLeaveTimeout;\n delete props.transitionEnterTimeout;\n delete props.transitionAppearTimeout;\n delete props.component;\n\n return _react2.default.createElement(this.props.component, props, childrenToRender);\n };\n\n return TransitionGroup;\n}(_react2.default.Component);\n\nTransitionGroup.displayName = 'TransitionGroup';\n\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nTransitionGroup.defaultProps = defaultProps;\n\nexports.default = TransitionGroup;\nmodule.exports = exports['default'];","\nmodule.exports = function chain(){\n var len = arguments.length\n var args = [];\n\n for (var i = 0; i < len; i++)\n args[i] = arguments[i]\n\n args = args.filter(function(fn){ return fn != null })\n\n if (args.length === 0) return undefined\n if (args.length === 1) return args[0]\n\n return args.reduce(function(current, next){\n return function chainedFunction() {\n current.apply(this, arguments);\n next.apply(this, arguments);\n };\n })\n}\n","/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n\n if (format.length < 10 || (/^[s\\W]*$/).test(format)) {\n throw new Error(\n 'The warning format should be able to uniquely identify this ' +\n 'warning. Please, use a more descriptive format than: ' + format\n );\n }\n\n if (!condition) {\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch(x) {}\n }\n };\n}\n\nmodule.exports = warning;\n","'use strict';\n\nexports.__esModule = true;\nexports.getChildMapping = getChildMapping;\nexports.mergeChildMappings = mergeChildMappings;\n\nvar _react = require('react');\n\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\nfunction getChildMapping(children) {\n if (!children) {\n return children;\n }\n var result = {};\n _react.Children.map(children, function (child) {\n return child;\n }).forEach(function (child) {\n result[child.key] = child;\n });\n return result;\n}\n\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\nfunction mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n if (next.hasOwnProperty(key)) {\n return next[key];\n }\n\n return prev[key];\n }\n\n // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n var nextKeysPending = {};\n\n var pendingKeys = [];\n for (var prevKey in prev) {\n if (next.hasOwnProperty(prevKey)) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i = void 0;\n var childMapping = {};\n for (var nextKey in next) {\n if (nextKeysPending.hasOwnProperty(nextKey)) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n childMapping[nextKey] = getValueForKey(nextKey);\n }\n\n // Finally, add the keys which didn't appear before any key in `next`\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}","'use strict';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _addClass = require('dom-helpers/class/addClass');\n\nvar _addClass2 = _interopRequireDefault(_addClass);\n\nvar _removeClass = require('dom-helpers/class/removeClass');\n\nvar _removeClass2 = _interopRequireDefault(_removeClass);\n\nvar _requestAnimationFrame = require('dom-helpers/util/requestAnimationFrame');\n\nvar _requestAnimationFrame2 = _interopRequireDefault(_requestAnimationFrame);\n\nvar _properties = require('dom-helpers/transition/properties');\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _reactDom = require('react-dom');\n\nvar _PropTypes = require('./utils/PropTypes');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar events = [];\nif (_properties.transitionEnd) events.push(_properties.transitionEnd);\nif (_properties.animationEnd) events.push(_properties.animationEnd);\n\nfunction addEndListener(node, listener) {\n if (events.length) {\n events.forEach(function (e) {\n return node.addEventListener(e, listener, false);\n });\n } else {\n setTimeout(listener, 0);\n }\n\n return function () {\n if (!events.length) return;\n events.forEach(function (e) {\n return node.removeEventListener(e, listener, false);\n });\n };\n}\n\nvar propTypes = {\n children: _propTypes2.default.node,\n name: _PropTypes.nameShape.isRequired,\n\n // Once we require timeouts to be specified, we can remove the\n // boolean flags (appear etc.) and just accept a number\n // or a bool for the timeout flags (appearTimeout etc.)\n appear: _propTypes2.default.bool,\n enter: _propTypes2.default.bool,\n leave: _propTypes2.default.bool,\n appearTimeout: _propTypes2.default.number,\n enterTimeout: _propTypes2.default.number,\n leaveTimeout: _propTypes2.default.number\n};\n\nvar CSSTransitionGroupChild = function (_React$Component) {\n _inherits(CSSTransitionGroupChild, _React$Component);\n\n function CSSTransitionGroupChild() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, CSSTransitionGroupChild);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.componentWillAppear = function (done) {\n if (_this.props.appear) {\n _this.transition('appear', done, _this.props.appearTimeout);\n } else {\n done();\n }\n }, _this.componentWillEnter = function (done) {\n if (_this.props.enter) {\n _this.transition('enter', done, _this.props.enterTimeout);\n } else {\n done();\n }\n }, _this.componentWillLeave = function (done) {\n if (_this.props.leave) {\n _this.transition('leave', done, _this.props.leaveTimeout);\n } else {\n done();\n }\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n CSSTransitionGroupChild.prototype.componentWillMount = function componentWillMount() {\n this.classNameAndNodeQueue = [];\n this.transitionTimeouts = [];\n };\n\n CSSTransitionGroupChild.prototype.componentWillUnmount = function componentWillUnmount() {\n this.unmounted = true;\n\n if (this.timeout) {\n clearTimeout(this.timeout);\n }\n this.transitionTimeouts.forEach(function (timeout) {\n clearTimeout(timeout);\n });\n\n this.classNameAndNodeQueue.length = 0;\n };\n\n CSSTransitionGroupChild.prototype.transition = function transition(animationType, finishCallback, timeout) {\n var node = (0, _reactDom.findDOMNode)(this);\n\n if (!node) {\n if (finishCallback) {\n finishCallback();\n }\n return;\n }\n\n var className = this.props.name[animationType] || this.props.name + '-' + animationType;\n var activeClassName = this.props.name[animationType + 'Active'] || className + '-active';\n var timer = null;\n var removeListeners = void 0;\n\n (0, _addClass2.default)(node, className);\n\n // Need to do this to actually trigger a transition.\n this.queueClassAndNode(activeClassName, node);\n\n // Clean-up the animation after the specified delay\n var finish = function finish(e) {\n if (e && e.target !== node) {\n return;\n }\n\n clearTimeout(timer);\n if (removeListeners) removeListeners();\n\n (0, _removeClass2.default)(node, className);\n (0, _removeClass2.default)(node, activeClassName);\n\n if (removeListeners) removeListeners();\n\n // Usually this optional callback is used for informing an owner of\n // a leave animation and telling it to remove the child.\n if (finishCallback) {\n finishCallback();\n }\n };\n\n if (timeout) {\n timer = setTimeout(finish, timeout);\n this.transitionTimeouts.push(timer);\n } else if (_properties.transitionEnd) {\n removeListeners = addEndListener(node, finish);\n }\n };\n\n CSSTransitionGroupChild.prototype.queueClassAndNode = function queueClassAndNode(className, node) {\n var _this2 = this;\n\n this.classNameAndNodeQueue.push({\n className: className,\n node: node\n });\n\n if (!this.rafHandle) {\n this.rafHandle = (0, _requestAnimationFrame2.default)(function () {\n return _this2.flushClassNameAndNodeQueue();\n });\n }\n };\n\n CSSTransitionGroupChild.prototype.flushClassNameAndNodeQueue = function flushClassNameAndNodeQueue() {\n if (!this.unmounted) {\n this.classNameAndNodeQueue.forEach(function (obj) {\n // This is for to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n /* eslint-disable no-unused-expressions */\n obj.node.scrollTop;\n /* eslint-enable no-unused-expressions */\n (0, _addClass2.default)(obj.node, obj.className);\n });\n }\n this.classNameAndNodeQueue.length = 0;\n this.rafHandle = null;\n };\n\n CSSTransitionGroupChild.prototype.render = function render() {\n var props = _extends({}, this.props);\n delete props.name;\n delete props.appear;\n delete props.enter;\n delete props.leave;\n delete props.appearTimeout;\n delete props.enterTimeout;\n delete props.leaveTimeout;\n delete props.children;\n return _react2.default.cloneElement(_react2.default.Children.only(this.props.children), props);\n };\n\n return CSSTransitionGroupChild;\n}(_react2.default.Component);\n\nCSSTransitionGroupChild.displayName = 'CSSTransitionGroupChild';\n\n\nCSSTransitionGroupChild.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\n\nexports.default = CSSTransitionGroupChild;\nmodule.exports = exports['default'];","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = addClass;\n\nvar _hasClass = _interopRequireDefault(require(\"./hasClass\"));\n\nfunction addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!(0, _hasClass.default)(element, className)) if (typeof element.className === 'string') element.className = element.className + ' ' + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + ' ' + className);\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nexports.__esModule = true;\nexports.default = hasClass;\n\nfunction hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);else return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}\n\nmodule.exports = exports[\"default\"];","'use strict';\n\nfunction replaceClassName(origClass, classToRemove) {\n return origClass.replace(new RegExp('(^|\\\\s)' + classToRemove + '(?:\\\\s|$)', 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n\nmodule.exports = function removeClass(element, className) {\n if (element.classList) element.classList.remove(className);else if (typeof element.className === 'string') element.className = replaceClassName(element.className, className);else element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n};","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _inDOM = _interopRequireDefault(require(\"./inDOM\"));\n\nvar vendors = ['', 'webkit', 'moz', 'o', 'ms'];\nvar cancel = 'clearTimeout';\nvar raf = fallback;\nvar compatRaf;\n\nvar getKey = function getKey(vendor, k) {\n return vendor + (!vendor ? k : k[0].toUpperCase() + k.substr(1)) + 'AnimationFrame';\n};\n\nif (_inDOM.default) {\n vendors.some(function (vendor) {\n var rafKey = getKey(vendor, 'request');\n\n if (rafKey in window) {\n cancel = getKey(vendor, 'cancel');\n return raf = function raf(cb) {\n return window[rafKey](cb);\n };\n }\n });\n}\n/* https://github.com/component/raf */\n\n\nvar prev = new Date().getTime();\n\nfunction fallback(fn) {\n var curr = new Date().getTime(),\n ms = Math.max(0, 16 - (curr - prev)),\n req = setTimeout(fn, ms);\n prev = curr;\n return req;\n}\n\ncompatRaf = function compatRaf(cb) {\n return raf(cb);\n};\n\ncompatRaf.cancel = function (id) {\n window[cancel] && typeof window[cancel] === 'function' && window[cancel](id);\n};\n\nvar _default = compatRaf;\nexports.default = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = exports.animationEnd = exports.animationDelay = exports.animationTiming = exports.animationDuration = exports.animationName = exports.transitionEnd = exports.transitionDuration = exports.transitionDelay = exports.transitionTiming = exports.transitionProperty = exports.transform = void 0;\n\nvar _inDOM = _interopRequireDefault(require(\"../util/inDOM\"));\n\nvar transform = 'transform';\nexports.transform = transform;\nvar prefix, transitionEnd, animationEnd;\nexports.animationEnd = animationEnd;\nexports.transitionEnd = transitionEnd;\nvar transitionProperty, transitionDuration, transitionTiming, transitionDelay;\nexports.transitionDelay = transitionDelay;\nexports.transitionTiming = transitionTiming;\nexports.transitionDuration = transitionDuration;\nexports.transitionProperty = transitionProperty;\nvar animationName, animationDuration, animationTiming, animationDelay;\nexports.animationDelay = animationDelay;\nexports.animationTiming = animationTiming;\nexports.animationDuration = animationDuration;\nexports.animationName = animationName;\n\nif (_inDOM.default) {\n var _getTransitionPropert = getTransitionProperties();\n\n prefix = _getTransitionPropert.prefix;\n exports.transitionEnd = transitionEnd = _getTransitionPropert.transitionEnd;\n exports.animationEnd = animationEnd = _getTransitionPropert.animationEnd;\n exports.transform = transform = prefix + \"-\" + transform;\n exports.transitionProperty = transitionProperty = prefix + \"-transition-property\";\n exports.transitionDuration = transitionDuration = prefix + \"-transition-duration\";\n exports.transitionDelay = transitionDelay = prefix + \"-transition-delay\";\n exports.transitionTiming = transitionTiming = prefix + \"-transition-timing-function\";\n exports.animationName = animationName = prefix + \"-animation-name\";\n exports.animationDuration = animationDuration = prefix + \"-animation-duration\";\n exports.animationTiming = animationTiming = prefix + \"-animation-delay\";\n exports.animationDelay = animationDelay = prefix + \"-animation-timing-function\";\n}\n\nvar _default = {\n transform: transform,\n end: transitionEnd,\n property: transitionProperty,\n timing: transitionTiming,\n delay: transitionDelay,\n duration: transitionDuration\n};\nexports.default = _default;\n\nfunction getTransitionProperties() {\n var style = document.createElement('div').style;\n var vendorMap = {\n O: function O(e) {\n return \"o\" + e.toLowerCase();\n },\n Moz: function Moz(e) {\n return e.toLowerCase();\n },\n Webkit: function Webkit(e) {\n return \"webkit\" + e;\n },\n ms: function ms(e) {\n return \"MS\" + e;\n }\n };\n var vendors = Object.keys(vendorMap);\n var transitionEnd, animationEnd;\n var prefix = '';\n\n for (var i = 0; i < vendors.length; i++) {\n var vendor = vendors[i];\n\n if (vendor + \"TransitionProperty\" in style) {\n prefix = \"-\" + vendor.toLowerCase();\n transitionEnd = vendorMap[vendor]('TransitionEnd');\n animationEnd = vendorMap[vendor]('AnimationEnd');\n break;\n }\n }\n\n if (!transitionEnd && 'transitionProperty' in style) transitionEnd = 'transitionend';\n if (!animationEnd && 'animationName' in style) animationEnd = 'animationend';\n style = null;\n return {\n animationEnd: animationEnd,\n transitionEnd: transitionEnd,\n prefix: prefix\n };\n}","module.exports = __WEBPACK_EXTERNAL_MODULE__19__;","export const cx = (...params) => {\n const classes = [];\n for (let i = 0; i < params.length; i += 1) {\n const arg = params[i];\n if (!arg) continue;\n const argType = typeof arg;\n if (argType === 'string' || argType === 'number') {\n classes.push(arg);\n } else if (Array.isArray(arg) && arg.length) {\n const inner = cx.apply(null, arg);\n if (inner) {\n classes.push(inner);\n }\n } else if (argType === 'object') {\n for (const key in arg) {\n if ({}.hasOwnProperty.call(arg, key) && arg[key]) {\n classes.push(key);\n }\n }\n }\n }\n return classes.join(' ');\n};\n\nexport const isValidDate = str => {\n try {\n const d = new Date(str);\n if (!isNaN(d.getTime())) {\n return true;\n }\n return false;\n } catch (e) {\n return false;\n }\n};\n","let locale = {\n 'en-us': {\n today: 'Today',\n reset: 'Reset',\n 'reset-date': 'Reset Date',\n clear: 'Clear',\n now: 'Now',\n weeks: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n date: 'Select date',\n time: 'Select time',\n confirm: 'Confirm',\n },\n 'zh-cn': {\n today: '今天',\n reset: '重置',\n 'reset-date': '重置日期',\n clear: '清零',\n now: '现在',\n weeks: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],\n months: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],\n date: '选择日期',\n time: '选择时间',\n confirm: '确定',\n },\n};\n\nconst getCustomLocale = (o, m) => {\n if (!o || typeof o !== 'object' || o.constructor !== Object || !Object.keys(o).length) {\n console.error('wrong structure');\n return false;\n }\n Object.keys(o).map(i => {\n if (!m[i]) {\n m[i] = o[i];\n } else {\n if (Object.keys(o[i]).length) {\n Object.keys(o[i]).map(j => {\n m[i][j] = o[i][j];\n });\n }\n }\n });\n return m;\n};\n\nconst handleCustomLocale = (locale, w) => {\n let res;\n if (typeof w !== 'undefined') {\n if (w.REACT_MINIMAL_DATETIME_RANGE && w.REACT_MINIMAL_DATETIME_RANGE['customLocale']) {\n res = getCustomLocale(w.REACT_MINIMAL_DATETIME_RANGE['customLocale'], locale);\n }\n }\n if (typeof res === 'undefined' || res === false) {\n return locale;\n }\n return res;\n};\n\nif (typeof window !== 'undefined') {\n window.REACT_MINIMAL_DATETIME_RANGE = window.REACT_MINIMAL_DATETIME_RANGE || {};\n locale = handleCustomLocale(locale, window);\n}\n\nexport default locale;\n","export const PREV_TRANSITION = 'prev';\nexport const NEXT_TRANSITION = 'next';\n\nexport const SELECTOR_YEAR_SET_NUMBER = 5;\n\nexport const POINTER_ROTATE = 0;\n\nexport const WEEK_NUMBER = 7;\n\nexport const getDaysArray = (year, month) => {\n let prevMonth;\n let nextMonth;\n let prevYear;\n let nextYear;\n if (month === 12) {\n prevMonth = 11;\n nextMonth = 1;\n prevYear = year;\n nextYear = year + 1;\n } else if (month === 1) {\n prevMonth = 12;\n nextMonth = 2;\n prevYear = year - 1;\n nextYear = year;\n } else {\n prevMonth = month - 1;\n nextMonth = month + 1;\n prevYear = year;\n nextYear = year;\n }\n const date = new Date(year, month - 1, 1);\n let prevMonthDate = null;\n let thisMonthDate = null;\n let nextMonthDate = null;\n let res = [];\n let startOffset = date.getDay();\n if (startOffset != 0) {\n prevMonthDate = getDaysListByMonth(prevYear, prevMonth);\n for (let i = prevMonthDate.length - startOffset; i <= prevMonthDate.length - 1; i++) {\n res.push(prevMonthDate[i]);\n }\n }\n thisMonthDate = getDaysListByMonth(year, month);\n res = [...res, ...thisMonthDate];\n let endOffset = WEEK_NUMBER - thisMonthDate[thisMonthDate.length - 1].day - 1;\n if (endOffset != 0) {\n nextMonthDate = getDaysListByMonth(nextYear, nextMonth);\n for (let i = 0; i <= endOffset - 1; i++) {\n res.push(nextMonthDate[i]);\n }\n }\n return res;\n};\n\nexport const getDaysListByMonth = (year, month) => {\n const date = new Date(year, month - 1, 1);\n let res = [];\n year = String(year);\n const monthName = formatDateString(month);\n while (date.getMonth() == month - 1) {\n const dayName = formatDateString(date.getDate());\n let item = {\n name: dayName,\n day: date.getDay(),\n month: monthName,\n year: year,\n value: `${year}-${monthName}-${dayName}`,\n };\n res.push(item);\n date.setDate(date.getDate() + 1);\n }\n return res;\n};\n\nexport const formatDateString = val => {\n if (Number(val) < 10) {\n return String('0' + Number(val));\n }\n return String(val);\n};\n\nexport const getYearSet = year => {\n let res = [];\n let itemNumber;\n let startOffset;\n let endOffset;\n if (SELECTOR_YEAR_SET_NUMBER % 2 == 1) {\n itemNumber = (SELECTOR_YEAR_SET_NUMBER - 1) / 2 + 1;\n startOffset = SELECTOR_YEAR_SET_NUMBER - itemNumber;\n } else {\n itemNumber = SELECTOR_YEAR_SET_NUMBER / 2 - 1;\n startOffset = itemNumber - 1;\n }\n\n endOffset = SELECTOR_YEAR_SET_NUMBER - itemNumber;\n\n for (let i = year - startOffset; i <= year - 1; i++) {\n res.push(i);\n }\n res.push(year);\n for (let i = 0; i <= endOffset - 1; i++) {\n year = year + 1;\n res.push(year);\n }\n return res;\n};\n\n// CLOCK\n\nexport const R2D = 180 / Math.PI;\n\nexport const SECOND_DEGREE_NUMBER = 6;\nexport const MINUTE_DEGREE_NUMBER = 6;\nexport const HOUR_DEGREE_NUMBER = 30;\n\nexport const QUARTER = [0, 15, 30, 45];\n\nexport const TIME_SELECTION_FIRST_CHAR_POS_LIST = [0, 3, 6];\nexport const TIME_SELECTION_FIRST_CHAR_POS_BACKSPACE_LIST = [1, 4, 7];\nexport const TIME_SELECTION_SECOND_CHAR_POS_LIST = [1, 4, 7];\nexport const TIME_SELECTION_SECOND_CHAR_POS_BACKSPACE_LIST = [2, 5, 8];\nexport const TIME_JUMP_CHAR_POS_LIST = [1, 4, 7];\nexport const TIME_CURSOR_POSITION_OBJECT = {\n 0: 'clockHandHour',\n 1: 'clockHandHour',\n 2: 'clockHandHour',\n 3: 'clockHandMinute',\n 4: 'clockHandMinute',\n 5: 'clockHandMinute',\n 6: 'clockHandSecond',\n 7: 'clockHandSecond',\n 8: 'clockHandSecond',\n 9: 'meridiem',\n 10: 'meridiem',\n 11: 'meridiem',\n};\nexport const TIME_TYPE = ['clockHandHour', 'clockHandMinute', 'clockHandSecond', 'meridiem'];\n\nexport const KEY_CODE = {\n '8': 'Backspace',\n '46': 'Delete',\n '38': 'ArrowUp',\n '37': 'ArrowLeft',\n '39': 'ArrowRight',\n '40': 'ArrowDown',\n '48': '0',\n '49': '1',\n '50': '2',\n '51': '3',\n '52': '4',\n '53': '5',\n '54': '6',\n '55': '7',\n '56': '8',\n '57': '9',\n};\n// Number(currentDateObjStart.year) === Number(currentDateObjEnd.year) && Number(currentDateObjStart.month) + 1 === Number(currentDateObjEnd.month))\n// Number(currentDateObjEnd.year) === Number(currentDateObjStart.year) && Number(currentDateObjEnd.month) - 1 === Number(currentDateObjStart.month))\nexport const isWith1Month = (year1, year2, month1, month2, type) => {\n year1 = Number(year1);\n month1 = Number(month1);\n year2 = Number(year2);\n month2 = Number(month2);\n if (type === 'add') {\n if (month1 === 12) {\n if (year1 + 1 === year2 && month2 === 1) {\n return true;\n }\n } else {\n if (year1 === year2 && month1 + 1 === month2) {\n return true;\n }\n }\n } else {\n if (month1 === 1) {\n if (year1 - 1 === year2 && month2 === 12) {\n return true;\n }\n } else {\n if (year1 === year2 && month1 - 1 === month2) {\n return true;\n }\n }\n }\n\n return false;\n // if (type === 'minus') {\n // if (month === 1) {\n // res['year'] = year - 1;\n // res['month'] = 12;\n // }\n // } else {\n // if (month === 12) {\n // res['year'] = year + 1;\n // res['month'] = 1;\n // }\n // }\n};\n","import React, { useState, useEffect, useRef, useMemo, useCallback, memo } from 'react';\nimport ReactCSSTransitionGroup from 'react-addons-css-transition-group';\nimport LOCALE from './locale.js';\nimport { WEEK_NUMBER, PREV_TRANSITION, NEXT_TRANSITION, SELECTOR_YEAR_SET_NUMBER, getDaysArray, getYearSet, formatDateString } from './const';\nimport { cx, isValidDate } from './utils.js';\n\nconst TODAY = new Date();\nconst YEAR = TODAY.getFullYear();\nconst MONTH = TODAY.getMonth() + 1;\nconst DATE = TODAY.getDate();\n\nconst ITEM_HEIGHT = 40;\n\nconst Index = memo(({ locale = 'en-us', defaultDate = '', onYearPicked = () => {}, onMonthPicked = () => {}, onDatePicked = () => {}, onResetDate = () => {}, onResetDefaultDate = () => {} }) => {\n let defaultDateDate = DATE;\n let defaultDateMonth = MONTH;\n let defaultDateYear = YEAR;\n let defaultDates = getDaysArray(YEAR, MONTH);\n const isDefaultDateValid = useMemo(() => isValidDate(defaultDate), [defaultDate]);\n if (isDefaultDateValid) {\n const dateStr = defaultDate.split('-');\n defaultDateYear = Number(dateStr[0]);\n defaultDateMonth = Number(dateStr[1]);\n defaultDateDate = Number(dateStr[2]);\n defaultDates = getDaysArray(defaultDateYear, defaultDateMonth);\n }\n const defaultYearStr = String(defaultDateYear);\n const defaultMonthStr = formatDateString(defaultDateMonth);\n const defaultDateStr = formatDateString(defaultDateDate);\n const [dates, setDates] = useState(defaultDates);\n const [pickedYearMonth, setPickedYearMonth] = useState({\n year: defaultYearStr,\n month: defaultMonthStr,\n string: `${defaultYearStr}-${defaultMonthStr}`,\n });\n const [defaultDateObj, setDefaultDateObj] = useState({\n year: defaultYearStr,\n month: defaultMonthStr,\n date: defaultDateStr,\n });\n const [pickedDateInfo, setPickedDateInfo] = useState({\n year: defaultYearStr,\n month: defaultMonthStr,\n date: defaultDateStr,\n });\n const [direction, setDirection] = useState(NEXT_TRANSITION);\n const [yearSelectorPanelList, setYearSelectorPanelList] = useState(getYearSet(defaultDateYear));\n const [yearSelectorPanel, setYearSelectorPanel] = useState(defaultDateYear);\n const [showMask, setShowMask] = useState(false);\n const [showSelectorPanel, setShowSelectorPanel] = useState(false);\n const $monthSelectorPanel = useRef(null);\n const onMouseDown = useCallback(() => {}, []);\n const onMouseUp = useCallback(() => {}, []);\n useEffect(\n () => {\n setDates(getDaysArray(Number(pickedYearMonth.year), Number(pickedYearMonth.month)));\n },\n [pickedYearMonth],\n );\n const pickYear = useCallback(\n (year, direction) => {\n year = Number(year);\n if (direction === PREV_TRANSITION) {\n year = year - 1;\n } else {\n year = year + 1;\n }\n setPickedYearMonth({ ...pickedYearMonth, year, string: `${year}-${pickedYearMonth.month}` });\n setDirection(direction);\n onYearPicked({ year });\n },\n [pickedYearMonth],\n );\n const pickMonth = useCallback(\n (month, direction) => {\n month = Number(month);\n let year = Number(pickedYearMonth.year);\n if (direction === PREV_TRANSITION) {\n if (month === 1) {\n month = 12;\n year = year - 1;\n } else {\n month = month - 1;\n }\n } else {\n if (month === 12) {\n month = 1;\n year = year + 1;\n } else {\n month = month + 1;\n }\n }\n const yearStr = String(year);\n const monthStr = formatDateString(month);\n setPickedYearMonth({ ...pickedYearMonth, year: yearStr, month: monthStr, string: `${yearStr}-${monthStr}` });\n setDirection(direction);\n onMonthPicked({ year: yearStr, month: monthStr });\n },\n [pickedYearMonth],\n );\n const pickDate = useCallback(\n pickedDate => {\n const newPickedDateInfo = {\n ...pickedDateInfo,\n year: pickedYearMonth.year,\n month: pickedYearMonth.month,\n date: formatDateString(pickedDate),\n };\n setPickedDateInfo(newPickedDateInfo);\n onDatePicked(newPickedDateInfo);\n },\n [pickedYearMonth, pickedDateInfo],\n );\n const reset = useCallback(\n (today = false) => {\n let year = YEAR;\n let month = MONTH;\n let date = DATE;\n if (!today) {\n const dateStr = defaultDate.split('-');\n year = Number(dateStr[0]);\n month = Number(dateStr[1]);\n date = Number(dateStr[2]);\n }\n let direction = NEXT_TRANSITION;\n if (year < Number(pickedYearMonth.year)) {\n direction = PREV_TRANSITION;\n } else if (year === Number(pickedYearMonth.year)) {\n if (month < Number(pickedYearMonth.month)) {\n direction = PREV_TRANSITION;\n }\n }\n const yearStr = formatDateString(year);\n const monthStr = formatDateString(month);\n const dateStr = formatDateString(date);\n setPickedDateInfo({\n ...pickedDateInfo,\n year: yearStr,\n month: monthStr,\n date: dateStr,\n });\n setPickedYearMonth({\n ...pickedYearMonth,\n year: yearStr,\n month: monthStr,\n string: `${yearStr}-${monthStr}`,\n });\n changeSelectorPanelYearSet(year, direction);\n if (!today) {\n onResetDefaultDate(pickedDateInfo);\n } else {\n onResetDate(pickedDateInfo);\n }\n },\n [pickedYearMonth],\n );\n const changeSelectorPanelYearSet = useCallback((yearSelectorPanel, direction) => {\n setDirection(direction);\n setYearSelectorPanel(yearSelectorPanel);\n setYearSelectorPanelList(getYearSet(yearSelectorPanel));\n }, []);\n const handleShowSelectorPanel = useCallback(\n () => {\n setShowSelectorPanel(!showSelectorPanel);\n setShowMask(!showMask);\n },\n [showSelectorPanel, showMask],\n );\n let transitionContainerStyle;\n let content;\n if (dates.length) {\n let row = dates.length / WEEK_NUMBER;\n let rowIndex = 1;\n let rowObj = {};\n dates.map((item, key) => {\n if (key < rowIndex * WEEK_NUMBER) {\n if (!rowObj[rowIndex]) {\n rowObj[rowIndex] = [];\n }\n rowObj[rowIndex].push(item);\n } else {\n rowIndex = rowIndex + 1;\n if (!rowObj[rowIndex]) {\n rowObj[rowIndex] = [];\n }\n rowObj[rowIndex].push(item);\n }\n });\n content = ;\n transitionContainerStyle = {\n height: `${row * ITEM_HEIGHT}px`,\n };\n }\n const captionHtml = LOCALE[locale].weeks.map((item, key) => {\n return (\n
\n {item}\n
\n );\n });\n let selectorPanelClass = cx('react-minimal-datetime-range-dropdown', 'react-minimal-datetime-range-calendar__selector-panel', showSelectorPanel && 'visible');\n let selectorPanelMonthHtml = LOCALE[locale].months.map((item, key) => {\n let itemMonth = key + 1;\n let monthItemClass = cx('react-minimal-datetime-range-dropdown-calendar__month-item', itemMonth == pickedYearMonth.month && 'active');\n let month = itemMonth - 1;\n let direction = NEXT_TRANSITION;\n if (itemMonth < pickedYearMonth.month) {\n direction = PREV_TRANSITION;\n month = itemMonth + 1;\n }\n return (\n pickMonth(month, direction)\n : () => {\n return;\n }\n }\n key={key}\n >\n
{item}
\n
\n );\n });\n let selectorPanelYearHtml;\n if (yearSelectorPanelList.length) {\n selectorPanelYearHtml = yearSelectorPanelList.map((item, key) => {\n let yearItemClass = cx('react-minimal-datetime-range-dropdown-calendar__year-item', item == pickedYearMonth.year && 'active');\n let year = item - 1;\n let direction = NEXT_TRANSITION;\n if (item < pickedYearMonth.year) {\n direction = PREV_TRANSITION;\n year = item + 1;\n }\n return (\n pickYear(year, direction)\n : () => {\n return;\n }\n }\n key={key}\n >\n {item}\n \n );\n });\n }\n return (\n
\n
\n
\n
\n
{selectorPanelMonthHtml}
\n
\n
\n changeSelectorPanelYearSet(yearSelectorPanel - SELECTOR_YEAR_SET_NUMBER, PREV_TRANSITION)}\n >\n \n \n \n
\n
\n \n
\n {selectorPanelYearHtml}\n
\n \n
\n
\n changeSelectorPanelYearSet(yearSelectorPanel + SELECTOR_YEAR_SET_NUMBER, NEXT_TRANSITION)}\n >\n \n \n \n
\n
\n
\n
\n
pickYear(pickedYearMonth.year, PREV_TRANSITION)}>\n \n \n \n \n
\n
pickMonth(pickedYearMonth.month, PREV_TRANSITION)}>\n \n \n \n \n
\n
\n
\n \n
\n \n \n {`${LOCALE[locale].months[pickedYearMonth.month - 1]}`}\n \n  \n \n {`${pickedYearMonth.year}`}\n \n \n
\n \n
\n
\n
pickMonth(pickedYearMonth.month, NEXT_TRANSITION)}>\n \n \n \n \n
\n
pickYear(pickedYearMonth.year, NEXT_TRANSITION)}>\n \n \n \n \n
\n
\n
\n
\n
\n
{captionHtml}
\n
\n \n {content}\n \n
\n
reset(true)}>\n {LOCALE[locale]['today']}\n \n
\n {isDefaultDateValid ? (\n
reset(false)}>\n {LOCALE[locale]['reset-date']}\n \n
\n ) : (\n ``\n )}\n
\n );\n});\n\nconst CalendarBody = memo(({ data = {}, pickedDateInfo = {}, pickedYearMonth = {}, onClick = () => {} }) => {\n const content = Object.keys(data).map(key => {\n let colHtml;\n if (data[key].length) {\n colHtml = data[key].map((item, key) => {\n const isPicked = pickedDateInfo.date === item.name && pickedDateInfo.month === item.month && pickedDateInfo.year === item.year;\n let isDisabled = pickedYearMonth.month !== item.month;\n const datePickerItemClass = cx(\n 'react-minimal-datetime-range-calendar__table-cel',\n 'react-minimal-datetime-range-calendar__date-item',\n isDisabled && 'disabled',\n DATE == item.name && MONTH == item.month && YEAR == item.year && 'today',\n isPicked && 'active',\n );\n return ;\n });\n }\n return (\n
\n {colHtml}\n
\n );\n });\n return
{content}
;\n});\n\nconst CalendarItem = memo(({ item = {}, isPicked = false, isDisabled = false, datePickerItemClass = '', onClick = () => {} }) => {\n const handleOnClick = useCallback(\n () => {\n onClick(item.name);\n },\n [item.name],\n );\n return (\n {\n return;\n }\n }\n >\n {item.name}\n {isPicked && (\n \n \n \n \n )}\n
\n );\n});\n\nexport default Index;\n","import React, { useState, useEffect, useRef, useMemo, useCallback, memo } from 'react';\nimport ReactCSSTransitionGroup from 'react-addons-css-transition-group';\nimport LOCALE from './locale.js';\nimport { WEEK_NUMBER, PREV_TRANSITION, NEXT_TRANSITION, SELECTOR_YEAR_SET_NUMBER, getDaysArray, getYearSet, formatDateString, isWith1Month } from './const';\nimport { cx, isValidDate } from './utils.js';\n\nconst TODAY = new Date();\nconst YEAR = TODAY.getFullYear();\nconst MONTH = TODAY.getMonth() + 1;\nconst DATE = TODAY.getDate();\n\nconst ITEM_HEIGHT = 40;\n\nconst Index = memo(\n ({\n selected,\n setSelected,\n locale = 'en-us',\n defaultDateStart = '',\n defaultDateEnd = '',\n rangeDirection = 'start',\n startDatePickedArray = [], // [YY, MM, DD]\n endDatePickedArray = [], // [YY, MM, DD]\n handleChooseStartDate = () => {},\n handleChooseEndDate = () => {},\n currentDateObjStart = () => {},\n currentDateObjEnd = () => {},\n setCurrentDateObjStart = () => {},\n setCurrentDateObjEnd = () => {},\n }) => {\n let defaultDateDateStart = DATE;\n let defaultDateMonthStart = MONTH;\n let defaultDateYearStart = YEAR;\n\n let defaultDateDateEnd = defaultDateDateStart;\n let defaultDateMonthEnd;\n let defaultDateYearEnd = defaultDateYearStart;\n\n if (defaultDateMonthStart === 12) {\n defaultDateMonthEnd = 1;\n defaultDateYearEnd = defaultDateYearStart + 1;\n } else {\n defaultDateMonthEnd = defaultDateMonthStart + 1;\n }\n\n const isDefaultDateValidStart = useMemo(() => isValidDate(defaultDateStart), [defaultDateStart]);\n if (isDefaultDateValidStart) {\n const dateStr = defaultDateStart.split('-');\n defaultDateYearStart = Number(dateStr[0]);\n defaultDateMonthStart = Number(dateStr[1]);\n defaultDateDateStart = Number(dateStr[2]);\n }\n const isDefaultDateValidEnd = useMemo(() => isValidDate(defaultDateEnd), [defaultDateEnd]);\n if (isDefaultDateValidEnd) {\n const dateStr = defaultDateEnd.split('-');\n defaultDateYearEnd = Number(dateStr[0]);\n defaultDateMonthEnd = Number(dateStr[1]);\n defaultDateDateEnd = Number(dateStr[2]);\n // special handle\n if (defaultDateMonthStart === 12) {\n defaultDateMonthEnd = 1;\n defaultDateYearEnd = defaultDateYearStart + 1;\n } else {\n defaultDateMonthEnd = defaultDateMonthStart + 1;\n }\n }\n\n let showPrevYearArrow = true;\n let showPrevMonthArrow = true;\n let showNextYearArrow = true;\n let showNextMonthArrow = true;\n\n if (currentDateObjStart.string && currentDateObjEnd.string) {\n if (rangeDirection === 'start') {\n if (isWith1Month(currentDateObjStart.year, currentDateObjEnd.year, currentDateObjStart.month, currentDateObjEnd.month, 'add')) {\n showNextYearArrow = false;\n showNextMonthArrow = false;\n }\n } else {\n if (isWith1Month(currentDateObjEnd.year, currentDateObjStart.year, currentDateObjEnd.month, currentDateObjStart.month, 'minus')) {\n showPrevYearArrow = false;\n showPrevMonthArrow = false;\n }\n }\n }\n\n const defaultDatesStart = getDaysArray(defaultDateYearStart, defaultDateMonthStart);\n const defaultDatesEnd = getDaysArray(defaultDateYearEnd, defaultDateMonthEnd);\n\n let defaultDateMonth;\n let defaultDateDate;\n let defaultDateYear;\n let defaultDates;\n let defaultYearStr;\n let defaultMonthStr;\n let defaultDateStr;\n\n if (rangeDirection === 'start') {\n defaultDateMonth = defaultDateMonthStart;\n defaultDateDate = defaultDateDateStart;\n defaultDateYear = defaultDateYearStart;\n defaultDates = defaultDatesStart;\n defaultYearStr = formatDateString(defaultDateYearStart);\n defaultMonthStr = formatDateString(defaultDateMonthStart);\n defaultDateStr = formatDateString(defaultDateDateStart);\n } else {\n defaultDateMonth = defaultDateMonthEnd;\n defaultDateDate = defaultDateDateEnd;\n defaultDateYear = defaultDateYearEnd;\n defaultDates = defaultDatesEnd;\n defaultYearStr = formatDateString(defaultDateYearEnd);\n defaultMonthStr = formatDateString(defaultDateMonthEnd);\n defaultDateStr = formatDateString(defaultDateDateEnd);\n }\n\n useEffect(\n () => {\n if (rangeDirection === 'start') {\n setCurrentDateObjStart({ year: defaultDateYear, month: defaultDateMonth, string: `${defaultDateYear}-${defaultDateMonth}` });\n } else {\n setCurrentDateObjEnd({ year: defaultDateYear, month: defaultDateMonth, string: `${defaultDateYear}-${defaultDateMonth}` });\n }\n },\n [rangeDirection, defaultDateYear, defaultDateMonth],\n );\n\n const [dates, setDates] = useState(defaultDates);\n const [pickedYearMonth, setPickedYearMonth] = useState({\n year: defaultYearStr,\n month: defaultMonthStr,\n string: `${defaultYearStr}-${defaultMonthStr}`,\n });\n const [defaultDateObj, setDefaultDateObj] = useState({\n year: defaultYearStr,\n month: defaultMonthStr,\n date: defaultDateStr,\n });\n const [pickedDateInfo, setPickedDateInfo] = useState({\n year: defaultYearStr,\n month: defaultMonthStr,\n date: defaultDateStr,\n });\n const [direction, setDirection] = useState(NEXT_TRANSITION);\n const [yearSelectorPanelList, setYearSelectorPanelList] = useState(getYearSet(defaultDateYear));\n const [yearSelectorPanel, setYearSelectorPanel] = useState(defaultDateYear);\n const [showMask, setShowMask] = useState(false);\n const [showSelectorPanel, setShowSelectorPanel] = useState(false);\n const $monthSelectorPanel = useRef(null);\n const onMouseDown = useCallback(() => {}, []);\n const onMouseUp = useCallback(() => {}, []);\n useEffect(\n () => {\n setDates(getDaysArray(Number(pickedYearMonth.year), Number(pickedYearMonth.month)));\n },\n [pickedYearMonth],\n );\n const pickYear = useCallback(\n (year, direction) => {\n year = Number(year);\n if (direction === PREV_TRANSITION) {\n year = year - 1;\n } else {\n year = year + 1;\n }\n const newData = { ...pickedYearMonth, year, string: `${year}-${pickedYearMonth.month}` };\n setPickedYearMonth(newData);\n if (rangeDirection === 'start') {\n setCurrentDateObjStart(newData);\n } else {\n setCurrentDateObjEnd(newData);\n }\n setDirection(direction);\n },\n [pickedYearMonth],\n );\n const pickMonth = useCallback(\n (month, direction) => {\n month = Number(month);\n let year = Number(pickedYearMonth.year);\n if (direction === PREV_TRANSITION) {\n if (month === 1) {\n month = 12;\n year = year - 1;\n } else {\n month = month - 1;\n }\n } else {\n if (month === 12) {\n month = 1;\n year = year + 1;\n } else {\n month = month + 1;\n }\n }\n const yearStr = String(year);\n const monthStr = formatDateString(month);\n const newData = { ...pickedYearMonth, year: yearStr, month: monthStr, string: `${yearStr}-${monthStr}` };\n setPickedYearMonth(newData);\n if (rangeDirection === 'start') {\n setCurrentDateObjStart(newData);\n } else {\n setCurrentDateObjEnd(newData);\n }\n setDirection(direction);\n },\n [pickedYearMonth],\n );\n const pickDate = useCallback(pickedDate => {}, []);\n const changeSelectorPanelYearSet = useCallback((yearSelectorPanel, direction) => {\n setDirection(direction);\n setYearSelectorPanel(yearSelectorPanel);\n setYearSelectorPanelList(getYearSet(yearSelectorPanel));\n }, []);\n const handleShowSelectorPanel = useCallback(\n () => {\n setShowSelectorPanel(!showSelectorPanel);\n setShowMask(!showMask);\n },\n [showSelectorPanel, showMask],\n );\n let transitionContainerStyle;\n let content;\n if (dates.length) {\n let row = dates.length / WEEK_NUMBER;\n let rowIndex = 1;\n let rowObj = {};\n dates.map((item, key) => {\n if (key < rowIndex * WEEK_NUMBER) {\n if (!rowObj[rowIndex]) {\n rowObj[rowIndex] = [];\n }\n rowObj[rowIndex].push(item);\n } else {\n rowIndex = rowIndex + 1;\n if (!rowObj[rowIndex]) {\n rowObj[rowIndex] = [];\n }\n rowObj[rowIndex].push(item);\n }\n });\n content = (\n \n );\n transitionContainerStyle = {\n height: `${row * ITEM_HEIGHT}px`,\n };\n }\n const captionHtml = LOCALE[locale].weeks.map((item, key) => {\n return (\n
\n {item}\n
\n );\n });\n let selectorPanelClass = cx('react-minimal-datetime-range-dropdown', 'react-minimal-datetime-range-calendar__selector-panel', showSelectorPanel && 'visible');\n let selectorPanelMonthHtml = LOCALE[locale].months.map((item, key) => {\n let itemMonth = key + 1;\n let monthItemClass = cx('react-minimal-datetime-range-dropdown-calendar__month-item', itemMonth == pickedYearMonth.month && 'active');\n let month = itemMonth - 1;\n let direction = NEXT_TRANSITION;\n if (itemMonth < pickedYearMonth.month) {\n direction = PREV_TRANSITION;\n month = itemMonth + 1;\n }\n return (\n pickMonth(month, direction)\n : () => {\n return;\n }\n }\n key={key}\n >\n
{item}
\n \n );\n });\n let selectorPanelYearHtml;\n if (yearSelectorPanelList.length) {\n selectorPanelYearHtml = yearSelectorPanelList.map((item, key) => {\n let yearItemClass = cx('react-minimal-datetime-range-dropdown-calendar__year-item', item == pickedYearMonth.year && 'active');\n let year = item - 1;\n let direction = NEXT_TRANSITION;\n if (item < pickedYearMonth.year) {\n direction = PREV_TRANSITION;\n year = item + 1;\n }\n return (\n pickYear(year, direction)\n : () => {\n return;\n }\n }\n key={key}\n >\n {item}\n \n );\n });\n }\n return (\n
\n
\n
\n
\n
{selectorPanelMonthHtml}
\n
\n
\n changeSelectorPanelYearSet(yearSelectorPanel - SELECTOR_YEAR_SET_NUMBER, PREV_TRANSITION)}\n >\n \n \n \n
\n
\n \n
\n {selectorPanelYearHtml}\n
\n \n
\n
\n changeSelectorPanelYearSet(yearSelectorPanel + SELECTOR_YEAR_SET_NUMBER, NEXT_TRANSITION)}\n >\n \n \n \n
\n
\n
\n
\n {showPrevYearArrow && (\n
pickYear(pickedYearMonth.year, PREV_TRANSITION)}>\n \n \n \n \n
\n )}\n {showPrevMonthArrow && (\n
pickMonth(pickedYearMonth.month, PREV_TRANSITION)}>\n \n \n \n \n
\n )}\n
\n
\n \n
\n \n \n {`${LOCALE[locale].months[pickedYearMonth.month - 1]}`}\n \n  \n \n {`${pickedYearMonth.year}`}\n \n \n
\n \n
\n
\n {showNextMonthArrow && (\n
pickMonth(pickedYearMonth.month, NEXT_TRANSITION)}>\n \n \n \n \n
\n )}\n {showNextYearArrow && (\n
pickYear(pickedYearMonth.year, NEXT_TRANSITION)}>\n \n \n \n \n
\n )}\n
\n
\n
\n
\n
{captionHtml}
\n
\n \n {content}\n \n
\n
\n );\n },\n);\n\nconst CalendarBody = memo(\n ({\n selected,\n setSelected,\n startDatePickedArray,\n endDatePickedArray,\n handleChooseStartDate,\n handleChooseEndDate,\n rangeDirection,\n data = {},\n pickedDateInfo = {},\n pickedYearMonth = {},\n onClick = () => {},\n }) => {\n const content = Object.keys(data).map(key => {\n let colHtml;\n if (data[key].length) {\n colHtml = data[key].map((item, key) => {\n const itemDate = new Date(`${item.year}-${item.month}-${item.name}`);\n let isDisabled = pickedYearMonth.month !== item.month;\n let isPickedStart = false;\n let isPickedEnd = false;\n let isHighlight = false;\n if (isDisabled === false) {\n let starts = startDatePickedArray;\n let ends = endDatePickedArray;\n if (startDatePickedArray.length && endDatePickedArray.length) {\n const a = new Date(startDatePickedArray.join('-'));\n const b = new Date(endDatePickedArray.join('-'));\n starts = a < b ? startDatePickedArray : endDatePickedArray;\n ends = a > b ? startDatePickedArray : endDatePickedArray;\n }\n if (starts.length) {\n isPickedStart = starts[0] === item.year && starts[1] === item.month && starts[2] === item.name;\n const targetDate = new Date(starts.join('-'));\n if (!ends.length) {\n if (itemDate > targetDate) {\n isHighlight = true;\n }\n } else {\n if (itemDate > targetDate && itemDate < new Date(ends.join('-'))) {\n isHighlight = true;\n }\n }\n }\n if (ends.length) {\n isPickedEnd = ends[0] === item.year && ends[1] === item.month && ends[2] === item.name;\n }\n }\n const datePickerItemClass = cx(\n 'react-minimal-datetime-range-calendar__table-cel',\n 'react-minimal-datetime-range-calendar__date-item',\n 'range',\n isDisabled && 'disabled',\n isPickedStart && 'active',\n isPickedEnd && 'active',\n isHighlight && 'highlight',\n DATE == item.name && MONTH == item.month && YEAR == item.year && 'today',\n );\n return (\n \n );\n });\n }\n return (\n
\n {colHtml}\n
\n );\n });\n return
{content}
;\n },\n);\n\nconst CalendarItem = memo(\n ({ selected, setSelected, startDatePickedArray, endDatePickedArray, handleChooseStartDate, handleChooseEndDate, item = {}, datePickerItemClass = '', onClick = () => {} }) => {\n const handleOnClick = useCallback(\n () => {\n if (startDatePickedArray.length) {\n setSelected(true);\n handleChooseEndDate(item);\n } else {\n handleChooseStartDate(item);\n }\n if (selected) {\n handleChooseEndDate({ year: '', month: '', name: '', value: '' });\n handleChooseStartDate(item);\n setSelected(false);\n }\n },\n [item, selected, startDatePickedArray, endDatePickedArray],\n );\n const handleOnMouseOver = useCallback(\n () => {\n if (!selected) {\n if (startDatePickedArray.length) {\n handleChooseEndDate(item);\n }\n }\n },\n [item, selected, startDatePickedArray, endDatePickedArray],\n );\n return (\n
\n {item.name}\n
\n );\n },\n);\n\nexport default Index;\n","import React, { memo } from 'react';\nimport { formatDateString } from './const';\nimport { cx, isValidDate } from './utils.js';\n\nconst HOURS = [...Array(24).keys()];\nconst MINUTES = [...Array(60).keys()];\n\nconst Index = memo(\n ({\n startDatePickedArray,\n endDatePickedArray,\n handleChooseStartTimeHour,\n handleChooseStartTimeMinute,\n handleChooseEndTimeHour,\n handleChooseEndTimeMinute,\n startTimePickedArray,\n endTimePickedArray,\n }) => {\n return (\n
\n
\n
{startDatePickedArray.join('-')}
\n
{endDatePickedArray.join('-')}
\n
\n
\n {HOURS.map(i => {\n const item = formatDateString(i);\n return (\n
handleChooseStartTimeHour(item)}>\n {item}\n
\n );\n })}\n
\n
\n {MINUTES.map(i => {\n const item = formatDateString(i);\n return (\n
handleChooseStartTimeMinute(item)}>\n {item}\n
\n );\n })}\n
\n
\n {HOURS.map(i => {\n const item = formatDateString(i);\n return (\n
handleChooseEndTimeHour(item)}>\n {item}\n
\n );\n })}\n
\n
\n {MINUTES.map(i => {\n const item = formatDateString(i);\n return (\n
handleChooseEndTimeMinute(item)}>\n {item}\n
\n );\n })}\n
\n
\n );\n },\n);\n\nexport default Index;\n","import React, { useState, useEffect, useRef, useMemo, useCallback, memo } from 'react';\nimport { cx, isValidDate } from './utils.js';\nimport LOCALE from './locale.js';\nimport Calendar from './Calendar.js';\nimport RangeDate from './RangeDate.js';\nimport RangeTime from './RangeTime.js';\nconst DEFAULT_LACALE = 'en-us';\ntry {\n STYLES = require('./react-minimal-datetime-range.css');\n} catch (ex) {}\nexport const CalendarPicker = memo(\n ({\n locale = DEFAULT_LACALE,\n show = false,\n onClose = () => {},\n defaultDate = '',\n onYearPicked = () => {},\n onMonthPicked = () => {},\n onDatePicked = () => {},\n onResetDate = () => {},\n onResetDefaultDate = () => {},\n style = {},\n }) => {\n const [internalShow, setInternalShow] = useState(show);\n const handleOnClose = useCallback(() => {\n setInternalShow(false);\n onClose && onClose();\n }, []);\n const handleOnYearPicked = useCallback(yearObj => {\n onYearPicked && onYearPicked(yearObj);\n }, []);\n const handleOnMonthPicked = useCallback(monthObj => {\n onMonthPicked && onMonthPicked(monthObj);\n }, []);\n const handleOnDatePicked = useCallback(dateObj => {\n onDatePicked && onDatePicked(dateObj);\n }, []);\n const handleOnResetDate = useCallback(dateObj => {\n onResetDate && onResetDate(dateObj);\n }, []);\n const handleOnResetDefaultDate = useCallback(dateObj => {\n onResetDefaultDate && onResetDefaultDate(dateObj);\n }, []);\n useEffect(\n () => {\n setInternalShow(show);\n },\n [show],\n );\n return (\n
\n {internalShow && (\n \n )}\n
\n );\n },\n);\n\nconst CalendarPickerComponent = memo(({ show, defaultDate, locale, onClose, handleOnYearPicked, handleOnMonthPicked, handleOnDatePicked, handleOnResetDate, handleOnResetDefaultDate }) => {\n const [internalShow, setInternalShow] = useState(false);\n const handleOnClose = useCallback(() => {\n setInternalShow(false);\n onClose && onClose();\n }, []);\n useEffect(\n () => {\n if (show) {\n setTimeout(() => {\n setInternalShow(true);\n }, 0);\n }\n },\n [show],\n );\n const componentClass = useMemo(() => cx('react-minimal-datetime-range', internalShow && 'visible'), [internalShow]);\n return (\n
\n \n \n \n
\n \n
\n
\n );\n});\n\nconst TYPES = ['date', 'time'];\n\nexport const RangePicker = memo(\n ({ locale = DEFAULT_LACALE, placeholder = ['', ''], defaultDates = ['', ''], defaultTimes = ['', ''], show = false, onConfirm = () => {}, onClear = () => {}, onClose = () => {}, style = {} }) => {\n // ['YYYY-MM-DD', 'YYYY-MM-DD'] // ['hh:mm', 'hh:mm']\n const isDefaultDatesValid = useMemo(\n () => {\n let isValid = false;\n if (defaultDates.length === 2) {\n isValid = true;\n defaultDates.forEach(defaultDate => {\n if (!isValidDate(defaultDate)) {\n isValid = false;\n }\n });\n }\n return isValid;\n },\n [defaultDates],\n );\n const [selected, setSelected] = useState(isDefaultDatesValid ? true : false);\n const [start, setStart] = useState(defaultDates[0] ? `${defaultDates[0]} ${defaultTimes[0] ? defaultTimes[0] : ''}` : '');\n const [end, setEnd] = useState(defaultDates[1] ? `${defaultDates[1]} ${defaultTimes[1] ? defaultTimes[1] : ''}` : '');\n const [type, setType] = useState(TYPES[0]);\n const [internalShow, setInternalShow] = useState(show);\n const [startDatePickedArray, setStartDatePickedArray] = useState(defaultDates[0] ? defaultDates[0].split('-') : []);\n const [endDatePickedArray, setEndDatePickedArray] = useState(defaultDates[1] ? defaultDates[1].split('-') : []);\n const [currentDateObjStart, setCurrentDateObjStart] = useState({});\n const [currentDateObjEnd, setCurrentDateObjEnd] = useState({});\n const [startTimePickedArray, setStartTimePickedArray] = useState(['00', '00']);\n const [endTimePickedArray, setEndTimePickedArray] = useState(['00', '00']);\n const [dates, setDates] = useState(defaultDates);\n const [times, setTimes] = useState(defaultTimes);\n const handleChooseStartDate = useCallback(\n ({ name, month, year, value }) => {\n setDates([value, dates[1]]);\n setStartDatePickedArray(value === '' ? [] : [year, month, name]);\n },\n [dates],\n );\n const handleChooseEndDate = useCallback(\n ({ name, month, year, value }) => {\n setDates([dates[0], value]);\n setEndDatePickedArray(value === '' ? [] : [year, month, name]);\n },\n [dates],\n );\n const handleChooseStartTimeHour = useCallback(\n res => {\n setStartTimePickedArray([res, startTimePickedArray[1]]);\n },\n [startTimePickedArray],\n );\n const handleChooseStartTimeMinute = useCallback(\n res => {\n setStartTimePickedArray([startTimePickedArray[0], res]);\n },\n [startTimePickedArray],\n );\n const handleChooseEndTimeHour = useCallback(\n res => {\n setEndTimePickedArray([res, endTimePickedArray[1]]);\n },\n [endTimePickedArray],\n );\n const handleChooseEndTimeMinute = useCallback(\n res => {\n setEndTimePickedArray([endTimePickedArray[0], res]);\n },\n [endTimePickedArray],\n );\n const handleOnChangeType = useCallback(\n () => {\n if (type === TYPES[0]) {\n setType(TYPES[1]);\n } else {\n setType(TYPES[0]);\n }\n },\n [type],\n );\n const handleOnConfirm = useCallback(\n () => {\n const a = new Date(startDatePickedArray.join('-'));\n const b = new Date(endDatePickedArray.join('-'));\n const starts = a < b ? startDatePickedArray : endDatePickedArray;\n const ends = a > b ? startDatePickedArray : endDatePickedArray;\n const startStr = `${starts.join('-')} ${startTimePickedArray.join(':')}`;\n const endStr = `${ends.join('-')} ${endTimePickedArray.join(':')}`;\n setStart(startStr);\n setEnd(endStr);\n setStartDatePickedArray(starts);\n setEndDatePickedArray(ends);\n setDates([starts.join('-'), ends.join('-')]);\n setInternalShow(false);\n onConfirm && onConfirm([startStr, endStr]);\n },\n [startDatePickedArray, endDatePickedArray, startTimePickedArray, endTimePickedArray],\n );\n const handleOnClear = useCallback(e => {\n e.stopPropagation();\n setSelected(false);\n setInternalShow(false);\n setStart('');\n setEnd('');\n setStartDatePickedArray([]);\n setEndDatePickedArray([]);\n setDates(['', '']);\n setTimes(['', '']);\n setStartTimePickedArray(['00', '00']);\n setEndTimePickedArray(['00', '00']);\n onClear && onClear();\n }, []);\n useEffect(\n () => {\n setType(TYPES[0]);\n },\n [internalShow],\n );\n useEffect(\n () => {\n if (!internalShow) {\n onClose && onClose();\n }\n },\n [internalShow],\n );\n useEffect(\n () => {\n setStart(defaultDates[0] ? `${defaultDates[0]} ${defaultTimes[0] ? defaultTimes[0] : ''}` : '');\n setEnd(defaultDates[1] ? `${defaultDates[1]} ${defaultTimes[1] ? defaultTimes[1] : ''}` : '');\n },\n [defaultDates],\n );\n return (\n
\n setInternalShow(!internalShow)}>\n \n ~ \n \n {start ? (\n \n \n \n \n ) : (\n \n \n \n \n )}\n \n {internalShow && (\n \n )}\n
\n );\n },\n);\n\nconst RangePickerComponent = memo(\n ({\n show,\n selected,\n setSelected,\n handleChooseStartDate,\n handleChooseEndDate,\n dates,\n times,\n locale,\n startDatePickedArray,\n endDatePickedArray,\n type,\n handleOnChangeType,\n handleOnConfirm,\n handleChooseStartTimeHour,\n handleChooseStartTimeMinute,\n handleChooseEndTimeHour,\n handleChooseEndTimeMinute,\n startTimePickedArray,\n endTimePickedArray,\n currentDateObjList,\n currentDateObjStart,\n setCurrentDateObjStart,\n currentDateObjEnd,\n setCurrentDateObjEnd,\n }) => {\n const [internalShow, setInternalShow] = useState(false);\n useEffect(\n () => {\n if (show) {\n setTimeout(() => {\n setInternalShow(true);\n }, 0);\n }\n },\n [show],\n );\n const componentClass = useMemo(() => cx('react-minimal-datetime-range', internalShow && 'visible'), [internalShow]);\n return (\n
\n
\n \n \n {type === TYPES[1] && (\n
\n \n
\n )}\n
\n
\n
{}}>\n {type === TYPES[0] ? LOCALE[locale][TYPES[1]] : LOCALE[locale][TYPES[0]]}\n
\n
{}}>\n {LOCALE[locale]['confirm']}\n
\n
\n
\n );\n },\n);\n","import * as Index from './index.js';\n\nif (typeof window !== 'undefined') {\n\twindow.ReactMinimalDateTimeRange = Index;\n}\n\nexport default Index;\n"],"sourceRoot":""} \ No newline at end of file diff --git a/lib/react-minimal-datetime-range.min.js b/lib/react-minimal-datetime-range.min.js index 2d3e946..87e4a2e 100644 --- a/lib/react-minimal-datetime-range.min.js +++ b/lib/react-minimal-datetime-range.min.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("react-dom")):"function"==typeof define&&define.amd?define(["React","react-dom"],t):"object"==typeof exports?exports["react-minimal-datetime-range"]=t(require("React"),require("react-dom")):e["react-minimal-datetime-range"]=t(e.React,e["react-dom"])}(this,(function(e,t){return function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=21)}([function(t,a){t.exports=e},function(e,t,a){"use strict";e.exports=a(6)},function(e,t,a){e.exports=a(7)()},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,a){"use strict";t.__esModule=!0,t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n,e.exports=t.default},function(e,t,a){"use strict";t.__esModule=!0,t.nameShape=void 0,t.transitionTimeout=function(e){var t="transition"+e+"Timeout",a="transition"+e;return function(e){if(e[a]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}};r(a(0));var n=r(a(2));function r(e){return e&&e.__esModule?e:{default:e}}t.nameShape=n.default.oneOfType([n.default.string,n.default.shape({enter:n.default.string,leave:n.default.string,active:n.default.string}),n.default.shape({enter:n.default.string,enterActive:n.default.string,leave:n.default.string,leaveActive:n.default.string,appear:n.default.string,appearActive:n.default.string})])},function(e,t,a){"use strict";t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var a=0,n=new Array(t);ae.length)&&(t=e.length);for(var a=0,n=new Array(t);a0&&void 0!==arguments[0]&&arguments[0],t=M,a=P,n=x;if(!e){var r=o.split("-");t=Number(r[0]),a=Number(r[1]),n=Number(r[2])}var i="next";(te.length)&&(t=e.length);for(var a=0,n=new Array(t);a_?n:r}if(y.length){f=y[0]===e.year&&y[1]===e.month&&y[2]===e.name;var E=new Date(y.join("-"));b.length?s>E&&sE&&(v=!0)}b.length&&(h=b[0]===e.year&&b[1]===e.month&&b[2]===e.name)}var O=c("react-minimal-datetime-range-calendar__table-cel","react-minimal-datetime-range-calendar__date-item","range",u&&"disabled",f&&"active",h&&"active",v&&"highlight",G==e.name&&F==e.month&&q==e.year&&"today");return i.a.createElement(Q,{key:m,selected:t,setSelected:a,startDatePickedArray:n,endDatePickedArray:r,handleChooseStartDate:o,handleChooseEndDate:l,item:e,onClick:p,datePickerItemClass:O})}))),i.a.createElement("div",{className:"react-minimal-datetime-range-calendar__table-row",key:e},m)}));return i.a.createElement("div",{className:"react-minimal-datetime-range-calendar__table slide"},h)})),Q=Object(r.memo)((function(e){var t=e.selected,a=e.setSelected,n=e.startDatePickedArray,o=e.endDatePickedArray,c=e.handleChooseStartDate,l=e.handleChooseEndDate,m=e.item,s=void 0===m?{}:m,u=e.datePickerItemClass,d=void 0===u?"":u,f=(e.onClick,Object(r.useCallback)((function(){n.length?(a(!0),l(s)):c(s),t&&(l({year:"",month:"",name:"",value:""}),c(s),a(!1))}),[s,t,n,o])),p=Object(r.useCallback)((function(){t||n.length&&l(s)}),[s,t,n,o]);return i.a.createElement("div",{className:"".concat(d),onMouseOver:p,onClick:f},s.name)})),J=K;function X(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Z(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(a);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Z(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);ae.length)&&(t=e.length);for(var a=0,n=new Array(t);at?H:U,r="".concat(a.join("-")," ").concat(J.join(":")),i="".concat(n.join("-")," ").concat(ee.join(":"));D(r),A(i),W(a),Y(n),ie([a.join("-"),n.join("-")]),I(!1),h&&h([r,i])}),[H,U,J,ee]),ge=Object(r.useCallback)((function(e){e.stopPropagation(),k(!1),I(!1),D(""),A(""),W([]),Y([]),ie(["",""]),se(["",""]),X(["00","00"]),te(["00","00"]),y&&y()}),[]);return Object(r.useEffect)((function(){x(ce[0])}),[R]),Object(r.useEffect)((function(){R||g&&g()}),[R]),Object(r.useEffect)((function(){D(m[0]?"".concat(m[0]," ").concat(u[0]?u[0]:""):""),A(m[1]?"".concat(m[1]," ").concat(u[1]?u[1]:""):"")}),[m]),i.a.createElement("div",{className:"react-minimal-datetime-range__range",style:E},i.a.createElement("span",{className:"react-minimal-datetime-range__range-input-wrapper",onClick:function(){return I(!R)}},i.a.createElement("input",{readOnly:!0,placeholder:o[0],className:"react-minimal-datetime-range__range-input",tabIndex:"-1",value:C}),i.a.createElement("span",{className:"react-minimal-datetime-range__range-input-separator"}," ~ "),i.a.createElement("input",{readOnly:!0,placeholder:o[1],className:"react-minimal-datetime-range__range-input",tabIndex:"-1",value:S}),C?i.a.createElement("svg",{className:"react-minimal-datetime-range__clear",width:"15",height:"15",viewBox:"0 0 24 24",onClick:ge},i.a.createElement("path",{className:"react-minimal-datetime-range__icon-fill",d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),i.a.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})):i.a.createElement("svg",{className:"react-minimal-datetime-range__clear",width:"15",height:"15",viewBox:"0 0 24 24"},i.a.createElement("path",{className:"react-minimal-datetime-range__icon-fill",d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),i.a.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}))),R&&i.a.createElement(me,{show:R,selected:w,setSelected:k,handleChooseStartDate:ue,handleChooseEndDate:de,dates:re,times:le,locale:a,startDatePickedArray:H,endDatePickedArray:U,type:P,handleOnChangeType:ye,handleOnConfirm:be,startTimePickedArray:J,endTimePickedArray:ee,handleChooseStartTimeHour:fe,handleChooseStartTimeMinute:pe,handleChooseEndTimeHour:he,handleChooseEndTimeMinute:ve,currentDateObjStart:q,setCurrentDateObjStart:F,currentDateObjEnd:K,setCurrentDateObjEnd:$}))})),me=Object(r.memo)((function(e){var t=e.show,a=e.selected,n=e.setSelected,o=e.handleChooseStartDate,l=e.handleChooseEndDate,m=e.dates,s=e.times,u=e.locale,d=e.startDatePickedArray,f=e.endDatePickedArray,p=e.type,h=e.handleOnChangeType,y=e.handleOnConfirm,b=e.handleChooseStartTimeHour,g=e.handleChooseStartTimeMinute,_=e.handleChooseEndTimeHour,E=e.handleChooseEndTimeMinute,O=e.startTimePickedArray,j=e.endTimePickedArray,w=(e.currentDateObjList,e.currentDateObjStart),k=e.setCurrentDateObjStart,N=e.currentDateObjEnd,C=e.setCurrentDateObjEnd,D=ne(Object(r.useState)(!1),2),T=D[0],S=D[1];Object(r.useEffect)((function(){t&&setTimeout((function(){S(!0)}),0)}),[t]);var A=Object(r.useMemo)((function(){return c("react-minimal-datetime-range",T&&"visible")}),[T]);return i.a.createElement("div",{className:A},i.a.createElement("div",{className:"react-minimal-datetime-date-piker"},i.a.createElement(J,{selected:a,setSelected:n,handleChooseStartDate:o,handleChooseEndDate:l,rangeDirection:"start",defaultDateStart:m[0],defaultDateEnd:m[1],locale:u,startDatePickedArray:d,endDatePickedArray:f,currentDateObjStart:w,setCurrentDateObjStart:k,currentDateObjEnd:N,setCurrentDateObjEnd:C}),i.a.createElement(J,{selected:a,setSelected:n,handleChooseStartDate:o,handleChooseEndDate:l,rangeDirection:"end",defaultDateStart:m[0],defaultDateEnd:m[1],locale:u,startDatePickedArray:d,endDatePickedArray:f,currentDateObjStart:w,setCurrentDateObjStart:k,currentDateObjEnd:N,setCurrentDateObjEnd:C}),p===ce[1]&&i.a.createElement("div",{className:"react-minimal-datetime-range__time-piker"},i.a.createElement(ae,{defaultTimeStart:s[0],defaultTimeEnd:s[1],startDatePickedArray:d,endDatePickedArray:f,handleChooseStartTimeHour:b,handleChooseStartTimeMinute:g,handleChooseEndTimeHour:_,handleChooseEndTimeMinute:E,startTimePickedArray:O,endTimePickedArray:j}))),i.a.createElement("div",{className:"react-minimal-datetime-range__button-wrapper"},i.a.createElement("div",{className:c("react-minimal-datetime-range__button","react-minimal-datetime-range__button--type",!a&&"disabled"),onClick:a?h:function(){}},p===ce[0]?v[u][ce[1]]:v[u][ce[0]]),i.a.createElement("div",{className:c("react-minimal-datetime-range__button","react-minimal-datetime-range__button--confirm",!a&&"disabled"),onClick:a?y:function(){}},v[u].confirm)))}));"undefined"!=typeof window&&(window.ReactMinimalDateTimeRange=n);t.default=n}])})); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports["react-minimal-datetime-range"]=t(require("React"),require("ReactDOM")):e["react-minimal-datetime-range"]=t(e.React,e.ReactDOM)}(this,(function(e,t){return function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=21)}([function(t,a){t.exports=e},function(e,t,a){"use strict";e.exports=a(6)},function(e,t,a){e.exports=a(7)()},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,a){"use strict";t.__esModule=!0,t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n,e.exports=t.default},function(e,t,a){"use strict";t.__esModule=!0,t.nameShape=void 0,t.transitionTimeout=function(e){var t="transition"+e+"Timeout",a="transition"+e;return function(e){if(e[a]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}};r(a(0));var n=r(a(2));function r(e){return e&&e.__esModule?e:{default:e}}t.nameShape=n.default.oneOfType([n.default.string,n.default.shape({enter:n.default.string,leave:n.default.string,active:n.default.string}),n.default.shape({enter:n.default.string,enterActive:n.default.string,leave:n.default.string,leaveActive:n.default.string,appear:n.default.string,appearActive:n.default.string})])},function(e,t,a){"use strict";t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var a=0,n=new Array(t);ae.length)&&(t=e.length);for(var a=0,n=new Array(t);a0&&void 0!==arguments[0]&&arguments[0],t=M,a=P,n=x;if(!e){var r=o.split("-");t=Number(r[0]),a=Number(r[1]),n=Number(r[2])}var i="next";(te.length)&&(t=e.length);for(var a=0,n=new Array(t);a_?n:r}if(y.length){f=y[0]===e.year&&y[1]===e.month&&y[2]===e.name;var E=new Date(y.join("-"));b.length?s>E&&sE&&(v=!0)}b.length&&(h=b[0]===e.year&&b[1]===e.month&&b[2]===e.name)}var O=c("react-minimal-datetime-range-calendar__table-cel","react-minimal-datetime-range-calendar__date-item","range",u&&"disabled",f&&"active",h&&"active",v&&"highlight",G==e.name&&F==e.month&&q==e.year&&"today");return i.a.createElement(Q,{key:m,selected:t,setSelected:a,startDatePickedArray:n,endDatePickedArray:r,handleChooseStartDate:o,handleChooseEndDate:l,item:e,onClick:p,datePickerItemClass:O})}))),i.a.createElement("div",{className:"react-minimal-datetime-range-calendar__table-row",key:e},m)}));return i.a.createElement("div",{className:"react-minimal-datetime-range-calendar__table slide"},h)})),Q=Object(r.memo)((function(e){var t=e.selected,a=e.setSelected,n=e.startDatePickedArray,o=e.endDatePickedArray,c=e.handleChooseStartDate,l=e.handleChooseEndDate,m=e.item,s=void 0===m?{}:m,u=e.datePickerItemClass,d=void 0===u?"":u,f=(e.onClick,Object(r.useCallback)((function(){n.length?(a(!0),l(s)):c(s),t&&(l({year:"",month:"",name:"",value:""}),c(s),a(!1))}),[s,t,n,o])),p=Object(r.useCallback)((function(){t||n.length&&l(s)}),[s,t,n,o]);return i.a.createElement("div",{className:"".concat(d),onMouseOver:p,onClick:f},s.name)})),J=K;function X(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Z(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(a);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Z(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);ae.length)&&(t=e.length);for(var a=0,n=new Array(t);at?H:U,r="".concat(a.join("-")," ").concat(J.join(":")),i="".concat(n.join("-")," ").concat(ee.join(":"));D(r),A(i),W(a),Y(n),ie([a.join("-"),n.join("-")]),I(!1),h&&h([r,i])}),[H,U,J,ee]),ge=Object(r.useCallback)((function(e){e.stopPropagation(),k(!1),I(!1),D(""),A(""),W([]),Y([]),ie(["",""]),se(["",""]),X(["00","00"]),te(["00","00"]),y&&y()}),[]);return Object(r.useEffect)((function(){x(ce[0])}),[R]),Object(r.useEffect)((function(){R||g&&g()}),[R]),Object(r.useEffect)((function(){D(m[0]?"".concat(m[0]," ").concat(u[0]?u[0]:""):""),A(m[1]?"".concat(m[1]," ").concat(u[1]?u[1]:""):"")}),[m]),i.a.createElement("div",{className:"react-minimal-datetime-range__range",style:E},i.a.createElement("span",{className:"react-minimal-datetime-range__range-input-wrapper",onClick:function(){return I(!R)}},i.a.createElement("input",{readOnly:!0,placeholder:o[0],className:"react-minimal-datetime-range__range-input",tabIndex:"-1",value:C}),i.a.createElement("span",{className:"react-minimal-datetime-range__range-input-separator"}," ~ "),i.a.createElement("input",{readOnly:!0,placeholder:o[1],className:"react-minimal-datetime-range__range-input",tabIndex:"-1",value:S}),C?i.a.createElement("svg",{className:"react-minimal-datetime-range__clear",width:"15",height:"15",viewBox:"0 0 24 24",onClick:ge},i.a.createElement("path",{className:"react-minimal-datetime-range__icon-fill",d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),i.a.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})):i.a.createElement("svg",{className:"react-minimal-datetime-range__clear",width:"15",height:"15",viewBox:"0 0 24 24"},i.a.createElement("path",{className:"react-minimal-datetime-range__icon-fill",d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),i.a.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}))),R&&i.a.createElement(me,{show:R,selected:w,setSelected:k,handleChooseStartDate:ue,handleChooseEndDate:de,dates:re,times:le,locale:a,startDatePickedArray:H,endDatePickedArray:U,type:P,handleOnChangeType:ye,handleOnConfirm:be,startTimePickedArray:J,endTimePickedArray:ee,handleChooseStartTimeHour:fe,handleChooseStartTimeMinute:pe,handleChooseEndTimeHour:he,handleChooseEndTimeMinute:ve,currentDateObjStart:q,setCurrentDateObjStart:F,currentDateObjEnd:K,setCurrentDateObjEnd:$}))})),me=Object(r.memo)((function(e){var t=e.show,a=e.selected,n=e.setSelected,o=e.handleChooseStartDate,l=e.handleChooseEndDate,m=e.dates,s=e.times,u=e.locale,d=e.startDatePickedArray,f=e.endDatePickedArray,p=e.type,h=e.handleOnChangeType,y=e.handleOnConfirm,b=e.handleChooseStartTimeHour,g=e.handleChooseStartTimeMinute,_=e.handleChooseEndTimeHour,E=e.handleChooseEndTimeMinute,O=e.startTimePickedArray,j=e.endTimePickedArray,w=(e.currentDateObjList,e.currentDateObjStart),k=e.setCurrentDateObjStart,N=e.currentDateObjEnd,C=e.setCurrentDateObjEnd,D=ne(Object(r.useState)(!1),2),T=D[0],S=D[1];Object(r.useEffect)((function(){t&&setTimeout((function(){S(!0)}),0)}),[t]);var A=Object(r.useMemo)((function(){return c("react-minimal-datetime-range",T&&"visible")}),[T]);return i.a.createElement("div",{className:A},i.a.createElement("div",{className:"react-minimal-datetime-date-piker"},i.a.createElement(J,{selected:a,setSelected:n,handleChooseStartDate:o,handleChooseEndDate:l,rangeDirection:"start",defaultDateStart:m[0],defaultDateEnd:m[1],locale:u,startDatePickedArray:d,endDatePickedArray:f,currentDateObjStart:w,setCurrentDateObjStart:k,currentDateObjEnd:N,setCurrentDateObjEnd:C}),i.a.createElement(J,{selected:a,setSelected:n,handleChooseStartDate:o,handleChooseEndDate:l,rangeDirection:"end",defaultDateStart:m[0],defaultDateEnd:m[1],locale:u,startDatePickedArray:d,endDatePickedArray:f,currentDateObjStart:w,setCurrentDateObjStart:k,currentDateObjEnd:N,setCurrentDateObjEnd:C}),p===ce[1]&&i.a.createElement("div",{className:"react-minimal-datetime-range__time-piker"},i.a.createElement(ae,{defaultTimeStart:s[0],defaultTimeEnd:s[1],startDatePickedArray:d,endDatePickedArray:f,handleChooseStartTimeHour:b,handleChooseStartTimeMinute:g,handleChooseEndTimeHour:_,handleChooseEndTimeMinute:E,startTimePickedArray:O,endTimePickedArray:j}))),i.a.createElement("div",{className:"react-minimal-datetime-range__button-wrapper"},i.a.createElement("div",{className:c("react-minimal-datetime-range__button","react-minimal-datetime-range__button--type",!a&&"disabled"),onClick:a?h:function(){}},p===ce[0]?v[u][ce[1]]:v[u][ce[0]]),i.a.createElement("div",{className:c("react-minimal-datetime-range__button","react-minimal-datetime-range__button--confirm",!a&&"disabled"),onClick:a?y:function(){}},v[u].confirm)))}));"undefined"!=typeof window&&(window.ReactMinimalDateTimeRange=n);t.default=n}])})); //# sourceMappingURL=react-minimal-datetime-range.min.js.map \ No newline at end of file diff --git a/lib/react-minimal-datetime-range.min.js.map b/lib/react-minimal-datetime-range.min.js.map index 5909a2c..7d45f99 100644 --- a/lib/react-minimal-datetime-range.min.js.map +++ b/lib/react-minimal-datetime-range.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://react-minimal-datetime-range/react-minimal-datetime-range.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE__0__","__WEBPACK_EXTERNAL_MODULE__19__","modules","installedModules","__webpack_require__","moduleId","i","l","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","obj","default","_default","window","document","createElement","nameShape","undefined","transitionTimeout","transitionType","timeoutPropName","enabledPropName","props","Error","_interopRequireDefault","_propTypes2","oneOfType","string","shape","enter","leave","active","enterActive","leaveActive","appear","appearActive","_extends","assign","target","arguments","length","source","_react2","_TransitionGroup2","_CSSTransitionGroupChild2","_PropTypes","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","isRequired","bool","CSSTransitionGroup","_React$Component","_temp","_this","_len","args","Array","_key","apply","concat","_wrapChild","child","transitionName","transitionAppear","transitionEnter","transitionLeave","appearTimeout","transitionAppearTimeout","enterTimeout","transitionEnterTimeout","leaveTimeout","transitionLeaveTimeout","subClass","superClass","constructor","writable","configurable","setPrototypeOf","__proto__","_inherits","render","childFactory","Component","displayName","propTypes","defaultProps","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","componentName","location","propFullName","secret","err","getShim","ReactPropTypes","array","func","number","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","exact","checkPropTypes","PropTypes","_chainFunction2","_ChildMapping","TransitionGroup","context","performAppear","component","currentlyTransitioningKeys","componentWillAppear","_handleDoneAppearing","componentDidAppear","currentChildMapping","getChildMapping","children","performLeave","performEnter","componentWillEnter","_handleDoneEntering","componentDidEnter","componentWillLeave","_handleDoneLeaving","componentDidLeave","keysToEnter","push","setState","state","newChildren","childRefs","componentWillMount","keysToLeave","componentDidMount","initialChildMapping","componentWillReceiveProps","nextProps","nextChildMapping","prevChildMapping","mergeChildMappings","hasPrev","hasNext","componentDidUpdate","_this2","forEach","_this3","childrenToRender","_loop","isCallbackRef","ref","factoryChild","cloneElement","len","filter","fn","reduce","current","next","result","_react","Children","map","prev","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","_addClass2","_removeClass2","_requestAnimationFrame2","_properties","_reactDom","events","transitionEnd","animationEnd","CSSTransitionGroupChild","done","transition","classNameAndNodeQueue","transitionTimeouts","componentWillUnmount","unmounted","timeout","clearTimeout","animationType","finishCallback","findDOMNode","className","activeClassName","timer","removeListeners","queueClassAndNode","finish","e","setTimeout","listener","addEventListener","removeEventListener","addEndListener","rafHandle","flushClassNameAndNodeQueue","scrollTop","only","classList","add","_hasClass","setAttribute","baseVal","contains","indexOf","replaceClassName","origClass","classToRemove","replace","RegExp","remove","compatRaf","_inDOM","cancel","raf","curr","Date","getTime","ms","Math","max","req","getKey","vendor","k","toUpperCase","substr","some","rafKey","cb","id","animationDelay","animationTiming","animationDuration","animationName","transitionDuration","transitionDelay","transitionTiming","transitionProperty","transform","prefix","_getTransitionPropert","style","vendorMap","O","toLowerCase","Moz","Webkit","vendors","keys","getTransitionProperties","end","timing","delay","duration","__webpack_exports__","component_namespaceObject","CalendarPicker","RangePicker","external_React_","external_React_default","_typeof","iterator","cx","classes","arg","argType","isArray","inner","join","isValidDate","str","isNaN","locale_typeof","locale","w","res","locale_locale","en-us","today","reset","reset-date","clear","now","weeks","months","date","time","confirm","zh-cn","REACT_MINIMAL_DATETIME_RANGE","j","console","error","component_locale","_react_addons_css_transition_group_15_6_2_react_addons_css_transition_group","_react_addons_css_transition_group_15_6_2_react_addons_css_transition_group_default","_toConsumableArray","arr","_arrayLikeToArray","_arrayWithoutHoles","iter","from","_iterableToArray","minLen","toString","slice","test","_unsupportedIterableToArray","_nonIterableSpread","arr2","getDaysArray","year","month","prevMonth","nextMonth","prevYear","nextYear","thisMonthDate","prevMonthDate","nextMonthDate","startOffset","getDay","getDaysListByMonth","endOffset","day","_i","String","monthName","formatDateString","getMonth","dayName","getDate","item","setDate","val","Number","getYearSet","itemNumber","_i2","isWith1Month","PI","year1","year2","month1","month2","type","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","_objectSpread","_defineProperty","getOwnPropertyDescriptors","defineProperties","_slicedToArray","_arrayWithHoles","_arr","_n","_d","_e","_s","_iterableToArrayLimit","Calendar_arrayLikeToArray","Calendar_unsupportedIterableToArray","_nonIterableRest","TODAY","YEAR","getFullYear","MONTH","DATE","Index","_ref","_ref$locale","_ref$defaultDate","defaultDate","_ref$onYearPicked","onYearPicked","_ref$onMonthPicked","onMonthPicked","_ref$onDatePicked","onDatePicked","_ref$onResetDate","onResetDate","_ref$onResetDefaultDa","onResetDefaultDate","defaultDateDate","defaultDateMonth","defaultDateYear","defaultDates","isDefaultDateValid","dateStr","split","defaultYearStr","defaultMonthStr","defaultDateStr","_useState2","dates","setDates","_useState4","pickedYearMonth","setPickedYearMonth","_useState6","_useState8","pickedDateInfo","setPickedDateInfo","_useState10","direction","setDirection","_useState12","yearSelectorPanelList","setYearSelectorPanelList","_useState14","yearSelectorPanel","setYearSelectorPanel","_useState16","showMask","setShowMask","_useState18","showSelectorPanel","setShowSelectorPanel","$monthSelectorPanel","onMouseDown","onMouseUp","transitionContainerStyle","content","pickYear","pickMonth","yearStr","monthStr","pickDate","pickedDate","newPickedDateInfo","_dateStr","changeSelectorPanelYearSet","handleShowSelectorPanel","row","rowIndex","rowObj","a","CalendarBody","data","onClick","height","selectorPanelYearHtml","captionHtml","selectorPanelClass","selectorPanelMonthHtml","itemMonth","monthItemClass","yearItemClass","verticalAlign","onTouchEnd","onTouchCancel","width","viewBox","fill","_ref2","_ref2$data","_ref2$pickedDateInfo","_ref2$pickedYearMonth","_ref2$onClick","colHtml","isPicked","isDisabled","datePickerItemClass","CalendarItem","_ref3","_ref3$item","_ref3$isPicked","_ref3$isDisabled","_ref3$datePickerItemC","_ref3$onClick","handleOnClick","Calendar","RangeDate_ownKeys","RangeDate_objectSpread","RangeDate_defineProperty","RangeDate_slicedToArray","RangeDate_arrayWithHoles","RangeDate_iterableToArrayLimit","RangeDate_arrayLikeToArray","RangeDate_unsupportedIterableToArray","RangeDate_nonIterableRest","RangeDate_TODAY","RangeDate_YEAR","RangeDate_MONTH","RangeDate_DATE","RangeDate_Index","defaultDateMonthEnd","selected","setSelected","_ref$defaultDateStart","defaultDateStart","_ref$defaultDateEnd","defaultDateEnd","_ref$rangeDirection","rangeDirection","_ref$startDatePickedA","startDatePickedArray","_ref$endDatePickedArr","endDatePickedArray","_ref$handleChooseStar","handleChooseStartDate","_ref$handleChooseEndD","handleChooseEndDate","_ref$currentDateObjSt","currentDateObjStart","_ref$currentDateObjEn","currentDateObjEnd","_ref$setCurrentDateOb","setCurrentDateObjStart","_ref$setCurrentDateOb2","setCurrentDateObjEnd","defaultDateDateStart","defaultDateMonthStart","defaultDateYearStart","defaultDateDateEnd","defaultDateYearEnd","showPrevYearArrow","showPrevMonthArrow","showNextYearArrow","showNextMonthArrow","defaultDatesStart","defaultDatesEnd","newData","RangeDate_CalendarBody","itemDate","isPickedStart","isPickedEnd","isHighlight","starts","ends","b","targetDate","RangeDate_CalendarItem","handleOnMouseOver","onMouseOver","RangeDate","RangeTime_toConsumableArray","RangeTime_arrayLikeToArray","RangeTime_arrayWithoutHoles","RangeTime_iterableToArray","RangeTime_unsupportedIterableToArray","RangeTime_nonIterableSpread","HOURS","MINUTES","RangeTime","handleChooseStartTimeHour","handleChooseStartTimeMinute","handleChooseEndTimeHour","handleChooseEndTimeMinute","startTimePickedArray","endTimePickedArray","component_slicedToArray","component_arrayWithHoles","component_iterableToArrayLimit","component_arrayLikeToArray","component_unsupportedIterableToArray","component_nonIterableRest","STYLES","ex","_ref$show","show","_ref$onClose","onClose","_ref$style","internalShow","setInternalShow","handleOnClose","handleOnYearPicked","yearObj","handleOnMonthPicked","monthObj","handleOnDatePicked","dateObj","handleOnResetDate","handleOnResetDefaultDate","CalendarPickerComponent","componentClass","TYPES","_ref3$locale","_ref3$placeholder","placeholder","_ref3$defaultDates","_ref3$defaultTimes","defaultTimes","_ref3$show","_ref3$onConfirm","onConfirm","_ref3$onClear","onClear","_ref3$onClose","_ref3$style","isDefaultDatesValid","isValid","start","setStart","setEnd","setType","setStartDatePickedArray","setEndDatePickedArray","_useState20","_useState22","_useState24","setStartTimePickedArray","_useState26","setEndTimePickedArray","_useState28","_useState30","times","setTimes","_ref4","_ref5","handleOnChangeType","handleOnConfirm","startStr","endStr","handleOnClear","stopPropagation","readOnly","tabIndex","RangePickerComponent","_ref6","currentDateObjList","_useState32","defaultTimeStart","defaultTimeEnd","ReactMinimalDateTimeRange"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,SAAUA,QAAQ,cAC1B,mBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,CAAC,QAAS,aAAcJ,GACL,iBAAZC,QACdA,QAAQ,gCAAkCD,EAAQG,QAAQ,SAAUA,QAAQ,cAE5EJ,EAAK,gCAAkCC,EAAQD,EAAY,MAAGA,EAAK,cARrE,CASGO,MAAM,SAASC,EAAgCC,GAClD,OAAgB,SAAUC,GAEhB,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUX,QAGnC,IAAIC,EAASQ,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHb,QAAS,IAUV,OANAQ,EAAQG,GAAUG,KAAKb,EAAOD,QAASC,EAAQA,EAAOD,QAASU,GAG/DT,EAAOY,GAAI,EAGJZ,EAAOD,QA0Df,OArDAU,EAAoBK,EAAIP,EAGxBE,EAAoBM,EAAIP,EAGxBC,EAAoBO,EAAI,SAASjB,EAASkB,EAAMC,GAC3CT,EAAoBU,EAAEpB,EAASkB,IAClCG,OAAOC,eAAetB,EAASkB,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhET,EAAoBe,EAAI,SAASzB,GACX,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G,eAAgBlG,EAAM,GACtB7H,OAAQA,EACRmO,qBAAsBA,EACtBE,mBAAoBA,EACpBM,oBAAqBA,EACrBI,uBAAwBA,EACxBF,kBAAmBA,EACnBI,qBAAsBA,IACpBzK,IAAS4O,GAAM,IAAmBlU,EAAuBqL,EAAEjc,cAAc,MAAO,CAClF8L,UAAW,4CACG8E,EAAuBqL,EAAEjc,cAAc6iB,GAAW,CAChE+E,iBAAkBhB,EAAM,GACxBiB,eAAgBjB,EAAM,GACtB/G,qBAAsBA,EACtBE,mBAAoBA,EACpB+C,0BAA2BA,EAC3BC,4BAA6BA,EAC7BC,wBAAyBA,EACzBC,0BAA2BA,EAC3BC,qBAAsBA,EACtBC,mBAAoBA,MACHvS,EAAuBqL,EAAEjc,cAAc,MAAO,CAC/D8L,UAAW,gDACG8E,EAAuBqL,EAAEjc,cAAc,MAAO,CAC5D8L,UAAWiF,EAAG,uCAAwC,8CAA+CqO,GAAY,YACjHhD,QAASgD,EAAW4H,EAAqB,cACxC9Q,IAAS4O,GAAM,GAAKhS,EAAiBpB,GAAQoT,GAAM,IAAMhS,EAAiBpB,GAAQoT,GAAM,KAAmBlU,EAAuBqL,EAAEjc,cAAc,MAAO,CAC1J8L,UAAWiF,EAAG,uCAAwC,iDAAkDqO,GAAY,YACpHhD,QAASgD,EAAW6H,EAAkB,cACrCnU,EAAiBpB,GAAiB,cAKjB,oBAAX5R,SACTA,OAAOgoB,0BAA4BtX,GAGQD,EAA6B,QAAI","file":"react-minimal-datetime-range.min.js","sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://react-minimal-datetime-range/react-minimal-datetime-range.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE__0__","__WEBPACK_EXTERNAL_MODULE__19__","modules","installedModules","__webpack_require__","moduleId","i","l","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","obj","default","_default","window","document","createElement","nameShape","undefined","transitionTimeout","transitionType","timeoutPropName","enabledPropName","props","Error","_interopRequireDefault","_propTypes2","oneOfType","string","shape","enter","leave","active","enterActive","leaveActive","appear","appearActive","_extends","assign","target","arguments","length","source","_react2","_TransitionGroup2","_CSSTransitionGroupChild2","_PropTypes","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","isRequired","bool","CSSTransitionGroup","_React$Component","_temp","_this","_len","args","Array","_key","apply","concat","_wrapChild","child","transitionName","transitionAppear","transitionEnter","transitionLeave","appearTimeout","transitionAppearTimeout","enterTimeout","transitionEnterTimeout","leaveTimeout","transitionLeaveTimeout","subClass","superClass","constructor","writable","configurable","setPrototypeOf","__proto__","_inherits","render","childFactory","Component","displayName","propTypes","defaultProps","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","componentName","location","propFullName","secret","err","getShim","ReactPropTypes","array","func","number","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","exact","checkPropTypes","PropTypes","_chainFunction2","_ChildMapping","TransitionGroup","context","performAppear","component","currentlyTransitioningKeys","componentWillAppear","_handleDoneAppearing","componentDidAppear","currentChildMapping","getChildMapping","children","performLeave","performEnter","componentWillEnter","_handleDoneEntering","componentDidEnter","componentWillLeave","_handleDoneLeaving","componentDidLeave","keysToEnter","push","setState","state","newChildren","childRefs","componentWillMount","keysToLeave","componentDidMount","initialChildMapping","componentWillReceiveProps","nextProps","nextChildMapping","prevChildMapping","mergeChildMappings","hasPrev","hasNext","componentDidUpdate","_this2","forEach","_this3","childrenToRender","_loop","isCallbackRef","ref","factoryChild","cloneElement","len","filter","fn","reduce","current","next","result","_react","Children","map","prev","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","_addClass2","_removeClass2","_requestAnimationFrame2","_properties","_reactDom","events","transitionEnd","animationEnd","CSSTransitionGroupChild","done","transition","classNameAndNodeQueue","transitionTimeouts","componentWillUnmount","unmounted","timeout","clearTimeout","animationType","finishCallback","findDOMNode","className","activeClassName","timer","removeListeners","queueClassAndNode","finish","e","setTimeout","listener","addEventListener","removeEventListener","addEndListener","rafHandle","flushClassNameAndNodeQueue","scrollTop","only","classList","add","_hasClass","setAttribute","baseVal","contains","indexOf","replaceClassName","origClass","classToRemove","replace","RegExp","remove","compatRaf","_inDOM","cancel","raf","curr","Date","getTime","ms","Math","max","req","getKey","vendor","k","toUpperCase","substr","some","rafKey","cb","id","animationDelay","animationTiming","animationDuration","animationName","transitionDuration","transitionDelay","transitionTiming","transitionProperty","transform","prefix","_getTransitionPropert","style","vendorMap","O","toLowerCase","Moz","Webkit","vendors","keys","getTransitionProperties","end","timing","delay","duration","__webpack_exports__","component_namespaceObject","CalendarPicker","RangePicker","external_React_","external_React_default","_typeof","iterator","cx","classes","arg","argType","isArray","inner","join","isValidDate","str","isNaN","locale_typeof","locale","w","res","locale_locale","en-us","today","reset","reset-date","clear","now","weeks","months","date","time","confirm","zh-cn","REACT_MINIMAL_DATETIME_RANGE","j","console","error","component_locale","_react_addons_css_transition_group_15_6_2_react_addons_css_transition_group","_react_addons_css_transition_group_15_6_2_react_addons_css_transition_group_default","_toConsumableArray","arr","_arrayLikeToArray","_arrayWithoutHoles","iter","from","_iterableToArray","minLen","toString","slice","test","_unsupportedIterableToArray","_nonIterableSpread","arr2","getDaysArray","year","month","prevMonth","nextMonth","prevYear","nextYear","thisMonthDate","prevMonthDate","nextMonthDate","startOffset","getDay","getDaysListByMonth","endOffset","day","_i","String","monthName","formatDateString","getMonth","dayName","getDate","item","setDate","val","Number","getYearSet","itemNumber","_i2","isWith1Month","PI","year1","year2","month1","month2","type","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","_objectSpread","_defineProperty","getOwnPropertyDescriptors","defineProperties","_slicedToArray","_arrayWithHoles","_arr","_n","_d","_e","_s","_iterableToArrayLimit","Calendar_arrayLikeToArray","Calendar_unsupportedIterableToArray","_nonIterableRest","TODAY","YEAR","getFullYear","MONTH","DATE","Index","_ref","_ref$locale","_ref$defaultDate","defaultDate","_ref$onYearPicked","onYearPicked","_ref$onMonthPicked","onMonthPicked","_ref$onDatePicked","onDatePicked","_ref$onResetDate","onResetDate","_ref$onResetDefaultDa","onResetDefaultDate","defaultDateDate","defaultDateMonth","defaultDateYear","defaultDates","isDefaultDateValid","dateStr","split","defaultYearStr","defaultMonthStr","defaultDateStr","_useState2","dates","setDates","_useState4","pickedYearMonth","setPickedYearMonth","_useState6","_useState8","pickedDateInfo","setPickedDateInfo","_useState10","direction","setDirection","_useState12","yearSelectorPanelList","setYearSelectorPanelList","_useState14","yearSelectorPanel","setYearSelectorPanel","_useState16","showMask","setShowMask","_useState18","showSelectorPanel","setShowSelectorPanel","$monthSelectorPanel","onMouseDown","onMouseUp","transitionContainerStyle","content","pickYear","pickMonth","yearStr","monthStr","pickDate","pickedDate","newPickedDateInfo","_dateStr","changeSelectorPanelYearSet","handleShowSelectorPanel","row","rowIndex","rowObj","a","CalendarBody","data","onClick","height","selectorPanelYearHtml","captionHtml","selectorPanelClass","selectorPanelMonthHtml","itemMonth","monthItemClass","yearItemClass","verticalAlign","onTouchEnd","onTouchCancel","width","viewBox","fill","_ref2","_ref2$data","_ref2$pickedDateInfo","_ref2$pickedYearMonth","_ref2$onClick","colHtml","isPicked","isDisabled","datePickerItemClass","CalendarItem","_ref3","_ref3$item","_ref3$isPicked","_ref3$isDisabled","_ref3$datePickerItemC","_ref3$onClick","handleOnClick","Calendar","RangeDate_ownKeys","RangeDate_objectSpread","RangeDate_defineProperty","RangeDate_slicedToArray","RangeDate_arrayWithHoles","RangeDate_iterableToArrayLimit","RangeDate_arrayLikeToArray","RangeDate_unsupportedIterableToArray","RangeDate_nonIterableRest","RangeDate_TODAY","RangeDate_YEAR","RangeDate_MONTH","RangeDate_DATE","RangeDate_Index","defaultDateMonthEnd","selected","setSelected","_ref$defaultDateStart","defaultDateStart","_ref$defaultDateEnd","defaultDateEnd","_ref$rangeDirection","rangeDirection","_ref$startDatePickedA","startDatePickedArray","_ref$endDatePickedArr","endDatePickedArray","_ref$handleChooseStar","handleChooseStartDate","_ref$handleChooseEndD","handleChooseEndDate","_ref$currentDateObjSt","currentDateObjStart","_ref$currentDateObjEn","currentDateObjEnd","_ref$setCurrentDateOb","setCurrentDateObjStart","_ref$setCurrentDateOb2","setCurrentDateObjEnd","defaultDateDateStart","defaultDateMonthStart","defaultDateYearStart","defaultDateDateEnd","defaultDateYearEnd","showPrevYearArrow","showPrevMonthArrow","showNextYearArrow","showNextMonthArrow","defaultDatesStart","defaultDatesEnd","newData","RangeDate_CalendarBody","itemDate","isPickedStart","isPickedEnd","isHighlight","starts","ends","b","targetDate","RangeDate_CalendarItem","handleOnMouseOver","onMouseOver","RangeDate","RangeTime_toConsumableArray","RangeTime_arrayLikeToArray","RangeTime_arrayWithoutHoles","RangeTime_iterableToArray","RangeTime_unsupportedIterableToArray","RangeTime_nonIterableSpread","HOURS","MINUTES","RangeTime","handleChooseStartTimeHour","handleChooseStartTimeMinute","handleChooseEndTimeHour","handleChooseEndTimeMinute","startTimePickedArray","endTimePickedArray","component_slicedToArray","component_arrayWithHoles","component_iterableToArrayLimit","component_arrayLikeToArray","component_unsupportedIterableToArray","component_nonIterableRest","STYLES","ex","_ref$show","show","_ref$onClose","onClose","_ref$style","internalShow","setInternalShow","handleOnClose","handleOnYearPicked","yearObj","handleOnMonthPicked","monthObj","handleOnDatePicked","dateObj","handleOnResetDate","handleOnResetDefaultDate","CalendarPickerComponent","componentClass","TYPES","_ref3$locale","_ref3$placeholder","placeholder","_ref3$defaultDates","_ref3$defaultTimes","defaultTimes","_ref3$show","_ref3$onConfirm","onConfirm","_ref3$onClear","onClear","_ref3$onClose","_ref3$style","isDefaultDatesValid","isValid","start","setStart","setEnd","setType","setStartDatePickedArray","setEndDatePickedArray","_useState20","_useState22","_useState24","setStartTimePickedArray","_useState26","setEndTimePickedArray","_useState28","_useState30","times","setTimes","_ref4","_ref5","handleOnChangeType","handleOnConfirm","startStr","endStr","handleOnClear","stopPropagation","readOnly","tabIndex","RangePickerComponent","_ref6","currentDateObjList","_useState32","defaultTimeStart","defaultTimeEnd","ReactMinimalDateTimeRange"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,SAAUA,QAAQ,aAC1B,mBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,CAAC,QAAS,YAAaJ,GACJ,iBAAZC,QACdA,QAAQ,gCAAkCD,EAAQG,QAAQ,SAAUA,QAAQ,aAE5EJ,EAAK,gCAAkCC,EAAQD,EAAY,MAAGA,EAAe,UAR/E,CASGO,MAAM,SAASC,EAAgCC,GAClD,OAAgB,SAAUC,GAEhB,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUX,QAGnC,IAAIC,EAASQ,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHb,QAAS,IAUV,OANAQ,EAAQG,GAAUG,KAAKb,EAAOD,QAASC,EAAQA,EAAOD,QAASU,GAG/DT,EAAOY,GAAI,EAGJZ,EAAOD,QA0Df,OArDAU,EAAoBK,EAAIP,EAGxBE,EAAoBM,EAAIP,EAGxBC,EAAoBO,EAAI,SAASjB,EAASkB,EAAMC,GAC3CT,EAAoBU,EAAEpB,EAASkB,IAClCG,OAAOC,eAAetB,EAASkB,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhET,EAAoBe,EAAI,SAASzB,GACX,oBAAX0B,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAetB,EAAS0B,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAetB,EAAS,aAAc,CAAE4B,OAAO,KAQvDlB,EAAoBmB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQlB,EAAoBkB,IAC/B,EAAPE,E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AAEjc,cAAc6iB,GAAW,CAChE+E,iBAAkBhB,EAAM,GACxBiB,eAAgBjB,EAAM,GACtB/G,qBAAsBA,EACtBE,mBAAoBA,EACpB+C,0BAA2BA,EAC3BC,4BAA6BA,EAC7BC,wBAAyBA,EACzBC,0BAA2BA,EAC3BC,qBAAsBA,EACtBC,mBAAoBA,MACHvS,EAAuBqL,EAAEjc,cAAc,MAAO,CAC/D8L,UAAW,gDACG8E,EAAuBqL,EAAEjc,cAAc,MAAO,CAC5D8L,UAAWiF,EAAG,uCAAwC,8CAA+CqO,GAAY,YACjHhD,QAASgD,EAAW4H,EAAqB,cACxC9Q,IAAS4O,GAAM,GAAKhS,EAAiBpB,GAAQoT,GAAM,IAAMhS,EAAiBpB,GAAQoT,GAAM,KAAmBlU,EAAuBqL,EAAEjc,cAAc,MAAO,CAC1J8L,UAAWiF,EAAG,uCAAwC,iDAAkDqO,GAAY,YACpHhD,QAASgD,EAAW6H,EAAkB,cACrCnU,EAAiBpB,GAAiB,cAKjB,oBAAX5R,SACTA,OAAOgoB,0BAA4BtX,GAGQD,EAA6B,QAAI","file":"react-minimal-datetime-range.min.js","sourceRoot":""} \ No newline at end of file diff --git a/package.json b/package.json index d4fadd2..1dfea74 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-minimal-datetime-range", - "version": "1.2.0", + "version": "1.3.0", "description": "A react date time range picker component", "main": "index.js", "repository": {