chore: rename use-relation

This commit is contained in:
chenjiahan 2020-09-22 20:29:14 +08:00
parent 882e3ef5e7
commit 053006de52
15 changed files with 14 additions and 14 deletions

View File

@ -3,7 +3,7 @@ import { createNamespace } from '../utils';
import { ACTION_BAR_KEY } from '../action-bar';
// Composition
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
import { useRoute, routeProps } from '../composition/use-route';
// Components

View File

@ -2,7 +2,7 @@ import { createNamespace } from '../utils';
import { ACTION_BAR_KEY } from '../action-bar';
// Composition
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
import { useRoute, routeProps } from '../composition/use-route';
// Components

View File

@ -1,6 +1,6 @@
import { computed, PropType } from 'vue';
import { createNamespace } from '../utils';
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
import { ROW_KEY, RowProvide } from '../row';
const [createComponent, bem] = createNamespace('col');

View File

@ -5,7 +5,7 @@ import { createNamespace } from '../utils';
import { raf, doubleRaf } from '../utils/dom/raf';
// Composition
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
import { useLazyRender } from '../composition/use-lazy-render';
// Components

View File

@ -5,7 +5,7 @@ import { createNamespace } from '../utils';
import { DROPDOWN_KEY } from '../dropdown-menu';
// Composition
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
import { useExpose } from '../composition/use-expose';
// Components

View File

@ -23,7 +23,7 @@ import {
// Composition
import { useExpose } from '../composition/use-expose';
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
// Components
import Icon from '../icon';

View File

@ -6,7 +6,7 @@ import { BORDER } from '../utils/constant';
import { GRID_KEY } from '../grid';
// Composition
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
import { useRoute, routeProps } from '../composition/use-route';
// Components

View File

@ -7,7 +7,7 @@ import { INDEX_BAR_KEY } from '../index-bar';
// Composition
import { useHeight } from '../composition/use-rect';
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
const [createComponent, bem] = createNamespace('index-anchor');

View File

@ -9,7 +9,7 @@ import { preventDefault } from '../utils/dom/event';
// Composition
import { useTouch } from '../composition/use-touch';
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
const DEFAULT_DURATION = 200;

View File

@ -1,6 +1,6 @@
import { createNamespace } from '../utils';
import { useRoute, routeProps } from '../composition/use-route';
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
import { SIDEBAR_KEY } from '../sidebar';
import Badge from '../badge';

View File

@ -2,7 +2,7 @@ import { computed } from 'vue';
import { createNamespace } from '../utils';
import { BORDER } from '../utils/constant';
import { STEPS_KEY } from '../steps';
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
import Icon from '../icon';
const [createComponent, bem] = createNamespace('step');

View File

@ -1,7 +1,7 @@
import { computed, nextTick, onMounted, reactive } from 'vue';
import { SWIPE_KEY } from '../swipe';
import { createNamespace } from '../utils';
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
const [createComponent, bem] = createNamespace('swipe-item');

View File

@ -4,7 +4,7 @@ import { TABS_KEY } from '../tabs';
// Composition
import { routeProps } from '../composition/use-route';
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
const [createComponent, bem] = createNamespace('tab');

View File

@ -5,7 +5,7 @@ import { TABBAR_KEY } from '../tabbar';
import { createNamespace, isObject, isDef } from '../utils';
// Composition
import { useParent } from '../composition/use-relation';
import { useParent } from '../composition/use-parent';
import { routeProps, useRoute } from '../composition/use-route';
// Components