buefy 3.0.3 → 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 +18 -0
- package/dist/buefy.esm.js +134 -119
- package/dist/buefy.esm.min.js +2 -2
- package/dist/buefy.js +134 -119
- package/dist/buefy.min.js +2 -2
- package/dist/cjs/dialog.js +131 -116
- 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 +132 -117
- 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 +1 -1
- package/dist/components/loading/index.min.js +1 -1
- 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 +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 +1 -1
- package/dist/components/notification/index.min.js +1 -1
- 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 +1 -1
- package/dist/components/snackbar/index.min.js +1 -1
- 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 +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 +67 -57
- package/dist/css/buefy.css.map +1 -1
- package/dist/css/buefy.min.css +1 -1
- package/dist/css/versions/buefy-no-reset.css +67 -57
- 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 +168 -52
- package/dist/css/versions/buefy-standalone.css.map +1 -1
- package/dist/css/versions/buefy-standalone.min.css +1 -1
- package/dist/esm/dialog.js +131 -116
- package/package.json +2 -2
- package/src/components/dialog/Dialog.vue +10 -2
- package/src/scss/components/_checkbox.scss +4 -4
- package/src/scss/components/_datepicker.scss +1 -1
- package/src/scss/components/_dropdown.scss +1 -0
- 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/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) :
|
|
@@ -6849,7 +6849,7 @@
|
|
|
6849
6849
|
const _hoisted_10$3 = ["d"];
|
|
6850
6850
|
const _hoisted_11$3 = { class: "colorpicker-triangle-slider-hue" };
|
|
6851
6851
|
const _hoisted_12$3 = ["width", "height", "clip-path"];
|
|
6852
|
-
const _hoisted_13$
|
|
6852
|
+
const _hoisted_13$1 = ["x", "height"];
|
|
6853
6853
|
const _hoisted_14$1 = ["aria-valuenow"];
|
|
6854
6854
|
const _hoisted_15$1 = ["d", "fill"];
|
|
6855
6855
|
const _hoisted_16$1 = ["d", "fill"];
|
|
@@ -6940,7 +6940,7 @@
|
|
|
6940
6940
|
onMousedown: _cache[5] || (_cache[5] = vue.withModifiers((...args) => _ctx.startMouseCapture && _ctx.startMouseCapture(...args), ["prevent"])),
|
|
6941
6941
|
onTouchstart: _cache[6] || (_cache[6] = vue.withModifiers((...args) => _ctx.startMouseCapture && _ctx.startMouseCapture(...args), ["prevent"]))
|
|
6942
6942
|
}, null, 44, _hoisted_14$1)
|
|
6943
|
-
], 8, _hoisted_13$
|
|
6943
|
+
], 8, _hoisted_13$1))
|
|
6944
6944
|
],
|
|
6945
6945
|
4
|
|
6946
6946
|
/* STYLE */
|
|
@@ -11719,6 +11719,14 @@
|
|
|
11719
11719
|
},
|
|
11720
11720
|
extends: Modal,
|
|
11721
11721
|
props: {
|
|
11722
|
+
customClass: {
|
|
11723
|
+
type: String,
|
|
11724
|
+
default: ""
|
|
11725
|
+
},
|
|
11726
|
+
customContentClass: {
|
|
11727
|
+
type: String,
|
|
11728
|
+
default: ""
|
|
11729
|
+
},
|
|
11722
11730
|
title: String,
|
|
11723
11731
|
message: [String, Array],
|
|
11724
11732
|
icon: String,
|
|
@@ -11889,27 +11897,26 @@
|
|
|
11889
11897
|
});
|
|
11890
11898
|
|
|
11891
11899
|
const _hoisted_1$t = ["role", "aria-modal"];
|
|
11892
|
-
const _hoisted_2$o = {
|
|
11893
|
-
const _hoisted_3$d = {
|
|
11900
|
+
const _hoisted_2$o = {
|
|
11894
11901
|
key: 0,
|
|
11895
11902
|
class: "modal-card-head"
|
|
11896
11903
|
};
|
|
11897
|
-
const
|
|
11898
|
-
const
|
|
11899
|
-
const
|
|
11904
|
+
const _hoisted_3$d = { class: "modal-card-title" };
|
|
11905
|
+
const _hoisted_4$9 = { class: "media" };
|
|
11906
|
+
const _hoisted_5$7 = {
|
|
11900
11907
|
key: 0,
|
|
11901
11908
|
class: "media-left"
|
|
11902
11909
|
};
|
|
11903
|
-
const
|
|
11904
|
-
const
|
|
11905
|
-
const
|
|
11910
|
+
const _hoisted_6$5 = { class: "media-content" };
|
|
11911
|
+
const _hoisted_7$4 = ["innerHTML"];
|
|
11912
|
+
const _hoisted_8$4 = {
|
|
11906
11913
|
key: 0,
|
|
11907
11914
|
class: "field"
|
|
11908
11915
|
};
|
|
11909
|
-
const
|
|
11910
|
-
const
|
|
11911
|
-
const
|
|
11912
|
-
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" };
|
|
11913
11920
|
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11914
11921
|
const _component_b_icon = vue.resolveComponent("b-icon");
|
|
11915
11922
|
const _component_b_button = vue.resolveComponent("b-button");
|
|
@@ -11918,7 +11925,7 @@
|
|
|
11918
11925
|
default: vue.withCtx(() => [
|
|
11919
11926
|
_ctx.isActive ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
11920
11927
|
key: 0,
|
|
11921
|
-
class: vue.normalizeClass(["dialog modal is-active", _ctx.dialogClass]),
|
|
11928
|
+
class: vue.normalizeClass(["dialog modal is-active", [_ctx.dialogClass, _ctx.customClass]]),
|
|
11922
11929
|
role: _ctx.ariaRole,
|
|
11923
11930
|
"aria-modal": _ctx.ariaModal
|
|
11924
11931
|
}, [
|
|
@@ -11926,116 +11933,124 @@
|
|
|
11926
11933
|
class: "modal-background",
|
|
11927
11934
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.cancel("outside"))
|
|
11928
11935
|
}),
|
|
11929
|
-
vue.createElementVNode(
|
|
11930
|
-
|
|
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),
|
|
11931
11951
|
vue.createElementVNode(
|
|
11932
|
-
"
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
vue.
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
|
|
11953
|
-
|
|
11954
|
-
|
|
11955
|
-
|
|
11956
|
-
|
|
11957
|
-
|
|
11958
|
-
|
|
11959
|
-
{ key: 1 },
|
|
11960
|
-
[
|
|
11961
|
-
vue.createCommentVNode(" eslint-disable-next-line vue/no-v-html "),
|
|
11962
|
-
vue.createElementVNode("div", { innerHTML: _ctx.message }, null, 8, _hoisted_8$4)
|
|
11963
|
-
],
|
|
11964
|
-
64
|
|
11965
|
-
/* STABLE_FRAGMENT */
|
|
11966
|
-
))
|
|
11967
|
-
]),
|
|
11968
|
-
_ctx.hasInput ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$3, [
|
|
11969
|
-
vue.createElementVNode("div", _hoisted_10$2, [
|
|
11970
|
-
vue.withDirectives(vue.createElementVNode(
|
|
11971
|
-
"input",
|
|
11972
|
-
vue.mergeProps({
|
|
11973
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.prompt = $event),
|
|
11974
|
-
class: ["input", { "is-danger": _ctx.validationMessage }],
|
|
11975
|
-
ref: "input"
|
|
11976
|
-
}, _ctx.safeInputAttrs, {
|
|
11977
|
-
onCompositionstart: _cache[2] || (_cache[2] = ($event) => _ctx.isCompositing = true),
|
|
11978
|
-
onCompositionend: _cache[3] || (_cache[3] = ($event) => _ctx.isCompositing = false),
|
|
11979
|
-
onKeydown: _cache[4] || (_cache[4] = vue.withKeys((...args) => _ctx.confirm && _ctx.confirm(...args), ["enter"]))
|
|
11980
|
-
}),
|
|
11981
|
-
null,
|
|
11982
|
-
16
|
|
11983
|
-
/* FULL_PROPS */
|
|
11984
|
-
), [
|
|
11985
|
-
[vue.vModelDynamic, _ctx.prompt]
|
|
11986
|
-
])
|
|
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
|
+
))
|
|
11987
11979
|
]),
|
|
11988
|
-
vue.
|
|
11989
|
-
"
|
|
11990
|
-
|
|
11991
|
-
|
|
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),
|
|
11992
12025
|
1
|
|
11993
12026
|
/* TEXT */
|
|
11994
12027
|
)
|
|
11995
|
-
])
|
|
11996
|
-
|
|
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"])
|
|
11997
12048
|
])
|
|
11998
|
-
],
|
|
11999
|
-
2
|
|
12000
|
-
/* CLASS */
|
|
12001
|
-
),
|
|
12002
|
-
vue.createElementVNode("footer", _hoisted_12$2, [
|
|
12003
|
-
vue.createElementVNode("div", _hoisted_13$1, [
|
|
12004
|
-
_ctx.showCancel ? (vue.openBlock(), vue.createBlock(_component_b_button, {
|
|
12005
|
-
key: 0,
|
|
12006
|
-
ref: "cancelButton",
|
|
12007
|
-
disabled: _ctx.isLoading,
|
|
12008
|
-
onClick: _cache[5] || (_cache[5] = ($event) => _ctx.cancel("button"))
|
|
12009
|
-
}, {
|
|
12010
|
-
default: vue.withCtx(() => [
|
|
12011
|
-
vue.createTextVNode(
|
|
12012
|
-
vue.toDisplayString(_ctx.cancelText),
|
|
12013
|
-
1
|
|
12014
|
-
/* TEXT */
|
|
12015
|
-
)
|
|
12016
|
-
]),
|
|
12017
|
-
_: 1
|
|
12018
|
-
/* STABLE */
|
|
12019
|
-
}, 8, ["disabled"])) : vue.createCommentVNode("v-if", true),
|
|
12020
|
-
vue.createVNode(_component_b_button, {
|
|
12021
|
-
type: _ctx.type,
|
|
12022
|
-
ref: "confirmButton",
|
|
12023
|
-
loading: _ctx.isLoading,
|
|
12024
|
-
onClick: _ctx.confirm
|
|
12025
|
-
}, {
|
|
12026
|
-
default: vue.withCtx(() => [
|
|
12027
|
-
vue.createTextVNode(
|
|
12028
|
-
vue.toDisplayString(_ctx.confirmText),
|
|
12029
|
-
1
|
|
12030
|
-
/* TEXT */
|
|
12031
|
-
)
|
|
12032
|
-
]),
|
|
12033
|
-
_: 1
|
|
12034
|
-
/* STABLE */
|
|
12035
|
-
}, 8, ["type", "loading", "onClick"])
|
|
12036
12049
|
])
|
|
12037
|
-
]
|
|
12038
|
-
|
|
12050
|
+
],
|
|
12051
|
+
2
|
|
12052
|
+
/* CLASS */
|
|
12053
|
+
)
|
|
12039
12054
|
], 10, _hoisted_1$t)), [
|
|
12040
12055
|
[_directive_trap_focus, _ctx.trapFocus]
|
|
12041
12056
|
]) : vue.createCommentVNode("v-if", true)
|