@varlet/ui 1.22.0-alpha.3 → 1.22.0-alpha.7

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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, reactive, watch } from 'vue';
2
- import dayjs from 'dayjs';
2
+ import dayjs from 'dayjs/esm';
3
3
  import MonthPickerPanel from './src/month-picker-panel.js'
4
4
  import YearPickerPanel from './src/year-picker-panel.js'
5
5
  import DayPickerPanel from './src/day-picker-panel.js'
@@ -1,9 +1,9 @@
1
1
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import { defineComponent, ref, computed, watch, onMounted, reactive } from 'vue';
4
- import dayjs from 'dayjs';
5
- import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
6
- import isSameOrAfter from 'dayjs/plugin/isSameOrAfter';
4
+ import dayjs from 'dayjs/esm';
5
+ import isSameOrBefore from 'dayjs/esm/plugin/isSameOrBefore';
6
+ import isSameOrAfter from 'dayjs/esm/plugin/isSameOrAfter';
7
7
  import PanelHeader from './panel-header.js'
8
8
  import Button from '../../button';
9
9
  import { WEEK_HEADER } from '../props';
@@ -1,9 +1,9 @@
1
1
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import { defineComponent, ref, computed, reactive, watch } from 'vue';
4
- import dayjs from 'dayjs';
5
- import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
6
- import isSameOrAfter from 'dayjs/plugin/isSameOrAfter';
4
+ import dayjs from 'dayjs/esm';
5
+ import isSameOrBefore from 'dayjs/esm/plugin/isSameOrBefore';
6
+ import isSameOrAfter from 'dayjs/esm/plugin/isSameOrAfter';
7
7
  import { MONTH_LIST } from '../props';
8
8
  import PanelHeader from './panel-header.js'
9
9
  import Button from '../../button';
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, onMounted } from 'vue';
2
- import dayjs from 'dayjs';
2
+ import dayjs from 'dayjs/esm';
3
3
  import { toNumber } from '../../utils/shared';
4
4
  import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
5
5
 
@@ -1,8 +1,8 @@
1
1
  import '../../styles/common.css'
2
+ import '../SnackbarSfc.css'
2
3
  import '../../styles/elevation.css'
3
4
  import '../../loading/loading.css'
4
5
  import '../../button/button.css'
5
6
  import '../../icon/icon.css'
6
7
  import '../snackbar.css'
7
8
  import '../coreSfc.css'
8
- import '../SnackbarSfc.css'
@@ -1,8 +1,8 @@
1
1
  import '../../styles/common.less'
2
+ import '../SnackbarSfc.less'
2
3
  import '../../styles/elevation.less'
3
4
  import '../../loading/loading.less'
4
5
  import '../../button/button.less'
5
6
  import '../../icon/icon.less'
6
7
  import '../snackbar.less'
7
8
  import '../coreSfc.less'
8
- import '../SnackbarSfc.less'
@@ -1,5 +1,5 @@
1
1
  import { computed, defineComponent, reactive, ref, watch } from 'vue';
2
- import dayjs from 'dayjs';
2
+ import dayjs from 'dayjs/esm';
3
3
  import Clock from './clock.js'
4
4
  import { props, hoursAmpm, hours24 } from './props';
5
5
  import { toNumber } from '../utils/shared';
@@ -1,5 +1,5 @@
1
1
  import { computed, defineComponent, ref, watch } from 'vue';
2
- import dayjs from 'dayjs';
2
+ import dayjs from 'dayjs/esm';
3
3
  import { hoursAmpm, hours24, minSec } from './props';
4
4
  import { notConvert, convertHour, getIsDisableMinute, getIsDisableSecond, getNumberTime } from './utils';
5
5
  import { toNumber } from '../utils/shared';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "1.22.0-alpha.3+019ba0c0",
3
+ "version": "1.22.0-alpha.7+63386141",
4
4
  "description": "A material like components library",
5
5
  "module": "es/index.js",
6
6
  "typings": "types/index.d.ts",
@@ -45,9 +45,9 @@
45
45
  "peerDependencies": {
46
46
  "vue": "^3.2.0"
47
47
  },
48
- "gitHead": "019ba0c08fc8b6a7636d27b8539ac8d02affd994",
48
+ "gitHead": "63386141058b9268358eda5956cd7c3fd52cf9b5",
49
49
  "devDependencies": {
50
- "@varlet/cli": "^1.22.0-alpha.3+019ba0c0"
50
+ "@varlet/cli": "^1.22.0-alpha.7+63386141"
51
51
  },
52
52
  "dependencies": {
53
53
  "dayjs": "^1.10.4",