buefy 3.0.2 → 3.0.4
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 +37 -4
- package/dist/buefy.esm.js +173 -129
- package/dist/buefy.esm.min.js +2 -2
- package/dist/buefy.js +178 -127
- package/dist/buefy.min.js +2 -2
- package/dist/cjs/autocomplete.js +1 -1
- package/dist/cjs/breadcrumb.js +1 -1
- package/dist/cjs/button.js +1 -1
- package/dist/cjs/carousel.js +1 -1
- package/dist/cjs/checkbox.js +1 -1
- package/dist/cjs/clockpicker.js +1 -1
- package/dist/cjs/collapse.js +1 -1
- package/dist/cjs/colorpicker.js +2 -2
- package/dist/cjs/config.js +7 -1
- package/dist/cjs/datepicker.js +1 -1
- package/dist/cjs/datetimepicker.js +1 -1
- package/dist/cjs/dialog.js +138 -118
- package/dist/cjs/dropdown.js +1 -1
- package/dist/cjs/field.js +1 -1
- package/dist/cjs/icon.js +1 -1
- package/dist/cjs/image.js +1 -1
- package/dist/cjs/{index-DiQy3SCb.js → index-SLOXD6k3.js} +1 -1
- package/dist/cjs/index.js +10 -3
- package/dist/cjs/input.js +1 -1
- package/dist/cjs/loading.js +7 -2
- package/dist/cjs/menu.js +1 -1
- package/dist/cjs/message.js +1 -1
- package/dist/cjs/modal.js +7 -2
- package/dist/cjs/navbar.js +1 -1
- package/dist/cjs/notification.js +7 -2
- package/dist/cjs/numberinput.js +1 -1
- package/dist/cjs/pagination.js +1 -1
- package/dist/cjs/{plugins-DbyYGVpp.js → plugins-BWKpXmCr.js} +2 -1
- package/dist/cjs/progress.js +1 -1
- package/dist/cjs/radio.js +1 -1
- package/dist/cjs/rate.js +1 -1
- package/dist/cjs/select.js +1 -1
- package/dist/cjs/sidebar.js +1 -1
- package/dist/cjs/skeleton.js +1 -1
- package/dist/cjs/slider.js +1 -1
- package/dist/cjs/snackbar.js +7 -2
- package/dist/cjs/steps.js +1 -1
- package/dist/cjs/switch.js +1 -1
- package/dist/cjs/table.js +1 -1
- package/dist/cjs/tabs.js +1 -1
- package/dist/cjs/tag.js +1 -1
- package/dist/cjs/taginput.js +1 -1
- package/dist/cjs/timepicker.js +1 -1
- package/dist/cjs/toast.js +7 -2
- package/dist/cjs/tooltip.js +1 -1
- package/dist/cjs/upload.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/autocomplete/index.min.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/breadcrumb/index.min.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button/index.min.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/index.min.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.min.js +1 -1
- package/dist/components/clockpicker/index.js +1 -1
- package/dist/components/clockpicker/index.min.js +1 -1
- package/dist/components/collapse/index.js +1 -1
- package/dist/components/collapse/index.min.js +1 -1
- package/dist/components/colorpicker/index.js +1 -1
- package/dist/components/colorpicker/index.min.js +1 -1
- package/dist/components/datepicker/index.js +1 -1
- package/dist/components/datepicker/index.min.js +1 -1
- package/dist/components/datetimepicker/index.js +1 -1
- package/dist/components/datetimepicker/index.min.js +1 -1
- package/dist/components/dialog/index.js +140 -119
- 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 +1 -1
- package/dist/components/icon/index.min.js +1 -1
- package/dist/components/image/index.js +1 -1
- package/dist/components/image/index.min.js +1 -1
- package/dist/components/input/index.js +1 -1
- package/dist/components/input/index.min.js +1 -1
- package/dist/components/loading/index.js +9 -3
- package/dist/components/loading/index.min.js +2 -2
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.min.js +1 -1
- package/dist/components/message/index.js +1 -1
- package/dist/components/message/index.min.js +1 -1
- package/dist/components/modal/index.js +9 -3
- package/dist/components/modal/index.min.js +2 -2
- package/dist/components/navbar/index.js +1 -1
- package/dist/components/navbar/index.min.js +1 -1
- package/dist/components/notification/index.js +9 -3
- package/dist/components/notification/index.min.js +2 -2
- package/dist/components/numberinput/index.js +1 -1
- package/dist/components/numberinput/index.min.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.min.js +1 -1
- 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 +1 -1
- package/dist/components/rate/index.min.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.min.js +1 -1
- 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 +9 -3
- package/dist/components/snackbar/index.min.js +2 -2
- package/dist/components/steps/index.js +1 -1
- package/dist/components/steps/index.min.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.min.js +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/components/table/index.min.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.min.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/tag/index.min.js +1 -1
- package/dist/components/taginput/index.js +1 -1
- package/dist/components/taginput/index.min.js +1 -1
- package/dist/components/timepicker/index.js +1 -1
- package/dist/components/timepicker/index.min.js +1 -1
- package/dist/components/toast/index.js +9 -3
- package/dist/components/toast/index.min.js +2 -2
- 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 +70 -61
- package/dist/css/buefy.css.map +1 -1
- package/dist/css/buefy.min.css +1 -1
- package/dist/css/versions/buefy-no-reset.css +70 -61
- 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 +171 -56
- package/dist/css/versions/buefy-standalone.css.map +1 -1
- package/dist/css/versions/buefy-standalone.min.css +1 -1
- package/dist/esm/autocomplete.js +1 -1
- package/dist/esm/breadcrumb.js +1 -1
- package/dist/esm/button.js +1 -1
- package/dist/esm/carousel.js +1 -1
- package/dist/esm/checkbox.js +1 -1
- package/dist/esm/clockpicker.js +1 -1
- package/dist/esm/collapse.js +1 -1
- package/dist/esm/colorpicker.js +2 -2
- package/dist/esm/config.js +6 -2
- package/dist/esm/datepicker.js +1 -1
- package/dist/esm/datetimepicker.js +1 -1
- package/dist/esm/dialog.js +139 -120
- package/dist/esm/dropdown.js +1 -1
- package/dist/esm/field.js +1 -1
- package/dist/esm/icon.js +1 -1
- package/dist/esm/image.js +1 -1
- package/dist/esm/{index-CQegEsxK.js → index-BE58-KfV.js} +1 -1
- package/dist/esm/index.js +12 -11
- package/dist/esm/input.js +1 -1
- package/dist/esm/loading.js +8 -4
- package/dist/esm/menu.js +1 -1
- package/dist/esm/message.js +1 -1
- package/dist/esm/modal.js +8 -4
- package/dist/esm/navbar.js +1 -1
- package/dist/esm/notification.js +8 -4
- package/dist/esm/numberinput.js +1 -1
- package/dist/esm/pagination.js +1 -1
- package/dist/esm/{plugins-B172kuKE.js → plugins-1tLsuIZF.js} +2 -1
- package/dist/esm/progress.js +1 -1
- package/dist/esm/radio.js +1 -1
- package/dist/esm/rate.js +1 -1
- package/dist/esm/select.js +1 -1
- package/dist/esm/sidebar.js +1 -1
- package/dist/esm/skeleton.js +1 -1
- package/dist/esm/slider.js +1 -1
- package/dist/esm/snackbar.js +8 -4
- package/dist/esm/steps.js +1 -1
- package/dist/esm/switch.js +1 -1
- package/dist/esm/table.js +1 -1
- package/dist/esm/tabs.js +1 -1
- package/dist/esm/tag.js +1 -1
- package/dist/esm/taginput.js +1 -1
- package/dist/esm/timepicker.js +1 -1
- package/dist/esm/toast.js +8 -4
- package/dist/esm/tooltip.js +1 -1
- package/dist/esm/upload.js +1 -1
- package/package.json +1 -2
- package/src/components/dialog/Dialog.vue +10 -2
- package/src/components/dialog/index.ts +9 -3
- package/src/components/loading/index.ts +9 -3
- package/src/components/modal/index.ts +9 -3
- package/src/components/notification/index.ts +9 -3
- package/src/components/snackbar/index.ts +9 -3
- package/src/components/toast/index.ts +9 -3
- package/src/index.ts +9 -9
- package/src/scss/buefy.scss +0 -1
- package/src/scss/components/_checkbox.scss +4 -4
- package/src/scss/components/_datepicker.scss +1 -1
- package/src/scss/components/_dropdown.scss +7 -6
- package/src/scss/components/_form.scss +31 -31
- package/src/scss/components/_radio.scss +9 -9
- package/src/scss/components/_switch.scss +28 -5
- package/src/scss/components/_table.scss +2 -1
- package/src/utils/ConfigComponent.ts +13 -1
- package/src/utils/plugins.ts +3 -2
package/dist/buefy.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Buefy v3.0.
|
|
1
|
+
/*! Buefy v3.0.4 | 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) :
|
|
@@ -756,6 +756,10 @@
|
|
|
756
756
|
});
|
|
757
757
|
};
|
|
758
758
|
|
|
759
|
+
const configInjectionKey = Symbol("Buefy Config Component");
|
|
760
|
+
function useConfigComponent() {
|
|
761
|
+
return vue.inject(configInjectionKey);
|
|
762
|
+
}
|
|
759
763
|
var ConfigComponent = {
|
|
760
764
|
getOptions() {
|
|
761
765
|
return config;
|
|
@@ -2753,9 +2757,10 @@
|
|
|
2753
2757
|
}
|
|
2754
2758
|
Vue.component(componentName, component);
|
|
2755
2759
|
};
|
|
2756
|
-
const registerComponentProgrammatic = (Vue, property, component) => {
|
|
2760
|
+
const registerComponentProgrammatic = (Vue, property, component, injectionKey) => {
|
|
2757
2761
|
if (!Vue.config.globalProperties.$buefy) Vue.config.globalProperties.$buefy = {};
|
|
2758
2762
|
Vue.config.globalProperties.$buefy[property] = component;
|
|
2763
|
+
Vue.provide(injectionKey, component);
|
|
2759
2764
|
};
|
|
2760
2765
|
|
|
2761
2766
|
const Plugin$F = {
|
|
@@ -6844,7 +6849,7 @@
|
|
|
6844
6849
|
const _hoisted_10$3 = ["d"];
|
|
6845
6850
|
const _hoisted_11$3 = { class: "colorpicker-triangle-slider-hue" };
|
|
6846
6851
|
const _hoisted_12$3 = ["width", "height", "clip-path"];
|
|
6847
|
-
const _hoisted_13$
|
|
6852
|
+
const _hoisted_13$1 = ["x", "height"];
|
|
6848
6853
|
const _hoisted_14$1 = ["aria-valuenow"];
|
|
6849
6854
|
const _hoisted_15$1 = ["d", "fill"];
|
|
6850
6855
|
const _hoisted_16$1 = ["d", "fill"];
|
|
@@ -6935,7 +6940,7 @@
|
|
|
6935
6940
|
onMousedown: _cache[5] || (_cache[5] = vue.withModifiers((...args) => _ctx.startMouseCapture && _ctx.startMouseCapture(...args), ["prevent"])),
|
|
6936
6941
|
onTouchstart: _cache[6] || (_cache[6] = vue.withModifiers((...args) => _ctx.startMouseCapture && _ctx.startMouseCapture(...args), ["prevent"]))
|
|
6937
6942
|
}, null, 44, _hoisted_14$1)
|
|
6938
|
-
], 8, _hoisted_13$
|
|
6943
|
+
], 8, _hoisted_13$1))
|
|
6939
6944
|
],
|
|
6940
6945
|
4
|
|
6941
6946
|
/* STYLE */
|
|
@@ -11714,6 +11719,14 @@
|
|
|
11714
11719
|
},
|
|
11715
11720
|
extends: Modal,
|
|
11716
11721
|
props: {
|
|
11722
|
+
customClass: {
|
|
11723
|
+
type: String,
|
|
11724
|
+
default: ""
|
|
11725
|
+
},
|
|
11726
|
+
customContentClass: {
|
|
11727
|
+
type: String,
|
|
11728
|
+
default: ""
|
|
11729
|
+
},
|
|
11717
11730
|
title: String,
|
|
11718
11731
|
message: [String, Array],
|
|
11719
11732
|
icon: String,
|
|
@@ -11884,27 +11897,26 @@
|
|
|
11884
11897
|
});
|
|
11885
11898
|
|
|
11886
11899
|
const _hoisted_1$t = ["role", "aria-modal"];
|
|
11887
|
-
const _hoisted_2$o = {
|
|
11888
|
-
const _hoisted_3$d = {
|
|
11900
|
+
const _hoisted_2$o = {
|
|
11889
11901
|
key: 0,
|
|
11890
11902
|
class: "modal-card-head"
|
|
11891
11903
|
};
|
|
11892
|
-
const
|
|
11893
|
-
const
|
|
11894
|
-
const
|
|
11904
|
+
const _hoisted_3$d = { class: "modal-card-title" };
|
|
11905
|
+
const _hoisted_4$9 = { class: "media" };
|
|
11906
|
+
const _hoisted_5$7 = {
|
|
11895
11907
|
key: 0,
|
|
11896
11908
|
class: "media-left"
|
|
11897
11909
|
};
|
|
11898
|
-
const
|
|
11899
|
-
const
|
|
11900
|
-
const
|
|
11910
|
+
const _hoisted_6$5 = { class: "media-content" };
|
|
11911
|
+
const _hoisted_7$4 = ["innerHTML"];
|
|
11912
|
+
const _hoisted_8$4 = {
|
|
11901
11913
|
key: 0,
|
|
11902
11914
|
class: "field"
|
|
11903
11915
|
};
|
|
11904
|
-
const
|
|
11905
|
-
const
|
|
11906
|
-
const
|
|
11907
|
-
const
|
|
11916
|
+
const _hoisted_9$3 = { class: "control" };
|
|
11917
|
+
const _hoisted_10$2 = { class: "help is-danger" };
|
|
11918
|
+
const _hoisted_11$2 = { class: "modal-card-foot" };
|
|
11919
|
+
const _hoisted_12$2 = { class: "buttons" };
|
|
11908
11920
|
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11909
11921
|
const _component_b_icon = vue.resolveComponent("b-icon");
|
|
11910
11922
|
const _component_b_button = vue.resolveComponent("b-button");
|
|
@@ -11913,7 +11925,7 @@
|
|
|
11913
11925
|
default: vue.withCtx(() => [
|
|
11914
11926
|
_ctx.isActive ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
11915
11927
|
key: 0,
|
|
11916
|
-
class: vue.normalizeClass(["dialog modal is-active", _ctx.dialogClass]),
|
|
11928
|
+
class: vue.normalizeClass(["dialog modal is-active", [_ctx.dialogClass, _ctx.customClass]]),
|
|
11917
11929
|
role: _ctx.ariaRole,
|
|
11918
11930
|
"aria-modal": _ctx.ariaModal
|
|
11919
11931
|
}, [
|
|
@@ -11921,116 +11933,124 @@
|
|
|
11921
11933
|
class: "modal-background",
|
|
11922
11934
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.cancel("outside"))
|
|
11923
11935
|
}),
|
|
11924
|
-
vue.createElementVNode(
|
|
11925
|
-
|
|
11936
|
+
vue.createElementVNode(
|
|
11937
|
+
"div",
|
|
11938
|
+
{
|
|
11939
|
+
class: vue.normalizeClass(["modal-card animation-content", _ctx.customContentClass])
|
|
11940
|
+
},
|
|
11941
|
+
[
|
|
11942
|
+
_ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_2$o, [
|
|
11943
|
+
vue.createElementVNode(
|
|
11944
|
+
"p",
|
|
11945
|
+
_hoisted_3$d,
|
|
11946
|
+
vue.toDisplayString(_ctx.title),
|
|
11947
|
+
1
|
|
11948
|
+
/* TEXT */
|
|
11949
|
+
)
|
|
11950
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
11926
11951
|
vue.createElementVNode(
|
|
11927
|
-
"
|
|
11928
|
-
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
vue.
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
|
|
11953
|
-
|
|
11954
|
-
{ key: 1 },
|
|
11955
|
-
[
|
|
11956
|
-
vue.createCommentVNode(" eslint-disable-next-line vue/no-v-html "),
|
|
11957
|
-
vue.createElementVNode("div", { innerHTML: _ctx.message }, null, 8, _hoisted_8$4)
|
|
11958
|
-
],
|
|
11959
|
-
64
|
|
11960
|
-
/* STABLE_FRAGMENT */
|
|
11961
|
-
))
|
|
11962
|
-
]),
|
|
11963
|
-
_ctx.hasInput ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$3, [
|
|
11964
|
-
vue.createElementVNode("div", _hoisted_10$2, [
|
|
11965
|
-
vue.withDirectives(vue.createElementVNode(
|
|
11966
|
-
"input",
|
|
11967
|
-
vue.mergeProps({
|
|
11968
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.prompt = $event),
|
|
11969
|
-
class: ["input", { "is-danger": _ctx.validationMessage }],
|
|
11970
|
-
ref: "input"
|
|
11971
|
-
}, _ctx.safeInputAttrs, {
|
|
11972
|
-
onCompositionstart: _cache[2] || (_cache[2] = ($event) => _ctx.isCompositing = true),
|
|
11973
|
-
onCompositionend: _cache[3] || (_cache[3] = ($event) => _ctx.isCompositing = false),
|
|
11974
|
-
onKeydown: _cache[4] || (_cache[4] = vue.withKeys((...args) => _ctx.confirm && _ctx.confirm(...args), ["enter"]))
|
|
11975
|
-
}),
|
|
11976
|
-
null,
|
|
11977
|
-
16
|
|
11978
|
-
/* FULL_PROPS */
|
|
11979
|
-
), [
|
|
11980
|
-
[vue.vModelDynamic, _ctx.prompt]
|
|
11981
|
-
])
|
|
11952
|
+
"section",
|
|
11953
|
+
{
|
|
11954
|
+
class: vue.normalizeClass(["modal-card-body", { "is-titleless": !_ctx.title, "is-flex": _ctx.hasIcon }])
|
|
11955
|
+
},
|
|
11956
|
+
[
|
|
11957
|
+
vue.createElementVNode("div", _hoisted_4$9, [
|
|
11958
|
+
_ctx.hasIcon && (_ctx.icon || _ctx.iconByType) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$7, [
|
|
11959
|
+
vue.createVNode(_component_b_icon, {
|
|
11960
|
+
icon: _ctx.icon ? _ctx.icon : _ctx.iconByType,
|
|
11961
|
+
pack: _ctx.iconPack,
|
|
11962
|
+
type: _ctx.type,
|
|
11963
|
+
both: !_ctx.icon,
|
|
11964
|
+
size: "is-large"
|
|
11965
|
+
}, null, 8, ["icon", "pack", "type", "both"])
|
|
11966
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
11967
|
+
vue.createElementVNode("div", _hoisted_6$5, [
|
|
11968
|
+
vue.createElementVNode("p", null, [
|
|
11969
|
+
_ctx.$slots.default ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : (vue.openBlock(), vue.createElementBlock(
|
|
11970
|
+
vue.Fragment,
|
|
11971
|
+
{ key: 1 },
|
|
11972
|
+
[
|
|
11973
|
+
vue.createCommentVNode(" eslint-disable-next-line vue/no-v-html "),
|
|
11974
|
+
vue.createElementVNode("div", { innerHTML: _ctx.message }, null, 8, _hoisted_7$4)
|
|
11975
|
+
],
|
|
11976
|
+
64
|
|
11977
|
+
/* STABLE_FRAGMENT */
|
|
11978
|
+
))
|
|
11982
11979
|
]),
|
|
11983
|
-
vue.
|
|
11984
|
-
"
|
|
11985
|
-
|
|
11986
|
-
|
|
11980
|
+
_ctx.hasInput ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$4, [
|
|
11981
|
+
vue.createElementVNode("div", _hoisted_9$3, [
|
|
11982
|
+
vue.withDirectives(vue.createElementVNode(
|
|
11983
|
+
"input",
|
|
11984
|
+
vue.mergeProps({
|
|
11985
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.prompt = $event),
|
|
11986
|
+
class: ["input", { "is-danger": _ctx.validationMessage }],
|
|
11987
|
+
ref: "input"
|
|
11988
|
+
}, _ctx.safeInputAttrs, {
|
|
11989
|
+
onCompositionstart: _cache[2] || (_cache[2] = ($event) => _ctx.isCompositing = true),
|
|
11990
|
+
onCompositionend: _cache[3] || (_cache[3] = ($event) => _ctx.isCompositing = false),
|
|
11991
|
+
onKeydown: _cache[4] || (_cache[4] = vue.withKeys((...args) => _ctx.confirm && _ctx.confirm(...args), ["enter"]))
|
|
11992
|
+
}),
|
|
11993
|
+
null,
|
|
11994
|
+
16
|
|
11995
|
+
/* FULL_PROPS */
|
|
11996
|
+
), [
|
|
11997
|
+
[vue.vModelDynamic, _ctx.prompt]
|
|
11998
|
+
])
|
|
11999
|
+
]),
|
|
12000
|
+
vue.createElementVNode(
|
|
12001
|
+
"p",
|
|
12002
|
+
_hoisted_10$2,
|
|
12003
|
+
vue.toDisplayString(_ctx.validationMessage),
|
|
12004
|
+
1
|
|
12005
|
+
/* TEXT */
|
|
12006
|
+
)
|
|
12007
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
12008
|
+
])
|
|
12009
|
+
])
|
|
12010
|
+
],
|
|
12011
|
+
2
|
|
12012
|
+
/* CLASS */
|
|
12013
|
+
),
|
|
12014
|
+
vue.createElementVNode("footer", _hoisted_11$2, [
|
|
12015
|
+
vue.createElementVNode("div", _hoisted_12$2, [
|
|
12016
|
+
_ctx.showCancel ? (vue.openBlock(), vue.createBlock(_component_b_button, {
|
|
12017
|
+
key: 0,
|
|
12018
|
+
ref: "cancelButton",
|
|
12019
|
+
disabled: _ctx.isLoading,
|
|
12020
|
+
onClick: _cache[5] || (_cache[5] = ($event) => _ctx.cancel("button"))
|
|
12021
|
+
}, {
|
|
12022
|
+
default: vue.withCtx(() => [
|
|
12023
|
+
vue.createTextVNode(
|
|
12024
|
+
vue.toDisplayString(_ctx.cancelText),
|
|
11987
12025
|
1
|
|
11988
12026
|
/* TEXT */
|
|
11989
12027
|
)
|
|
11990
|
-
])
|
|
11991
|
-
|
|
12028
|
+
]),
|
|
12029
|
+
_: 1
|
|
12030
|
+
/* STABLE */
|
|
12031
|
+
}, 8, ["disabled"])) : vue.createCommentVNode("v-if", true),
|
|
12032
|
+
vue.createVNode(_component_b_button, {
|
|
12033
|
+
type: _ctx.type,
|
|
12034
|
+
ref: "confirmButton",
|
|
12035
|
+
loading: _ctx.isLoading,
|
|
12036
|
+
onClick: _ctx.confirm
|
|
12037
|
+
}, {
|
|
12038
|
+
default: vue.withCtx(() => [
|
|
12039
|
+
vue.createTextVNode(
|
|
12040
|
+
vue.toDisplayString(_ctx.confirmText),
|
|
12041
|
+
1
|
|
12042
|
+
/* TEXT */
|
|
12043
|
+
)
|
|
12044
|
+
]),
|
|
12045
|
+
_: 1
|
|
12046
|
+
/* STABLE */
|
|
12047
|
+
}, 8, ["type", "loading", "onClick"])
|
|
11992
12048
|
])
|
|
11993
|
-
],
|
|
11994
|
-
2
|
|
11995
|
-
/* CLASS */
|
|
11996
|
-
),
|
|
11997
|
-
vue.createElementVNode("footer", _hoisted_12$2, [
|
|
11998
|
-
vue.createElementVNode("div", _hoisted_13$1, [
|
|
11999
|
-
_ctx.showCancel ? (vue.openBlock(), vue.createBlock(_component_b_button, {
|
|
12000
|
-
key: 0,
|
|
12001
|
-
ref: "cancelButton",
|
|
12002
|
-
disabled: _ctx.isLoading,
|
|
12003
|
-
onClick: _cache[5] || (_cache[5] = ($event) => _ctx.cancel("button"))
|
|
12004
|
-
}, {
|
|
12005
|
-
default: vue.withCtx(() => [
|
|
12006
|
-
vue.createTextVNode(
|
|
12007
|
-
vue.toDisplayString(_ctx.cancelText),
|
|
12008
|
-
1
|
|
12009
|
-
/* TEXT */
|
|
12010
|
-
)
|
|
12011
|
-
]),
|
|
12012
|
-
_: 1
|
|
12013
|
-
/* STABLE */
|
|
12014
|
-
}, 8, ["disabled"])) : vue.createCommentVNode("v-if", true),
|
|
12015
|
-
vue.createVNode(_component_b_button, {
|
|
12016
|
-
type: _ctx.type,
|
|
12017
|
-
ref: "confirmButton",
|
|
12018
|
-
loading: _ctx.isLoading,
|
|
12019
|
-
onClick: _ctx.confirm
|
|
12020
|
-
}, {
|
|
12021
|
-
default: vue.withCtx(() => [
|
|
12022
|
-
vue.createTextVNode(
|
|
12023
|
-
vue.toDisplayString(_ctx.confirmText),
|
|
12024
|
-
1
|
|
12025
|
-
/* TEXT */
|
|
12026
|
-
)
|
|
12027
|
-
]),
|
|
12028
|
-
_: 1
|
|
12029
|
-
/* STABLE */
|
|
12030
|
-
}, 8, ["type", "loading", "onClick"])
|
|
12031
12049
|
])
|
|
12032
|
-
]
|
|
12033
|
-
|
|
12050
|
+
],
|
|
12051
|
+
2
|
|
12052
|
+
/* CLASS */
|
|
12053
|
+
)
|
|
12034
12054
|
], 10, _hoisted_1$t)), [
|
|
12035
12055
|
[_directive_trap_focus, _ctx.trapFocus]
|
|
12036
12056
|
]) : vue.createCommentVNode("v-if", true)
|
|
@@ -12172,10 +12192,14 @@
|
|
|
12172
12192
|
return open(__spreadValues$6({ hasInput: true }, params), this.app);
|
|
12173
12193
|
}
|
|
12174
12194
|
}
|
|
12195
|
+
const dialogInjectionKey = Symbol("Buefy Dialog");
|
|
12196
|
+
function useDialog() {
|
|
12197
|
+
return vue.inject(dialogInjectionKey);
|
|
12198
|
+
}
|
|
12175
12199
|
const Plugin$t = {
|
|
12176
12200
|
install(Vue) {
|
|
12177
12201
|
registerComponent(Vue, Dialog);
|
|
12178
|
-
registerComponentProgrammatic(Vue, "dialog", new DialogProgrammatic(Vue));
|
|
12202
|
+
registerComponentProgrammatic(Vue, "dialog", new DialogProgrammatic(Vue), dialogInjectionKey);
|
|
12179
12203
|
}
|
|
12180
12204
|
};
|
|
12181
12205
|
|
|
@@ -12404,10 +12428,14 @@
|
|
|
12404
12428
|
return vueInstance.mount(container);
|
|
12405
12429
|
}
|
|
12406
12430
|
}
|
|
12431
|
+
const loadingInjectionKey = Symbol("Buefy Loading");
|
|
12432
|
+
function useLoading() {
|
|
12433
|
+
return vue.inject(loadingInjectionKey);
|
|
12434
|
+
}
|
|
12407
12435
|
const Plugin$p = {
|
|
12408
12436
|
install(Vue) {
|
|
12409
12437
|
registerComponent(Vue, BLoading);
|
|
12410
|
-
registerComponentProgrammatic(Vue, "loading", new LoadingProgrammatic(Vue));
|
|
12438
|
+
registerComponentProgrammatic(Vue, "loading", new LoadingProgrammatic(Vue), loadingInjectionKey);
|
|
12411
12439
|
}
|
|
12412
12440
|
};
|
|
12413
12441
|
|
|
@@ -13222,10 +13250,14 @@
|
|
|
13222
13250
|
return vueInstance.mount(container);
|
|
13223
13251
|
}
|
|
13224
13252
|
}
|
|
13253
|
+
const modalInjectionKey = Symbol("Buefy Modal");
|
|
13254
|
+
function useModal() {
|
|
13255
|
+
return vue.inject(modalInjectionKey);
|
|
13256
|
+
}
|
|
13225
13257
|
const Plugin$m = {
|
|
13226
13258
|
install(Vue) {
|
|
13227
13259
|
registerComponent(Vue, Modal);
|
|
13228
|
-
registerComponentProgrammatic(Vue, "modal", new ModalProgrammatic(Vue));
|
|
13260
|
+
registerComponentProgrammatic(Vue, "modal", new ModalProgrammatic(Vue), modalInjectionKey);
|
|
13229
13261
|
}
|
|
13230
13262
|
};
|
|
13231
13263
|
|
|
@@ -13642,10 +13674,14 @@
|
|
|
13642
13674
|
return vueInstance.mount(container);
|
|
13643
13675
|
}
|
|
13644
13676
|
}
|
|
13677
|
+
const notificationInjectionKey = Symbol("Buefy Notification");
|
|
13678
|
+
function useNotification() {
|
|
13679
|
+
return vue.inject(notificationInjectionKey);
|
|
13680
|
+
}
|
|
13645
13681
|
const Plugin$l = {
|
|
13646
13682
|
install(Vue) {
|
|
13647
13683
|
registerComponent(Vue, Notification);
|
|
13648
|
-
registerComponentProgrammatic(Vue, "notification", new NotificationProgrammatic(Vue));
|
|
13684
|
+
registerComponentProgrammatic(Vue, "notification", new NotificationProgrammatic(Vue), notificationInjectionKey);
|
|
13649
13685
|
}
|
|
13650
13686
|
};
|
|
13651
13687
|
|
|
@@ -16776,9 +16812,13 @@
|
|
|
16776
16812
|
return vueInstance.mount(container);
|
|
16777
16813
|
}
|
|
16778
16814
|
}
|
|
16815
|
+
const snackbarInjectionKey = Symbol("Buefy Snackbar");
|
|
16816
|
+
function useSnackbar() {
|
|
16817
|
+
return vue.inject(snackbarInjectionKey);
|
|
16818
|
+
}
|
|
16779
16819
|
const Plugin$a = {
|
|
16780
16820
|
install(Vue) {
|
|
16781
|
-
registerComponentProgrammatic(Vue, "snackbar", new SnackbarProgrammatic(Vue));
|
|
16821
|
+
registerComponentProgrammatic(Vue, "snackbar", new SnackbarProgrammatic(Vue), snackbarInjectionKey);
|
|
16782
16822
|
}
|
|
16783
16823
|
};
|
|
16784
16824
|
|
|
@@ -20852,9 +20892,13 @@
|
|
|
20852
20892
|
return vueInstance.mount(container);
|
|
20853
20893
|
}
|
|
20854
20894
|
}
|
|
20895
|
+
const toastInjectionKey = Symbol("Buefy Toast");
|
|
20896
|
+
function useToast() {
|
|
20897
|
+
return vue.inject(toastInjectionKey);
|
|
20898
|
+
}
|
|
20855
20899
|
const Plugin$2 = {
|
|
20856
20900
|
install(Vue) {
|
|
20857
|
-
registerComponentProgrammatic(Vue, "toast", new ToastProgrammatic(Vue));
|
|
20901
|
+
registerComponentProgrammatic(Vue, "toast", new ToastProgrammatic(Vue), toastInjectionKey);
|
|
20858
20902
|
}
|
|
20859
20903
|
};
|
|
20860
20904
|
|
|
@@ -21094,7 +21138,7 @@
|
|
|
21094
21138
|
install(Vue, options = {}) {
|
|
21095
21139
|
setOptions(merge(config, options, true));
|
|
21096
21140
|
allComponents.forEach((component) => Vue.use(component));
|
|
21097
|
-
registerComponentProgrammatic(Vue, "config", ConfigComponent);
|
|
21141
|
+
registerComponentProgrammatic(Vue, "config", ConfigComponent, configInjectionKey);
|
|
21098
21142
|
Vue.config.globalProperties.$buefy.globalNoticeInterval = void 0;
|
|
21099
21143
|
}
|
|
21100
21144
|
};
|
|
@@ -21237,6 +21281,13 @@
|
|
|
21237
21281
|
exports.sign = sign;
|
|
21238
21282
|
exports.toCssWidth = toCssWidth;
|
|
21239
21283
|
exports.translateTouchAsDragEvent = translateTouchAsDragEvent;
|
|
21284
|
+
exports.useConfigComponent = useConfigComponent;
|
|
21285
|
+
exports.useDialog = useDialog;
|
|
21286
|
+
exports.useLoading = useLoading;
|
|
21287
|
+
exports.useModal = useModal;
|
|
21288
|
+
exports.useNotification = useNotification;
|
|
21289
|
+
exports.useSnackbar = useSnackbar;
|
|
21290
|
+
exports.useToast = useToast;
|
|
21240
21291
|
|
|
21241
21292
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
21242
21293
|
|