buefy 3.0.3 → 3.0.5
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 +212 -133
- package/dist/buefy.esm.js +138 -122
- package/dist/buefy.esm.min.js +2 -2
- package/dist/buefy.js +137 -121
- package/dist/buefy.min.js +2 -2
- package/dist/cjs/{Datepicker-B-9ReBe6.js → Datepicker-DhsJpauU.js} +2 -2
- package/dist/cjs/{Dropdown-DtpKU9qf.js → Dropdown-BAXMPUCZ.js} +1 -0
- package/dist/cjs/{DropdownItem-IMOKyRGV.js → DropdownItem-BOAAPdrW.js} +1 -1
- package/dist/cjs/{Timepicker-CDZ3V-2J.js → Timepicker-DDYkLeNV.js} +2 -2
- package/dist/cjs/carousel.js +1 -1
- package/dist/cjs/clockpicker.js +1 -1
- package/dist/cjs/colorpicker.js +3 -3
- package/dist/cjs/datepicker.js +3 -3
- package/dist/cjs/datetimepicker.js +4 -4
- package/dist/cjs/dialog.js +131 -116
- package/dist/cjs/dropdown.js +2 -2
- package/dist/cjs/{index-SLOXD6k3.js → index-BkFyTNWp.js} +3 -3
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/timepicker.js +3 -3
- 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 +2 -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 +2 -1
- 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 +3 -2
- package/dist/components/colorpicker/index.min.js +2 -2
- package/dist/components/datepicker/index.js +2 -1
- package/dist/components/datepicker/index.min.js +2 -2
- package/dist/components/datetimepicker/index.js +2 -1
- package/dist/components/datetimepicker/index.min.js +2 -2
- package/dist/components/dialog/index.js +132 -117
- package/dist/components/dialog/index.min.js +2 -2
- package/dist/components/dropdown/index.js +2 -1
- package/dist/components/dropdown/index.min.js +2 -2
- 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 +2 -1
- 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 +69 -59
- package/dist/css/buefy.css.map +1 -1
- package/dist/css/buefy.min.css +1 -1
- package/dist/css/versions/buefy-no-reset.css +69 -59
- 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 +170 -54
- package/dist/css/versions/buefy-standalone.css.map +1 -1
- package/dist/css/versions/buefy-standalone.min.css +1 -1
- package/dist/esm/{Autocomplete-CZ8DmXsB.js → Autocomplete-HsHD-6pc.js} +2 -2
- package/dist/esm/{Button-DyUYShTZ.js → Button-Bvib75up.js} +2 -2
- package/dist/esm/{Checkbox-KUMz0sfA.js → Checkbox-u861Rije.js} +1 -1
- package/dist/esm/{Datepicker-Bl8Wfdkn.js → Datepicker-BZ5ORu0F.js} +7 -7
- package/dist/esm/{Dropdown-CGTYVyoL.js → Dropdown-BLadix4L.js} +2 -1
- package/dist/esm/{DropdownItem-Cn3nM0A3.js → DropdownItem-Crhb4RQp.js} +2 -2
- package/dist/esm/{Field-B7bX_uUg.js → Field-DZCOQuRO.js} +1 -1
- package/dist/esm/{Icon-DPyGDeRK.js → Icon-iqPKMem5.js} +1 -1
- package/dist/esm/{Image-DhX-4hlV.js → Image-By9o7ryD.js} +1 -1
- package/dist/esm/{Input-C4L520az.js → Input-JL4LWKyL.js} +2 -2
- package/dist/esm/{Loading-tuQoo6TU.js → Loading-BSqhV1Gi.js} +1 -1
- package/dist/esm/{Modal-EiR_KNGZ.js → Modal-BF2kchNd.js} +1 -1
- package/dist/esm/{Pagination-B-LAJQay.js → Pagination-BWFVCGiz.js} +2 -2
- package/dist/esm/{Progress-BPGTVZgr.js → Progress-BxT2PFEw.js} +1 -1
- package/dist/esm/{Select-bl4qUzij.js → Select-dYTVc9W4.js} +2 -2
- package/dist/esm/{TabbedChildMixin-C4i6WP9j.js → TabbedChildMixin-BsuDQmWE.js} +1 -1
- package/dist/esm/{Tag-jS5Bcj6N.js → Tag-BFgiw0Ac.js} +2 -2
- package/dist/esm/{Timepicker-DnkqnOBT.js → Timepicker-CYqyLHE9.js} +6 -6
- package/dist/esm/{Tooltip-CtDSXAqa.js → Tooltip-Ds5fe3ZP.js} +1 -1
- package/dist/esm/autocomplete.js +3 -3
- package/dist/esm/breadcrumb.js +1 -1
- package/dist/esm/button.js +2 -2
- package/dist/esm/carousel.js +4 -4
- package/dist/esm/checkbox.js +2 -2
- package/dist/esm/clockpicker.js +4 -4
- package/dist/esm/colorpicker.js +8 -8
- package/dist/esm/datepicker.js +7 -7
- package/dist/esm/datetimepicker.js +9 -9
- package/dist/esm/dialog.js +135 -120
- package/dist/esm/dropdown.js +2 -2
- 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-BE58-KfV.js → index-mnzTDKh9.js} +9 -9
- package/dist/esm/index.js +21 -21
- package/dist/esm/input.js +2 -2
- package/dist/esm/loading.js +1 -1
- package/dist/esm/menu.js +2 -2
- package/dist/esm/message.js +3 -3
- package/dist/esm/modal.js +1 -1
- package/dist/esm/navbar.js +1 -1
- package/dist/esm/notification.js +3 -3
- package/dist/esm/numberinput.js +3 -3
- package/dist/esm/pagination.js +2 -2
- package/dist/esm/progress.js +2 -2
- package/dist/esm/radio.js +1 -1
- package/dist/esm/rate.js +2 -2
- package/dist/esm/select.js +2 -2
- package/dist/esm/sidebar.js +1 -1
- package/dist/esm/slider.js +2 -2
- package/dist/esm/snackbar.js +1 -1
- package/dist/esm/steps.js +3 -3
- package/dist/esm/switch.js +1 -1
- package/dist/esm/table.js +7 -7
- package/dist/esm/tabs.js +3 -3
- package/dist/esm/tag.js +3 -3
- package/dist/esm/taginput.js +5 -5
- package/dist/esm/timepicker.js +7 -7
- package/dist/esm/toast.js +1 -1
- package/dist/esm/tooltip.js +1 -1
- package/dist/esm/upload.js +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +3 -3
- package/src/components/carousel/CarouselList.vue +1 -1
- package/src/components/carousel/__snapshots__/CarouselList.spec.ts.snap +1 -1
- package/src/components/checkbox/Checkbox.spec.ts +36 -2
- package/src/components/dialog/Dialog.vue +10 -2
- package/src/components/dropdown/Dropdown.spec.ts +15 -0
- package/src/components/dropdown/Dropdown.vue +5 -0
- package/src/scss/components/_checkbox.scss +10 -11
- 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.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! Buefy v3.0.
|
|
2
|
-
import { Fragment, Comment, Text, Static, inject, defineComponent, h, resolveComponent,
|
|
1
|
+
/*! Buefy v3.0.5 | MIT License | github.com/buefy/buefy */
|
|
2
|
+
import { Fragment, Comment, Text, Static, inject, defineComponent, h, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createBlock, withCtx, createVNode, renderList, resolveDynamicComponent, mergeProps, withDirectives, vModelDynamic, vModelText, withKeys, withModifiers, Transition, createElementVNode, normalizeStyle, vShow, normalizeProps, guardReactiveProps, vModelCheckbox, resolveDirective, createSlots, vModelSelect, toHandlers, createApp, vModelRadio, toHandlerKey, camelize, toRaw } from 'vue';
|
|
3
3
|
|
|
4
4
|
var __defProp$d = Object.defineProperty;
|
|
5
5
|
var __pow = Math.pow;
|
|
@@ -4186,7 +4186,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4186
4186
|
return openBlock(), createElementBlock(
|
|
4187
4187
|
"div",
|
|
4188
4188
|
{
|
|
4189
|
-
class: normalizeClass(["carousel-list", { "has-shadow": _ctx.scrollIndex > 0 }]),
|
|
4189
|
+
class: normalizeClass(["carousel carousel-list", { "has-shadow": _ctx.scrollIndex > 0 }]),
|
|
4190
4190
|
onMousedown: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.dragStart && _ctx.dragStart(...args), ["prevent"])),
|
|
4191
4191
|
onTouchstart: _cache[1] || (_cache[1] = (...args) => _ctx.dragStart && _ctx.dragStart(...args))
|
|
4192
4192
|
},
|
|
@@ -4993,6 +4993,7 @@ var _sfc_main$E = defineComponent({
|
|
|
4993
4993
|
if (typeof window !== "undefined") {
|
|
4994
4994
|
document.removeEventListener("click", this.clickedOutside);
|
|
4995
4995
|
document.removeEventListener("keyup", this.keyPress);
|
|
4996
|
+
document.documentElement.classList.remove("is-clipped-touch");
|
|
4996
4997
|
}
|
|
4997
4998
|
if (this.appendToBody) {
|
|
4998
4999
|
removeElement(this.$data._bodyEl);
|
|
@@ -6565,7 +6566,7 @@ var _sfc_main$A = defineComponent({
|
|
|
6565
6566
|
const { size, thickness } = this;
|
|
6566
6567
|
const radius = size - 4;
|
|
6567
6568
|
const thicknessRadius = (radius - 2 * thickness) / 2;
|
|
6568
|
-
return `M0 ${-thicknessRadius}L${cos30 * thicknessRadius} ${sin30 * thicknessRadius}H${
|
|
6569
|
+
return `M0 ${-thicknessRadius}L${cos30 * thicknessRadius} ${sin30 * thicknessRadius}H${-cos30 * thicknessRadius}z`;
|
|
6569
6570
|
}
|
|
6570
6571
|
},
|
|
6571
6572
|
watch: {
|
|
@@ -6845,7 +6846,7 @@ const _hoisted_9$4 = ["id"];
|
|
|
6845
6846
|
const _hoisted_10$3 = ["d"];
|
|
6846
6847
|
const _hoisted_11$3 = { class: "colorpicker-triangle-slider-hue" };
|
|
6847
6848
|
const _hoisted_12$3 = ["width", "height", "clip-path"];
|
|
6848
|
-
const _hoisted_13$
|
|
6849
|
+
const _hoisted_13$1 = ["x", "height"];
|
|
6849
6850
|
const _hoisted_14$1 = ["aria-valuenow"];
|
|
6850
6851
|
const _hoisted_15$1 = ["d", "fill"];
|
|
6851
6852
|
const _hoisted_16$1 = ["d", "fill"];
|
|
@@ -6936,7 +6937,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6936
6937
|
onMousedown: _cache[5] || (_cache[5] = withModifiers((...args) => _ctx.startMouseCapture && _ctx.startMouseCapture(...args), ["prevent"])),
|
|
6937
6938
|
onTouchstart: _cache[6] || (_cache[6] = withModifiers((...args) => _ctx.startMouseCapture && _ctx.startMouseCapture(...args), ["prevent"]))
|
|
6938
6939
|
}, null, 44, _hoisted_14$1)
|
|
6939
|
-
], 8, _hoisted_13$
|
|
6940
|
+
], 8, _hoisted_13$1))
|
|
6940
6941
|
],
|
|
6941
6942
|
4
|
|
6942
6943
|
/* STYLE */
|
|
@@ -11715,6 +11716,14 @@ const Dialog$1 = defineComponent({
|
|
|
11715
11716
|
},
|
|
11716
11717
|
extends: Modal,
|
|
11717
11718
|
props: {
|
|
11719
|
+
customClass: {
|
|
11720
|
+
type: String,
|
|
11721
|
+
default: ""
|
|
11722
|
+
},
|
|
11723
|
+
customContentClass: {
|
|
11724
|
+
type: String,
|
|
11725
|
+
default: ""
|
|
11726
|
+
},
|
|
11718
11727
|
title: String,
|
|
11719
11728
|
message: [String, Array],
|
|
11720
11729
|
icon: String,
|
|
@@ -11885,27 +11894,26 @@ const Dialog$1 = defineComponent({
|
|
|
11885
11894
|
});
|
|
11886
11895
|
|
|
11887
11896
|
const _hoisted_1$t = ["role", "aria-modal"];
|
|
11888
|
-
const _hoisted_2$o = {
|
|
11889
|
-
const _hoisted_3$d = {
|
|
11897
|
+
const _hoisted_2$o = {
|
|
11890
11898
|
key: 0,
|
|
11891
11899
|
class: "modal-card-head"
|
|
11892
11900
|
};
|
|
11893
|
-
const
|
|
11894
|
-
const
|
|
11895
|
-
const
|
|
11901
|
+
const _hoisted_3$d = { class: "modal-card-title" };
|
|
11902
|
+
const _hoisted_4$9 = { class: "media" };
|
|
11903
|
+
const _hoisted_5$7 = {
|
|
11896
11904
|
key: 0,
|
|
11897
11905
|
class: "media-left"
|
|
11898
11906
|
};
|
|
11899
|
-
const
|
|
11900
|
-
const
|
|
11901
|
-
const
|
|
11907
|
+
const _hoisted_6$5 = { class: "media-content" };
|
|
11908
|
+
const _hoisted_7$4 = ["innerHTML"];
|
|
11909
|
+
const _hoisted_8$4 = {
|
|
11902
11910
|
key: 0,
|
|
11903
11911
|
class: "field"
|
|
11904
11912
|
};
|
|
11905
|
-
const
|
|
11906
|
-
const
|
|
11907
|
-
const
|
|
11908
|
-
const
|
|
11913
|
+
const _hoisted_9$3 = { class: "control" };
|
|
11914
|
+
const _hoisted_10$2 = { class: "help is-danger" };
|
|
11915
|
+
const _hoisted_11$2 = { class: "modal-card-foot" };
|
|
11916
|
+
const _hoisted_12$2 = { class: "buttons" };
|
|
11909
11917
|
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11910
11918
|
const _component_b_icon = resolveComponent("b-icon");
|
|
11911
11919
|
const _component_b_button = resolveComponent("b-button");
|
|
@@ -11914,7 +11922,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11914
11922
|
default: withCtx(() => [
|
|
11915
11923
|
_ctx.isActive ? withDirectives((openBlock(), createElementBlock("div", {
|
|
11916
11924
|
key: 0,
|
|
11917
|
-
class: normalizeClass(["dialog modal is-active", _ctx.dialogClass]),
|
|
11925
|
+
class: normalizeClass(["dialog modal is-active", [_ctx.dialogClass, _ctx.customClass]]),
|
|
11918
11926
|
role: _ctx.ariaRole,
|
|
11919
11927
|
"aria-modal": _ctx.ariaModal
|
|
11920
11928
|
}, [
|
|
@@ -11922,116 +11930,124 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11922
11930
|
class: "modal-background",
|
|
11923
11931
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.cancel("outside"))
|
|
11924
11932
|
}),
|
|
11925
|
-
createElementVNode(
|
|
11926
|
-
|
|
11933
|
+
createElementVNode(
|
|
11934
|
+
"div",
|
|
11935
|
+
{
|
|
11936
|
+
class: normalizeClass(["modal-card animation-content", _ctx.customContentClass])
|
|
11937
|
+
},
|
|
11938
|
+
[
|
|
11939
|
+
_ctx.title ? (openBlock(), createElementBlock("header", _hoisted_2$o, [
|
|
11940
|
+
createElementVNode(
|
|
11941
|
+
"p",
|
|
11942
|
+
_hoisted_3$d,
|
|
11943
|
+
toDisplayString(_ctx.title),
|
|
11944
|
+
1
|
|
11945
|
+
/* TEXT */
|
|
11946
|
+
)
|
|
11947
|
+
])) : createCommentVNode("v-if", true),
|
|
11927
11948
|
createElementVNode(
|
|
11928
|
-
"
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
|
|
11953
|
-
|
|
11954
|
-
|
|
11955
|
-
{ key: 1 },
|
|
11956
|
-
[
|
|
11957
|
-
createCommentVNode(" eslint-disable-next-line vue/no-v-html "),
|
|
11958
|
-
createElementVNode("div", { innerHTML: _ctx.message }, null, 8, _hoisted_8$4)
|
|
11959
|
-
],
|
|
11960
|
-
64
|
|
11961
|
-
/* STABLE_FRAGMENT */
|
|
11962
|
-
))
|
|
11963
|
-
]),
|
|
11964
|
-
_ctx.hasInput ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
11965
|
-
createElementVNode("div", _hoisted_10$2, [
|
|
11966
|
-
withDirectives(createElementVNode(
|
|
11967
|
-
"input",
|
|
11968
|
-
mergeProps({
|
|
11969
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.prompt = $event),
|
|
11970
|
-
class: ["input", { "is-danger": _ctx.validationMessage }],
|
|
11971
|
-
ref: "input"
|
|
11972
|
-
}, _ctx.safeInputAttrs, {
|
|
11973
|
-
onCompositionstart: _cache[2] || (_cache[2] = ($event) => _ctx.isCompositing = true),
|
|
11974
|
-
onCompositionend: _cache[3] || (_cache[3] = ($event) => _ctx.isCompositing = false),
|
|
11975
|
-
onKeydown: _cache[4] || (_cache[4] = withKeys((...args) => _ctx.confirm && _ctx.confirm(...args), ["enter"]))
|
|
11976
|
-
}),
|
|
11977
|
-
null,
|
|
11978
|
-
16
|
|
11979
|
-
/* FULL_PROPS */
|
|
11980
|
-
), [
|
|
11981
|
-
[vModelDynamic, _ctx.prompt]
|
|
11982
|
-
])
|
|
11949
|
+
"section",
|
|
11950
|
+
{
|
|
11951
|
+
class: normalizeClass(["modal-card-body", { "is-titleless": !_ctx.title, "is-flex": _ctx.hasIcon }])
|
|
11952
|
+
},
|
|
11953
|
+
[
|
|
11954
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
11955
|
+
_ctx.hasIcon && (_ctx.icon || _ctx.iconByType) ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
|
|
11956
|
+
createVNode(_component_b_icon, {
|
|
11957
|
+
icon: _ctx.icon ? _ctx.icon : _ctx.iconByType,
|
|
11958
|
+
pack: _ctx.iconPack,
|
|
11959
|
+
type: _ctx.type,
|
|
11960
|
+
both: !_ctx.icon,
|
|
11961
|
+
size: "is-large"
|
|
11962
|
+
}, null, 8, ["icon", "pack", "type", "both"])
|
|
11963
|
+
])) : createCommentVNode("v-if", true),
|
|
11964
|
+
createElementVNode("div", _hoisted_6$5, [
|
|
11965
|
+
createElementVNode("p", null, [
|
|
11966
|
+
_ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createElementBlock(
|
|
11967
|
+
Fragment,
|
|
11968
|
+
{ key: 1 },
|
|
11969
|
+
[
|
|
11970
|
+
createCommentVNode(" eslint-disable-next-line vue/no-v-html "),
|
|
11971
|
+
createElementVNode("div", { innerHTML: _ctx.message }, null, 8, _hoisted_7$4)
|
|
11972
|
+
],
|
|
11973
|
+
64
|
|
11974
|
+
/* STABLE_FRAGMENT */
|
|
11975
|
+
))
|
|
11983
11976
|
]),
|
|
11984
|
-
|
|
11985
|
-
"
|
|
11986
|
-
|
|
11987
|
-
|
|
11977
|
+
_ctx.hasInput ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
|
|
11978
|
+
createElementVNode("div", _hoisted_9$3, [
|
|
11979
|
+
withDirectives(createElementVNode(
|
|
11980
|
+
"input",
|
|
11981
|
+
mergeProps({
|
|
11982
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.prompt = $event),
|
|
11983
|
+
class: ["input", { "is-danger": _ctx.validationMessage }],
|
|
11984
|
+
ref: "input"
|
|
11985
|
+
}, _ctx.safeInputAttrs, {
|
|
11986
|
+
onCompositionstart: _cache[2] || (_cache[2] = ($event) => _ctx.isCompositing = true),
|
|
11987
|
+
onCompositionend: _cache[3] || (_cache[3] = ($event) => _ctx.isCompositing = false),
|
|
11988
|
+
onKeydown: _cache[4] || (_cache[4] = withKeys((...args) => _ctx.confirm && _ctx.confirm(...args), ["enter"]))
|
|
11989
|
+
}),
|
|
11990
|
+
null,
|
|
11991
|
+
16
|
|
11992
|
+
/* FULL_PROPS */
|
|
11993
|
+
), [
|
|
11994
|
+
[vModelDynamic, _ctx.prompt]
|
|
11995
|
+
])
|
|
11996
|
+
]),
|
|
11997
|
+
createElementVNode(
|
|
11998
|
+
"p",
|
|
11999
|
+
_hoisted_10$2,
|
|
12000
|
+
toDisplayString(_ctx.validationMessage),
|
|
12001
|
+
1
|
|
12002
|
+
/* TEXT */
|
|
12003
|
+
)
|
|
12004
|
+
])) : createCommentVNode("v-if", true)
|
|
12005
|
+
])
|
|
12006
|
+
])
|
|
12007
|
+
],
|
|
12008
|
+
2
|
|
12009
|
+
/* CLASS */
|
|
12010
|
+
),
|
|
12011
|
+
createElementVNode("footer", _hoisted_11$2, [
|
|
12012
|
+
createElementVNode("div", _hoisted_12$2, [
|
|
12013
|
+
_ctx.showCancel ? (openBlock(), createBlock(_component_b_button, {
|
|
12014
|
+
key: 0,
|
|
12015
|
+
ref: "cancelButton",
|
|
12016
|
+
disabled: _ctx.isLoading,
|
|
12017
|
+
onClick: _cache[5] || (_cache[5] = ($event) => _ctx.cancel("button"))
|
|
12018
|
+
}, {
|
|
12019
|
+
default: withCtx(() => [
|
|
12020
|
+
createTextVNode(
|
|
12021
|
+
toDisplayString(_ctx.cancelText),
|
|
11988
12022
|
1
|
|
11989
12023
|
/* TEXT */
|
|
11990
12024
|
)
|
|
11991
|
-
])
|
|
11992
|
-
|
|
12025
|
+
]),
|
|
12026
|
+
_: 1
|
|
12027
|
+
/* STABLE */
|
|
12028
|
+
}, 8, ["disabled"])) : createCommentVNode("v-if", true),
|
|
12029
|
+
createVNode(_component_b_button, {
|
|
12030
|
+
type: _ctx.type,
|
|
12031
|
+
ref: "confirmButton",
|
|
12032
|
+
loading: _ctx.isLoading,
|
|
12033
|
+
onClick: _ctx.confirm
|
|
12034
|
+
}, {
|
|
12035
|
+
default: withCtx(() => [
|
|
12036
|
+
createTextVNode(
|
|
12037
|
+
toDisplayString(_ctx.confirmText),
|
|
12038
|
+
1
|
|
12039
|
+
/* TEXT */
|
|
12040
|
+
)
|
|
12041
|
+
]),
|
|
12042
|
+
_: 1
|
|
12043
|
+
/* STABLE */
|
|
12044
|
+
}, 8, ["type", "loading", "onClick"])
|
|
11993
12045
|
])
|
|
11994
|
-
],
|
|
11995
|
-
2
|
|
11996
|
-
/* CLASS */
|
|
11997
|
-
),
|
|
11998
|
-
createElementVNode("footer", _hoisted_12$2, [
|
|
11999
|
-
createElementVNode("div", _hoisted_13$1, [
|
|
12000
|
-
_ctx.showCancel ? (openBlock(), createBlock(_component_b_button, {
|
|
12001
|
-
key: 0,
|
|
12002
|
-
ref: "cancelButton",
|
|
12003
|
-
disabled: _ctx.isLoading,
|
|
12004
|
-
onClick: _cache[5] || (_cache[5] = ($event) => _ctx.cancel("button"))
|
|
12005
|
-
}, {
|
|
12006
|
-
default: withCtx(() => [
|
|
12007
|
-
createTextVNode(
|
|
12008
|
-
toDisplayString(_ctx.cancelText),
|
|
12009
|
-
1
|
|
12010
|
-
/* TEXT */
|
|
12011
|
-
)
|
|
12012
|
-
]),
|
|
12013
|
-
_: 1
|
|
12014
|
-
/* STABLE */
|
|
12015
|
-
}, 8, ["disabled"])) : createCommentVNode("v-if", true),
|
|
12016
|
-
createVNode(_component_b_button, {
|
|
12017
|
-
type: _ctx.type,
|
|
12018
|
-
ref: "confirmButton",
|
|
12019
|
-
loading: _ctx.isLoading,
|
|
12020
|
-
onClick: _ctx.confirm
|
|
12021
|
-
}, {
|
|
12022
|
-
default: withCtx(() => [
|
|
12023
|
-
createTextVNode(
|
|
12024
|
-
toDisplayString(_ctx.confirmText),
|
|
12025
|
-
1
|
|
12026
|
-
/* TEXT */
|
|
12027
|
-
)
|
|
12028
|
-
]),
|
|
12029
|
-
_: 1
|
|
12030
|
-
/* STABLE */
|
|
12031
|
-
}, 8, ["type", "loading", "onClick"])
|
|
12032
12046
|
])
|
|
12033
|
-
]
|
|
12034
|
-
|
|
12047
|
+
],
|
|
12048
|
+
2
|
|
12049
|
+
/* CLASS */
|
|
12050
|
+
)
|
|
12035
12051
|
], 10, _hoisted_1$t)), [
|
|
12036
12052
|
[_directive_trap_focus, _ctx.trapFocus]
|
|
12037
12053
|
]) : createCommentVNode("v-if", true)
|