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
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
function _typeof(obj) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
|
|
4
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
5
|
+
_typeof = function (obj) {
|
|
6
|
+
return typeof obj;
|
|
7
|
+
};
|
|
8
|
+
} else {
|
|
9
|
+
_typeof = function (obj) {
|
|
10
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
return _typeof(obj);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function _classCallCheck(instance, Constructor) {
|
|
18
|
+
if (!(instance instanceof Constructor)) {
|
|
19
|
+
throw new TypeError("Cannot call a class as a function");
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function _defineProperties(target, props) {
|
|
24
|
+
for (var i = 0; i < props.length; i++) {
|
|
25
|
+
var descriptor = props[i];
|
|
26
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
27
|
+
descriptor.configurable = true;
|
|
28
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
29
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
34
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
35
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
36
|
+
return Constructor;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function _defineProperty(obj, key, value) {
|
|
40
|
+
if (key in obj) {
|
|
41
|
+
Object.defineProperty(obj, key, {
|
|
42
|
+
value: value,
|
|
43
|
+
enumerable: true,
|
|
44
|
+
configurable: true,
|
|
45
|
+
writable: true
|
|
46
|
+
});
|
|
47
|
+
} else {
|
|
48
|
+
obj[key] = value;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return obj;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function ownKeys(object, enumerableOnly) {
|
|
55
|
+
var keys = Object.keys(object);
|
|
56
|
+
|
|
57
|
+
if (Object.getOwnPropertySymbols) {
|
|
58
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
59
|
+
if (enumerableOnly) symbols = symbols.filter(function (sym) {
|
|
60
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
61
|
+
});
|
|
62
|
+
keys.push.apply(keys, symbols);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
return keys;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function _objectSpread2(target) {
|
|
69
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
70
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
71
|
+
|
|
72
|
+
if (i % 2) {
|
|
73
|
+
ownKeys(Object(source), true).forEach(function (key) {
|
|
74
|
+
_defineProperty(target, key, source[key]);
|
|
75
|
+
});
|
|
76
|
+
} else if (Object.getOwnPropertyDescriptors) {
|
|
77
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
78
|
+
} else {
|
|
79
|
+
ownKeys(Object(source)).forEach(function (key) {
|
|
80
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return target;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
function _inherits(subClass, superClass) {
|
|
89
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
90
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
94
|
+
constructor: {
|
|
95
|
+
value: subClass,
|
|
96
|
+
writable: true,
|
|
97
|
+
configurable: true
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function _getPrototypeOf(o) {
|
|
104
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
105
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
106
|
+
};
|
|
107
|
+
return _getPrototypeOf(o);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
function _setPrototypeOf(o, p) {
|
|
111
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
112
|
+
o.__proto__ = p;
|
|
113
|
+
return o;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
return _setPrototypeOf(o, p);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function isNativeReflectConstruct() {
|
|
120
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
121
|
+
if (Reflect.construct.sham) return false;
|
|
122
|
+
if (typeof Proxy === "function") return true;
|
|
123
|
+
|
|
124
|
+
try {
|
|
125
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
126
|
+
return true;
|
|
127
|
+
} catch (e) {
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
function _construct(Parent, args, Class) {
|
|
133
|
+
if (isNativeReflectConstruct()) {
|
|
134
|
+
_construct = Reflect.construct;
|
|
135
|
+
} else {
|
|
136
|
+
_construct = function _construct(Parent, args, Class) {
|
|
137
|
+
var a = [null];
|
|
138
|
+
a.push.apply(a, args);
|
|
139
|
+
var Constructor = Function.bind.apply(Parent, a);
|
|
140
|
+
var instance = new Constructor();
|
|
141
|
+
if (Class) _setPrototypeOf(instance, Class.prototype);
|
|
142
|
+
return instance;
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
return _construct.apply(null, arguments);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
function _isNativeFunction(fn) {
|
|
150
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
function _wrapNativeSuper(Class) {
|
|
154
|
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
155
|
+
|
|
156
|
+
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
157
|
+
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
158
|
+
|
|
159
|
+
if (typeof Class !== "function") {
|
|
160
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
if (typeof _cache !== "undefined") {
|
|
164
|
+
if (_cache.has(Class)) return _cache.get(Class);
|
|
165
|
+
|
|
166
|
+
_cache.set(Class, Wrapper);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
function Wrapper() {
|
|
170
|
+
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
Wrapper.prototype = Object.create(Class.prototype, {
|
|
174
|
+
constructor: {
|
|
175
|
+
value: Wrapper,
|
|
176
|
+
enumerable: false,
|
|
177
|
+
writable: true,
|
|
178
|
+
configurable: true
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
return _setPrototypeOf(Wrapper, Class);
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
return _wrapNativeSuper(Class);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
188
|
+
if (source == null) return {};
|
|
189
|
+
var target = {};
|
|
190
|
+
var sourceKeys = Object.keys(source);
|
|
191
|
+
var key, i;
|
|
192
|
+
|
|
193
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
194
|
+
key = sourceKeys[i];
|
|
195
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
196
|
+
target[key] = source[key];
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
return target;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
function _objectWithoutProperties(source, excluded) {
|
|
203
|
+
if (source == null) return {};
|
|
204
|
+
|
|
205
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
206
|
+
|
|
207
|
+
var key, i;
|
|
208
|
+
|
|
209
|
+
if (Object.getOwnPropertySymbols) {
|
|
210
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
211
|
+
|
|
212
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
213
|
+
key = sourceSymbolKeys[i];
|
|
214
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
215
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
216
|
+
target[key] = source[key];
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
return target;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
function _assertThisInitialized(self) {
|
|
224
|
+
if (self === void 0) {
|
|
225
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
return self;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
function _possibleConstructorReturn(self, call) {
|
|
232
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
233
|
+
return call;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
return _assertThisInitialized(self);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
function _taggedTemplateLiteral(strings, raw) {
|
|
240
|
+
if (!raw) {
|
|
241
|
+
raw = strings.slice(0);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
245
|
+
raw: {
|
|
246
|
+
value: Object.freeze(raw)
|
|
247
|
+
}
|
|
248
|
+
}));
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
function _slicedToArray(arr, i) {
|
|
252
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
function _toArray(arr) {
|
|
256
|
+
return _arrayWithHoles(arr) || _iterableToArray(arr) || _nonIterableRest();
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
function _toConsumableArray(arr) {
|
|
260
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
function _arrayWithoutHoles(arr) {
|
|
264
|
+
if (Array.isArray(arr)) {
|
|
265
|
+
for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
|
|
266
|
+
|
|
267
|
+
return arr2;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
function _arrayWithHoles(arr) {
|
|
272
|
+
if (Array.isArray(arr)) return arr;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
function _iterableToArray(iter) {
|
|
276
|
+
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
function _iterableToArrayLimit(arr, i) {
|
|
280
|
+
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
|
|
281
|
+
return;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
var _arr = [];
|
|
285
|
+
var _n = true;
|
|
286
|
+
var _d = false;
|
|
287
|
+
var _e = undefined;
|
|
288
|
+
|
|
289
|
+
try {
|
|
290
|
+
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
|
291
|
+
_arr.push(_s.value);
|
|
292
|
+
|
|
293
|
+
if (i && _arr.length === i) break;
|
|
294
|
+
}
|
|
295
|
+
} catch (err) {
|
|
296
|
+
_d = true;
|
|
297
|
+
_e = err;
|
|
298
|
+
} finally {
|
|
299
|
+
try {
|
|
300
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
301
|
+
} finally {
|
|
302
|
+
if (_d) throw _e;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
return _arr;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
function _nonIterableSpread() {
|
|
310
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
function _nonIterableRest() {
|
|
314
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export { _defineProperty as _, _objectSpread2 as a, _typeof as b, _toArray as c, _toConsumableArray as d, _inherits as e, _wrapNativeSuper as f, _classCallCheck as g, _possibleConstructorReturn as h, _getPrototypeOf as i, _createClass as j, _slicedToArray as k, _taggedTemplateLiteral as l, _objectWithoutProperties as m };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './chunk-
|
|
2
|
-
import { I as Icon } from './chunk-
|
|
1
|
+
import { _ as _defineProperty } from './chunk-455cdeae.js';
|
|
2
|
+
import { I as Icon } from './chunk-e044aa02.js';
|
|
3
3
|
|
|
4
4
|
var MessageMixin = {
|
|
5
5
|
components: _defineProperty({}, Icon.name, Icon),
|
|
@@ -41,8 +41,9 @@ var MessageMixin = {
|
|
|
41
41
|
data: function data() {
|
|
42
42
|
return {
|
|
43
43
|
isActive: this.active,
|
|
44
|
-
remainingTime: this.duration / 1000
|
|
45
|
-
|
|
44
|
+
remainingTime: this.duration / 1000,
|
|
45
|
+
// in seconds
|
|
46
|
+
newIconSize: this.iconSize || this.size || 'is-large'
|
|
46
47
|
};
|
|
47
48
|
},
|
|
48
49
|
watch: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './chunk-
|
|
1
|
+
import { _ as _defineProperty } from './chunk-455cdeae.js';
|
|
2
2
|
import { c as config } from './chunk-8ed29c41.js';
|
|
3
|
-
import { I as Icon } from './chunk-
|
|
3
|
+
import { I as Icon } from './chunk-e044aa02.js';
|
|
4
4
|
import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
|
|
5
5
|
|
|
6
6
|
var script = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './chunk-
|
|
2
|
-
import { I as Icon } from './chunk-
|
|
1
|
+
import { _ as _defineProperty } from './chunk-455cdeae.js';
|
|
2
|
+
import { I as Icon } from './chunk-e044aa02.js';
|
|
3
3
|
import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
|
|
4
|
-
import { I as Input } from './chunk-
|
|
5
|
-
import { T as TimepickerMixin } from './chunk-
|
|
6
|
-
import { D as Dropdown, a as DropdownItem } from './chunk-
|
|
7
|
-
import { F as Field } from './chunk-
|
|
8
|
-
import { S as Select } from './chunk-
|
|
4
|
+
import { I as Input } from './chunk-a628d44d.js';
|
|
5
|
+
import { T as TimepickerMixin } from './chunk-262b3f82.js';
|
|
6
|
+
import { D as Dropdown, a as DropdownItem } from './chunk-dbd43ef1.js';
|
|
7
|
+
import { F as Field } from './chunk-effa4d25.js';
|
|
8
|
+
import { S as Select } from './chunk-6adc5c5d.js';
|
|
9
9
|
|
|
10
10
|
var _components;
|
|
11
11
|
var script = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './chunk-
|
|
1
|
+
import { _ as _defineProperty } from './chunk-455cdeae.js';
|
|
2
2
|
import { isWebpSupported } from './helpers.js';
|
|
3
3
|
import { c as config } from './chunk-8ed29c41.js';
|
|
4
4
|
import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './chunk-
|
|
2
|
-
import { F as FormElementMixin } from './chunk-
|
|
3
|
-
import { I as Icon } from './chunk-
|
|
1
|
+
import { _ as _defineProperty } from './chunk-455cdeae.js';
|
|
2
|
+
import { F as FormElementMixin } from './chunk-84c6dfd6.js';
|
|
3
|
+
import { I as Icon } from './chunk-e044aa02.js';
|
|
4
4
|
import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
|
|
5
5
|
|
|
6
6
|
var script = {
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './chunk-
|
|
1
|
+
import { _ as _defineProperty } from './chunk-455cdeae.js';
|
|
2
2
|
import { bound } from './helpers.js';
|
|
3
|
-
import { I as Icon } from './chunk-
|
|
4
|
-
import { P as ProviderParentMixin, S as Sorted, I as InjectedChildMixin, a as Sorted$1 } from './chunk-
|
|
5
|
-
import { S as SlotComponent } from './chunk-
|
|
3
|
+
import { I as Icon } from './chunk-e044aa02.js';
|
|
4
|
+
import { P as ProviderParentMixin, S as Sorted, I as InjectedChildMixin, a as Sorted$1 } from './chunk-60a03517.js';
|
|
5
|
+
import { S as SlotComponent } from './chunk-c9c18b2f.js';
|
|
6
6
|
|
|
7
7
|
var TabbedMixin = (function (cmp) {
|
|
8
8
|
var _components;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as _defineProperty, d as _toConsumableArray } from './chunk-
|
|
1
|
+
import { _ as _defineProperty, d as _toConsumableArray } from './chunk-455cdeae.js';
|
|
2
2
|
import { isDefined, getMonthNames, getWeekdayNames, isMobile, matchWithGroups } from './helpers.js';
|
|
3
3
|
import { c as config } from './chunk-8ed29c41.js';
|
|
4
|
-
import { F as FormElementMixin } from './chunk-
|
|
5
|
-
import { I as Icon } from './chunk-
|
|
4
|
+
import { F as FormElementMixin } from './chunk-84c6dfd6.js';
|
|
5
|
+
import { I as Icon } from './chunk-e044aa02.js';
|
|
6
6
|
import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
|
|
7
|
-
import { I as Input } from './chunk-
|
|
8
|
-
import { D as Dropdown, a as DropdownItem } from './chunk-
|
|
9
|
-
import { F as Field } from './chunk-
|
|
10
|
-
import { S as Select } from './chunk-
|
|
7
|
+
import { I as Input } from './chunk-a628d44d.js';
|
|
8
|
+
import { D as Dropdown, a as DropdownItem } from './chunk-dbd43ef1.js';
|
|
9
|
+
import { F as Field } from './chunk-effa4d25.js';
|
|
10
|
+
import { S as Select } from './chunk-6adc5c5d.js';
|
|
11
11
|
|
|
12
12
|
//
|
|
13
13
|
//
|
|
@@ -159,11 +159,14 @@ var script = {
|
|
|
159
159
|
resWeek = week;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
return
|
|
162
|
+
return {
|
|
163
|
+
week: resWeek,
|
|
164
|
+
year: resYear
|
|
165
|
+
};
|
|
163
166
|
},
|
|
164
|
-
clickWeekNumber: function clickWeekNumber(
|
|
167
|
+
clickWeekNumber: function clickWeekNumber(weekData) {
|
|
165
168
|
if (this.weekNumberClickable) {
|
|
166
|
-
this.$datepicker.$emit('week-number-click', week);
|
|
169
|
+
this.$datepicker.$emit('week-number-click', weekData.week, weekData.year);
|
|
167
170
|
}
|
|
168
171
|
},
|
|
169
172
|
|
|
@@ -376,7 +379,7 @@ var script = {
|
|
|
376
379
|
const __vue_script__ = script;
|
|
377
380
|
|
|
378
381
|
/* template */
|
|
379
|
-
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)};
|
|
382
|
+
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)};
|
|
380
383
|
var __vue_staticRenderFns__ = [];
|
|
381
384
|
|
|
382
385
|
/* style */
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './chunk-
|
|
1
|
+
import { _ as _defineProperty } from './chunk-455cdeae.js';
|
|
2
2
|
import { c as config } from './chunk-8ed29c41.js';
|
|
3
|
-
import { F as FormElementMixin } from './chunk-
|
|
4
|
-
import { I as Icon } from './chunk-
|
|
3
|
+
import { F as FormElementMixin } from './chunk-84c6dfd6.js';
|
|
4
|
+
import { I as Icon } from './chunk-e044aa02.js';
|
|
5
5
|
import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
|
|
6
6
|
|
|
7
7
|
var script = {
|
|
File without changes
|
|
File without changes
|
|
@@ -115,14 +115,7 @@ var NoticeMixin = {
|
|
|
115
115
|
showNotice: function showNotice() {
|
|
116
116
|
var _this2 = this;
|
|
117
117
|
|
|
118
|
-
if (this.shouldQueue())
|
|
119
|
-
// Call recursively if should queue
|
|
120
|
-
setTimeout(function () {
|
|
121
|
-
return _this2.showNotice();
|
|
122
|
-
}, 250);
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
|
|
118
|
+
if (this.shouldQueue()) this.correctParent.innerHTML = '';
|
|
126
119
|
this.correctParent.insertAdjacentElement('afterbegin', this.$el);
|
|
127
120
|
this.isActive = true;
|
|
128
121
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as _toConsumableArray, b as _typeof } from './chunk-
|
|
1
|
+
import { d as _toConsumableArray, b as _typeof } from './chunk-455cdeae.js';
|
|
2
2
|
import { toCssWidth, isCustomElement, createAbsoluteElement, removeElement } from './helpers.js';
|
|
3
3
|
import { c as config } from './chunk-8ed29c41.js';
|
|
4
4
|
import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
|
|
5
|
-
import { P as ProviderParentMixin, I as InjectedChildMixin } from './chunk-
|
|
5
|
+
import { P as ProviderParentMixin, I as InjectedChildMixin } from './chunk-60a03517.js';
|
|
6
6
|
import { t as trapFocus } from './chunk-42f463e6.js';
|
|
7
7
|
|
|
8
8
|
var DEFAULT_CLOSE_OPTIONS = ['escape', 'outside'];
|
|
@@ -124,6 +124,7 @@ var script = {
|
|
|
124
124
|
var _this = this;
|
|
125
125
|
|
|
126
126
|
this.$emit('active-change', value);
|
|
127
|
+
this.handleScroll();
|
|
127
128
|
|
|
128
129
|
if (this.appendToBody) {
|
|
129
130
|
this.$nextTick(function () {
|
|
@@ -133,6 +134,18 @@ var script = {
|
|
|
133
134
|
}
|
|
134
135
|
},
|
|
135
136
|
methods: {
|
|
137
|
+
handleScroll: function handleScroll() {
|
|
138
|
+
if (typeof window === 'undefined') return;
|
|
139
|
+
|
|
140
|
+
if (this.isMobileModal) {
|
|
141
|
+
if (this.isActive) {
|
|
142
|
+
document.documentElement.classList.add('is-clipped-touch');
|
|
143
|
+
} else {
|
|
144
|
+
document.documentElement.classList.remove('is-clipped-touch');
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
|
|
136
149
|
/**
|
|
137
150
|
* Click listener from DropdownItem.
|
|
138
151
|
* 1. Set new selected item.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as _toArray } from './chunk-
|
|
1
|
+
import { c as _toArray } from './chunk-455cdeae.js';
|
|
2
2
|
import { merge } from './helpers.js';
|
|
3
3
|
import { c as config } from './chunk-8ed29c41.js';
|
|
4
4
|
import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
|
|
@@ -46,7 +46,13 @@ var getIcons = function getIcons() {
|
|
|
46
46
|
far: faIcons(),
|
|
47
47
|
fad: faIcons(),
|
|
48
48
|
fab: faIcons(),
|
|
49
|
-
fal: faIcons()
|
|
49
|
+
fal: faIcons(),
|
|
50
|
+
'fa-solid': faIcons(),
|
|
51
|
+
'fa-regular': faIcons(),
|
|
52
|
+
'fa-light': faIcons(),
|
|
53
|
+
'fa-thin': faIcons(),
|
|
54
|
+
'fa-duotone': faIcons(),
|
|
55
|
+
'fa-brands': faIcons()
|
|
50
56
|
};
|
|
51
57
|
|
|
52
58
|
if (config && config.customIconPacks) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './chunk-
|
|
1
|
+
import { _ as _defineProperty } from './chunk-455cdeae.js';
|
|
2
2
|
import { c as config } from './chunk-8ed29c41.js';
|
|
3
3
|
import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
|
|
4
4
|
|
|
@@ -137,12 +137,12 @@ var script$1 = {
|
|
|
137
137
|
return this.grouped || this.groupMultiline || this.hasAddons();
|
|
138
138
|
},
|
|
139
139
|
|
|
140
|
-
/**
|
|
141
|
-
* Correct Bulma class for the side of the addon or group.
|
|
142
|
-
*
|
|
143
|
-
* This is not kept like the others (is-small, etc.),
|
|
144
|
-
* because since 'has-addons' is set automatically it
|
|
145
|
-
* doesn't make sense to teach users what addons are exactly.
|
|
140
|
+
/**
|
|
141
|
+
* Correct Bulma class for the side of the addon or group.
|
|
142
|
+
*
|
|
143
|
+
* This is not kept like the others (is-small, etc.),
|
|
144
|
+
* because since 'has-addons' is set automatically it
|
|
145
|
+
* doesn't make sense to teach users what addons are exactly.
|
|
146
146
|
*/
|
|
147
147
|
newPosition: function newPosition() {
|
|
148
148
|
if (this.position === undefined) return;
|
|
@@ -152,9 +152,9 @@ var script$1 = {
|
|
|
152
152
|
if (this.position) return prefix + position[1];
|
|
153
153
|
},
|
|
154
154
|
|
|
155
|
-
/**
|
|
156
|
-
* Formatted message in case it's an array
|
|
157
|
-
* (each element is separated by <br> tag)
|
|
155
|
+
/**
|
|
156
|
+
* Formatted message in case it's an array
|
|
157
|
+
* (each element is separated by <br> tag)
|
|
158
158
|
*/
|
|
159
159
|
formattedMessage: function formattedMessage() {
|
|
160
160
|
if (this.parent && this.parent.hasInnerField) {
|
|
@@ -224,22 +224,22 @@ var script$1 = {
|
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
watch: {
|
|
227
|
-
/**
|
|
228
|
-
* Set internal type when prop change.
|
|
227
|
+
/**
|
|
228
|
+
* Set internal type when prop change.
|
|
229
229
|
*/
|
|
230
230
|
type: function type(value) {
|
|
231
231
|
this.newType = value;
|
|
232
232
|
},
|
|
233
233
|
|
|
234
|
-
/**
|
|
235
|
-
* Set internal message when prop change.
|
|
234
|
+
/**
|
|
235
|
+
* Set internal message when prop change.
|
|
236
236
|
*/
|
|
237
237
|
message: function message(value) {
|
|
238
238
|
this.newMessage = value;
|
|
239
239
|
},
|
|
240
240
|
|
|
241
|
-
/**
|
|
242
|
-
* Set parent message if we use Field in Field.
|
|
241
|
+
/**
|
|
242
|
+
* Set parent message if we use Field in Field.
|
|
243
243
|
*/
|
|
244
244
|
newMessage: function newMessage(value) {
|
|
245
245
|
if (this.parent && this.parent.hasInnerField) {
|
|
@@ -254,11 +254,11 @@ var script$1 = {
|
|
|
254
254
|
}
|
|
255
255
|
},
|
|
256
256
|
methods: {
|
|
257
|
-
/**
|
|
258
|
-
* Field has addons if there are more than one slot
|
|
259
|
-
* (element / component) in the Field.
|
|
260
|
-
* Or is grouped when prop is set.
|
|
261
|
-
* Is a method to be called when component re-render.
|
|
257
|
+
/**
|
|
258
|
+
* Field has addons if there are more than one slot
|
|
259
|
+
* (element / component) in the Field.
|
|
260
|
+
* Or is grouped when prop is set.
|
|
261
|
+
* Is a method to be called when component re-render.
|
|
262
262
|
*/
|
|
263
263
|
fieldType: function fieldType() {
|
|
264
264
|
if (this.grouped) return 'is-grouped';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _defineProperty,
|
|
1
|
+
import { _ as _defineProperty, d as _toConsumableArray, b as _typeof } from './chunk-455cdeae.js';
|
|
2
2
|
import { getValueByPath, toCssWidth, isCustomElement, createAbsoluteElement, removeElement } from './helpers.js';
|
|
3
|
-
import { F as FormElementMixin } from './chunk-
|
|
3
|
+
import { F as FormElementMixin } from './chunk-84c6dfd6.js';
|
|
4
4
|
import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
|
|
5
|
-
import { I as Input } from './chunk-
|
|
5
|
+
import { I as Input } from './chunk-a628d44d.js';
|
|
6
6
|
|
|
7
7
|
var script = {
|
|
8
8
|
name: 'BAutocomplete',
|
|
@@ -311,6 +311,22 @@ var script = {
|
|
|
311
311
|
_this3.setHovered(null);
|
|
312
312
|
}
|
|
313
313
|
});
|
|
314
|
+
} else {
|
|
315
|
+
if (this.hovered) {
|
|
316
|
+
// reset hovered if list doesn't contain it
|
|
317
|
+
var hoveredValue = this.getValue(this.hovered);
|
|
318
|
+
var data = this.computedData.map(function (d) {
|
|
319
|
+
return d.items;
|
|
320
|
+
}).reduce(function (a, b) {
|
|
321
|
+
return [].concat(_toConsumableArray(a), _toConsumableArray(b));
|
|
322
|
+
}, []);
|
|
323
|
+
|
|
324
|
+
if (!data.some(function (d) {
|
|
325
|
+
return _this3.getValue(d) === hoveredValue;
|
|
326
|
+
})) {
|
|
327
|
+
this.setHovered(null);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
314
330
|
}
|
|
315
331
|
}
|
|
316
332
|
},
|