Browse Source

KERNEL-13972 refactor: import不换行

es6
Joker.Wang-王顺 2 years ago
parent
commit
7deb6554b0
  1. 3
      src/base/collection/collection.js
  2. 3
      src/base/grid/grid.js
  3. 3
      src/base/tree/customtree.js

3
src/base/collection/collection.js

@ -5,8 +5,7 @@
* @class BI.CollectionView * @class BI.CollectionView
* @extends BI.Widget * @extends BI.Widget
*/ */
import { Widget, shortcut, extend, emptyFn, debounce, _lazyCreateWidget, isFunction, SectionManager, import { Widget, shortcut, extend, emptyFn, debounce, _lazyCreateWidget, isFunction, SectionManager, isNull, each, clamp, toArray, invert, min, max, nextTick } from "../../core";
isNull, each, clamp, toArray, invert, min, max, nextTick } from "../../core";
@shortcut() @shortcut()
export class CollectionView extends Widget { export class CollectionView extends Widget {
_defaultConfig() { _defaultConfig() {

3
src/base/grid/grid.js

@ -5,8 +5,7 @@
* @class BI.GridView * @class BI.GridView
* @extends BI.Widget * @extends BI.Widget
*/ */
import { Widget, shortcut, extend, emptyFn, debounce, _lazyCreateWidget, import { Widget, shortcut, extend, emptyFn, debounce, _lazyCreateWidget, isFunction, each, isNumber, ScalingCellSizeAndPositionManager, clamp, isEmpty, nextTick } from "../../core";
isFunction, each, isNumber, ScalingCellSizeAndPositionManager, clamp, isEmpty, nextTick } from "../../core";
@shortcut() @shortcut()
export class GridView extends Widget { export class GridView extends Widget {
_defaultConfig() { _defaultConfig() {

3
src/base/tree/customtree.js

@ -6,8 +6,7 @@
* @class BI.CustomTree * @class BI.CustomTree
* @extends BI.Single * @extends BI.Single
*/ */
import { Widget, shortcut, extend, emptyFn, Tree, each, isNotEmptyArray, deepClone, stripEL, isWidget, import { Widget, shortcut, extend, emptyFn, Tree, each, isNotEmptyArray, deepClone, stripEL, isWidget, clone, isNotNull, isNull, createWidget, Controller } from "../../core";
clone, isNotNull, isNull, createWidget, Controller } from "../../core";
@shortcut() @shortcut()
export class CustomTree extends Widget { export class CustomTree extends Widget {
static xtype = "bi.custom_tree"; static xtype = "bi.custom_tree";

Loading…
Cancel
Save