PluginProbe
Hostinger Tools / 3.0.61
Hostinger Tools v3.0.61
3.0.77 3.0.76 3.0.75 3.0.74 3.0.73 3.0.72 3.0.71 3.0.70 3.0.69 3.0.68 3.0.67 3.0.66 1.8.1 1.8.2 1.8.3 1.9.1 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.4 All 108 releases
hostinger / vue-frontend / src / components / Modals / XmlSecurityModal.vue

XmlSecurityModal.vue in Hostinger Tools 3.0.61, at vue-frontend/src/components/Modals/XmlSecurityModal.vue

53 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <script lang="ts" setup>
2 import Button from "@/components/Button/Button.vue";
3 import BaseModal from "@/components/Modals/Base/BaseModal.vue";
4 import { useModal } from "@/composables";
5 import { translate } from "@/utils/helpers";
6
7 interface Props {
8 data: {
9 onConfirm: () => void;
10 };
11 }
12
13 const props = defineProps<Props>();
14
15 const { closeModal } = useModal();
16
17 const onProceed = () => {
18 if (props.data.onConfirm) props.data.onConfirm();
19
20 closeModal();
21 };
22 </script>
23
24 <template>
25 <BaseModal
26 :title-icon="{
27 name: 'icon-info',
28 color: 'danger',
29 }"
30 :title="translate('xml_security_modal_title')"
31 >
32 <p class="h-mb-24 text-gray">
33 {{ translate("xml_security_modal_description") }}
34 </p>
35 <div class="d-flex justify-content-end">
36 <Button
37 color="danger"
38 variant="text"
39 class="h-mr-16"
40 @click="closeModal"
41 >
42 {{ translate("xml_security_modal_cancel") }}
43 </Button>
44 <Button
45 color="danger"
46 @click="onProceed"
47 >
48 {{ translate("xml_security_modal_proceed_anyway") }}
49 </Button>
50 </div>
51 </BaseModal>
52 </template>
53