Browse Source

KERNEL-14045 refactor: 使用别名修改路径

es6
Joker.Wang-王顺 2 years ago
parent
commit
9f6d614bdd
  1. 4
      src/case/calendar/calendar.date.item.js
  2. 2
      src/case/calendar/calendar.js
  3. 2
      src/case/calendar/calendar.year.js
  4. 2
      src/case/pager/pager.all.count.js
  5. 2
      src/case/pager/pager.detail.js
  6. 4
      src/case/pager/pager.direction.js

4
src/case/calendar/calendar.date.item.js

@ -2,8 +2,8 @@
* 专门为calendar的视觉加的button作为私有button,不能配置任何属性也不要用这个玩意
*/
import { shortcut } from "../../core";
import { BasicButton } from "../../base";
import { shortcut } from "@/core";
import { BasicButton } from "@/base";
@shortcut()
export class CalendarDateItem extends BasicButton {
props() {

2
src/case/calendar/calendar.js

@ -3,7 +3,7 @@
* @class BI.Calendar
* @extends BI.Widget
*/
import { shortcut, Widget, getDate, each, range, extend, isLeapYear, Date, StartOfWeek, checkDateVoid, map, createWidget, createItems, LogicFactory, Controller, getShortDayName, getOffsetDate, isNotEmptyString, parseInt } from "../../core";
import { shortcut, Widget, getDate, each, range, extend, isLeapYear, Date, StartOfWeek, checkDateVoid, map, createWidget, createItems, LogicFactory, Controller, getShortDayName, getOffsetDate, isNotEmptyString, parseInt } from "@/core";
@shortcut()
export class Calendar extends Widget {
static xtype = "bi.calendar";

2
src/case/calendar/calendar.year.js

@ -3,7 +3,7 @@
* @class BI.YearCalendar
* @extends BI.Widget
*/
import { shortcut, Widget, extend, parseDateTime, range, checkDateVoid, print, getDate, each, createWidget, createItems, LogicFactory, Controller, makeArray, map, isNotEmptyString } from "../../core";
import { shortcut, Widget, extend, parseDateTime, range, checkDateVoid, print, getDate, each, createWidget, createItems, LogicFactory, Controller, makeArray, map, isNotEmptyString } from "@/core";
@shortcut()
export class YearCalendar extends Widget {
static xtype = "bi.year_calendar";

2
src/case/pager/pager.all.count.js

@ -2,7 +2,7 @@
* 有总页数和总行数的分页控件
* Created by Young's on 2016/10/13.
*/
import { shortcut, Widget, extend, isPositiveInteger, createWidget, parseInt, HorizontalAlign, isNotEmptyObject } from "../../core";
import { shortcut, Widget, extend, isPositiveInteger, createWidget, parseInt, HorizontalAlign, isNotEmptyObject } from "@/core";
// import { TextEditor } from "../../widget/editor/editor.text";
import { Pager } from "../../base";
@shortcut()

2
src/case/pager/pager.detail.js

@ -6,7 +6,7 @@
* @extends BI.Widget
*/
import { shortcut, Widget, extend, emptyFn, result, debounce, isKey, createWidget, createItems, Controller, Events, MIN, MAX } from "../../core";
import { shortcut, Widget, extend, emptyFn, result, debounce, isKey, createWidget, createItems, Controller, Events, MIN, MAX } from "@/core";
@shortcut()
export class DetailPager extends Widget {
static xtype = "bi.detail_pager";

4
src/case/pager/pager.direction.js

@ -6,8 +6,8 @@
* @extends BI.Widget
*/
import { shortcut, Widget, extend, emptyFn, createWidget } from "../../core";
import { Pager } from "../../base";
import { shortcut, Widget, extend, emptyFn, createWidget } from "@/core";
import { Pager } from "@/base";
@shortcut()
export class DirectionPager extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE";

Loading…
Cancel
Save