cy-element-ui 1.0.57 → 1.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/autocomplete.js +25 -25
- package/lib/calendar.js +12 -12
- package/lib/carousel-item.js +4 -4
- package/lib/carousel.js +4 -4
- package/lib/cascader-panel.js +23 -23
- package/lib/cascader.js +32 -32
- package/lib/checkbox-button.js +4 -4
- package/lib/checkbox-group.js +4 -4
- package/lib/checkbox.js +4 -4
- package/lib/collapse-item.js +8 -8
- package/lib/color-picker.js +21 -21
- package/lib/date-picker.js +78 -78
- package/lib/descriptions.js +2 -2
- package/lib/dialog.js +8 -8
- package/lib/directives/repeat-click.js +2 -2
- package/lib/drawer.js +6 -6
- package/lib/dropdown-item.js +4 -4
- package/lib/dropdown-menu.js +4 -4
- package/lib/dropdown.js +12 -12
- package/lib/element-ui.common.js +598 -916
- package/lib/empty.js +4 -4
- package/lib/fileUpload.js +30 -30
- package/lib/form-item.js +8 -8
- package/lib/form.js +4 -4
- package/lib/image.js +19 -19
- package/lib/index.js +1 -1
- package/lib/infinite-scroll.js +4 -4
- package/lib/input-number.js +15 -15
- package/lib/input.js +10 -10
- package/lib/loading.js +8 -8
- package/lib/locale/format.js +1 -1
- package/lib/locale/index.js +1 -1
- package/lib/menu-item.js +6 -6
- package/lib/menu.js +6 -6
- package/lib/message-box.js +20 -20
- package/lib/message.js +6 -6
- package/lib/mixins/locale.js +1 -1
- package/lib/mixins/migrating.js +2 -2
- package/lib/notification.js +6 -6
- package/lib/option-group.js +4 -4
- package/lib/option.js +6 -6
- package/lib/page-header.js +4 -4
- package/lib/pagination.js +10 -10
- package/lib/popconfirm.js +8 -8
- package/lib/popover.js +8 -8
- package/lib/radio-button.js +4 -4
- package/lib/radio-group.js +4 -4
- package/lib/radio.js +4 -4
- package/lib/rate.js +8 -8
- package/lib/scrollbar.js +8 -8
- package/lib/select.js +37 -37
- package/lib/slider.js +15 -15
- package/lib/statistic.js +4 -4
- package/lib/steps.js +4 -4
- package/lib/submenu.js +6 -6
- package/lib/switch.js +8 -8
- package/lib/tabDialog.js +6 -6
- package/lib/table-column.js +8 -8
- package/lib/table.js +41 -41
- package/lib/tabs.js +6 -6
- package/lib/theme-chalk/alert.css +1 -0
- package/lib/theme-chalk/aside.css +1 -0
- package/lib/theme-chalk/autocomplete.css +1 -0
- package/lib/theme-chalk/avatar.css +1 -0
- package/lib/theme-chalk/backtop.css +1 -0
- package/lib/theme-chalk/badge.css +1 -0
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/breadcrumb-item.css +0 -0
- package/lib/theme-chalk/breadcrumb.css +1 -0
- package/lib/theme-chalk/button-group.css +0 -0
- package/lib/theme-chalk/button.css +1 -0
- package/lib/theme-chalk/calendar.css +1 -0
- package/lib/theme-chalk/card.css +1 -0
- package/lib/theme-chalk/carousel-item.css +1 -0
- package/lib/theme-chalk/carousel.css +1 -0
- package/lib/theme-chalk/cascader-panel.css +1 -0
- package/lib/theme-chalk/cascader.css +1 -0
- package/lib/theme-chalk/checkbox-button.css +0 -0
- package/lib/theme-chalk/checkbox-group.css +0 -0
- package/lib/theme-chalk/checkbox.css +1 -0
- package/lib/theme-chalk/col.css +1 -0
- package/lib/theme-chalk/collapse-item.css +0 -0
- package/lib/theme-chalk/collapse.css +1 -0
- package/lib/theme-chalk/color-picker.css +1 -0
- package/lib/theme-chalk/container.css +1 -0
- package/lib/theme-chalk/date-picker.css +1 -0
- package/lib/theme-chalk/descriptions-item.css +1 -0
- package/lib/theme-chalk/descriptions.css +1 -0
- package/lib/theme-chalk/dialog.css +1 -0
- package/lib/theme-chalk/display.css +1 -0
- package/lib/theme-chalk/divider.css +1 -0
- package/lib/theme-chalk/drawer.css +1 -0
- package/lib/theme-chalk/dropdown-item.css +0 -0
- package/lib/theme-chalk/dropdown-menu.css +0 -0
- package/lib/theme-chalk/dropdown.css +1 -0
- package/lib/theme-chalk/element.css +1 -1
- package/lib/theme-chalk/empty.css +1 -0
- package/lib/theme-chalk/fileUpload.css +1 -1
- package/lib/theme-chalk/fonts/element-icons.ttf +0 -0
- package/lib/theme-chalk/fonts/element-icons.woff +0 -0
- package/lib/theme-chalk/footer.css +1 -0
- package/lib/theme-chalk/form-item.css +0 -0
- package/lib/theme-chalk/form.css +1 -0
- package/lib/theme-chalk/header.css +1 -0
- package/lib/theme-chalk/icon.css +1 -0
- package/lib/theme-chalk/image.css +1 -0
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/infinite-scroll.css +0 -0
- package/lib/theme-chalk/infiniteScroll.css +0 -0
- package/lib/theme-chalk/input-number.css +1 -0
- package/lib/theme-chalk/input.css +1 -0
- package/lib/theme-chalk/link.css +1 -0
- package/lib/theme-chalk/loading.css +1 -0
- package/lib/theme-chalk/main.css +1 -0
- package/lib/theme-chalk/menu-item-group.css +0 -0
- package/lib/theme-chalk/menu-item.css +0 -0
- package/lib/theme-chalk/menu.css +1 -0
- package/lib/theme-chalk/message-box.css +1 -0
- package/lib/theme-chalk/message.css +1 -0
- package/lib/theme-chalk/notification.css +1 -0
- package/lib/theme-chalk/option-group.css +1 -0
- package/lib/theme-chalk/option.css +1 -0
- package/lib/theme-chalk/page-header.css +1 -0
- package/lib/theme-chalk/pagination.css +1 -0
- package/lib/theme-chalk/popconfirm.css +1 -0
- package/lib/theme-chalk/popover.css +1 -0
- package/lib/theme-chalk/popper.css +1 -0
- package/lib/theme-chalk/progress.css +1 -0
- package/lib/theme-chalk/radio-button.css +1 -0
- package/lib/theme-chalk/radio-group.css +1 -0
- package/lib/theme-chalk/radio.css +1 -0
- package/lib/theme-chalk/rate.css +1 -0
- package/lib/theme-chalk/reset.css +1 -0
- package/lib/theme-chalk/result.css +1 -0
- package/lib/theme-chalk/row.css +1 -0
- package/lib/theme-chalk/scrollbar.css +1 -0
- package/lib/theme-chalk/select-dropdown.css +1 -0
- package/lib/theme-chalk/select.css +1 -0
- package/lib/theme-chalk/selectDisplayInput.css +1 -1
- package/lib/theme-chalk/skeleton-item.css +1 -0
- package/lib/theme-chalk/skeleton.css +1 -0
- package/lib/theme-chalk/slider.css +1 -0
- package/lib/theme-chalk/spinner.css +1 -0
- package/lib/theme-chalk/statistic.css +1 -0
- package/lib/theme-chalk/step.css +1 -0
- package/lib/theme-chalk/steps.css +1 -0
- package/lib/theme-chalk/subTitle.css +1 -1
- package/lib/theme-chalk/submenu.css +0 -0
- package/lib/theme-chalk/switch.css +1 -0
- package/lib/theme-chalk/tab-pane.css +0 -0
- package/lib/theme-chalk/tabDialog.css +1 -1
- package/lib/theme-chalk/table-column.css +1 -0
- package/lib/theme-chalk/table.css +1 -0
- package/lib/theme-chalk/tabs.css +1 -0
- package/lib/theme-chalk/tag.css +1 -0
- package/lib/theme-chalk/time-picker.css +1 -0
- package/lib/theme-chalk/time-select.css +1 -0
- package/lib/theme-chalk/timeline-item.css +1 -0
- package/lib/theme-chalk/timeline.css +1 -0
- package/lib/theme-chalk/tooltip.css +1 -0
- package/lib/theme-chalk/transfer.css +1 -0
- package/lib/theme-chalk/tree.css +1 -0
- package/lib/theme-chalk/treeSelect.css +1 -1
- package/lib/theme-chalk/upload.css +1 -0
- package/lib/time-picker.js +37 -37
- package/lib/time-select.js +20 -20
- package/lib/tooltip.js +6 -6
- package/lib/transfer.js +23 -23
- package/lib/transitions/collapse-transition.js +1 -1
- package/lib/tree.js +23 -23
- package/lib/treeSelect.js +20 -20
- package/lib/upload.js +11 -11
- package/lib/utils/clickoutside.js +1 -1
- package/lib/utils/date-util.js +2 -2
- package/lib/utils/popup/index.js +2 -2
- package/lib/utils/popup/popup-manager.js +1 -1
- package/lib/utils/util.js +1 -1
- package/lib/utils/vdom.js +1 -1
- package/lib/utils/vue-popper.js +1 -1
- package/package.json +2 -2
- package/packages/autocomplete/src/autocomplete-suggestions.vue +3 -3
- package/packages/autocomplete/src/autocomplete.vue +6 -6
- package/packages/calendar/src/date-table.vue +2 -2
- package/packages/calendar/src/main.vue +5 -5
- package/packages/carousel/src/item.vue +1 -1
- package/packages/carousel/src/main.vue +1 -1
- package/packages/cascader/src/cascader.vue +15 -15
- package/packages/cascader-panel/src/cascader-menu.vue +3 -3
- package/packages/cascader-panel/src/cascader-node.vue +3 -3
- package/packages/cascader-panel/src/cascader-panel.vue +4 -4
- package/packages/cascader-panel/src/node.js +2 -2
- package/packages/cascader-panel/src/store.js +1 -1
- package/packages/checkbox/src/checkbox-button.vue +1 -1
- package/packages/checkbox/src/checkbox-group.vue +1 -1
- package/packages/checkbox/src/checkbox.vue +1 -1
- package/packages/collapse/src/collapse-item.vue +3 -3
- package/packages/color-picker/src/components/picker-dropdown.vue +4 -4
- package/packages/color-picker/src/main.vue +2 -2
- package/packages/date-picker/src/basic/date-table.vue +3 -3
- package/packages/date-picker/src/basic/month-table.vue +4 -4
- package/packages/date-picker/src/basic/time-spinner.vue +3 -3
- package/packages/date-picker/src/basic/year-table.vue +3 -3
- package/packages/date-picker/src/panel/date-range.vue +5 -5
- package/packages/date-picker/src/panel/date.vue +5 -5
- package/packages/date-picker/src/panel/month-range.vue +5 -5
- package/packages/date-picker/src/panel/time-range.vue +2 -2
- package/packages/date-picker/src/panel/time-select.vue +2 -2
- package/packages/date-picker/src/panel/time.vue +2 -2
- package/packages/date-picker/src/picker.vue +6 -6
- package/packages/descriptions/src/index.js +1 -1
- package/packages/dialog/src/component.vue +3 -3
- package/packages/drawer/src/main.vue +2 -2
- package/packages/dropdown/src/dropdown-item.vue +1 -1
- package/packages/dropdown/src/dropdown-menu.vue +1 -1
- package/packages/dropdown/src/dropdown.vue +6 -6
- package/packages/empty/src/index.vue +1 -1
- package/packages/fileUpload/src/main.vue +430 -430
- package/packages/form/src/form-item.vue +3 -3
- package/packages/form/src/form.vue +1 -1
- package/packages/image/src/image-viewer.vue +3 -3
- package/packages/image/src/main.vue +3 -3
- package/packages/infinite-scroll/src/main.js +2 -2
- package/packages/input/src/input.vue +4 -4
- package/packages/input-number/src/input-number.vue +3 -3
- package/packages/loading/src/directive.js +3 -3
- package/packages/loading/src/index.js +4 -4
- package/packages/menu/src/menu-item.vue +2 -2
- package/packages/menu/src/menu.vue +4 -4
- package/packages/menu/src/submenu.vue +3 -3
- package/packages/message/src/main.js +3 -3
- package/packages/message-box/src/main.js +2 -2
- package/packages/message-box/src/main.vue +7 -7
- package/packages/notification/src/main.js +3 -3
- package/packages/page-header/src/main.vue +1 -1
- package/packages/pagination/src/pagination.js +5 -5
- package/packages/popconfirm/src/main.vue +3 -3
- package/packages/popover/src/main.vue +4 -4
- package/packages/radio/src/radio-button.vue +1 -1
- package/packages/radio/src/radio-group.vue +1 -1
- package/packages/radio/src/radio.vue +1 -1
- package/packages/rate/src/main.vue +3 -3
- package/packages/scrollbar/src/bar.js +1 -1
- package/packages/scrollbar/src/main.js +3 -3
- package/packages/select/src/option-group.vue +1 -1
- package/packages/select/src/option.vue +2 -2
- package/packages/select/src/select-dropdown.vue +1 -1
- package/packages/select/src/select.vue +11 -11
- package/packages/selectDisplayInput/src/main.vue +75 -75
- package/packages/slider/src/button.vue +1 -1
- package/packages/slider/src/main.vue +2 -2
- package/packages/statistic/src/main.vue +1 -1
- package/packages/steps/src/steps.vue +1 -1
- package/packages/switch/src/component.vue +3 -3
- package/packages/tabDialog/src/main.vue +277 -277
- package/packages/table/src/config.js +1 -1
- package/packages/table/src/filter-panel.vue +7 -7
- package/packages/table/src/store/current.js +1 -1
- package/packages/table/src/store/index.js +1 -1
- package/packages/table/src/store/watcher.js +1 -1
- package/packages/table/src/table-body.js +4 -4
- package/packages/table/src/table-column.js +1 -1
- package/packages/table/src/table-header.js +2 -2
- package/packages/table/src/table-layout.js +1 -1
- package/packages/table/src/table-row.js +1 -1
- package/packages/table/src/table.vue +5 -5
- package/packages/table/src/util.js +1 -1
- package/packages/tabs/src/tab-bar.vue +1 -1
- package/packages/tabs/src/tab-nav.vue +1 -1
- package/packages/tooltip/src/main.js +3 -3
- package/packages/transfer/src/main.vue +4 -4
- package/packages/transfer/src/transfer-panel.vue +4 -4
- package/packages/tree/src/model/node.js +2 -2
- package/packages/tree/src/tree-node.vue +3 -3
- package/packages/tree/src/tree.vue +3 -3
- package/packages/treeSelect/src/main.vue +325 -325
- package/packages/upload/src/index.vue +2 -2
- package/packages/upload/src/upload-list.vue +2 -2
- package/src/directives/repeat-click.js +2 -2
- package/src/index.js +1 -1
- package/src/locale/format.js +1 -1
- package/src/locale/index.js +1 -1
- package/src/mixins/locale.js +1 -1
- package/src/mixins/migrating.js +2 -2
- package/src/transitions/collapse-transition.js +1 -1
- package/src/utils/clickoutside.js +1 -1
- package/src/utils/date-util.js +2 -2
- package/src/utils/popup/index.js +2 -2
- package/src/utils/popup/popup-manager.js +1 -1
- package/src/utils/util.js +1 -1
- package/src/utils/vdom.js +1 -1
- package/src/utils/vue-popper.js +1 -1
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
</div>
|
|
46
46
|
</template>
|
|
47
47
|
<script>
|
|
48
|
-
import ElCollapseTransition from '
|
|
49
|
-
import Emitter from '
|
|
50
|
-
import { generateId } from '
|
|
48
|
+
import ElCollapseTransition from 'element-ui/src/transitions/collapse-transition';
|
|
49
|
+
import Emitter from 'element-ui/src/mixins/emitter';
|
|
50
|
+
import { generateId } from 'element-ui/src/utils/util';
|
|
51
51
|
|
|
52
52
|
export default {
|
|
53
53
|
name: 'ElCollapseItem',
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
import HueSlider from './hue-slider';
|
|
44
44
|
import AlphaSlider from './alpha-slider';
|
|
45
45
|
import Predefine from './predefine';
|
|
46
|
-
import Popper from '
|
|
47
|
-
import Locale from '
|
|
48
|
-
import ElInput from '
|
|
49
|
-
import ElButton from '
|
|
46
|
+
import Popper from 'element-ui/src/utils/vue-popper';
|
|
47
|
+
import Locale from 'element-ui/src/mixins/locale';
|
|
48
|
+
import ElInput from 'element-ui/packages/input';
|
|
49
|
+
import ElButton from 'element-ui/packages/button';
|
|
50
50
|
|
|
51
51
|
export default {
|
|
52
52
|
name: 'ElColorPickerDropdown',
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
<script>
|
|
34
34
|
import Color from './color';
|
|
35
35
|
import PickerDropdown from './components/picker-dropdown.vue';
|
|
36
|
-
import Clickoutside from '
|
|
37
|
-
import Emitter from '
|
|
36
|
+
import Clickoutside from 'element-ui/src/utils/clickoutside';
|
|
37
|
+
import Emitter from 'element-ui/src/mixins/emitter';
|
|
38
38
|
|
|
39
39
|
export default {
|
|
40
40
|
name: 'ElColorPicker',
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
</template>
|
|
33
33
|
|
|
34
34
|
<script>
|
|
35
|
-
import { getFirstDayOfMonth, getDayCountOfMonth, getWeekNumber, getStartDateOfMonth, prevDate, nextDate, isDate, clearTime as _clearTime } from '
|
|
36
|
-
import Locale from '
|
|
37
|
-
import { arrayFindIndex, arrayFind, coerceTruthyValueToArray } from '
|
|
35
|
+
import { getFirstDayOfMonth, getDayCountOfMonth, getWeekNumber, getStartDateOfMonth, prevDate, nextDate, isDate, clearTime as _clearTime } from 'element-ui/src/utils/date-util';
|
|
36
|
+
import Locale from 'element-ui/src/mixins/locale';
|
|
37
|
+
import { arrayFindIndex, arrayFind, coerceTruthyValueToArray } from 'element-ui/src/utils/util';
|
|
38
38
|
|
|
39
39
|
const WEEKS = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat'];
|
|
40
40
|
const getDateTimestamp = function(time) {
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
</template>
|
|
14
14
|
|
|
15
15
|
<script type="text/babel">
|
|
16
|
-
import Locale from '
|
|
17
|
-
import { isDate, range, getDayCountOfMonth, nextDate } from '
|
|
18
|
-
import { hasClass } from '
|
|
19
|
-
import { arrayFindIndex, coerceTruthyValueToArray, arrayFind } from '
|
|
16
|
+
import Locale from 'element-ui/src/mixins/locale';
|
|
17
|
+
import { isDate, range, getDayCountOfMonth, nextDate } from 'element-ui/src/utils/date-util';
|
|
18
|
+
import { hasClass } from 'element-ui/src/utils/dom';
|
|
19
|
+
import { arrayFindIndex, coerceTruthyValueToArray, arrayFind } from 'element-ui/src/utils/util';
|
|
20
20
|
|
|
21
21
|
const datesInMonth = (year, month) => {
|
|
22
22
|
const numOfDays = getDayCountOfMonth(year, month);
|
|
@@ -101,9 +101,9 @@
|
|
|
101
101
|
</template>
|
|
102
102
|
|
|
103
103
|
<script type="text/babel">
|
|
104
|
-
import { getRangeHours, getRangeMinutes, modifyTime } from '
|
|
105
|
-
import ElScrollbar from '
|
|
106
|
-
import RepeatClick from '
|
|
104
|
+
import { getRangeHours, getRangeMinutes, modifyTime } from 'element-ui/src/utils/date-util';
|
|
105
|
+
import ElScrollbar from 'element-ui/packages/scrollbar';
|
|
106
|
+
import RepeatClick from 'element-ui/src/directives/repeat-click';
|
|
107
107
|
|
|
108
108
|
export default {
|
|
109
109
|
components: { ElScrollbar },
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
</template>
|
|
45
45
|
|
|
46
46
|
<script type="text/babel">
|
|
47
|
-
import { hasClass } from '
|
|
48
|
-
import { isDate, range, nextDate, getDayCountOfYear } from '
|
|
49
|
-
import { arrayFindIndex, coerceTruthyValueToArray } from '
|
|
47
|
+
import { hasClass } from 'element-ui/src/utils/dom';
|
|
48
|
+
import { isDate, range, nextDate, getDayCountOfYear } from 'element-ui/src/utils/date-util';
|
|
49
|
+
import { arrayFindIndex, coerceTruthyValueToArray } from 'element-ui/src/utils/util';
|
|
50
50
|
|
|
51
51
|
const datesInYear = year => {
|
|
52
52
|
const numOfDays = getDayCountOfYear(year);
|
|
@@ -202,13 +202,13 @@
|
|
|
202
202
|
nextDate,
|
|
203
203
|
extractDateFormat,
|
|
204
204
|
extractTimeFormat
|
|
205
|
-
} from '
|
|
206
|
-
import Clickoutside from '
|
|
207
|
-
import Locale from '
|
|
205
|
+
} from 'element-ui/src/utils/date-util';
|
|
206
|
+
import Clickoutside from 'element-ui/src/utils/clickoutside';
|
|
207
|
+
import Locale from 'element-ui/src/mixins/locale';
|
|
208
208
|
import TimePicker from './time';
|
|
209
209
|
import DateTable from '../basic/date-table';
|
|
210
|
-
import ElInput from '
|
|
211
|
-
import ElButton from '
|
|
210
|
+
import ElInput from 'element-ui/packages/input';
|
|
211
|
+
import ElButton from 'element-ui/packages/button';
|
|
212
212
|
|
|
213
213
|
const calcDefaultValue = (defaultValue) => {
|
|
214
214
|
if (Array.isArray(defaultValue)) {
|
|
@@ -163,11 +163,11 @@
|
|
|
163
163
|
extractDateFormat,
|
|
164
164
|
extractTimeFormat,
|
|
165
165
|
timeWithinRange
|
|
166
|
-
} from '
|
|
167
|
-
import Clickoutside from '
|
|
168
|
-
import Locale from '
|
|
169
|
-
import ElInput from '
|
|
170
|
-
import ElButton from '
|
|
166
|
+
} from 'element-ui/src/utils/date-util';
|
|
167
|
+
import Clickoutside from 'element-ui/src/utils/clickoutside';
|
|
168
|
+
import Locale from 'element-ui/src/mixins/locale';
|
|
169
|
+
import ElInput from 'element-ui/packages/input';
|
|
170
|
+
import ElButton from 'element-ui/packages/button';
|
|
171
171
|
import TimePicker from './time';
|
|
172
172
|
import YearTable from '../basic/year-table';
|
|
173
173
|
import MonthTable from '../basic/month-table';
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
prevYear,
|
|
85
85
|
nextYear,
|
|
86
86
|
nextMonth
|
|
87
|
-
} from '
|
|
88
|
-
import Clickoutside from '
|
|
89
|
-
import Locale from '
|
|
87
|
+
} from 'element-ui/src/utils/date-util';
|
|
88
|
+
import Clickoutside from 'element-ui/src/utils/clickoutside';
|
|
89
|
+
import Locale from 'element-ui/src/mixins/locale';
|
|
90
90
|
import MonthTable from '../basic/month-table';
|
|
91
|
-
import ElInput from '
|
|
92
|
-
import ElButton from '
|
|
91
|
+
import ElInput from 'element-ui/packages/input';
|
|
92
|
+
import ElButton from 'element-ui/packages/button';
|
|
93
93
|
|
|
94
94
|
const calcDefaultValue = (defaultValue) => {
|
|
95
95
|
if (Array.isArray(defaultValue)) {
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
modifyDate,
|
|
63
63
|
clearMilliseconds,
|
|
64
64
|
timeWithinRange
|
|
65
|
-
} from '
|
|
66
|
-
import Locale from '
|
|
65
|
+
} from 'element-ui/src/utils/date-util';
|
|
66
|
+
import Locale from 'element-ui/src/mixins/locale';
|
|
67
67
|
import TimeSpinner from '../basic/time-spinner';
|
|
68
68
|
|
|
69
69
|
const MIN_TIME = parseDate('00:00:00', 'HH:mm:ss');
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
</template>
|
|
20
20
|
|
|
21
21
|
<script type="text/babel">
|
|
22
|
-
import ElScrollbar from '
|
|
23
|
-
import scrollIntoView from '
|
|
22
|
+
import ElScrollbar from 'element-ui/packages/scrollbar';
|
|
23
|
+
import scrollIntoView from 'element-ui/src/utils/scroll-into-view';
|
|
24
24
|
|
|
25
25
|
const parseTime = function(time) {
|
|
26
26
|
const values = (time || '').split(':');
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
</template>
|
|
32
32
|
|
|
33
33
|
<script type="text/babel">
|
|
34
|
-
import { limitTimeRange, isDate, clearMilliseconds, timeWithinRange } from '
|
|
35
|
-
import Locale from '
|
|
34
|
+
import { limitTimeRange, isDate, clearMilliseconds, timeWithinRange } from 'element-ui/src/utils/date-util';
|
|
35
|
+
import Locale from 'element-ui/src/mixins/locale';
|
|
36
36
|
import TimeSpinner from '../basic/time-spinner';
|
|
37
37
|
|
|
38
38
|
export default {
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
|
|
86
86
|
<script>
|
|
87
87
|
import Vue from 'vue';
|
|
88
|
-
import Clickoutside from '
|
|
89
|
-
import { formatDate, parseDate, isDateObject, getWeekNumber } from '
|
|
90
|
-
import Popper from '
|
|
91
|
-
import Emitter from '
|
|
92
|
-
import ElInput from '
|
|
93
|
-
import merge from '
|
|
88
|
+
import Clickoutside from 'element-ui/src/utils/clickoutside';
|
|
89
|
+
import { formatDate, parseDate, isDateObject, getWeekNumber } from 'element-ui/src/utils/date-util';
|
|
90
|
+
import Popper from 'element-ui/src/utils/vue-popper';
|
|
91
|
+
import Emitter from 'element-ui/src/mixins/emitter';
|
|
92
|
+
import ElInput from 'element-ui/packages/input';
|
|
93
|
+
import merge from 'element-ui/src/utils/merge';
|
|
94
94
|
|
|
95
95
|
const NewPopper = {
|
|
96
96
|
props: {
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
</template>
|
|
39
39
|
|
|
40
40
|
<script>
|
|
41
|
-
import Popup from '
|
|
42
|
-
import Migrating from '
|
|
43
|
-
import emitter from '
|
|
41
|
+
import Popup from 'element-ui/src/utils/popup';
|
|
42
|
+
import Migrating from 'element-ui/src/mixins/migrating';
|
|
43
|
+
import emitter from 'element-ui/src/mixins/emitter';
|
|
44
44
|
|
|
45
45
|
export default {
|
|
46
46
|
name: 'ElDialog',
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
</template>
|
|
48
48
|
|
|
49
49
|
<script>
|
|
50
|
-
import Popup from '
|
|
51
|
-
import emitter from '
|
|
50
|
+
import Popup from 'element-ui/src/utils/popup';
|
|
51
|
+
import emitter from 'element-ui/src/mixins/emitter';
|
|
52
52
|
|
|
53
53
|
export default {
|
|
54
54
|
name: 'ElDrawer',
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Clickoutside from '
|
|
3
|
-
import Emitter from '
|
|
4
|
-
import Migrating from '
|
|
5
|
-
import ElButton from '
|
|
6
|
-
import ElButtonGroup from '
|
|
7
|
-
import { generateId } from '
|
|
2
|
+
import Clickoutside from 'element-ui/src/utils/clickoutside';
|
|
3
|
+
import Emitter from 'element-ui/src/mixins/emitter';
|
|
4
|
+
import Migrating from 'element-ui/src/mixins/migrating';
|
|
5
|
+
import ElButton from 'element-ui/packages/button';
|
|
6
|
+
import ElButtonGroup from 'element-ui/packages/button-group';
|
|
7
|
+
import { generateId } from 'element-ui/src/utils/util';
|
|
8
8
|
|
|
9
9
|
export default {
|
|
10
10
|
name: 'ElDropdown',
|