style: update vc-slick path
parent
a6fa226562
commit
49c2b7a2ea
|
@ -3,7 +3,7 @@ import { ref, computed, watchEffect, defineComponent } from 'vue';
|
||||||
import PropTypes from '../_util/vue-types';
|
import PropTypes from '../_util/vue-types';
|
||||||
import warning from '../_util/warning';
|
import warning from '../_util/warning';
|
||||||
import classNames from '../_util/classNames';
|
import classNames from '../_util/classNames';
|
||||||
import SlickCarousel from '../vc-slick/src';
|
import SlickCarousel from '../vc-slick';
|
||||||
import { withInstall } from '../_util/type';
|
import { withInstall } from '../_util/type';
|
||||||
import useConfigInject from '../_util/hooks/useConfigInject';
|
import useConfigInject from '../_util/hooks/useConfigInject';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import classnames from '../../_util/classNames';
|
import classnames from '../_util/classNames';
|
||||||
import { cloneElement } from '../../_util/vnode';
|
import { cloneElement } from '../_util/vnode';
|
||||||
import { canGoNext } from './utils/innerSliderUtils';
|
import { canGoNext } from './utils/innerSliderUtils';
|
||||||
|
|
||||||
function noop() {}
|
function noop() {}
|
|
@ -1,4 +1,4 @@
|
||||||
import PropTypes from '../../_util/vue-types';
|
import PropTypes from '../_util/vue-types';
|
||||||
|
|
||||||
const defaultProps = {
|
const defaultProps = {
|
||||||
accessibility: PropTypes.looseBool.def(true),
|
accessibility: PropTypes.looseBool.def(true),
|
|
@ -1,5 +1,5 @@
|
||||||
import classnames from '../../_util/classNames';
|
import classnames from '../_util/classNames';
|
||||||
import { cloneElement } from '../../_util/vnode';
|
import { cloneElement } from '../_util/vnode';
|
||||||
import { clamp } from './utils/innerSliderUtils';
|
import { clamp } from './utils/innerSliderUtils';
|
||||||
|
|
||||||
const getDotCount = function (spec) {
|
const getDotCount = function (spec) {
|
|
@ -1,7 +1,7 @@
|
||||||
import debounce from 'lodash-es/debounce';
|
import debounce from 'lodash-es/debounce';
|
||||||
import ResizeObserver from 'resize-observer-polyfill';
|
import ResizeObserver from 'resize-observer-polyfill';
|
||||||
import classnames from '../../_util/classNames';
|
import classnames from '../_util/classNames';
|
||||||
import BaseMixin from '../../_util/BaseMixin';
|
import BaseMixin from '../_util/BaseMixin';
|
||||||
import defaultProps from './default-props';
|
import defaultProps from './default-props';
|
||||||
import initialState from './initial-state';
|
import initialState from './initial-state';
|
||||||
import {
|
import {
|
||||||
|
@ -24,7 +24,7 @@ import {
|
||||||
import Track from './track';
|
import Track from './track';
|
||||||
import Dots from './dots';
|
import Dots from './dots';
|
||||||
import { PrevArrow, NextArrow } from './arrows';
|
import { PrevArrow, NextArrow } from './arrows';
|
||||||
import supportsPassive from '../../_util/supportsPassive';
|
import supportsPassive from '../_util/supportsPassive';
|
||||||
|
|
||||||
function noop() {}
|
function noop() {}
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import json2mq from '../../_util/json2mq';
|
import json2mq from '../_util/json2mq';
|
||||||
import BaseMixin from '../../_util/BaseMixin';
|
import BaseMixin from '../_util/BaseMixin';
|
||||||
import { cloneElement } from '../../_util/vnode';
|
import { cloneElement } from '../_util/vnode';
|
||||||
import InnerSlider from './inner-slider';
|
import InnerSlider from './inner-slider';
|
||||||
import defaultProps from './default-props';
|
import defaultProps from './default-props';
|
||||||
import { canUseDOM } from './utils/innerSliderUtils';
|
import { canUseDOM } from './utils/innerSliderUtils';
|
||||||
import { getSlot } from '../../_util/props-util';
|
import { getSlot } from '../_util/props-util';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
|
@ -1,7 +1,7 @@
|
||||||
import { createVNode } from 'vue';
|
import { createVNode } from 'vue';
|
||||||
import classnames from '../../_util/classNames';
|
import classnames from '../_util/classNames';
|
||||||
import { cloneElement } from '../../_util/vnode';
|
import { cloneElement } from '../_util/vnode';
|
||||||
import { flattenChildren } from '../../_util/props-util';
|
import { flattenChildren } from '../_util/props-util';
|
||||||
import { lazyStartIndex, lazyEndIndex, getPreClones } from './utils/innerSliderUtils';
|
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
|
// given specifications/props for a slide, fetch all the classes that need to be applied to the slide
|
Loading…
Reference in New Issue