style: update vc-slick path

refactor-carousel
tangjinzhou 2022-02-25 14:33:25 +08:00
parent a6fa226562
commit 49c2b7a2ea
10 changed files with 16 additions and 16 deletions

View File

@ -3,7 +3,7 @@ import { ref, computed, watchEffect, defineComponent } from 'vue';
import PropTypes from '../_util/vue-types';
import warning from '../_util/warning';
import classNames from '../_util/classNames';
import SlickCarousel from '../vc-slick/src';
import SlickCarousel from '../vc-slick';
import { withInstall } from '../_util/type';
import useConfigInject from '../_util/hooks/useConfigInject';

View File

@ -1,5 +1,5 @@
import classnames from '../../_util/classNames';
import { cloneElement } from '../../_util/vnode';
import classnames from '../_util/classNames';
import { cloneElement } from '../_util/vnode';
import { canGoNext } from './utils/innerSliderUtils';
function noop() {}

View File

@ -1,4 +1,4 @@
import PropTypes from '../../_util/vue-types';
import PropTypes from '../_util/vue-types';
const defaultProps = {
accessibility: PropTypes.looseBool.def(true),

View File

@ -1,5 +1,5 @@
import classnames from '../../_util/classNames';
import { cloneElement } from '../../_util/vnode';
import classnames from '../_util/classNames';
import { cloneElement } from '../_util/vnode';
import { clamp } from './utils/innerSliderUtils';
const getDotCount = function (spec) {

View File

@ -1,7 +1,7 @@
import debounce from 'lodash-es/debounce';
import ResizeObserver from 'resize-observer-polyfill';
import classnames from '../../_util/classNames';
import BaseMixin from '../../_util/BaseMixin';
import classnames from '../_util/classNames';
import BaseMixin from '../_util/BaseMixin';
import defaultProps from './default-props';
import initialState from './initial-state';
import {
@ -24,7 +24,7 @@ import {
import Track from './track';
import Dots from './dots';
import { PrevArrow, NextArrow } from './arrows';
import supportsPassive from '../../_util/supportsPassive';
import supportsPassive from '../_util/supportsPassive';
function noop() {}

View File

@ -1,10 +1,10 @@
import json2mq from '../../_util/json2mq';
import BaseMixin from '../../_util/BaseMixin';
import { cloneElement } from '../../_util/vnode';
import json2mq from '../_util/json2mq';
import BaseMixin from '../_util/BaseMixin';
import { cloneElement } from '../_util/vnode';
import InnerSlider from './inner-slider';
import defaultProps from './default-props';
import { canUseDOM } from './utils/innerSliderUtils';
import { getSlot } from '../../_util/props-util';
import { getSlot } from '../_util/props-util';
import { defineComponent } from 'vue';
export default defineComponent({

View File

@ -1,7 +1,7 @@
import { createVNode } from 'vue';
import classnames from '../../_util/classNames';
import { cloneElement } from '../../_util/vnode';
import { flattenChildren } from '../../_util/props-util';
import classnames from '../_util/classNames';
import { cloneElement } from '../_util/vnode';
import { flattenChildren } from '../_util/props-util';
import { lazyStartIndex, lazyEndIndex, getPreClones } from './utils/innerSliderUtils';
// given specifications/props for a slide, fetch all the classes that need to be applied to the slide