New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →

vuetify3-dialog

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuetify3-dialog - npm Package Compare versions

Comparing version

to
1.4.6

@@ -33,2 +33,3 @@ import type { App, Component, Plugin } from 'vue';

title?: string;
icon?: string;
cardOptions?: VCard['$props'];

@@ -41,2 +42,3 @@ buttonOptions?: DialogButton;

text: string;
icon?: string;
level?: Level;

@@ -54,2 +56,3 @@ cancelText?: string;

buttons?: DialogButton[];
icon?: string;
level?: Level;

@@ -56,0 +59,0 @@ customComponent?: ComponentOptions;

@@ -73,2 +73,4 @@ import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, ref, watch, isRef, createCommentVNode, createApp, resolveDynamicComponent } from 'vue';

const _icon = computed(() => {
if (props.icon)
return props.icon;
switch (props.level) {

@@ -419,2 +421,3 @@ case 'info':

buttons: options.buttons,
icon: options.icon,
level: options.level,

@@ -448,2 +451,3 @@ customComponent: options.customComponent,

text: options.text,
icon: options.icon,
buttons: [{ key: 'ok', title: 'OK', color: 'warning', ...options.buttonOptions }],

@@ -458,2 +462,3 @@ level: 'warning',

text: options.text,
icon: options.icon,
buttons: [{ key: 'ok', title: 'OK', color: 'error', ...options.buttonOptions }],

@@ -468,2 +473,3 @@ level: 'error',

text: options.text,
icon: options.icon,
buttons: [{ key: 'ok', title: 'OK', color: 'info', ...options.buttonOptions }],

@@ -478,2 +484,3 @@ level: 'info',

text: options.text,
icon: options.icon,
buttons: [{ key: 'ok', title: 'OK', color: 'success', ...options.buttonOptions }],

@@ -497,2 +504,3 @@ level: 'success',

],
icon: options.icon,
level: options.level,

@@ -598,3 +606,6 @@ cardOptions: options.cardOptions,

try {
const potentialLocation = options.location || options.notifyOptions?.location || 'top right';
const potentialLocation = options.location ||
options.notifyOptions?.location ||
PluginContext.getPluginOptions().defaults?.notify?.location ||
'top right';
let location = potentialLocation.split(' ')[0] || 'top';

@@ -601,0 +612,0 @@ let div = document.createElement('div');

{
"name": "vuetify3-dialog",
"version": "1.4.5",
"version": "1.4.6",
"description": "Vue 3 & Vuetify 3 plugin to create dialogs, toasts and bottom-sheets with Promises.",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet