buefy 3.0.5 → 3.0.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.
- package/dist/buefy.d.ts +63 -3
- package/dist/buefy.esm.js +209 -46
- package/dist/buefy.esm.min.js +2 -2
- package/dist/buefy.js +209 -44
- package/dist/buefy.min.js +2 -2
- package/dist/cjs/{Autocomplete-DEUs3z7g.js → Autocomplete-b0JUESTO.js} +3 -3
- package/dist/cjs/{Button-Cq7yqI8p.js → Button-Dw6VG6n7.js} +2 -2
- package/dist/cjs/{Checkbox-GPzAMQqM.js → Checkbox-cujzPKDl.js} +31 -3
- package/dist/cjs/{CompatFallthroughMixin-hhK0Gkhr.js → CompatFallthroughMixin-DI5L88ey.js} +1 -1
- package/dist/cjs/{Datepicker-DhsJpauU.js → Datepicker-DVB975q3.js} +9 -9
- package/dist/cjs/{Dropdown-BAXMPUCZ.js → Dropdown-CFh_lLvm.js} +1 -1
- package/dist/cjs/{DropdownItem-BOAAPdrW.js → DropdownItem-D2Ky1QIH.js} +1 -1
- package/dist/cjs/{Field-19ZCJFF8.js → Field-Dy73xhhY.js} +1 -1
- package/dist/cjs/{FormElementMixin-DavX4iOv.js → FormElementMixin-17PQ7TPR.js} +1 -1
- package/dist/cjs/{Icon-lsDKE2wQ.js → Icon-DrFLI3Zg.js} +48 -6
- package/dist/cjs/{Image-CocPwU3n.js → Image-D4AGl_2Z.js} +1 -1
- package/dist/cjs/{Input-BcloGeZ3.js → Input-z4Vlmbj8.js} +4 -4
- package/dist/cjs/{Modal-D1aZUehE.js → Modal-CVyLPawO.js} +1 -1
- package/dist/cjs/{NoticeMixin--3RjH43z.js → NoticeMixin-BlwAiMRV.js} +1 -1
- package/dist/cjs/{Pagination-D1MVdiLp.js → Pagination-54NHaQvi.js} +2 -2
- package/dist/cjs/{Progress-DT9Qc8Id.js → Progress-BlXLJ3zb.js} +1 -1
- package/dist/cjs/{Select-DayPKwCY.js → Select-DRXaEjlP.js} +3 -3
- package/dist/cjs/{TabbedChildMixin-B3JUUwcf.js → TabbedChildMixin-BFHsIyg6.js} +1 -1
- package/dist/cjs/{Tag-BprnwJJ1.js → Tag-BdL2uH8x.js} +1 -1
- package/dist/cjs/{Timepicker-DDYkLeNV.js → Timepicker-ujQPxzDF.js} +6 -6
- package/dist/cjs/{TimepickerMixin-C9WVvcUL.js → TimepickerMixin-C9OA8jWF.js} +3 -3
- package/dist/cjs/{Tooltip-Cgighv0j.js → Tooltip-j_3eF7QD.js} +1 -1
- package/dist/cjs/autocomplete.js +7 -6
- package/dist/cjs/breadcrumb.js +2 -2
- package/dist/cjs/button.js +4 -3
- package/dist/cjs/carousel.js +4 -3
- package/dist/cjs/checkbox.js +3 -1
- package/dist/cjs/clockpicker.js +8 -7
- package/dist/cjs/colorpicker.js +12 -11
- package/dist/cjs/{config-DR826Ki2.js → config-CXSF5Vky.js} +2 -1
- package/dist/cjs/config.js +1 -1
- package/dist/cjs/datepicker.js +11 -10
- package/dist/cjs/datetimepicker.js +13 -12
- package/dist/cjs/dialog.js +5 -4
- package/dist/cjs/dropdown.js +3 -3
- package/dist/cjs/field.js +2 -2
- package/dist/cjs/icon.js +5 -2
- package/dist/cjs/iconAliases-DoayKo0q.js +100 -0
- package/dist/cjs/image.js +2 -2
- package/dist/cjs/{index-BkFyTNWp.js → index-N35FRTpu.js} +8 -8
- package/dist/cjs/index.js +27 -24
- package/dist/cjs/input.js +6 -5
- package/dist/cjs/menu.js +4 -3
- package/dist/cjs/message.js +4 -3
- package/dist/cjs/modal.js +2 -2
- package/dist/cjs/navbar.js +2 -2
- package/dist/cjs/notification.js +5 -4
- package/dist/cjs/numberinput.js +6 -5
- package/dist/cjs/pagination.js +4 -3
- package/dist/cjs/progress.js +2 -2
- package/dist/cjs/rate.js +3 -2
- package/dist/cjs/select.js +6 -5
- package/dist/cjs/sidebar.js +1 -1
- package/dist/cjs/slider.js +3 -3
- package/dist/cjs/snackbar.js +2 -2
- package/dist/cjs/steps.js +4 -3
- package/dist/cjs/switch.js +1 -1
- package/dist/cjs/table.js +9 -8
- package/dist/cjs/tabs.js +4 -3
- package/dist/cjs/tag.js +4 -3
- package/dist/cjs/taginput.js +8 -7
- package/dist/cjs/timepicker.js +12 -11
- package/dist/cjs/toast.js +2 -2
- package/dist/cjs/tooltip.js +2 -2
- package/dist/cjs/upload.js +3 -3
- package/dist/components/autocomplete/index.js +122 -6
- 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 +122 -6
- package/dist/components/button/index.min.js +2 -2
- package/dist/components/carousel/index.js +122 -6
- package/dist/components/carousel/index.min.js +2 -2
- package/dist/components/checkbox/index.js +106 -4
- package/dist/components/checkbox/index.min.js +2 -2
- package/dist/components/clockpicker/index.js +126 -10
- 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 +126 -10
- package/dist/components/colorpicker/index.min.js +2 -2
- package/dist/components/datepicker/index.js +134 -18
- package/dist/components/datepicker/index.min.js +2 -2
- package/dist/components/datetimepicker/index.js +126 -10
- package/dist/components/datetimepicker/index.min.js +2 -2
- package/dist/components/dialog/index.js +122 -6
- package/dist/components/dialog/index.min.js +2 -2
- package/dist/components/dropdown/index.js +1 -1
- package/dist/components/dropdown/index.min.js +1 -1
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.min.js +1 -1
- package/dist/components/icon/index.js +124 -6
- 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 +122 -6
- 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 +124 -8
- package/dist/components/menu/index.min.js +2 -2
- package/dist/components/message/index.js +122 -6
- 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 +1 -1
- package/dist/components/navbar/index.min.js +1 -1
- package/dist/components/notification/index.js +122 -6
- package/dist/components/notification/index.min.js +2 -2
- package/dist/components/numberinput/index.js +122 -6
- package/dist/components/numberinput/index.min.js +2 -2
- package/dist/components/pagination/index.js +122 -6
- package/dist/components/pagination/index.min.js +2 -2
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.min.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.min.js +1 -1
- package/dist/components/rate/index.js +122 -6
- package/dist/components/rate/index.min.js +2 -2
- package/dist/components/select/index.js +122 -6
- 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 +1 -1
- package/dist/components/slider/index.min.js +1 -1
- package/dist/components/snackbar/index.js +1 -1
- package/dist/components/snackbar/index.min.js +1 -1
- package/dist/components/steps/index.js +122 -6
- 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 +156 -13
- package/dist/components/table/index.min.js +2 -2
- package/dist/components/tabs/index.js +122 -6
- package/dist/components/tabs/index.min.js +2 -2
- package/dist/components/tag/index.js +122 -6
- package/dist/components/tag/index.min.js +2 -2
- package/dist/components/taginput/index.js +122 -6
- package/dist/components/taginput/index.min.js +2 -2
- package/dist/components/timepicker/index.js +134 -18
- package/dist/components/timepicker/index.min.js +2 -2
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/index.min.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.min.js +1 -1
- package/dist/components/upload/index.js +1 -1
- package/dist/components/upload/index.min.js +1 -1
- package/dist/css/buefy.css +21 -38
- package/dist/css/buefy.css.map +1 -1
- package/dist/css/buefy.min.css +1 -1
- package/dist/css/versions/buefy-no-reset.css +21 -38
- package/dist/css/versions/buefy-no-reset.css.map +1 -1
- package/dist/css/versions/buefy-no-reset.min.css +1 -1
- package/dist/css/versions/buefy-standalone.css +21 -38
- package/dist/css/versions/buefy-standalone.css.map +1 -1
- package/dist/css/versions/buefy-standalone.min.css +1 -1
- package/dist/esm/{Autocomplete-HsHD-6pc.js → Autocomplete-BsBIH0Mj.js} +3 -3
- package/dist/esm/{Button-Bvib75up.js → Button-BTP__-p5.js} +2 -2
- package/dist/esm/{Checkbox-u861Rije.js → Checkbox-C6pO3IzG.js} +31 -3
- package/dist/esm/{CompatFallthroughMixin-C8LPuwDr.js → CompatFallthroughMixin-LfFRwwlz.js} +1 -1
- package/dist/esm/{Datepicker-BZ5ORu0F.js → Datepicker-CrVKrZBF.js} +9 -9
- package/dist/esm/{Dropdown-BLadix4L.js → Dropdown-GHauDDcD.js} +1 -1
- package/dist/esm/{DropdownItem-Crhb4RQp.js → DropdownItem-By3tSZk2.js} +1 -1
- package/dist/esm/{Field-DZCOQuRO.js → Field-CU8ZBgMh.js} +1 -1
- package/dist/esm/{FormElementMixin-Dd_wkBN5.js → FormElementMixin-CKI7b4I4.js} +1 -1
- package/dist/esm/{Icon-iqPKMem5.js → Icon-pQAdaqZb.js} +49 -7
- package/dist/esm/{Image-By9o7ryD.js → Image-COmzg-EK.js} +1 -1
- package/dist/esm/{Input-JL4LWKyL.js → Input-CErQ1Jyw.js} +4 -4
- package/dist/esm/{Modal-BF2kchNd.js → Modal-C13NJijf.js} +1 -1
- package/dist/esm/{NoticeMixin-ByNlva3T.js → NoticeMixin-TQEF1Kx6.js} +1 -1
- package/dist/esm/{Pagination-BWFVCGiz.js → Pagination-DvgzxH87.js} +2 -2
- package/dist/esm/{Progress-BxT2PFEw.js → Progress-AeKn1Ttq.js} +1 -1
- package/dist/esm/{Select-dYTVc9W4.js → Select-CbkuxvSQ.js} +3 -3
- package/dist/esm/{TabbedChildMixin-BsuDQmWE.js → TabbedChildMixin-Bdu5A4iY.js} +1 -1
- package/dist/esm/{Tag-BFgiw0Ac.js → Tag-Dx_-Tavp.js} +1 -1
- package/dist/esm/{Timepicker-CYqyLHE9.js → Timepicker-0ojuPkqd.js} +6 -6
- package/dist/esm/{TimepickerMixin-Bikh6_Fg.js → TimepickerMixin-oNahYGFZ.js} +3 -3
- package/dist/esm/{Tooltip-Ds5fe3ZP.js → Tooltip-BnzQFdnQ.js} +1 -1
- package/dist/esm/autocomplete.js +7 -6
- package/dist/esm/breadcrumb.js +2 -2
- package/dist/esm/button.js +4 -3
- package/dist/esm/carousel.js +4 -3
- package/dist/esm/checkbox.js +3 -1
- package/dist/esm/clockpicker.js +8 -7
- package/dist/esm/colorpicker.js +12 -11
- package/dist/esm/{config-CKuo-p6e.js → config-f4Dyy8TN.js} +2 -1
- package/dist/esm/config.js +1 -1
- package/dist/esm/datepicker.js +11 -10
- package/dist/esm/datetimepicker.js +13 -12
- package/dist/esm/dialog.js +5 -4
- package/dist/esm/dropdown.js +3 -3
- package/dist/esm/field.js +2 -2
- package/dist/esm/icon.js +3 -2
- package/dist/esm/iconAliases-B-CydxNj.js +97 -0
- package/dist/esm/image.js +2 -2
- package/dist/esm/{index-mnzTDKh9.js → index-BYVep8cv.js} +8 -8
- package/dist/esm/index.js +26 -25
- package/dist/esm/input.js +6 -5
- package/dist/esm/menu.js +4 -3
- package/dist/esm/message.js +4 -3
- package/dist/esm/modal.js +2 -2
- package/dist/esm/navbar.js +2 -2
- package/dist/esm/notification.js +5 -4
- package/dist/esm/numberinput.js +6 -5
- package/dist/esm/pagination.js +4 -3
- package/dist/esm/progress.js +2 -2
- package/dist/esm/rate.js +3 -2
- package/dist/esm/select.js +6 -5
- package/dist/esm/sidebar.js +1 -1
- package/dist/esm/slider.js +3 -3
- package/dist/esm/snackbar.js +2 -2
- package/dist/esm/steps.js +4 -3
- package/dist/esm/switch.js +1 -1
- package/dist/esm/table.js +9 -8
- package/dist/esm/tabs.js +4 -3
- package/dist/esm/tag.js +4 -3
- package/dist/esm/taginput.js +8 -7
- package/dist/esm/timepicker.js +12 -11
- package/dist/esm/toast.js +2 -2
- package/dist/esm/tooltip.js +2 -2
- package/dist/esm/upload.js +3 -3
- package/package.json +2 -2
- package/src/components/checkbox/Checkbox.spec.ts +56 -26
- package/src/components/checkbox/Checkbox.vue +25 -1
- package/src/components/checkbox/__snapshots__/Checkbox.spec.ts.snap +1 -1
- package/src/components/datepicker/__snapshots__/Datepicker.spec.ts.snap +2 -2
- package/src/components/icon/Icon.spec.ts +67 -0
- package/src/components/icon/Icon.vue +40 -5
- package/src/components/icon/__snapshots__/Icon.spec.ts.snap +1 -1
- package/src/components/icon/index.ts +10 -0
- package/src/components/table/__snapshots__/TableMobileSort.spec.ts.snap +1 -1
- package/src/scss/components/_checkbox.scss +13 -15
- package/src/utils/config.ts +104 -2
- package/src/utils/iconAliases.ts +86 -0
package/dist/buefy.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/*! Buefy v3.0.
|
|
1
|
+
/*! Buefy v3.0.7 | MIT License | github.com/buefy/buefy */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vue'], factory) :
|
|
5
5
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Buefy = {}, global.Vue));
|
|
6
6
|
})(this, (function (exports, vue) { 'use strict';
|
|
7
7
|
|
|
8
|
-
var __defProp$
|
|
8
|
+
var __defProp$e = Object.defineProperty;
|
|
9
9
|
var __pow = Math.pow;
|
|
10
|
-
var __defNormalProp$
|
|
11
|
-
var __publicField$6 = (obj, key, value) => __defNormalProp$
|
|
10
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __publicField$6 = (obj, key, value) => __defNormalProp$e(obj, key + "" , value);
|
|
12
12
|
const colorChannels = ["red", "green", "blue", "alpha"];
|
|
13
13
|
const colorsNammed = {
|
|
14
14
|
transparent: "#00000000",
|
|
@@ -506,25 +506,26 @@
|
|
|
506
506
|
defaultBreadcrumbAlign: "is-left",
|
|
507
507
|
defaultBreadcrumbSeparator: "",
|
|
508
508
|
defaultBreadcrumbSize: "is-medium",
|
|
509
|
-
customIconPacks: null
|
|
509
|
+
customIconPacks: null,
|
|
510
|
+
iconAliases: null
|
|
510
511
|
};
|
|
511
512
|
const setOptions = (options) => {
|
|
512
513
|
config = options;
|
|
513
514
|
};
|
|
514
515
|
|
|
515
|
-
var __defProp$
|
|
516
|
-
var __getOwnPropSymbols$
|
|
517
|
-
var __hasOwnProp$
|
|
518
|
-
var __propIsEnum$
|
|
519
|
-
var __defNormalProp$
|
|
520
|
-
var __spreadValues$
|
|
516
|
+
var __defProp$d = Object.defineProperty;
|
|
517
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
518
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
519
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
520
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
521
|
+
var __spreadValues$d = (a, b) => {
|
|
521
522
|
for (var prop in b || (b = {}))
|
|
522
|
-
if (__hasOwnProp$
|
|
523
|
-
__defNormalProp$
|
|
524
|
-
if (__getOwnPropSymbols$
|
|
525
|
-
for (var prop of __getOwnPropSymbols$
|
|
526
|
-
if (__propIsEnum$
|
|
527
|
-
__defNormalProp$
|
|
523
|
+
if (__hasOwnProp$e.call(b, prop))
|
|
524
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
525
|
+
if (__getOwnPropSymbols$e)
|
|
526
|
+
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
527
|
+
if (__propIsEnum$e.call(b, prop))
|
|
528
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
528
529
|
}
|
|
529
530
|
return a;
|
|
530
531
|
};
|
|
@@ -562,11 +563,11 @@
|
|
|
562
563
|
const replaced = Object.getOwnPropertyNames(source).map((prop) => ({
|
|
563
564
|
[prop]: isDeep(prop) ? mergeFn(target[prop], source[prop] || {}, deep) : source[prop]
|
|
564
565
|
})).reduce(
|
|
565
|
-
(a, b) => __spreadValues$
|
|
566
|
+
(a, b) => __spreadValues$d(__spreadValues$d({}, a), b),
|
|
566
567
|
// eslint-disable-next-line no-use-before-define
|
|
567
568
|
{}
|
|
568
569
|
);
|
|
569
|
-
return __spreadValues$
|
|
570
|
+
return __spreadValues$d(__spreadValues$d({}, target), replaced);
|
|
570
571
|
} else {
|
|
571
572
|
return Object.assign(target, source);
|
|
572
573
|
}
|
|
@@ -769,17 +770,17 @@
|
|
|
769
770
|
}
|
|
770
771
|
};
|
|
771
772
|
|
|
772
|
-
var __getOwnPropSymbols$
|
|
773
|
-
var __hasOwnProp$
|
|
774
|
-
var __propIsEnum$
|
|
773
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
774
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
775
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
775
776
|
var __objRest$3 = (source, exclude) => {
|
|
776
777
|
var target = {};
|
|
777
778
|
for (var prop in source)
|
|
778
|
-
if (__hasOwnProp$
|
|
779
|
+
if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
779
780
|
target[prop] = source[prop];
|
|
780
|
-
if (source != null && __getOwnPropSymbols$
|
|
781
|
-
for (var prop of __getOwnPropSymbols$
|
|
782
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
781
|
+
if (source != null && __getOwnPropSymbols$d)
|
|
782
|
+
for (var prop of __getOwnPropSymbols$d(source)) {
|
|
783
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
|
|
783
784
|
target[prop] = source[prop];
|
|
784
785
|
}
|
|
785
786
|
return target;
|
|
@@ -1079,8 +1080,8 @@
|
|
|
1079
1080
|
return target;
|
|
1080
1081
|
};
|
|
1081
1082
|
|
|
1082
|
-
const _hoisted_1$
|
|
1083
|
-
const _hoisted_2$
|
|
1083
|
+
const _hoisted_1$U = ["for"];
|
|
1084
|
+
const _hoisted_2$K = ["for"];
|
|
1084
1085
|
const _hoisted_3$u = {
|
|
1085
1086
|
key: 3,
|
|
1086
1087
|
class: "field-body"
|
|
@@ -1119,7 +1120,7 @@
|
|
|
1119
1120
|
64
|
|
1120
1121
|
/* STABLE_FRAGMENT */
|
|
1121
1122
|
))
|
|
1122
|
-
], 10, _hoisted_1$
|
|
1123
|
+
], 10, _hoisted_1$U)) : vue.createCommentVNode("v-if", true)
|
|
1123
1124
|
],
|
|
1124
1125
|
2
|
|
1125
1126
|
/* CLASS */
|
|
@@ -1145,7 +1146,7 @@
|
|
|
1145
1146
|
64
|
|
1146
1147
|
/* STABLE_FRAGMENT */
|
|
1147
1148
|
))
|
|
1148
|
-
], 10, _hoisted_2$
|
|
1149
|
+
], 10, _hoisted_2$K)) : vue.createCommentVNode("v-if", true)
|
|
1149
1150
|
],
|
|
1150
1151
|
64
|
|
1151
1152
|
/* STABLE_FRAGMENT */
|
|
@@ -1435,6 +1436,100 @@
|
|
|
1435
1436
|
return icons;
|
|
1436
1437
|
};
|
|
1437
1438
|
|
|
1439
|
+
var __defProp$c = Object.defineProperty;
|
|
1440
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
1441
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
1442
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
1443
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1444
|
+
var __spreadValues$c = (a, b) => {
|
|
1445
|
+
for (var prop in b || (b = {}))
|
|
1446
|
+
if (__hasOwnProp$c.call(b, prop))
|
|
1447
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
1448
|
+
if (__getOwnPropSymbols$c)
|
|
1449
|
+
for (var prop of __getOwnPropSymbols$c(b)) {
|
|
1450
|
+
if (__propIsEnum$c.call(b, prop))
|
|
1451
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
1452
|
+
}
|
|
1453
|
+
return a;
|
|
1454
|
+
};
|
|
1455
|
+
const defaultIconAliases = {
|
|
1456
|
+
checkboxOn: {
|
|
1457
|
+
type: "svg",
|
|
1458
|
+
viewBox: "0 0 1 1",
|
|
1459
|
+
path: "M 0.04038059,0.6267767 0.14644661,0.52071068 0.42928932,0.80355339 0.3232233,0.90961941 z M 0.21715729,0.80355339 0.85355339,0.16715729 0.95961941,0.2732233 0.3232233,0.90961941 z"
|
|
1460
|
+
},
|
|
1461
|
+
checkboxIndeterminate: {
|
|
1462
|
+
type: "svg",
|
|
1463
|
+
viewBox: "0 0 1 1",
|
|
1464
|
+
path: "M 0.15,0.4 L 0.85,0.4 L 0.85,0.6 L 0.15,0.6 Z"
|
|
1465
|
+
},
|
|
1466
|
+
chevronLeft: {
|
|
1467
|
+
type: "svg",
|
|
1468
|
+
path: "M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"
|
|
1469
|
+
},
|
|
1470
|
+
chevronRight: {
|
|
1471
|
+
type: "svg",
|
|
1472
|
+
path: "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"
|
|
1473
|
+
},
|
|
1474
|
+
chevronDown: {
|
|
1475
|
+
type: "svg",
|
|
1476
|
+
path: "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"
|
|
1477
|
+
},
|
|
1478
|
+
chevronUp: {
|
|
1479
|
+
type: "svg",
|
|
1480
|
+
path: "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"
|
|
1481
|
+
},
|
|
1482
|
+
menuDown: {
|
|
1483
|
+
type: "svg",
|
|
1484
|
+
path: "M7,10L12,15L17,10H7Z"
|
|
1485
|
+
},
|
|
1486
|
+
menuUp: {
|
|
1487
|
+
type: "svg",
|
|
1488
|
+
path: "M7,14L12,9L17,14H7Z"
|
|
1489
|
+
},
|
|
1490
|
+
check: {
|
|
1491
|
+
type: "svg",
|
|
1492
|
+
path: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"
|
|
1493
|
+
},
|
|
1494
|
+
alertCircle: {
|
|
1495
|
+
type: "svg",
|
|
1496
|
+
path: "M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
|
|
1497
|
+
},
|
|
1498
|
+
alert: {
|
|
1499
|
+
type: "svg",
|
|
1500
|
+
path: "M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"
|
|
1501
|
+
},
|
|
1502
|
+
information: {
|
|
1503
|
+
type: "svg",
|
|
1504
|
+
path: "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
|
|
1505
|
+
},
|
|
1506
|
+
close: {
|
|
1507
|
+
type: "svg",
|
|
1508
|
+
path: "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"
|
|
1509
|
+
},
|
|
1510
|
+
closeCircle: {
|
|
1511
|
+
type: "svg",
|
|
1512
|
+
path: "M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"
|
|
1513
|
+
},
|
|
1514
|
+
eye: {
|
|
1515
|
+
type: "svg",
|
|
1516
|
+
path: "M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"
|
|
1517
|
+
},
|
|
1518
|
+
eyeOff: {
|
|
1519
|
+
type: "svg",
|
|
1520
|
+
path: "M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.18 16.38,18.6L16.81,19L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z"
|
|
1521
|
+
}
|
|
1522
|
+
};
|
|
1523
|
+
function getIconAliases() {
|
|
1524
|
+
if (config.iconAliases) {
|
|
1525
|
+
return __spreadValues$c(__spreadValues$c({}, defaultIconAliases), config.iconAliases);
|
|
1526
|
+
}
|
|
1527
|
+
return defaultIconAliases;
|
|
1528
|
+
}
|
|
1529
|
+
function resolveAlias(name) {
|
|
1530
|
+
return getIconAliases()[name];
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1438
1533
|
var _sfc_main$R = vue.defineComponent({
|
|
1439
1534
|
name: "BIcon",
|
|
1440
1535
|
props: {
|
|
@@ -1443,8 +1538,11 @@
|
|
|
1443
1538
|
pack: String,
|
|
1444
1539
|
icon: {
|
|
1445
1540
|
type: String,
|
|
1446
|
-
required:
|
|
1541
|
+
required: false,
|
|
1542
|
+
default: void 0
|
|
1447
1543
|
},
|
|
1544
|
+
/** Key into IconAliases (e.g. "chevronLeft"). Takes precedence over icon/pack. */
|
|
1545
|
+
alias: String,
|
|
1448
1546
|
size: String,
|
|
1449
1547
|
customSize: String,
|
|
1450
1548
|
customClass: String,
|
|
@@ -1452,6 +1550,26 @@
|
|
|
1452
1550
|
// This is used internally to show both MDI and FA icon
|
|
1453
1551
|
},
|
|
1454
1552
|
computed: {
|
|
1553
|
+
resolvedAlias() {
|
|
1554
|
+
var _a;
|
|
1555
|
+
if (!this.alias) return null;
|
|
1556
|
+
return (_a = resolveAlias(this.alias)) != null ? _a : null;
|
|
1557
|
+
},
|
|
1558
|
+
isSvgAlias() {
|
|
1559
|
+
var _a;
|
|
1560
|
+
return ((_a = this.resolvedAlias) == null ? void 0 : _a.type) === "svg";
|
|
1561
|
+
},
|
|
1562
|
+
isComponentAlias() {
|
|
1563
|
+
var _a;
|
|
1564
|
+
return ((_a = this.resolvedAlias) == null ? void 0 : _a.type) === "component";
|
|
1565
|
+
},
|
|
1566
|
+
// Typed accessors used in the template
|
|
1567
|
+
resolvedAliasSvg() {
|
|
1568
|
+
return this.resolvedAlias;
|
|
1569
|
+
},
|
|
1570
|
+
resolvedAliasComponent() {
|
|
1571
|
+
return this.resolvedAlias;
|
|
1572
|
+
},
|
|
1455
1573
|
iconConfig() {
|
|
1456
1574
|
const allIcons = getIcons();
|
|
1457
1575
|
return allIcons[this.newPack];
|
|
@@ -1468,7 +1586,8 @@
|
|
|
1468
1586
|
* internal icons are always MDI.
|
|
1469
1587
|
*/
|
|
1470
1588
|
newIcon() {
|
|
1471
|
-
|
|
1589
|
+
var _a;
|
|
1590
|
+
return `${this.iconPrefix}${this.getEquivalentIconOf((_a = this.icon) != null ? _a : "")}`;
|
|
1472
1591
|
},
|
|
1473
1592
|
newPack() {
|
|
1474
1593
|
return this.pack || config.defaultIconPack;
|
|
@@ -1527,6 +1646,8 @@
|
|
|
1527
1646
|
}
|
|
1528
1647
|
});
|
|
1529
1648
|
|
|
1649
|
+
const _hoisted_1$T = ["viewBox"];
|
|
1650
|
+
const _hoisted_2$J = ["d"];
|
|
1530
1651
|
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1531
1652
|
return vue.openBlock(), vue.createElementBlock(
|
|
1532
1653
|
"span",
|
|
@@ -1534,17 +1655,32 @@
|
|
|
1534
1655
|
class: vue.normalizeClass(["icon", [_ctx.newType, _ctx.size]])
|
|
1535
1656
|
},
|
|
1536
1657
|
[
|
|
1537
|
-
|
|
1658
|
+
_ctx.isSvgAlias ? (vue.openBlock(), vue.createElementBlock("svg", {
|
|
1659
|
+
key: 0,
|
|
1660
|
+
viewBox: _ctx.resolvedAliasSvg.viewBox || "0 0 24 24",
|
|
1661
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1662
|
+
class: vue.normalizeClass(_ctx.customClass),
|
|
1663
|
+
"aria-hidden": "true"
|
|
1664
|
+
}, [
|
|
1665
|
+
vue.createElementVNode("path", {
|
|
1666
|
+
fill: "currentColor",
|
|
1667
|
+
d: _ctx.resolvedAliasSvg.path
|
|
1668
|
+
}, null, 8, _hoisted_2$J)
|
|
1669
|
+
], 10, _hoisted_1$T)) : _ctx.isComponentAlias ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.resolvedAliasComponent.component), {
|
|
1670
|
+
key: 1,
|
|
1671
|
+
icon: _ctx.resolvedAliasComponent.icon,
|
|
1672
|
+
class: vue.normalizeClass(_ctx.customClass)
|
|
1673
|
+
}, null, 8, ["icon", "class"])) : !_ctx.useIconComponent ? (vue.openBlock(), vue.createElementBlock(
|
|
1538
1674
|
"i",
|
|
1539
1675
|
{
|
|
1540
|
-
key:
|
|
1676
|
+
key: 2,
|
|
1541
1677
|
class: vue.normalizeClass([_ctx.newPack, _ctx.newIcon, _ctx.newCustomSize, _ctx.customClass])
|
|
1542
1678
|
},
|
|
1543
1679
|
null,
|
|
1544
1680
|
2
|
|
1545
1681
|
/* CLASS */
|
|
1546
1682
|
)) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.useIconComponent), {
|
|
1547
|
-
key:
|
|
1683
|
+
key: 3,
|
|
1548
1684
|
icon: [_ctx.newPack, _ctx.newIcon],
|
|
1549
1685
|
size: _ctx.newCustomSize,
|
|
1550
1686
|
class: vue.normalizeClass([_ctx.customClass])
|
|
@@ -1769,7 +1905,7 @@
|
|
|
1769
1905
|
const _hoisted_1$S = ["type", "autocomplete", "maxlength"];
|
|
1770
1906
|
const _hoisted_2$I = ["maxlength"];
|
|
1771
1907
|
const _hoisted_3$t = ["type", "autocomplete", "maxlength"];
|
|
1772
|
-
const _hoisted_4$
|
|
1908
|
+
const _hoisted_4$m = ["maxlength"];
|
|
1773
1909
|
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1774
1910
|
const _component_b_icon = vue.resolveComponent("b-icon");
|
|
1775
1911
|
return vue.openBlock(), vue.createElementBlock(
|
|
@@ -1854,7 +1990,7 @@
|
|
|
1854
1990
|
onChange: _cache[17] || (_cache[17] = (...args) => _ctx.onChange && _ctx.onChange(...args)),
|
|
1855
1991
|
onBlur: _cache[18] || (_cache[18] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),
|
|
1856
1992
|
onFocus: _cache[19] || (_cache[19] = (...args) => _ctx.onFocus && _ctx.onFocus(...args))
|
|
1857
|
-
}), null, 16, _hoisted_4$
|
|
1993
|
+
}), null, 16, _hoisted_4$m)), [
|
|
1858
1994
|
[vue.vModelText, _ctx.computedValue]
|
|
1859
1995
|
])
|
|
1860
1996
|
],
|
|
@@ -2575,7 +2711,7 @@
|
|
|
2575
2711
|
};
|
|
2576
2712
|
const _hoisted_2$H = ["onClick"];
|
|
2577
2713
|
const _hoisted_3$s = { key: 1 };
|
|
2578
|
-
const _hoisted_4$
|
|
2714
|
+
const _hoisted_4$l = {
|
|
2579
2715
|
key: 1,
|
|
2580
2716
|
class: "dropdown-item is-disabled"
|
|
2581
2717
|
};
|
|
@@ -2709,7 +2845,7 @@
|
|
|
2709
2845
|
256
|
|
2710
2846
|
/* UNKEYED_FRAGMENT */
|
|
2711
2847
|
)),
|
|
2712
|
-
_ctx.isEmpty && _ctx.hasEmptySlot ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
2848
|
+
_ctx.isEmpty && _ctx.hasEmptySlot ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$l, [
|
|
2713
2849
|
vue.renderSlot(_ctx.$slots, "empty")
|
|
2714
2850
|
])) : vue.createCommentVNode("v-if", true),
|
|
2715
2851
|
_ctx.hasFooterSlot ? (vue.openBlock(), vue.createElementBlock(
|
|
@@ -3861,7 +3997,7 @@
|
|
|
3861
3997
|
const _hoisted_1$N = { key: 0 };
|
|
3862
3998
|
const _hoisted_2$E = ["srcset", "src", "alt", "width", "sizes", "loading"];
|
|
3863
3999
|
const _hoisted_3$q = ["src", "alt"];
|
|
3864
|
-
const _hoisted_4$
|
|
4000
|
+
const _hoisted_4$k = { key: 1 };
|
|
3865
4001
|
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3866
4002
|
return vue.openBlock(), vue.createElementBlock(
|
|
3867
4003
|
"figure",
|
|
@@ -3904,7 +4040,7 @@
|
|
|
3904
4040
|
_: 3
|
|
3905
4041
|
/* FORWARDED */
|
|
3906
4042
|
}),
|
|
3907
|
-
_ctx.isCaptionLast ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_4$
|
|
4043
|
+
_ctx.isCaptionLast ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_4$k, [
|
|
3908
4044
|
vue.renderSlot(_ctx.$slots, "caption")
|
|
3909
4045
|
])) : vue.createCommentVNode("v-if", true)
|
|
3910
4046
|
],
|
|
@@ -4352,12 +4488,27 @@
|
|
|
4352
4488
|
type: String,
|
|
4353
4489
|
default: ""
|
|
4354
4490
|
}
|
|
4491
|
+
},
|
|
4492
|
+
computed: {
|
|
4493
|
+
isChecked() {
|
|
4494
|
+
const val = this.computedValue;
|
|
4495
|
+
if (Array.isArray(val)) {
|
|
4496
|
+
return val.includes(this.nativeValue);
|
|
4497
|
+
}
|
|
4498
|
+
return val === this.trueValue;
|
|
4499
|
+
},
|
|
4500
|
+
checkmarkAlias() {
|
|
4501
|
+
const key = this.indeterminate ? "checkboxIndeterminate" : "checkboxOn";
|
|
4502
|
+
return resolveAlias(key);
|
|
4503
|
+
}
|
|
4355
4504
|
}
|
|
4356
4505
|
});
|
|
4357
4506
|
|
|
4358
4507
|
const _hoisted_1$L = ["disabled"];
|
|
4359
4508
|
const _hoisted_2$D = ["id", ".indeterminate", "autocomplete", "disabled", "required", "name", "value", "true-value", "false-value", "aria-labelledby"];
|
|
4360
|
-
const _hoisted_3$p = ["
|
|
4509
|
+
const _hoisted_3$p = ["viewBox"];
|
|
4510
|
+
const _hoisted_4$j = ["d"];
|
|
4511
|
+
const _hoisted_5$c = ["id"];
|
|
4361
4512
|
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4362
4513
|
return vue.openBlock(), vue.createElementBlock("label", {
|
|
4363
4514
|
class: vue.normalizeClass(["b-checkbox checkbox", [_ctx.size, { "is-disabled": _ctx.disabled }]]),
|
|
@@ -4394,7 +4545,19 @@
|
|
|
4394
4545
|
{
|
|
4395
4546
|
class: vue.normalizeClass(["check", _ctx.type])
|
|
4396
4547
|
},
|
|
4397
|
-
|
|
4548
|
+
[
|
|
4549
|
+
_ctx.isChecked || _ctx.indeterminate ? (vue.openBlock(), vue.createElementBlock("svg", {
|
|
4550
|
+
key: 0,
|
|
4551
|
+
viewBox: _ctx.checkmarkAlias.viewBox || "0 0 1 1",
|
|
4552
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4553
|
+
"aria-hidden": "true"
|
|
4554
|
+
}, [
|
|
4555
|
+
vue.createElementVNode("path", {
|
|
4556
|
+
fill: "currentColor",
|
|
4557
|
+
d: _ctx.checkmarkAlias.path
|
|
4558
|
+
}, null, 8, _hoisted_4$j)
|
|
4559
|
+
], 8, _hoisted_3$p)) : vue.createCommentVNode("v-if", true)
|
|
4560
|
+
],
|
|
4398
4561
|
2
|
|
4399
4562
|
/* CLASS */
|
|
4400
4563
|
),
|
|
@@ -4403,7 +4566,7 @@
|
|
|
4403
4566
|
class: "control-label"
|
|
4404
4567
|
}, [
|
|
4405
4568
|
vue.renderSlot(_ctx.$slots, "default")
|
|
4406
|
-
], 8,
|
|
4569
|
+
], 8, _hoisted_5$c)
|
|
4407
4570
|
], 42, _hoisted_1$L);
|
|
4408
4571
|
}
|
|
4409
4572
|
var BCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$R]]);
|
|
@@ -21260,6 +21423,7 @@
|
|
|
21260
21423
|
exports.default = Buefy;
|
|
21261
21424
|
exports.escapeRegExpChars = escapeRegExpChars;
|
|
21262
21425
|
exports.getComponentFromVNode = getComponentFromVNode;
|
|
21426
|
+
exports.getIconAliases = getIconAliases;
|
|
21263
21427
|
exports.getMonthNames = getMonthNames;
|
|
21264
21428
|
exports.getValueByPath = getValueByPath;
|
|
21265
21429
|
exports.getWeekdayNames = getWeekdayNames;
|
|
@@ -21279,6 +21443,7 @@
|
|
|
21279
21443
|
exports.multiColumnSort = multiColumnSort;
|
|
21280
21444
|
exports.removeDiacriticsFromString = removeDiacriticsFromString;
|
|
21281
21445
|
exports.removeElement = removeElement;
|
|
21446
|
+
exports.resolveAlias = resolveAlias;
|
|
21282
21447
|
exports.sign = sign;
|
|
21283
21448
|
exports.toCssWidth = toCssWidth;
|
|
21284
21449
|
exports.translateTouchAsDragEvent = translateTouchAsDragEvent;
|