vuetify3-dialog
Advanced tools
Comparing version
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, ref, watch, isRef, createCommentVNode, createApp, resolveDynamicComponent } from 'vue'; | ||
import { VCard, VCardTitle, VIcon, VCardText, VCardActions, VBtn, VBottomSheet, VList, VListItem, VDialog, VSnackbar } from 'vuetify/lib/components/index.mjs'; | ||
import { VCard, VCardTitle, VIcon, VCardText, VCardActions, VBtn, VBottomSheet, VList, VListItem, VDialog, VLayout, VSnackbar } from 'vuetify/lib/components/index.mjs'; | ||
@@ -552,18 +552,23 @@ class Notifier { | ||
return (_ctx, _cache) => { | ||
return (openBlock(), createBlock(unref(VSnackbar), mergeProps({ class: "vuetify3-dialog-snackbar" }, __props.notifyOptions, { | ||
modelValue: unref(showSnackbar), | ||
"onUpdate:modelValue": [ | ||
_cache[0] || (_cache[0] = ($event) => (isRef(showSnackbar) ? (showSnackbar).value = $event : showSnackbar = $event)), | ||
_cache[1] || (_cache[1] = ($event) => (close())) | ||
], | ||
color: __props.level, | ||
location: __props.location, | ||
"location-strategy": "static", | ||
dark: __props.level === 'warning' || __props.level === 'error' | ||
}), { | ||
return (openBlock(), createBlock(unref(VLayout), null, { | ||
default: withCtx(() => [ | ||
createTextVNode(toDisplayString(__props.text), 1 /* TEXT */) | ||
createVNode(unref(VSnackbar), mergeProps({ class: "vuetify3-dialog-snackbar" }, __props.notifyOptions, { | ||
modelValue: unref(showSnackbar), | ||
"onUpdate:modelValue": [ | ||
_cache[0] || (_cache[0] = ($event) => (isRef(showSnackbar) ? (showSnackbar).value = $event : showSnackbar = $event)), | ||
_cache[1] || (_cache[1] = ($event) => (close())) | ||
], | ||
color: __props.level, | ||
location: __props.location, | ||
"location-strategy": "static", | ||
dark: __props.level === 'warning' || __props.level === 'error' | ||
}), { | ||
default: withCtx(() => [ | ||
createTextVNode(toDisplayString(__props.text), 1 /* TEXT */) | ||
]), | ||
_: 1 /* STABLE */ | ||
}, 16 /* FULL_PROPS */, ["modelValue", "color", "location", "dark"]) | ||
]), | ||
_: 1 /* STABLE */ | ||
}, 16 /* FULL_PROPS */, ["modelValue", "color", "location", "dark"])); | ||
})); | ||
}; | ||
@@ -570,0 +575,0 @@ } |
{ | ||
"name": "vuetify3-dialog", | ||
"version": "1.4.6", | ||
"version": "1.4.7", | ||
"description": "Vue 3 & Vuetify 3 plugin to create dialogs, toasts and bottom-sheets with Promises.", | ||
@@ -65,3 +65,3 @@ "keywords": [ | ||
"vue-template-compiler": "^2.7.14", | ||
"vuetify": "^3.4.0" | ||
"vuetify": "^3.5.17" | ||
}, | ||
@@ -68,0 +68,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
75292
0.5%775
0.65%