webcake-ui-kit 1.1.35 → 1.1.36
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/package.json
CHANGED
|
@@ -128,15 +128,15 @@
|
|
|
128
128
|
import Menu from '../menu/Menu.vue'
|
|
129
129
|
import CalendarPanel from './CalendarPanel.vue'
|
|
130
130
|
import dayjs from 'dayjs'
|
|
131
|
-
import
|
|
132
|
-
import
|
|
133
|
-
import
|
|
134
|
-
import
|
|
131
|
+
import * as _customParseFormat from 'dayjs/plugin/customParseFormat'
|
|
132
|
+
import * as _localeData from 'dayjs/plugin/localeData'
|
|
133
|
+
import * as _isSameOrBefore from 'dayjs/plugin/isSameOrBefore'
|
|
134
|
+
import * as _isSameOrAfter from 'dayjs/plugin/isSameOrAfter'
|
|
135
135
|
|
|
136
|
-
dayjs.extend(
|
|
137
|
-
dayjs.extend(
|
|
138
|
-
dayjs.extend(
|
|
139
|
-
dayjs.extend(
|
|
136
|
+
dayjs.extend(_customParseFormat.default || _customParseFormat)
|
|
137
|
+
dayjs.extend(_localeData.default || _localeData)
|
|
138
|
+
dayjs.extend(_isSameOrBefore.default || _isSameOrBefore)
|
|
139
|
+
dayjs.extend(_isSameOrAfter.default || _isSameOrAfter)
|
|
140
140
|
import { ISO, toDayjs, toISO, isDateDisabled, weekdayLabels, buildDayMatrix, orderISO } from './calendar.js'
|
|
141
141
|
import { WkiCalendar, WkiX } from '../../icons'
|
|
142
142
|
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
// Day.js objects in `data`) and only converts to Date/formatted output at the
|
|
8
8
|
// component boundary.
|
|
9
9
|
import dayjs from 'dayjs'
|
|
10
|
-
import
|
|
11
|
-
import
|
|
10
|
+
import * as _customParseFormat from 'dayjs/plugin/customParseFormat'
|
|
11
|
+
import * as _localeData from 'dayjs/plugin/localeData'
|
|
12
12
|
|
|
13
|
-
dayjs.extend(
|
|
14
|
-
dayjs.extend(
|
|
13
|
+
dayjs.extend(_customParseFormat.default || _customParseFormat)
|
|
14
|
+
dayjs.extend(_localeData.default || _localeData)
|
|
15
15
|
|
|
16
16
|
export const ISO = 'YYYY-MM-DD'
|
|
17
17
|
|