chore: expose utils in entry file

This commit is contained in:
chenjiahan
2020-09-27 17:11:43 +08:00
parent da0d5435de
commit 0072f4fe02
33 changed files with 120 additions and 105 deletions

View File

@@ -2,10 +2,8 @@ import { reactive, ref, watch } from 'vue';
import { PICKER_KEY } from './shared';
// Utils
import { range } from '../utils/format/number';
import { deepClone } from '../utils/deep-clone';
import { createNamespace, isObject } from '../utils';
import { preventDefault } from '../utils/dom/event';
import { range, isObject, createNamespace, preventDefault } from '../utils';
// Composition
import { useTouch } from '../composition/use-touch';

View File

@@ -2,10 +2,8 @@ import { ref, watch, computed } from 'vue';
import { pickerProps, PICKER_KEY, DEFAULT_ITEM_HEIGHT } from './shared';
// Utils
import { createNamespace } from '../utils';
import { preventDefault } from '../utils/dom/event';
import { unitToPx, preventDefault, createNamespace } from '../utils';
import { BORDER_UNSET_TOP_BOTTOM } from '../utils/constant';
import { unitToPx } from '../utils/format/unit';
// Composition
import { useExpose } from '../composition/use-expose';