Rename paths

pull/880/head
Cagatay Civici 2021-01-18 18:02:01 +03:00
parent 038b04d9bb
commit abb3a7bd8c
6 changed files with 0 additions and 56 deletions

View File

@ -1,6 +0,0 @@
{
"main": "./useconfirm.cjs.js",
"module": "./useconfirm.esm.js",
"unpkg": "./useconfirm.min.js",
"types": "./useconfirm.d.ts"
}

View File

@ -1,19 +0,0 @@
export declare function useConfirm(): {
require(args:{
message?: string;
group?: string;
icon?: string;
header?: string;
accept?: Function;
reject?: Function;
acceptLabel?: string;
rejectLabel?: string;
acceptIcon?: string;
rejectIcon?: string;
blockScroll?: boolean;
acceptClass?: string;
rejectClass?: string;
}): void
close(): void
}

View File

@ -1,12 +0,0 @@
import { inject } from 'vue';
export const PrimeVueConfirmSymbol = Symbol();
export function useConfirm() {
const PrimeVueConfirm = inject(PrimeVueConfirmSymbol);
if (!PrimeVueConfirm) {
throw new Error('No PrimeVue Confirmation provided!');
}
return PrimeVueConfirm;
}

View File

@ -1,6 +0,0 @@
{
"main": "./usetoast.cjs.js",
"module": "./usetoast.esm.js",
"unpkg": "./usetoast.min.js",
"types": "./usetoast.d.ts"
}

View File

@ -1 +0,0 @@
export declare function useToast(): { add(args:{ severity?: string, summary?: string, detail?: string, life?: number, closable?: boolean, group?: string }): void }

View File

@ -1,12 +0,0 @@
import { inject } from 'vue';
export const PrimeVueToastSymbol = Symbol();
export function useToast() {
const PrimeVueToast = inject(PrimeVueToastSymbol);
if (!PrimeVueToast) {
throw new Error('No PrimeVue Toast provided!');
}
return PrimeVueToast;
}