buefy 0.9.13 → 0.9.17
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/CHANGELOG.md +1706 -1639
- package/README.md +1 -1
- package/dist/buefy.css +313 -1
- package/dist/buefy.esm.js +4431 -2331
- package/dist/buefy.esm.min.js +2 -2
- package/dist/buefy.js +4467 -2364
- package/dist/buefy.min.css +1 -1
- package/dist/buefy.min.js +2 -2
- package/dist/cjs/autocomplete.js +5 -5
- package/dist/cjs/button.js +3 -3
- package/dist/cjs/carousel.js +4 -4
- package/dist/cjs/{chunk-34949503.js → chunk-0d6f213f.js} +2 -2
- package/dist/cjs/{chunk-2c7de785.js → chunk-0e3108f5.js} +2 -2
- package/dist/cjs/{chunk-2911aa4b.js → chunk-1438658c.js} +14 -11
- package/dist/cjs/{chunk-114191ae.js → chunk-1f7e4ed3.js} +3 -3
- package/dist/cjs/{chunk-a11294f9.js → chunk-334bc809.js} +1 -1
- package/dist/cjs/chunk-45739695.js +332 -0
- package/dist/cjs/{chunk-c7b2aa4b.js → chunk-4bcfaf1c.js} +0 -0
- package/dist/cjs/{chunk-f5106717.js → chunk-5058e659.js} +3 -3
- package/dist/cjs/{chunk-61023b09.js → chunk-545e1c7f.js} +102 -16
- package/dist/cjs/{chunk-30670fac.js → chunk-54b0042d.js} +19 -3
- package/dist/cjs/{chunk-fe2f57ee.js → chunk-5ed8a75a.js} +2 -2
- package/dist/cjs/{chunk-d120e215.js → chunk-73f8eef8.js} +8 -2
- package/dist/cjs/{chunk-2062216d.js → chunk-7c11fdde.js} +5 -4
- package/dist/cjs/{chunk-3cc5d9a6.js → chunk-841c0e0f.js} +1 -1
- package/dist/cjs/{chunk-9e4cf4c5.js → chunk-87a116d9.js} +0 -0
- package/dist/cjs/{chunk-fefd7b77.js → chunk-a53b7aff.js} +0 -0
- package/dist/cjs/{chunk-d0f8ea39.js → chunk-c0a093d7.js} +7 -7
- package/dist/cjs/{chunk-7da0c017.js → chunk-c8abb3ed.js} +21 -21
- package/dist/cjs/{chunk-c6fbc7b4.js → chunk-d0df905a.js} +15 -2
- package/dist/cjs/{chunk-d54e40f6.js → chunk-e86d3eeb.js} +1 -8
- package/dist/cjs/{chunk-6cb902f8.js → chunk-e872f5e2.js} +1 -1
- package/dist/cjs/{chunk-2ae50815.js → chunk-f5285f14.js} +4 -4
- package/dist/cjs/clockpicker.js +8 -8
- package/dist/cjs/colorpicker.js +1752 -0
- package/dist/cjs/config.js +1 -1
- package/dist/cjs/datepicker.js +11 -11
- package/dist/cjs/datetimepicker.js +30 -14
- package/dist/cjs/dialog.js +5 -5
- package/dist/cjs/dropdown.js +3 -3
- package/dist/cjs/field.js +2 -2
- package/dist/cjs/helpers.js +21 -1
- package/dist/cjs/icon.js +2 -2
- package/dist/cjs/image.js +2 -2
- package/dist/cjs/index.js +27 -22
- package/dist/cjs/input.js +4 -4
- package/dist/cjs/loading.js +5 -5
- package/dist/cjs/menu.js +2 -2
- package/dist/cjs/message.js +4 -9
- package/dist/cjs/modal.js +5 -5
- package/dist/cjs/navbar.js +4 -1
- package/dist/cjs/notification.js +7 -7
- package/dist/cjs/numberinput.js +30 -21
- package/dist/cjs/pagination.js +7 -7
- package/dist/cjs/progress.js +3 -3
- package/dist/cjs/rate.js +2 -2
- package/dist/cjs/select.js +4 -4
- package/dist/cjs/sidebar.js +1 -1
- package/dist/cjs/slider.js +3 -3
- package/dist/cjs/snackbar.js +5 -4
- package/dist/cjs/steps.js +5 -5
- package/dist/cjs/table.js +157 -146
- package/dist/cjs/tabs.js +7 -7
- package/dist/cjs/taginput.js +5 -5
- package/dist/cjs/timepicker.js +12 -12
- package/dist/cjs/toast.js +3 -3
- package/dist/cjs/tooltip.js +4 -4
- package/dist/cjs/upload.js +23 -9
- package/dist/components/autocomplete/index.js +24 -2
- package/dist/components/autocomplete/index.min.js +2 -2
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/breadcrumb/index.min.js +1 -1
- package/dist/components/button/index.js +8 -2
- package/dist/components/button/index.min.js +2 -2
- package/dist/components/carousel/index.js +8 -2
- package/dist/components/carousel/index.min.js +2 -2
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.min.js +1 -1
- package/dist/components/clockpicker/index.js +41 -22
- package/dist/components/clockpicker/index.min.js +2 -2
- package/dist/components/collapse/index.js +1 -1
- package/dist/components/collapse/index.min.js +1 -1
- package/dist/components/colorpicker/index.js +4318 -0
- package/dist/components/colorpicker/index.min.js +2 -0
- package/dist/components/datepicker/index.js +48 -26
- package/dist/components/datepicker/index.min.js +2 -2
- package/dist/components/datetimepicker/index.js +66 -28
- package/dist/components/datetimepicker/index.min.js +2 -2
- package/dist/components/dialog/index.js +8 -2
- package/dist/components/dialog/index.min.js +2 -2
- package/dist/components/dropdown/index.js +14 -1
- package/dist/components/dropdown/index.min.js +2 -2
- package/dist/components/field/index.js +21 -21
- package/dist/components/field/index.min.js +1 -1
- package/dist/components/icon/index.js +8 -2
- package/dist/components/icon/index.min.js +2 -2
- package/dist/components/image/index.js +1 -1
- package/dist/components/image/index.min.js +1 -1
- package/dist/components/input/index.js +8 -2
- package/dist/components/input/index.min.js +2 -2
- package/dist/components/loading/index.js +1 -1
- package/dist/components/loading/index.min.js +1 -1
- package/dist/components/menu/index.js +8 -2
- package/dist/components/menu/index.min.js +2 -2
- package/dist/components/message/index.js +11 -9
- package/dist/components/message/index.min.js +2 -2
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/index.min.js +1 -1
- package/dist/components/navbar/index.js +4 -1
- package/dist/components/navbar/index.min.js +2 -2
- package/dist/components/notification/index.js +13 -13
- package/dist/components/notification/index.min.js +2 -2
- package/dist/components/numberinput/index.js +34 -19
- package/dist/components/numberinput/index.min.js +2 -2
- package/dist/components/pagination/index.js +107 -16
- package/dist/components/pagination/index.min.js +2 -2
- package/dist/components/progress/index.js +2 -2
- package/dist/components/progress/index.min.js +2 -2
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.min.js +1 -1
- package/dist/components/rate/index.js +8 -2
- package/dist/components/rate/index.min.js +2 -2
- package/dist/components/select/index.js +8 -2
- package/dist/components/select/index.min.js +2 -2
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/index.min.js +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/index.min.js +1 -1
- package/dist/components/slider/index.js +2 -2
- package/dist/components/slider/index.min.js +2 -2
- package/dist/components/snackbar/index.js +4 -10
- package/dist/components/snackbar/index.min.js +2 -2
- package/dist/components/steps/index.js +8 -2
- package/dist/components/steps/index.min.js +2 -2
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.min.js +1 -1
- package/dist/components/table/index.js +253 -133
- package/dist/components/table/index.min.js +2 -2
- package/dist/components/tabs/index.js +10 -4
- package/dist/components/tabs/index.min.js +2 -2
- package/dist/components/tag/index.js +1 -1
- package/dist/components/tag/index.min.js +1 -1
- package/dist/components/taginput/index.js +24 -2
- package/dist/components/taginput/index.min.js +2 -2
- package/dist/components/timepicker/index.js +41 -22
- package/dist/components/timepicker/index.min.js +2 -2
- package/dist/components/toast/index.js +2 -9
- package/dist/components/toast/index.min.js +2 -2
- package/dist/components/tooltip/index.js +2 -2
- package/dist/components/tooltip/index.min.js +2 -2
- package/dist/components/upload/index.js +20 -6
- package/dist/components/upload/index.min.js +2 -2
- package/dist/esm/autocomplete.js +6 -6
- package/dist/esm/button.js +4 -4
- package/dist/esm/carousel.js +4 -4
- package/dist/esm/{chunk-18e8b067.js → chunk-1a4fde6d.js} +102 -17
- package/dist/esm/{chunk-3773c62d.js → chunk-22cf6667.js} +2 -2
- package/dist/esm/{chunk-ece062a7.js → chunk-262b3f82.js} +1 -1
- package/dist/esm/chunk-455cdeae.js +317 -0
- package/dist/esm/{chunk-d7f92d97.js → chunk-5435bd9a.js} +5 -4
- package/dist/esm/{chunk-e7c9b2cb.js → chunk-58cdbf2b.js} +2 -2
- package/dist/esm/{chunk-29ca0df8.js → chunk-60a03517.js} +1 -1
- package/dist/esm/{chunk-21fc0948.js → chunk-66cef090.js} +7 -7
- package/dist/esm/{chunk-71a547bc.js → chunk-690d5be4.js} +1 -1
- package/dist/esm/{chunk-83eb0d37.js → chunk-6adc5c5d.js} +3 -3
- package/dist/esm/{chunk-c9c58d0c.js → chunk-6d0f2352.js} +0 -0
- package/dist/esm/{chunk-8d0f95b8.js → chunk-6d96579e.js} +4 -4
- package/dist/esm/{chunk-22e9f916.js → chunk-6fb4a069.js} +14 -11
- package/dist/esm/{chunk-75a5af93.js → chunk-84c6dfd6.js} +0 -0
- package/dist/esm/{chunk-ae8ab23a.js → chunk-a628d44d.js} +3 -3
- package/dist/esm/{chunk-b0c0c6b0.js → chunk-c9c18b2f.js} +0 -0
- package/dist/esm/{chunk-9f7f7441.js → chunk-d35985c7.js} +0 -0
- package/dist/esm/{chunk-799e084d.js → chunk-d9232770.js} +1 -8
- package/dist/esm/{chunk-4b67a181.js → chunk-dbd43ef1.js} +15 -2
- package/dist/esm/{chunk-d92f0cd9.js → chunk-e044aa02.js} +8 -2
- package/dist/esm/{chunk-b07e3182.js → chunk-effa4d25.js} +21 -21
- package/dist/esm/{chunk-6019fd7a.js → chunk-f9eaeac4.js} +19 -3
- package/dist/esm/clockpicker.js +8 -8
- package/dist/esm/colorpicker.js +1748 -0
- package/dist/esm/config.js +1 -1
- package/dist/esm/datepicker.js +10 -10
- package/dist/esm/datetimepicker.js +29 -13
- package/dist/esm/dialog.js +4 -4
- package/dist/esm/dropdown.js +4 -4
- package/dist/esm/field.js +3 -3
- package/dist/esm/helpers.js +20 -2
- package/dist/esm/icon.js +3 -3
- package/dist/esm/image.js +3 -3
- package/dist/esm/index.js +94 -91
- package/dist/esm/input.js +5 -5
- package/dist/esm/loading.js +3 -3
- package/dist/esm/menu.js +2 -2
- package/dist/esm/message.js +3 -8
- package/dist/esm/modal.js +3 -3
- package/dist/esm/navbar.js +4 -1
- package/dist/esm/notification.js +5 -5
- package/dist/esm/numberinput.js +30 -21
- package/dist/esm/pagination.js +4 -4
- package/dist/esm/progress.js +3 -3
- package/dist/esm/rate.js +2 -2
- package/dist/esm/select.js +5 -5
- package/dist/esm/sidebar.js +1 -1
- package/dist/esm/slider.js +2 -2
- package/dist/esm/snackbar.js +4 -3
- package/dist/esm/steps.js +5 -5
- package/dist/esm/table.js +155 -144
- package/dist/esm/tabs.js +7 -7
- package/dist/esm/taginput.js +5 -5
- package/dist/esm/timepicker.js +11 -11
- package/dist/esm/toast.js +2 -2
- package/dist/esm/tooltip.js +3 -3
- package/dist/esm/upload.js +21 -7
- package/dist/vetur/attributes.json +96 -0
- package/dist/vetur/tags.json +30 -1
- package/package.json +1 -1
- package/src/components/autocomplete/Autocomplete.vue +10 -0
- package/src/components/breadcrumb/__snapshots__/BreadcrumbItem.spec.js.snap +1 -5
- package/src/components/carousel/__snapshots__/CarouselList.spec.js.snap +48 -48
- package/src/components/colorpicker/Colorpicker.spec.js +10 -0
- package/src/components/colorpicker/Colorpicker.vue +354 -0
- package/src/components/colorpicker/ColorpickerAlphaSlider.spec.js +14 -0
- package/src/components/colorpicker/ColorpickerAlphaSlider.vue +194 -0
- package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.spec.js +22 -0
- package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.vue +366 -0
- package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.spec.js +22 -0
- package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.vue +442 -0
- package/src/components/colorpicker/__snapshots__/ColorPickerHSLRepresentationSquare.spec.js.snap +12 -0
- package/src/components/colorpicker/__snapshots__/Colorpicker.spec.js.snap +32 -0
- package/src/components/colorpicker/__snapshots__/ColorpickerAlphaSlider.spec.js.snap +11 -0
- package/src/components/colorpicker/__snapshots__/ColorpickerHSLRepresentationTriangle.spec.js.snap +36 -0
- package/src/components/colorpicker/index.js +17 -0
- package/src/components/datepicker/DatepickerTableRow.spec.js +26 -0
- package/src/components/datepicker/DatepickerTableRow.vue +4 -5
- package/src/components/datetimepicker/Datetimepicker.vue +17 -1
- package/src/components/dropdown/Dropdown.vue +13 -0
- package/src/components/field/Field.vue +271 -271
- package/src/components/index.js +2 -0
- package/src/components/message/Message.vue +0 -5
- package/src/components/navbar/NavbarDropdown.vue +4 -0
- package/src/components/notification/Notification.vue +1 -1
- package/src/components/numberinput/Numberinput.spec.js +62 -0
- package/src/components/numberinput/Numberinput.vue +22 -15
- package/src/components/pagination/Pagination.vue +141 -51
- package/src/components/progress/Progress.vue +1 -1
- package/src/components/snackbar/index.js +2 -1
- package/src/components/table/Table.spec.js +17 -3
- package/src/components/table/Table.vue +1436 -1409
- package/src/components/table/TablePagination.vue +10 -2
- package/src/components/tabs/Tabs.vue +2 -0
- package/src/components/timepicker/__snapshots__/Timepicker.spec.js.snap +18 -47
- package/src/components/tooltip/Tooltip.vue +2 -2
- package/src/components/upload/Upload.vue +19 -7
- package/src/scss/buefy.scss +1 -0
- package/src/scss/components/_colorpicker.scss +283 -0
- package/src/scss/components/_pagination.scss +38 -0
- package/src/utils/MessageMixin.js +2 -1
- package/src/utils/NoticeMixin.js +1 -5
- package/src/utils/color.js +441 -0
- package/src/utils/color.spec.js +52 -0
- package/src/utils/helpers.js +16 -0
- package/src/utils/icons.js +7 -1
- package/types/components.d.ts +7 -2
- package/types/helpers.d.ts +2 -1
- package/dist/cjs/chunk-92621ff7.js +0 -141
- package/dist/esm/chunk-2452e3d3.js +0 -134
package/dist/cjs/autocomplete.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-45739695.js');
|
|
6
6
|
require('./helpers.js');
|
|
7
7
|
require('./chunk-9103eeda.js');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-87a116d9.js');
|
|
9
|
+
require('./chunk-73f8eef8.js');
|
|
10
10
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
11
|
-
require('./chunk-
|
|
12
|
-
var __chunk_7 = require('./chunk-
|
|
11
|
+
require('./chunk-5058e659.js');
|
|
12
|
+
var __chunk_7 = require('./chunk-54b0042d.js');
|
|
13
13
|
|
|
14
14
|
var Plugin = {
|
|
15
15
|
install: function install(Vue) {
|
package/dist/cjs/button.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-45739695.js');
|
|
6
6
|
require('./helpers.js');
|
|
7
7
|
require('./chunk-9103eeda.js');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-73f8eef8.js');
|
|
9
9
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
10
|
-
var __chunk_8 = require('./chunk-
|
|
10
|
+
var __chunk_8 = require('./chunk-5ed8a75a.js');
|
|
11
11
|
|
|
12
12
|
var Plugin = {
|
|
13
13
|
install: function install(Vue) {
|
package/dist/cjs/carousel.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var __chunk_1 = require('./chunk-
|
|
5
|
+
var __chunk_1 = require('./chunk-45739695.js');
|
|
6
6
|
var helpers = require('./helpers.js');
|
|
7
7
|
var __chunk_2 = require('./chunk-9103eeda.js');
|
|
8
|
-
var __chunk_4 = require('./chunk-
|
|
8
|
+
var __chunk_4 = require('./chunk-73f8eef8.js');
|
|
9
9
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
10
|
-
var __chunk_9 = require('./chunk-
|
|
11
|
-
var __chunk_10 = require('./chunk-
|
|
10
|
+
var __chunk_9 = require('./chunk-841c0e0f.js');
|
|
11
|
+
var __chunk_10 = require('./chunk-e872f5e2.js');
|
|
12
12
|
|
|
13
13
|
var script = {
|
|
14
14
|
name: 'BCarousel',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var __chunk_1 = require('./chunk-
|
|
3
|
+
var __chunk_1 = require('./chunk-45739695.js');
|
|
4
4
|
var helpers = require('./helpers.js');
|
|
5
5
|
var __chunk_2 = require('./chunk-9103eeda.js');
|
|
6
6
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
@@ -276,7 +276,7 @@ var script = {
|
|
|
276
276
|
const __vue_script__ = script;
|
|
277
277
|
|
|
278
278
|
/* template */
|
|
279
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('
|
|
279
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"tooltip",class:_vm.rootClasses},[_c('transition',{attrs:{"name":_vm.newAnimation}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.active && (_vm.isActive || _vm.always)),expression:"active && (isActive || always)"}],ref:"content",class:['tooltip-content', _vm.contentClass]},[(_vm.label)?[_vm._v(_vm._s(_vm.label))]:(_vm.$slots.content)?[_vm._t("content")]:_vm._e()],2)]),_c('div',{ref:"trigger",staticClass:"tooltip-trigger",style:(_vm.triggerStyle),on:{"click":_vm.onClick,"contextmenu":_vm.onContextMenu,"mouseenter":_vm.onHover,"!focus":function($event){return _vm.onFocus($event)},"!blur":function($event){return _vm.close($event)},"mouseleave":_vm.close}},[_vm._t("default")],2)],1)};
|
|
280
280
|
var __vue_staticRenderFns__ = [];
|
|
281
281
|
|
|
282
282
|
/* style */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var helpers = require('./helpers.js');
|
|
4
4
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
5
|
-
var
|
|
5
|
+
var __chunk_22 = require('./chunk-f1df1c63.js');
|
|
6
6
|
|
|
7
7
|
//
|
|
8
8
|
var script = {
|
|
@@ -15,7 +15,7 @@ var script = {
|
|
|
15
15
|
props: {
|
|
16
16
|
active: Boolean,
|
|
17
17
|
programmatic: Boolean,
|
|
18
|
-
container: [Object, Function,
|
|
18
|
+
container: [Object, Function, __chunk_22.HTMLElement],
|
|
19
19
|
isFullPage: {
|
|
20
20
|
type: Boolean,
|
|
21
21
|
default: true
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var __chunk_1 = require('./chunk-
|
|
3
|
+
var __chunk_1 = require('./chunk-45739695.js');
|
|
4
4
|
var helpers = require('./helpers.js');
|
|
5
5
|
var __chunk_2 = require('./chunk-9103eeda.js');
|
|
6
|
-
var __chunk_3 = require('./chunk-
|
|
7
|
-
var __chunk_4 = require('./chunk-
|
|
6
|
+
var __chunk_3 = require('./chunk-87a116d9.js');
|
|
7
|
+
var __chunk_4 = require('./chunk-73f8eef8.js');
|
|
8
8
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
9
|
-
var __chunk_6 = require('./chunk-
|
|
10
|
-
var __chunk_15 = require('./chunk-
|
|
11
|
-
var __chunk_16 = require('./chunk-
|
|
12
|
-
var __chunk_17 = require('./chunk-
|
|
9
|
+
var __chunk_6 = require('./chunk-5058e659.js');
|
|
10
|
+
var __chunk_15 = require('./chunk-d0df905a.js');
|
|
11
|
+
var __chunk_16 = require('./chunk-c8abb3ed.js');
|
|
12
|
+
var __chunk_17 = require('./chunk-1f7e4ed3.js');
|
|
13
13
|
|
|
14
14
|
//
|
|
15
15
|
//
|
|
@@ -161,11 +161,14 @@ var script = {
|
|
|
161
161
|
resWeek = week;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
return
|
|
164
|
+
return {
|
|
165
|
+
week: resWeek,
|
|
166
|
+
year: resYear
|
|
167
|
+
};
|
|
165
168
|
},
|
|
166
|
-
clickWeekNumber: function clickWeekNumber(
|
|
169
|
+
clickWeekNumber: function clickWeekNumber(weekData) {
|
|
167
170
|
if (this.weekNumberClickable) {
|
|
168
|
-
this.$datepicker.$emit('week-number-click', week);
|
|
171
|
+
this.$datepicker.$emit('week-number-click', weekData.week, weekData.year);
|
|
169
172
|
}
|
|
170
173
|
},
|
|
171
174
|
|
|
@@ -378,7 +381,7 @@ var script = {
|
|
|
378
381
|
const __vue_script__ = script;
|
|
379
382
|
|
|
380
383
|
/* template */
|
|
381
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"datepicker-row"},[(_vm.showWeekNumber)?_c('a',{staticClass:"datepicker-cell is-week-number",class:{'is-clickable': _vm.weekNumberClickable },on:{"click":function($event){$event.preventDefault();_vm.clickWeekNumber(_vm.getWeekNumber(_vm.week[6]));}}},[_c('span',[_vm._v(_vm._s(_vm.getWeekNumber(_vm.week[6])))])]):_vm._e(),_vm._l((_vm.week),function(weekDay,index){return [(_vm.selectableDate(weekDay) && !_vm.disabled)?_c('a',{key:index,ref:("day-" + (weekDay.getMonth()) + "-" + (weekDay.getDate())),refInFor:true,staticClass:"datepicker-cell",class:_vm.classObject(weekDay),attrs:{"role":"button","href":"#","disabled":_vm.disabled,"tabindex":_vm.day === weekDay.getDate() && _vm.month === weekDay.getMonth() ? null : -1},on:{"click":function($event){$event.preventDefault();return _vm.emitChosenDate(weekDay)},"mouseenter":function($event){return _vm.setRangeHoverEndDate(weekDay)},"keydown":function($event){return _vm.manageKeydown($event, weekDay)}}},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:"events"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:"event",class:event.type})}),0):_vm._e()]):_c('div',{key:index,staticClass:"datepicker-cell",class:_vm.classObject(weekDay)},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:"events"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:"event",class:event.type})}),0):_vm._e()])]})],2)};
|
|
384
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"datepicker-row"},[(_vm.showWeekNumber)?_c('a',{staticClass:"datepicker-cell is-week-number",class:{'is-clickable': _vm.weekNumberClickable },on:{"click":function($event){$event.preventDefault();_vm.clickWeekNumber(_vm.getWeekNumber(_vm.week[6]));}}},[_c('span',[_vm._v(_vm._s(_vm.getWeekNumber(_vm.week[6]).week))])]):_vm._e(),_vm._l((_vm.week),function(weekDay,index){return [(_vm.selectableDate(weekDay) && !_vm.disabled)?_c('a',{key:index,ref:("day-" + (weekDay.getMonth()) + "-" + (weekDay.getDate())),refInFor:true,staticClass:"datepicker-cell",class:_vm.classObject(weekDay),attrs:{"role":"button","href":"#","disabled":_vm.disabled,"tabindex":_vm.day === weekDay.getDate() && _vm.month === weekDay.getMonth() ? null : -1},on:{"click":function($event){$event.preventDefault();return _vm.emitChosenDate(weekDay)},"mouseenter":function($event){return _vm.setRangeHoverEndDate(weekDay)},"keydown":function($event){return _vm.manageKeydown($event, weekDay)}}},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:"events"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:"event",class:event.type})}),0):_vm._e()]):_c('div',{key:index,staticClass:"datepicker-cell",class:_vm.classObject(weekDay)},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:"events"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:"event",class:event.type})}),0):_vm._e()])]})],2)};
|
|
382
385
|
var __vue_staticRenderFns__ = [];
|
|
383
386
|
|
|
384
387
|
/* style */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var __chunk_1 = require('./chunk-
|
|
4
|
-
var __chunk_3 = require('./chunk-
|
|
5
|
-
var __chunk_4 = require('./chunk-
|
|
3
|
+
var __chunk_1 = require('./chunk-45739695.js');
|
|
4
|
+
var __chunk_3 = require('./chunk-87a116d9.js');
|
|
5
|
+
var __chunk_4 = require('./chunk-73f8eef8.js');
|
|
6
6
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
7
7
|
|
|
8
8
|
var script = {
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) {
|
|
4
|
+
"@babel/helpers - typeof";
|
|
5
|
+
|
|
6
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
7
|
+
_typeof = function (obj) {
|
|
8
|
+
return typeof obj;
|
|
9
|
+
};
|
|
10
|
+
} else {
|
|
11
|
+
_typeof = function (obj) {
|
|
12
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return _typeof(obj);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function _classCallCheck(instance, Constructor) {
|
|
20
|
+
if (!(instance instanceof Constructor)) {
|
|
21
|
+
throw new TypeError("Cannot call a class as a function");
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function _defineProperties(target, props) {
|
|
26
|
+
for (var i = 0; i < props.length; i++) {
|
|
27
|
+
var descriptor = props[i];
|
|
28
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
29
|
+
descriptor.configurable = true;
|
|
30
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
31
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
36
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
37
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
38
|
+
return Constructor;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function _defineProperty(obj, key, value) {
|
|
42
|
+
if (key in obj) {
|
|
43
|
+
Object.defineProperty(obj, key, {
|
|
44
|
+
value: value,
|
|
45
|
+
enumerable: true,
|
|
46
|
+
configurable: true,
|
|
47
|
+
writable: true
|
|
48
|
+
});
|
|
49
|
+
} else {
|
|
50
|
+
obj[key] = value;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
return obj;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function ownKeys(object, enumerableOnly) {
|
|
57
|
+
var keys = Object.keys(object);
|
|
58
|
+
|
|
59
|
+
if (Object.getOwnPropertySymbols) {
|
|
60
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
61
|
+
if (enumerableOnly) symbols = symbols.filter(function (sym) {
|
|
62
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
63
|
+
});
|
|
64
|
+
keys.push.apply(keys, symbols);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return keys;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function _objectSpread2(target) {
|
|
71
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
72
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
73
|
+
|
|
74
|
+
if (i % 2) {
|
|
75
|
+
ownKeys(Object(source), true).forEach(function (key) {
|
|
76
|
+
_defineProperty(target, key, source[key]);
|
|
77
|
+
});
|
|
78
|
+
} else if (Object.getOwnPropertyDescriptors) {
|
|
79
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
80
|
+
} else {
|
|
81
|
+
ownKeys(Object(source)).forEach(function (key) {
|
|
82
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return target;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function _inherits(subClass, superClass) {
|
|
91
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
92
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
96
|
+
constructor: {
|
|
97
|
+
value: subClass,
|
|
98
|
+
writable: true,
|
|
99
|
+
configurable: true
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
function _getPrototypeOf(o) {
|
|
106
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
107
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
108
|
+
};
|
|
109
|
+
return _getPrototypeOf(o);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
function _setPrototypeOf(o, p) {
|
|
113
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
114
|
+
o.__proto__ = p;
|
|
115
|
+
return o;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
return _setPrototypeOf(o, p);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
function isNativeReflectConstruct() {
|
|
122
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
123
|
+
if (Reflect.construct.sham) return false;
|
|
124
|
+
if (typeof Proxy === "function") return true;
|
|
125
|
+
|
|
126
|
+
try {
|
|
127
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
128
|
+
return true;
|
|
129
|
+
} catch (e) {
|
|
130
|
+
return false;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
function _construct(Parent, args, Class) {
|
|
135
|
+
if (isNativeReflectConstruct()) {
|
|
136
|
+
_construct = Reflect.construct;
|
|
137
|
+
} else {
|
|
138
|
+
_construct = function _construct(Parent, args, Class) {
|
|
139
|
+
var a = [null];
|
|
140
|
+
a.push.apply(a, args);
|
|
141
|
+
var Constructor = Function.bind.apply(Parent, a);
|
|
142
|
+
var instance = new Constructor();
|
|
143
|
+
if (Class) _setPrototypeOf(instance, Class.prototype);
|
|
144
|
+
return instance;
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
return _construct.apply(null, arguments);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
function _isNativeFunction(fn) {
|
|
152
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
function _wrapNativeSuper(Class) {
|
|
156
|
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
157
|
+
|
|
158
|
+
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
159
|
+
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
160
|
+
|
|
161
|
+
if (typeof Class !== "function") {
|
|
162
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
if (typeof _cache !== "undefined") {
|
|
166
|
+
if (_cache.has(Class)) return _cache.get(Class);
|
|
167
|
+
|
|
168
|
+
_cache.set(Class, Wrapper);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
function Wrapper() {
|
|
172
|
+
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
Wrapper.prototype = Object.create(Class.prototype, {
|
|
176
|
+
constructor: {
|
|
177
|
+
value: Wrapper,
|
|
178
|
+
enumerable: false,
|
|
179
|
+
writable: true,
|
|
180
|
+
configurable: true
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
return _setPrototypeOf(Wrapper, Class);
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
return _wrapNativeSuper(Class);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
190
|
+
if (source == null) return {};
|
|
191
|
+
var target = {};
|
|
192
|
+
var sourceKeys = Object.keys(source);
|
|
193
|
+
var key, i;
|
|
194
|
+
|
|
195
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
196
|
+
key = sourceKeys[i];
|
|
197
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
198
|
+
target[key] = source[key];
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
return target;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
function _objectWithoutProperties(source, excluded) {
|
|
205
|
+
if (source == null) return {};
|
|
206
|
+
|
|
207
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
208
|
+
|
|
209
|
+
var key, i;
|
|
210
|
+
|
|
211
|
+
if (Object.getOwnPropertySymbols) {
|
|
212
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
213
|
+
|
|
214
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
215
|
+
key = sourceSymbolKeys[i];
|
|
216
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
217
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
218
|
+
target[key] = source[key];
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
return target;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
function _assertThisInitialized(self) {
|
|
226
|
+
if (self === void 0) {
|
|
227
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
return self;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
function _possibleConstructorReturn(self, call) {
|
|
234
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
235
|
+
return call;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
return _assertThisInitialized(self);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
function _taggedTemplateLiteral(strings, raw) {
|
|
242
|
+
if (!raw) {
|
|
243
|
+
raw = strings.slice(0);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
247
|
+
raw: {
|
|
248
|
+
value: Object.freeze(raw)
|
|
249
|
+
}
|
|
250
|
+
}));
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
function _slicedToArray(arr, i) {
|
|
254
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
function _toArray(arr) {
|
|
258
|
+
return _arrayWithHoles(arr) || _iterableToArray(arr) || _nonIterableRest();
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
function _toConsumableArray(arr) {
|
|
262
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
function _arrayWithoutHoles(arr) {
|
|
266
|
+
if (Array.isArray(arr)) {
|
|
267
|
+
for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
|
|
268
|
+
|
|
269
|
+
return arr2;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
function _arrayWithHoles(arr) {
|
|
274
|
+
if (Array.isArray(arr)) return arr;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
function _iterableToArray(iter) {
|
|
278
|
+
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
function _iterableToArrayLimit(arr, i) {
|
|
282
|
+
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
|
|
283
|
+
return;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
var _arr = [];
|
|
287
|
+
var _n = true;
|
|
288
|
+
var _d = false;
|
|
289
|
+
var _e = undefined;
|
|
290
|
+
|
|
291
|
+
try {
|
|
292
|
+
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
|
293
|
+
_arr.push(_s.value);
|
|
294
|
+
|
|
295
|
+
if (i && _arr.length === i) break;
|
|
296
|
+
}
|
|
297
|
+
} catch (err) {
|
|
298
|
+
_d = true;
|
|
299
|
+
_e = err;
|
|
300
|
+
} finally {
|
|
301
|
+
try {
|
|
302
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
303
|
+
} finally {
|
|
304
|
+
if (_d) throw _e;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
return _arr;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
function _nonIterableSpread() {
|
|
312
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
function _nonIterableRest() {
|
|
316
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
exports._classCallCheck = _classCallCheck;
|
|
320
|
+
exports._createClass = _createClass;
|
|
321
|
+
exports._defineProperty = _defineProperty;
|
|
322
|
+
exports._getPrototypeOf = _getPrototypeOf;
|
|
323
|
+
exports._inherits = _inherits;
|
|
324
|
+
exports._objectSpread2 = _objectSpread2;
|
|
325
|
+
exports._objectWithoutProperties = _objectWithoutProperties;
|
|
326
|
+
exports._possibleConstructorReturn = _possibleConstructorReturn;
|
|
327
|
+
exports._slicedToArray = _slicedToArray;
|
|
328
|
+
exports._taggedTemplateLiteral = _taggedTemplateLiteral;
|
|
329
|
+
exports._toArray = _toArray;
|
|
330
|
+
exports._toConsumableArray = _toConsumableArray;
|
|
331
|
+
exports._typeof = _typeof;
|
|
332
|
+
exports._wrapNativeSuper = _wrapNativeSuper;
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var __chunk_1 = require('./chunk-
|
|
3
|
+
var __chunk_1 = require('./chunk-45739695.js');
|
|
4
4
|
var __chunk_2 = require('./chunk-9103eeda.js');
|
|
5
|
-
var __chunk_3 = require('./chunk-
|
|
6
|
-
var __chunk_4 = require('./chunk-
|
|
5
|
+
var __chunk_3 = require('./chunk-87a116d9.js');
|
|
6
|
+
var __chunk_4 = require('./chunk-73f8eef8.js');
|
|
7
7
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
8
8
|
|
|
9
9
|
var script = {
|