@@ -8,7 +8,7 @@ const modalStore = useModalStore();
8
8
<Teleport to =" body" >
9
9
<div v-if =" modalStore.isOpened" class =" bg-gray-900/50 dark:bg-gray-900/80 overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-full max-h-full" >
10
10
<div class =" relative p-4 w-full max-w-md max-h-full top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 " >
11
- <div class =" relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black" >
11
+ <div class =" afcl-confirmation-container relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black" >
12
12
<button type =" button" @click =" modalStore.togleModal" class =" absolute top-3 end-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white" >
13
13
<svg class =" w-3 h-3" xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 14 14" >
14
14
<path stroke =" currentColor" stroke-linecap =" round" stroke-linejoin =" round" stroke-width =" 2" d =" m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6" />
@@ -19,11 +19,11 @@ const modalStore = useModalStore();
19
19
<svg class =" mx-auto mb-4 text-gray-400 w-12 h-12 dark:text-gray-200" xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 20 20" >
20
20
<path stroke =" currentColor" stroke-linecap =" round" stroke-linejoin =" round" stroke-width =" 2" d =" M10 11V6m0 8h.01M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" />
21
21
</svg >
22
- <h3 class =" mb-5 text-lg font-normal text-gray-500 dark:text-gray-400" >{{ modalStore?.modalContent?.content }}</h3 >
23
- <button @click =" ()=>{ modalStore.onAcceptFunction(true);modalStore.togleModal()}" type =" button" class =" text-white bg-red-600 hover:bg-red-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center" >
22
+ <h3 class =" afcl-confirmation-title mb-5 text-lg font-normal text-gray-500 dark:text-gray-400" >{{ modalStore?.modalContent?.content }}</h3 >
23
+ <button @click =" ()=>{ modalStore.onAcceptFunction(true);modalStore.togleModal()}" type =" button" class =" afcl-confirmation-accept-button text-white bg-red-600 hover:bg-red-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center" >
24
24
{{ modalStore?.modalContent?.acceptText }}
25
25
</button >
26
- <button @click =" ()=>{modalStore.onAcceptFunction(false);modalStore.togleModal()}" type =" button" class =" py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-lightPrimary focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700" >{{ modalStore?.modalContent?.cancelText }}</button >
26
+ <button @click =" ()=>{modalStore.onAcceptFunction(false);modalStore.togleModal()}" type =" button" class =" afcl-confirmation-cancel-button py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-lightPrimary focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700" >{{ modalStore?.modalContent?.cancelText }}</button >
27
27
</div >
28
28
</div >
29
29
</div >
0 commit comments