diff --git a/components/calendar/Header.jsx b/components/calendar/Header.jsx index 2990edbef..b9d4e7570 100644 --- a/components/calendar/Header.jsx +++ b/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 = { diff --git a/components/calendar/index.jsx b/components/calendar/index.jsx index 7a73a6d43..1a6f3c6f1 100644 --- a/components/calendar/index.jsx +++ b/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' diff --git a/components/vc-calendar/src/Calendar.jsx b/components/vc-calendar/src/Calendar.jsx index 7a636d12f..6a809358c 100644 --- a/components/vc-calendar/src/Calendar.jsx +++ b/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' diff --git a/components/vc-calendar/src/FullCalendar.jsx b/components/vc-calendar/src/FullCalendar.jsx index fa425482e..d9e62a505 100644 --- a/components/vc-calendar/src/FullCalendar.jsx +++ b/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' diff --git a/components/vc-calendar/src/MonthCalendar.jsx b/components/vc-calendar/src/MonthCalendar.jsx index 2280987c2..8371042e1 100644 --- a/components/vc-calendar/src/MonthCalendar.jsx +++ b/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' diff --git a/components/vc-calendar/src/Picker.jsx b/components/vc-calendar/src/Picker.jsx index 90e6cc0fb..92fc8b820 100644 --- a/components/vc-calendar/src/Picker.jsx +++ b/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) { diff --git a/components/vc-calendar/src/RangeCalendar.jsx b/components/vc-calendar/src/RangeCalendar.jsx index a159df0d9..50148308a 100644 --- a/components/vc-calendar/src/RangeCalendar.jsx +++ b/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' diff --git a/components/vc-calendar/src/calendar/CalendarFooter.jsx b/components/vc-calendar/src/calendar/CalendarFooter.jsx index 09c0bd30d..d320eb9c1 100644 --- a/components/vc-calendar/src/calendar/CalendarFooter.jsx +++ b/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' diff --git a/components/vc-calendar/src/calendar/CalendarHeader.jsx b/components/vc-calendar/src/calendar/CalendarHeader.jsx index de866047f..d858b8480 100644 --- a/components/vc-calendar/src/calendar/CalendarHeader.jsx +++ b/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' diff --git a/components/vc-calendar/src/date/DateInput.jsx b/components/vc-calendar/src/date/DateInput.jsx index 67f18342f..e779f11b1 100644 --- a/components/vc-calendar/src/date/DateInput.jsx +++ b/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 = { diff --git a/components/vc-calendar/src/date/DateTBody.jsx b/components/vc-calendar/src/date/DateTBody.jsx index 36ef6169f..558540399 100644 --- a/components/vc-calendar/src/date/DateTBody.jsx +++ b/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/' diff --git a/components/vc-calendar/src/decade/DecadePanel.jsx b/components/vc-calendar/src/decade/DecadePanel.jsx index 3fd2c696c..f89dbc8bc 100644 --- a/components/vc-calendar/src/decade/DecadePanel.jsx +++ b/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 () {} diff --git a/components/vc-calendar/src/full-calendar/CalendarHeader.jsx b/components/vc-calendar/src/full-calendar/CalendarHeader.jsx index b59e721cb..7ac9236c3 100644 --- a/components/vc-calendar/src/full-calendar/CalendarHeader.jsx +++ b/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 = { diff --git a/components/vc-calendar/src/mixin/CalendarMixin.js b/components/vc-calendar/src/mixin/CalendarMixin.js index ac6d571fb..ebf0a2fec 100644 --- a/components/vc-calendar/src/mixin/CalendarMixin.js +++ b/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 () {} diff --git a/components/vc-calendar/src/month/MonthPanel.jsx b/components/vc-calendar/src/month/MonthPanel.jsx index b8d2bd575..570afd3a7 100644 --- a/components/vc-calendar/src/month/MonthPanel.jsx +++ b/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) { diff --git a/components/vc-calendar/src/month/MonthTable.jsx b/components/vc-calendar/src/month/MonthTable.jsx index 218a4b627..a673b3921 100644 --- a/components/vc-calendar/src/month/MonthTable.jsx +++ b/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 diff --git a/components/vc-calendar/src/range-calendar/CalendarPart.jsx b/components/vc-calendar/src/range-calendar/CalendarPart.jsx index 399a089de..bb3641e27 100644 --- a/components/vc-calendar/src/range-calendar/CalendarPart.jsx +++ b/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' diff --git a/components/vc-calendar/src/year/YearPanel.jsx b/components/vc-calendar/src/year/YearPanel.jsx index 7f83d5a64..c2b44b8d9 100644 --- a/components/vc-calendar/src/year/YearPanel.jsx +++ b/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 () {}