@seafile/seafile-calendar 0.0.20 → 0.0.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.
@@ -10,7 +10,7 @@ import CalendarHeader from './calendar/CalendarHeader';
10
10
  import CalendarFooter from './calendar/CalendarFooter';
11
11
  import { calendarMixinWrapper, calendarMixinPropTypes, calendarMixinDefaultProps } from './mixin/CalendarMixin';
12
12
  import { commonMixinWrapper, propType, defaultProp } from './mixin/CommonMixin';
13
- import dayjs from 'dayjs';
13
+ import dayjs from './util/dayjs';
14
14
 
15
15
  var MonthCalendar = function (_React$Component) {
16
16
  _inherits(MonthCalendar, _React$Component);
@@ -4,7 +4,6 @@ import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructo
4
4
  import _inherits from 'babel-runtime/helpers/inherits';
5
5
  import React from 'react';
6
6
  import PropTypes from 'prop-types';
7
- import dayjs from 'dayjs';
8
7
  import classnames from 'classnames';
9
8
  import { polyfill } from 'react-lifecycles-compat';
10
9
  import KeyCode from 'rc-util/es/KeyCode';
@@ -15,6 +14,7 @@ import TimePickerButton from './calendar/TimePickerButton';
15
14
  import { commonMixinWrapper, propType, defaultProp } from './mixin/CommonMixin';
16
15
  import { syncTime, getTodayTime, isAllowedDate } from './util';
17
16
  import { goTime, goStartMonth, goEndMonth, includesTime } from './util/toTime';
17
+ import dayjs from './util/dayjs';
18
18
 
19
19
  function noop() {}
20
20
 
@@ -44,7 +44,7 @@ var _CalendarMixin = require('./mixin/CalendarMixin');
44
44
 
45
45
  var _CommonMixin = require('./mixin/CommonMixin');
46
46
 
47
- var _dayjs = require('dayjs');
47
+ var _dayjs = require('./util/dayjs');
48
48
 
49
49
  var _dayjs2 = _interopRequireDefault(_dayjs);
50
50
 
@@ -26,10 +26,6 @@ var _propTypes = require('prop-types');
26
26
 
27
27
  var _propTypes2 = _interopRequireDefault(_propTypes);
28
28
 
29
- var _dayjs = require('dayjs');
30
-
31
- var _dayjs2 = _interopRequireDefault(_dayjs);
32
-
33
29
  var _classnames2 = require('classnames');
34
30
 
35
31
  var _classnames3 = _interopRequireDefault(_classnames2);
@@ -62,6 +58,10 @@ var _util = require('./util');
62
58
 
63
59
  var _toTime = require('./util/toTime');
64
60
 
61
+ var _dayjs = require('./util/dayjs');
62
+
63
+ var _dayjs2 = _interopRequireDefault(_dayjs);
64
+
65
65
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
66
66
 
67
67
  function noop() {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/seafile-calendar",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "React Calendar",
5
5
  "keywords": [
6
6
  "react",