Browse Source

fix alias to relative path

pull/9/head
tangjinzhou 7 years ago
parent
commit
9c94a6947d
  1. 4
      components/calendar/Header.jsx
  2. 6
      components/calendar/index.jsx
  3. 10
      components/vc-calendar/src/Calendar.jsx
  4. 6
      components/vc-calendar/src/FullCalendar.jsx
  5. 6
      components/vc-calendar/src/MonthCalendar.jsx
  6. 14
      components/vc-calendar/src/Picker.jsx
  7. 6
      components/vc-calendar/src/RangeCalendar.jsx
  8. 6
      components/vc-calendar/src/calendar/CalendarFooter.jsx
  9. 6
      components/vc-calendar/src/calendar/CalendarHeader.jsx
  10. 4
      components/vc-calendar/src/date/DateInput.jsx
  11. 4
      components/vc-calendar/src/date/DateTBody.jsx
  12. 4
      components/vc-calendar/src/decade/DecadePanel.jsx
  13. 4
      components/vc-calendar/src/full-calendar/CalendarHeader.jsx
  14. 6
      components/vc-calendar/src/mixin/CalendarMixin.js
  15. 6
      components/vc-calendar/src/month/MonthPanel.jsx
  16. 4
      components/vc-calendar/src/month/MonthTable.jsx
  17. 8
      components/vc-calendar/src/range-calendar/CalendarPart.jsx
  18. 4
      components/vc-calendar/src/year/YearPanel.jsx

4
components/calendar/Header.jsx

@ -2,8 +2,8 @@
import { PREFIX_CLS } from './Constants'
import Select from '../select'
import { Group, Button } from '../radio'
import PropTypes from '@/components/_util/vue-types'
import { initDefaultProps } from '@/components/_util/props-util'
import PropTypes from '../_util/vue-types'
import { initDefaultProps } from '../_util/props-util'
const Option = Select.Option
export const HeaderProps = {

6
components/calendar/index.jsx

@ -1,7 +1,7 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import { getOptionProps, hasProp, initDefaultProps } from '@/components/_util/props-util'
import PropTypes from '../_util/vue-types'
import BaseMixin from '../_util/BaseMixin'
import { getOptionProps, hasProp, initDefaultProps } from '../_util/props-util'
import * as moment from 'moment'
import FullCalendar from '../vc-calendar/src/FullCalendar'
import LocaleReceiver from '../locale-provider/LocaleReceiver'

10
components/vc-calendar/src/Calendar.jsx

@ -1,9 +1,9 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import { getOptionProps, hasProp } from '@/components/_util/props-util'
import { cloneElement } from '@/components/_util/vnode'
import KeyCode from '@/components/_util/KeyCode'
import PropTypes from '../../_util/vue-types'
import BaseMixin from '../../_util/BaseMixin'
import { getOptionProps, hasProp } from '../../_util/props-util'
import { cloneElement } from '../../_util/vnode'
import KeyCode from '../../_util/KeyCode'
import * as moment from 'moment'
import DateTable from './date/DateTable'
import CalendarHeader from './calendar/CalendarHeader'

6
components/vc-calendar/src/FullCalendar.jsx

@ -1,7 +1,7 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import { getOptionProps, hasProp } from '@/components/_util/props-util'
import PropTypes from '../../_util/vue-types'
import BaseMixin from '../../_util/BaseMixin'
import { getOptionProps, hasProp } from '../../_util/props-util'
import DateTable from './date/DateTable'
import MonthTable from './month/MonthTable'
import CalendarMixin from './mixin/CalendarMixin'

6
components/vc-calendar/src/MonthCalendar.jsx

@ -1,7 +1,7 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import KeyCode from '@/components/_util/KeyCode'
import PropTypes from '../../_util/vue-types'
import BaseMixin from '../../_util/BaseMixin'
import KeyCode from '../../_util/KeyCode'
import CalendarHeader from './calendar/CalendarHeader'
import CalendarFooter from './calendar/CalendarFooter'
import CalendarMixin from './mixin/CalendarMixin'

14
components/vc-calendar/src/Picker.jsx

@ -1,12 +1,12 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import { getOptionProps, hasProp, getEvents, getStyle } from '@/components/_util/props-util'
import { cloneElement } from '@/components/_util/vnode'
import createChainedFunction from '@/components/_util/createChainedFunction'
import KeyCode from '@/components/_util/KeyCode'
import PropTypes from '../../_util/vue-types'
import BaseMixin from '../../_util/BaseMixin'
import { getOptionProps, hasProp, getEvents, getStyle } from '../../_util/props-util'
import { cloneElement } from '../../_util/vnode'
import createChainedFunction from '../../_util/createChainedFunction'
import KeyCode from '../../_util/KeyCode'
import placements from './picker/placements'
import Trigger from '@/components/trigger'
import Trigger from '../../trigger'
import moment from 'moment'
import { setTimeout } from 'timers'
function isMoment (value) {

6
components/vc-calendar/src/RangeCalendar.jsx

@ -1,7 +1,7 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import { getOptionProps, hasProp, mergeProps } from '@/components/_util/props-util'
import PropTypes from '../../_util/vue-types'
import BaseMixin from '../../_util/BaseMixin'
import { getOptionProps, hasProp, mergeProps } from '../../_util/props-util'
import moment from 'moment'
import CalendarPart from './range-calendar/CalendarPart'
import TodayButton from './calendar/TodayButton'

6
components/vc-calendar/src/calendar/CalendarFooter.jsx

@ -1,7 +1,7 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import { getOptionProps } from '@/components/_util/props-util'
import PropTypes from '../../../_util/vue-types'
import BaseMixin from '../../../_util/BaseMixin'
import { getOptionProps } from '../../../_util/props-util'
import TodayButton from './TodayButton'
import OkButton from './OkButton'
import TimePickerButton from './TimePickerButton'

6
components/vc-calendar/src/calendar/CalendarHeader.jsx

@ -1,7 +1,7 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import { getOptionProps } from '@/components/_util/props-util'
import PropTypes from '../../../_util/vue-types'
import BaseMixin from '../../../_util/BaseMixin'
import { getOptionProps } from '../../../_util/props-util'
import MonthPanel from '../month/MonthPanel'
import YearPanel from '../year/YearPanel'
import DecadePanel from '../decade/DecadePanel'

4
components/vc-calendar/src/date/DateInput.jsx

@ -1,6 +1,6 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import PropTypes from '../../../_util/vue-types'
import BaseMixin from '../../../_util/BaseMixin'
import moment from 'moment'
const DateInput = {

4
components/vc-calendar/src/date/DateTBody.jsx

@ -1,6 +1,6 @@
import PropTypes from '@/components/_util/vue-types'
import { getOptionProps } from '@/components/_util/props-util'
import PropTypes from '../../../_util/vue-types'
import { getOptionProps } from '../../../_util/props-util'
import cx from 'classnames'
import DateConstants from './DateConstants'
import { getTitleString, getTodayTime } from '../util/'

4
components/vc-calendar/src/decade/DecadePanel.jsx

@ -1,6 +1,6 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import PropTypes from '../../../_util/vue-types'
import BaseMixin from '../../../_util/BaseMixin'
const ROW = 4
const COL = 3
function noop () {}

4
components/vc-calendar/src/full-calendar/CalendarHeader.jsx

@ -1,6 +1,6 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import PropTypes from '../../../_util/vue-types'
import BaseMixin from '../../../_util/BaseMixin'
import { getMonthName } from '../util'
const CalendarHeader = {

6
components/vc-calendar/src/mixin/CalendarMixin.js

@ -1,6 +1,6 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import { hasProp } from '@/components/_util/props-util'
import PropTypes from '../../../_util/vue-types'
import BaseMixin from '../../../_util/BaseMixin'
import { hasProp } from '../../../_util/props-util'
import moment from 'moment'
import { isAllowedDate, getTodayTime } from '../util/index'
function noop () {}

6
components/vc-calendar/src/month/MonthPanel.jsx

@ -1,7 +1,7 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import { hasProp } from '@/components/_util/props-util'
import PropTypes from '../../../_util/vue-types'
import BaseMixin from '../../../_util/BaseMixin'
import { hasProp } from '../../../_util/props-util'
import MonthTable from './MonthTable'
function goYear (direction) {

4
components/vc-calendar/src/month/MonthTable.jsx

@ -1,6 +1,6 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import PropTypes from '../../../_util/vue-types'
import BaseMixin from '../../../_util/BaseMixin'
import { getTodayTime, getMonthName } from '../util/index'
const ROW = 4

8
components/vc-calendar/src/range-calendar/CalendarPart.jsx

@ -1,8 +1,8 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import { getOptionProps } from '@/components/_util/props-util'
import { cloneElement } from '@/components/_util/vnode'
import PropTypes from '../../../_util/vue-types'
import BaseMixin from '../../../_util/BaseMixin'
import { getOptionProps } from '../../../_util/props-util'
import { cloneElement } from '../../../_util/vnode'
import CalendarHeader from '../calendar/CalendarHeader'
import DateTable from '../date/DateTable'
import DateInput from '../date/DateInput'

4
components/vc-calendar/src/year/YearPanel.jsx

@ -1,6 +1,6 @@
import PropTypes from '@/components/_util/vue-types'
import BaseMixin from '@/components/_util/BaseMixin'
import PropTypes from '../../../_util/vue-types'
import BaseMixin from '../../../_util/BaseMixin'
const ROW = 4
const COL = 3
function noop () {}

Loading…
Cancel
Save