@seafile/seafile-calendar 0.0.31-APloi0.2 → 0.0.31-Apph0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -180,7 +180,7 @@ if (process.env.NODE_ENV !== 'production') {
180
180
  module.exports = __webpack_require__(106)();
181
181
  }
182
182
 
183
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(20)))
183
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(19)))
184
184
 
185
185
  /***/ }),
186
186
  /* 5 */
@@ -207,7 +207,7 @@ if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
207
207
  /***/ (function(module, exports, __webpack_require__) {
208
208
 
209
209
  // Thank's IE8 for his funny defineProperty
210
- module.exports = !__webpack_require__(19)(function () {
210
+ module.exports = !__webpack_require__(18)(function () {
211
211
  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
212
212
  });
213
213
 
@@ -338,7 +338,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
338
338
  /* harmony export (immutable) */ __webpack_exports__["g"] = initializeStr;
339
339
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(26);
340
340
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
341
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_dayjs__ = __webpack_require__(16);
341
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_dayjs__ = __webpack_require__(20);
342
342
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_dayjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_dayjs__);
343
343
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_dayjs_plugin_utc__ = __webpack_require__(58);
344
344
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_dayjs_plugin_utc___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_dayjs_plugin_utc__);
@@ -906,7 +906,7 @@ module.exports = __webpack_require__(7) ? function (object, key, value) {
906
906
  /* 12 */
907
907
  /***/ (function(module, exports, __webpack_require__) {
908
908
 
909
- var anObject = __webpack_require__(18);
909
+ var anObject = __webpack_require__(17);
910
910
  var IE8_DOM_DEFINE = __webpack_require__(44);
911
911
  var toPrimitive = __webpack_require__(27);
912
912
  var dP = Object.defineProperty;
@@ -966,12 +966,6 @@ $exports.store = store;
966
966
  /* 16 */
967
967
  /***/ (function(module, exports, __webpack_require__) {
968
968
 
969
- !function(t,e){ true?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",$="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},D="en",v={};v[D]=M;var p=function(t){return t instanceof _},S=function(t,e,n){var r;if(!t)return D;if("string"==typeof t)v[t]&&(r=t),e&&(v[t]=e,r=t);else{var i=t.name;v[i]=t,r=i}return!n&&r&&(D=r),r||!n&&D},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),$=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},l=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case c:return r?$(1,0):$(31,11);case f:return r?$(1,M):$(0,M+1);case o:var D=this.$locale().weekStart||0,v=(y<D?y+7:y)-D;return $(r?m-v:m+(6-v),M);case a:case d:return l(g+"Hours",0);case u:return l(g+"Minutes",1);case s:return l(g+"Seconds",2);case i:return l(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),$=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],l=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[$](l),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else $&&this.$d[$](l);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,$=this;r=Number(r);var l=O.p(h),y=function(t){var e=w($);return O.w(e.date(e.date()+Math.round(t*r)),$)};if(l===f)return this.set(f,this.$M+r);if(l===c)return this.set(c,this.$y+r);if(l===a)return y(1);if(l===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[l]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||$;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].substr(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||l[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,$){var l,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,g=this-M,D=O.m(this,M);return D=(l={},l[c]=D/12,l[f]=D,l[h]=D/3,l[o]=(g-m)/6048e5,l[a]=(g-m)/864e5,l[u]=g/n,l[s]=g/e,l[i]=g/t,l)[y]||g,$?D:O.a(D)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return v[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),b=_.prototype;return w.prototype=b,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=v[D],w.Ls=v,w.p={},w}));
970
-
971
- /***/ }),
972
- /* 17 */
973
- /***/ (function(module, exports, __webpack_require__) {
974
-
975
969
  var global = __webpack_require__(5);
976
970
  var core = __webpack_require__(6);
977
971
  var ctx = __webpack_require__(43);
@@ -1037,7 +1031,7 @@ module.exports = $export;
1037
1031
 
1038
1032
 
1039
1033
  /***/ }),
1040
- /* 18 */
1034
+ /* 17 */
1041
1035
  /***/ (function(module, exports, __webpack_require__) {
1042
1036
 
1043
1037
  var isObject = __webpack_require__(13);
@@ -1048,7 +1042,7 @@ module.exports = function (it) {
1048
1042
 
1049
1043
 
1050
1044
  /***/ }),
1051
- /* 19 */
1045
+ /* 18 */
1052
1046
  /***/ (function(module, exports) {
1053
1047
 
1054
1048
  module.exports = function (exec) {
@@ -1061,7 +1055,7 @@ module.exports = function (exec) {
1061
1055
 
1062
1056
 
1063
1057
  /***/ }),
1064
- /* 20 */
1058
+ /* 19 */
1065
1059
  /***/ (function(module, exports) {
1066
1060
 
1067
1061
  // shim for using process in browser
@@ -1250,6 +1244,12 @@ process.chdir = function (dir) {
1250
1244
  process.umask = function() { return 0; };
1251
1245
 
1252
1246
 
1247
+ /***/ }),
1248
+ /* 20 */
1249
+ /***/ (function(module, exports, __webpack_require__) {
1250
+
1251
+ !function(t,e){ true?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",$="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},D="en",v={};v[D]=M;var p=function(t){return t instanceof _},S=function(t,e,n){var r;if(!t)return D;if("string"==typeof t)v[t]&&(r=t),e&&(v[t]=e,r=t);else{var i=t.name;v[i]=t,r=i}return!n&&r&&(D=r),r||!n&&D},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),$=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},l=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case c:return r?$(1,0):$(31,11);case f:return r?$(1,M):$(0,M+1);case o:var D=this.$locale().weekStart||0,v=(y<D?y+7:y)-D;return $(r?m-v:m+(6-v),M);case a:case d:return l(g+"Hours",0);case u:return l(g+"Minutes",1);case s:return l(g+"Seconds",2);case i:return l(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),$=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],l=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[$](l),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else $&&this.$d[$](l);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,$=this;r=Number(r);var l=O.p(h),y=function(t){var e=w($);return O.w(e.date(e.date()+Math.round(t*r)),$)};if(l===f)return this.set(f,this.$M+r);if(l===c)return this.set(c,this.$y+r);if(l===a)return y(1);if(l===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[l]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||$;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].substr(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||l[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,$){var l,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,g=this-M,D=O.m(this,M);return D=(l={},l[c]=D/12,l[f]=D,l[h]=D/3,l[o]=(g-m)/6048e5,l[a]=(g-m)/864e5,l[u]=g/n,l[s]=g/e,l[i]=g/t,l)[y]||g,$?D:O.a(D)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return v[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),b=_.prototype;return w.prototype=b,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=v[D],w.Ls=v,w.p={},w}));
1252
+
1253
1253
  /***/ }),
1254
1254
  /* 21 */
1255
1255
  /***/ (function(module, exports) {
@@ -1441,7 +1441,7 @@ module.exports = {};
1441
1441
  /***/ (function(module, exports, __webpack_require__) {
1442
1442
 
1443
1443
  // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
1444
- var anObject = __webpack_require__(18);
1444
+ var anObject = __webpack_require__(17);
1445
1445
  var dPs = __webpack_require__(77);
1446
1446
  var enumBugKeys = __webpack_require__(32);
1447
1447
  var IE_PROTO = __webpack_require__(30)('IE_PROTO');
@@ -1739,7 +1739,7 @@ module.exports = function (fn, that, length) {
1739
1739
  /* 44 */
1740
1740
  /***/ (function(module, exports, __webpack_require__) {
1741
1741
 
1742
- module.exports = !__webpack_require__(7) && !__webpack_require__(19)(function () {
1742
+ module.exports = !__webpack_require__(7) && !__webpack_require__(18)(function () {
1743
1743
  return Object.defineProperty(__webpack_require__(45)('div'), 'a', { get: function () { return 7; } }).a != 7;
1744
1744
  });
1745
1745
 
@@ -1837,7 +1837,7 @@ exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.d
1837
1837
  "use strict";
1838
1838
 
1839
1839
  var LIBRARY = __webpack_require__(23);
1840
- var $export = __webpack_require__(17);
1840
+ var $export = __webpack_require__(16);
1841
1841
  var redefine = __webpack_require__(51);
1842
1842
  var hide = __webpack_require__(11);
1843
1843
  var Iterators = __webpack_require__(35);
@@ -1961,7 +1961,7 @@ if (process.env.NODE_ENV === 'production') {
1961
1961
  module.exports = __webpack_require__(102);
1962
1962
  }
1963
1963
 
1964
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(20)))
1964
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(19)))
1965
1965
 
1966
1966
  /***/ }),
1967
1967
  /* 55 */
@@ -2695,7 +2695,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
2695
2695
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_prop_types__);
2696
2696
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rc_util_es_KeyCode__ = __webpack_require__(56);
2697
2697
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react_lifecycles_compat__ = __webpack_require__(42);
2698
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_dayjs__ = __webpack_require__(16);
2698
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_dayjs__ = __webpack_require__(20);
2699
2699
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_dayjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_dayjs__);
2700
2700
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__date_DateTable__ = __webpack_require__(107);
2701
2701
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__calendar_CalendarHeader__ = __webpack_require__(110);
@@ -2760,8 +2760,7 @@ var Calendar = function (_React$Component) {
2760
2760
  _this.state = {
2761
2761
  mode: _this.props.mode || 'date',
2762
2762
  value: getMomentObjectIfValid(props.value) || getMomentObjectIfValid(props.defaultValue) || __WEBPACK_IMPORTED_MODULE_9_dayjs___default()(),
2763
- selectedValue: props.selectedValue || props.defaultSelectedValue,
2764
- currentStatus: 0
2763
+ selectedValue: props.selectedValue || props.defaultSelectedValue
2765
2764
  };
2766
2765
  return _this;
2767
2766
  }
@@ -2806,12 +2805,10 @@ var Calendar = function (_React$Component) {
2806
2805
  inputMode = props.inputMode,
2807
2806
  showHourAndMinute = props.showHourAndMinute,
2808
2807
  firstDayOfWeek = props.firstDayOfWeek,
2809
- showWeekNumber = props.showWeekNumber,
2810
- shouldDisplayCurrent = props.shouldDisplayCurrent;
2808
+ showWeekNumber = props.showWeekNumber;
2811
2809
  var value = state.value,
2812
2810
  selectedValue = state.selectedValue,
2813
- mode = state.mode,
2814
- currentStatus = state.currentStatus;
2811
+ mode = state.mode;
2815
2812
 
2816
2813
  var showTimePicker = mode === 'time';
2817
2814
  var disabledTimeConfig = showTimePicker && disabledTime && timePicker ? Object(__WEBPACK_IMPORTED_MODULE_17__util__["c" /* getTimeConfig */])(selectedValue, disabledTime) : null;
@@ -2844,7 +2841,6 @@ var Calendar = function (_React$Component) {
2844
2841
  locale: locale,
2845
2842
  placeholder: calendarInputPlaceholder,
2846
2843
  showClear: true,
2847
- shouldDisplayCurrent: shouldDisplayCurrent,
2848
2844
  disabledTime: disabledTime,
2849
2845
  disabledDate: disabledDate,
2850
2846
  onClear: this.onClear,
@@ -2904,8 +2900,7 @@ var Calendar = function (_React$Component) {
2904
2900
  onSelect: this.onDateTableSelect,
2905
2901
  disabledDate: disabledDate,
2906
2902
  showWeekNumber: showWeekNumber,
2907
- firstDayOfWeek: firstDayOfWeek,
2908
- currentStatus: currentStatus
2903
+ firstDayOfWeek: firstDayOfWeek
2909
2904
  })
2910
2905
  ),
2911
2906
  __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_12__calendar_CalendarFooter__["a" /* default */], {
@@ -2985,8 +2980,7 @@ Calendar.propTypes = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__
2985
2980
  inputMode: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.string,
2986
2981
  onBlur: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.func,
2987
2982
  onClickRightPanelTime: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.func,
2988
- firstDayOfWeek: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.string,
2989
- shouldDisplayCurrent: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.bool
2983
+ firstDayOfWeek: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.string
2990
2984
  });
2991
2985
  Calendar.defaultProps = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, __WEBPACK_IMPORTED_MODULE_14__mixin_CalendarMixin__["a" /* calendarMixinDefaultProps */], __WEBPACK_IMPORTED_MODULE_15__mixin_CommonMixin__["b" /* defaultProp */], {
2992
2986
  showToday: true,
@@ -3081,7 +3075,6 @@ var _initialiseProps = function _initialiseProps() {
3081
3075
  this.onClear = function () {
3082
3076
  _this2.onSelect(null);
3083
3077
  _this2.props.onClear();
3084
- _this2.setState({ currentStatus: 1 });
3085
3078
  };
3086
3079
 
3087
3080
  this.onOk = function () {
@@ -3108,7 +3101,6 @@ var _initialiseProps = function _initialiseProps() {
3108
3101
  var timePicker = _this2.props.timePicker;
3109
3102
  var selectedValue = _this2.state.selectedValue;
3110
3103
 
3111
- _this2.setState({ currentStatus: 0 });
3112
3104
  if (!selectedValue && timePicker) {
3113
3105
  var timePickerDefaultValue = timePicker.props.defaultValue;
3114
3106
  if (timePickerDefaultValue) {
@@ -3183,7 +3175,7 @@ module.exports = __webpack_require__(6).Object.assign;
3183
3175
  /***/ (function(module, exports, __webpack_require__) {
3184
3176
 
3185
3177
  // 19.1.3.1 Object.assign(target, source)
3186
- var $export = __webpack_require__(17);
3178
+ var $export = __webpack_require__(16);
3187
3179
 
3188
3180
  $export($export.S + $export.F, 'Object', { assign: __webpack_require__(68) });
3189
3181
 
@@ -3214,7 +3206,7 @@ var IObject = __webpack_require__(47);
3214
3206
  var $assign = Object.assign;
3215
3207
 
3216
3208
  // should work with symbols and should have deterministic property order (V8 bug)
3217
- module.exports = !$assign || __webpack_require__(19)(function () {
3209
+ module.exports = !$assign || __webpack_require__(18)(function () {
3218
3210
  var A = {};
3219
3211
  var B = {};
3220
3212
  // eslint-disable-next-line no-undef
@@ -3384,7 +3376,7 @@ module.exports = function (Constructor, NAME, next) {
3384
3376
  /***/ (function(module, exports, __webpack_require__) {
3385
3377
 
3386
3378
  var dP = __webpack_require__(12);
3387
- var anObject = __webpack_require__(18);
3379
+ var anObject = __webpack_require__(17);
3388
3380
  var getKeys = __webpack_require__(22);
3389
3381
 
3390
3382
  module.exports = __webpack_require__(7) ? Object.defineProperties : function defineProperties(O, Properties) {
@@ -3534,10 +3526,10 @@ module.exports = __webpack_require__(6).Symbol;
3534
3526
  var global = __webpack_require__(5);
3535
3527
  var has = __webpack_require__(8);
3536
3528
  var DESCRIPTORS = __webpack_require__(7);
3537
- var $export = __webpack_require__(17);
3529
+ var $export = __webpack_require__(16);
3538
3530
  var redefine = __webpack_require__(51);
3539
3531
  var META = __webpack_require__(87).KEY;
3540
- var $fails = __webpack_require__(19);
3532
+ var $fails = __webpack_require__(18);
3541
3533
  var shared = __webpack_require__(31);
3542
3534
  var setToStringTag = __webpack_require__(37);
3543
3535
  var uid = __webpack_require__(24);
@@ -3546,7 +3538,7 @@ var wksExt = __webpack_require__(38);
3546
3538
  var wksDefine = __webpack_require__(39);
3547
3539
  var enumKeys = __webpack_require__(88);
3548
3540
  var isArray = __webpack_require__(89);
3549
- var anObject = __webpack_require__(18);
3541
+ var anObject = __webpack_require__(17);
3550
3542
  var isObject = __webpack_require__(13);
3551
3543
  var toObject = __webpack_require__(34);
3552
3544
  var toIObject = __webpack_require__(14);
@@ -3789,7 +3781,7 @@ var id = 0;
3789
3781
  var isExtensible = Object.isExtensible || function () {
3790
3782
  return true;
3791
3783
  };
3792
- var FREEZE = !__webpack_require__(19)(function () {
3784
+ var FREEZE = !__webpack_require__(18)(function () {
3793
3785
  return isExtensible(Object.preventExtensions({}));
3794
3786
  });
3795
3787
  var setMeta = function (it) {
@@ -3932,7 +3924,7 @@ module.exports = __webpack_require__(6).Object.setPrototypeOf;
3932
3924
  /***/ (function(module, exports, __webpack_require__) {
3933
3925
 
3934
3926
  // 19.1.3.19 Object.setPrototypeOf(O, proto)
3935
- var $export = __webpack_require__(17);
3927
+ var $export = __webpack_require__(16);
3936
3928
  $export($export.S, 'Object', { setPrototypeOf: __webpack_require__(97).set });
3937
3929
 
3938
3930
 
@@ -3943,7 +3935,7 @@ $export($export.S, 'Object', { setPrototypeOf: __webpack_require__(97).set });
3943
3935
  // Works with __proto__ only. Old v8 can't work with null proto objects.
3944
3936
  /* eslint-disable no-proto */
3945
3937
  var isObject = __webpack_require__(13);
3946
- var anObject = __webpack_require__(18);
3938
+ var anObject = __webpack_require__(17);
3947
3939
  var check = function (O, proto) {
3948
3940
  anObject(O);
3949
3941
  if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
@@ -3988,7 +3980,7 @@ module.exports = function create(P, D) {
3988
3980
  /* 100 */
3989
3981
  /***/ (function(module, exports, __webpack_require__) {
3990
3982
 
3991
- var $export = __webpack_require__(17);
3983
+ var $export = __webpack_require__(16);
3992
3984
  // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
3993
3985
  $export($export.S, 'Object', { create: __webpack_require__(36) });
3994
3986
 
@@ -4202,7 +4194,7 @@ exports.typeOf = typeOf;
4202
4194
  })();
4203
4195
  }
4204
4196
 
4205
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(20)))
4197
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(19)))
4206
4198
 
4207
4199
  /***/ }),
4208
4200
  /* 103 */
@@ -4820,7 +4812,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
4820
4812
  return ReactPropTypes;
4821
4813
  };
4822
4814
 
4823
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(20)))
4815
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(19)))
4824
4816
 
4825
4817
  /***/ }),
4826
4818
  /* 104 */
@@ -5028,7 +5020,7 @@ checkPropTypes.resetWarningCache = function() {
5028
5020
 
5029
5021
  module.exports = checkPropTypes;
5030
5022
 
5031
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(20)))
5023
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(19)))
5032
5024
 
5033
5025
  /***/ }),
5034
5026
  /* 106 */
@@ -5270,9 +5262,6 @@ var DateTHead = function (_React$Component) {
5270
5262
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
5271
5263
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__DateConstants__ = __webpack_require__(57);
5272
5264
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__util___ = __webpack_require__(10);
5273
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_dayjs__ = __webpack_require__(16);
5274
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_dayjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_dayjs__);
5275
-
5276
5265
 
5277
5266
 
5278
5267
 
@@ -5327,8 +5316,7 @@ var DateTBody = function (_React$Component) {
5327
5316
  dateRender = props.dateRender,
5328
5317
  disabledDate = props.disabledDate,
5329
5318
  hoverValue = props.hoverValue,
5330
- firstDayOfWeek = props.firstDayOfWeek,
5331
- currentStatus = props.currentStatus;
5319
+ firstDayOfWeek = props.firstDayOfWeek;
5332
5320
 
5333
5321
  var iIndex = void 0;
5334
5322
  var jIndex = void 0;
@@ -5396,11 +5384,7 @@ var DateTBody = function (_React$Component) {
5396
5384
  for (jIndex = 0; jIndex < DATE_ROW_COLUMN_COUNT.DATE_COL_COUNT; jIndex++) {
5397
5385
  var next = null;
5398
5386
  var last = null;
5399
- if (currentStatus === 1) {
5400
- current = dateTable[passed].hour(__WEBPACK_IMPORTED_MODULE_8_dayjs___default()().hour()).minute(__WEBPACK_IMPORTED_MODULE_8_dayjs___default()().minute()).second(__WEBPACK_IMPORTED_MODULE_8_dayjs___default()().second()); // eslint-disable-line max-len
5401
- } else {
5402
- current = dateTable[passed];
5403
- }
5387
+ current = dateTable[passed];
5404
5388
  if (jIndex < DATE_ROW_COLUMN_COUNT.DATE_COL_COUNT - 1) {
5405
5389
  next = dateTable[passed + 1];
5406
5390
  }
@@ -5552,8 +5536,7 @@ DateTBody.propTypes = {
5552
5536
  value: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.object,
5553
5537
  hoverValue: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.any,
5554
5538
  showWeekNumber: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
5555
- firstDayOfWeek: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.string,
5556
- currentStatus: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number
5539
+ firstDayOfWeek: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.string
5557
5540
  };
5558
5541
  DateTBody.defaultProps = {
5559
5542
  hoverValue: []
@@ -6837,7 +6820,7 @@ function TimePickerButton(_ref) {
6837
6820
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
6838
6821
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(4);
6839
6822
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
6840
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_dayjs__ = __webpack_require__(16);
6823
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_dayjs__ = __webpack_require__(20);
6841
6824
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_dayjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_dayjs__);
6842
6825
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__util__ = __webpack_require__(10);
6843
6826
 
@@ -6988,7 +6971,7 @@ CalendarRightPanel.propTypes = {
6988
6971
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
6989
6972
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(9);
6990
6973
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
6991
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_dayjs__ = __webpack_require__(16);
6974
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_dayjs__ = __webpack_require__(20);
6992
6975
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_dayjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_dayjs__);
6993
6976
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__util_index__ = __webpack_require__(10);
6994
6977
 
@@ -7271,7 +7254,7 @@ var commonMixinWrapper = function commonMixinWrapper(ComposeComponent) {
7271
7254
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_prop_types__);
7272
7255
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_rc_util_es_KeyCode__ = __webpack_require__(56);
7273
7256
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_react_lifecycles_compat__ = __webpack_require__(42);
7274
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_dayjs__ = __webpack_require__(16);
7257
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_dayjs__ = __webpack_require__(20);
7275
7258
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_dayjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_dayjs__);
7276
7259
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__util__ = __webpack_require__(10);
7277
7260
 
@@ -7395,8 +7378,7 @@ DateInput.propTypes = {
7395
7378
  onSelect: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.func,
7396
7379
  selectedValue: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.object,
7397
7380
  clearIcon: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.node,
7398
- inputMode: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.string,
7399
- shouldDisplayCurrent: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.bool
7381
+ inputMode: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.string
7400
7382
  };
7401
7383
 
7402
7384
  var _initialiseProps = function _initialiseProps() {
@@ -7414,17 +7396,13 @@ var _initialiseProps = function _initialiseProps() {
7414
7396
  disabledDate = _props.disabledDate,
7415
7397
  format = _props.format,
7416
7398
  onChange = _props.onChange,
7417
- selectedValue = _props.selectedValue,
7418
- shouldDisplayCurrent = _props.shouldDisplayCurrent;
7399
+ selectedValue = _props.selectedValue;
7400
+
7419
7401
  // 没有内容,合法并直接退出
7420
7402
 
7421
- if (!str || !calendarStr) {
7422
- if (shouldDisplayCurrent) {
7423
- _this2.setState({ str: '' });
7424
- onChange(__WEBPACK_IMPORTED_MODULE_8_dayjs___default()());
7425
- } else {
7426
- _this2.onClear();
7427
- }
7403
+ if (!str) {
7404
+ onChange(__WEBPACK_IMPORTED_MODULE_8_dayjs___default()());
7405
+ _this2.setState({ str: '' });
7428
7406
  return;
7429
7407
  }
7430
7408
  var parsed = __WEBPACK_IMPORTED_MODULE_8_dayjs___default()(calendarStr, format[0]);