Skip to content

Commit f26c576

Browse files
committed
Removed Pages semicolon
1 parent 02c2721 commit f26c576

File tree

15 files changed

+164
-164
lines changed

15 files changed

+164
-164
lines changed

resources/js/Components/Admin/Pagination.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<script setup>
2-
import { Link } from '@inertiajs/inertia-vue3';
2+
import { Link } from '@inertiajs/inertia-vue3'
33
44
defineProps({
55
data: {
66
type: Object,
77
default: () => ({}),
88
},
9-
});
9+
})
1010
</script>
1111

1212
<template>

resources/js/Components/Admin/Sort.vue

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup>
2-
import { ref, computed } from "vue";
3-
import { Link } from "@inertiajs/inertia-vue3";
2+
import { ref, computed } from "vue"
3+
import { Link } from "@inertiajs/inertia-vue3"
44
55
const props = defineProps({
66
label: {
@@ -11,25 +11,25 @@ const props = defineProps({
1111
type: String,
1212
default: "",
1313
},
14-
});
14+
})
1515
16-
const downFill = ref("lightgray");
17-
const upFill = ref("lightgray");
16+
const downFill = ref("lightgray")
17+
const upFill = ref("lightgray")
1818
1919
const sortLink = computed(() => {
20-
let url = new URL(document.location);
21-
let sortValue = url.searchParams.get("sort");
20+
let url = new URL(document.location)
21+
let sortValue = url.searchParams.get("sort")
2222
2323
if (sortValue == props.attribute) {
24-
url.searchParams.set("sort", "-" + props.attribute);
25-
upFill.value = "black";
24+
url.searchParams.set("sort", "-" + props.attribute)
25+
upFill.value = "black"
2626
} else if (sortValue === "-" + props.attribute) {
27-
url.searchParams.set("sort", props.attribute);
28-
downFill.value = "black";
27+
url.searchParams.set("sort", props.attribute)
28+
downFill.value = "black"
2929
} else {
30-
url.searchParams.set("sort", props.attribute);
30+
url.searchParams.set("sort", props.attribute)
3131
}
32-
return url.href;
32+
return url.href
3333
});
3434
</script>
3535

resources/js/Pages/Admin/Permission/Create.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<script setup>
2-
import { Head, Link, useForm } from "@inertiajs/inertia-vue3";
2+
import { Head, Link, useForm } from "@inertiajs/inertia-vue3"
33
import {
44
mdiAccountKey,
55
mdiArrowLeftBoldOutline
6-
} from "@mdi/js";
7-
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue";
8-
import SectionMain from "@/Components/SectionMain.vue";
9-
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue";
10-
import CardBox from "@/Components/CardBox.vue";
11-
import FormField from '@/Components/FormField.vue';
12-
import FormControl from '@/Components/FormControl.vue';
13-
import BaseButton from '@/Components/BaseButton.vue';
6+
} from "@mdi/js"
7+
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue"
8+
import SectionMain from "@/Components/SectionMain.vue"
9+
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue"
10+
import CardBox from "@/Components/CardBox.vue"
11+
import FormField from '@/Components/FormField.vue'
12+
import FormControl from '@/Components/FormControl.vue'
13+
import BaseButton from '@/Components/BaseButton.vue'
1414
import BaseButtons from '@/Components/BaseButtons.vue'
1515
1616
const form = useForm({
1717
name: '',
18-
});
18+
})
1919
</script>
2020

2121
<template>

resources/js/Pages/Admin/Permission/Edit.vue

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
<script setup>
2-
import { Head, Link, useForm } from "@inertiajs/inertia-vue3";
2+
import { Head, Link, useForm } from "@inertiajs/inertia-vue3"
33
import {
44
mdiAccountKey,
55
mdiArrowLeftBoldOutline
6-
} from "@mdi/js";
7-
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue";
8-
import SectionMain from "@/Components/SectionMain.vue";
9-
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue";
10-
import CardBox from "@/Components/CardBox.vue";
11-
import FormField from '@/Components/FormField.vue';
12-
import FormControl from '@/Components/FormControl.vue';
13-
import BaseButton from '@/Components/BaseButton.vue';
6+
} from "@mdi/js"
7+
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue"
8+
import SectionMain from "@/Components/SectionMain.vue"
9+
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue"
10+
import CardBox from "@/Components/CardBox.vue"
11+
import FormField from '@/Components/FormField.vue'
12+
import FormControl from '@/Components/FormControl.vue'
13+
import BaseButton from '@/Components/BaseButton.vue'
1414
import BaseButtons from '@/Components/BaseButtons.vue'
1515
1616
const props = defineProps({
1717
permission: {
1818
type: Object,
1919
default: () => ({}),
2020
},
21-
});
21+
})
2222
2323
const form = useForm({
2424
_method: 'put',
2525
name: props.permission.name,
26-
});
26+
})
2727
</script>
2828

2929
<template>

resources/js/Pages/Admin/Permission/Index.vue

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<script setup>
2-
import { Head, Link, useForm } from "@inertiajs/inertia-vue3";
2+
import { Head, Link, useForm } from "@inertiajs/inertia-vue3"
33
import {
44
mdiAccountKey,
55
mdiPlus,
66
mdiSquareEditOutline,
77
mdiTrashCan,
88
mdiAlertBoxOutline,
9-
} from "@mdi/js";
10-
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue";
11-
import SectionMain from "@/Components/SectionMain.vue";
12-
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue";
13-
import BaseButton from "@/Components/BaseButton.vue";
14-
import CardBox from "@/Components/CardBox.vue";
15-
import BaseButtons from "@/Components/BaseButtons.vue";
16-
import NotificationBar from "@/Components/NotificationBar.vue";
17-
import Pagination from "@/Components/Admin/Pagination.vue";
18-
import Sort from "@/Components/Admin/Sort.vue";
9+
} from "@mdi/js"
10+
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue"
11+
import SectionMain from "@/Components/SectionMain.vue"
12+
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue"
13+
import BaseButton from "@/Components/BaseButton.vue"
14+
import CardBox from "@/Components/CardBox.vue"
15+
import BaseButtons from "@/Components/BaseButtons.vue"
16+
import NotificationBar from "@/Components/NotificationBar.vue"
17+
import Pagination from "@/Components/Admin/Pagination.vue"
18+
import Sort from "@/Components/Admin/Sort.vue"
1919
2020
const props = defineProps({
2121
permissions: {
@@ -30,17 +30,17 @@ const props = defineProps({
3030
type: Object,
3131
default: () => ({}),
3232
},
33-
});
33+
})
3434
3535
const form = useForm({
3636
search: props.filters.search,
37-
});
37+
})
3838
39-
const formDelete = useForm({});
39+
const formDelete = useForm({})
4040
4141
function destroy(id) {
4242
if (confirm("Are you sure you want to delete?")) {
43-
formDelete.delete(route("permission.destroy", id));
43+
formDelete.delete(route("permission.destroy", id))
4444
}
4545
}
4646
</script>

resources/js/Pages/Admin/Permission/Show.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<script setup>
2-
import { Head, Link, useForm } from "@inertiajs/inertia-vue3";
2+
import { Head, Link, useForm } from "@inertiajs/inertia-vue3"
33
import {
44
mdiAccountKey,
55
mdiArrowLeftBoldOutline,
6-
} from "@mdi/js";
7-
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue";
8-
import SectionMain from "@/Components/SectionMain.vue";
9-
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue";
10-
import CardBox from "@/Components/CardBox.vue";
11-
import BaseButton from "@/Components/BaseButton.vue";
6+
} from "@mdi/js"
7+
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue"
8+
import SectionMain from "@/Components/SectionMain.vue"
9+
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue"
10+
import CardBox from "@/Components/CardBox.vue"
11+
import BaseButton from "@/Components/BaseButton.vue"
1212
1313
const props = defineProps({
1414
permission: {
1515
type: Object,
1616
default: () => ({}),
1717
},
18-
});
18+
})
1919
</script>
2020

2121
<template>

resources/js/Pages/Admin/Role/Create.vue

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
<script setup>
2-
import { Head, Link, useForm } from "@inertiajs/inertia-vue3";
2+
import { Head, Link, useForm } from "@inertiajs/inertia-vue3"
33
import {
44
mdiAccountKey,
55
mdiArrowLeftBoldOutline
6-
} from "@mdi/js";
7-
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue";
8-
import SectionMain from "@/Components/SectionMain.vue";
9-
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue";
10-
import CardBox from "@/Components/CardBox.vue";
11-
import FormField from '@/Components/FormField.vue';
12-
import FormControl from '@/Components/FormControl.vue';
6+
} from "@mdi/js"
7+
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue"
8+
import SectionMain from "@/Components/SectionMain.vue"
9+
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue"
10+
import CardBox from "@/Components/CardBox.vue"
11+
import FormField from '@/Components/FormField.vue'
12+
import FormControl from '@/Components/FormControl.vue'
1313
import FormCheckRadioGroup from '@/Components/FormCheckRadioGroup.vue'
1414
import BaseDivider from '@/Components/BaseDivider.vue'
15-
import BaseButton from '@/Components/BaseButton.vue';
15+
import BaseButton from '@/Components/BaseButton.vue'
1616
import BaseButtons from '@/Components/BaseButtons.vue'
1717
1818
const props = defineProps({
1919
permissions: {
2020
type: Object,
2121
default: () => ({}),
2222
},
23-
});
23+
})
2424
2525
const form = useForm({
2626
name: '',
2727
permissions: ''
28-
});
28+
})
2929
</script>
3030

3131
<template>

resources/js/Pages/Admin/Role/Edit.vue

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<script setup>
2-
import { Head, Link, useForm } from "@inertiajs/inertia-vue3";
2+
import { Head, Link, useForm } from "@inertiajs/inertia-vue3"
33
import {
44
mdiAccountKey,
55
mdiArrowLeftBoldOutline
6-
} from "@mdi/js";
7-
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue";
8-
import SectionMain from "@/Components/SectionMain.vue";
9-
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue";
10-
import CardBox from "@/Components/CardBox.vue";
11-
import FormField from '@/Components/FormField.vue';
12-
import FormControl from '@/Components/FormControl.vue';
6+
} from "@mdi/js"
7+
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue"
8+
import SectionMain from "@/Components/SectionMain.vue"
9+
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue"
10+
import CardBox from "@/Components/CardBox.vue"
11+
import FormField from '@/Components/FormField.vue'
12+
import FormControl from '@/Components/FormControl.vue'
1313
import FormCheckRadioGroup from '@/Components/FormCheckRadioGroup.vue'
1414
import BaseDivider from '@/Components/BaseDivider.vue'
15-
import BaseButton from '@/Components/BaseButton.vue';
15+
import BaseButton from '@/Components/BaseButton.vue'
1616
import BaseButtons from '@/Components/BaseButtons.vue'
1717
1818
const props = defineProps({
@@ -28,13 +28,13 @@ const props = defineProps({
2828
type: Object,
2929
default: () => ({}),
3030
}
31-
});
31+
})
3232
3333
const form = useForm({
3434
_method: 'put',
3535
name: props.role.name,
3636
permissions: props.roleHasPermissions
37-
});
37+
})
3838
</script>
3939

4040
<template>

resources/js/Pages/Admin/Role/Index.vue

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<script setup>
2-
import { Head, Link, useForm } from "@inertiajs/inertia-vue3";
2+
import { Head, Link, useForm } from "@inertiajs/inertia-vue3"
33
import {
44
mdiAccountKey,
55
mdiPlus,
66
mdiSquareEditOutline,
77
mdiTrashCan,
88
mdiAlertBoxOutline,
9-
} from "@mdi/js";
10-
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue";
11-
import SectionMain from "@/Components/SectionMain.vue";
12-
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue";
13-
import BaseButton from "@/Components/BaseButton.vue";
14-
import CardBox from "@/Components/CardBox.vue";
15-
import BaseButtons from "@/Components/BaseButtons.vue";
16-
import NotificationBar from "@/Components/NotificationBar.vue";
17-
import Pagination from "@/Components/Admin/Pagination.vue";
18-
import Sort from "@/Components/Admin/Sort.vue";
9+
} from "@mdi/js"
10+
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue"
11+
import SectionMain from "@/Components/SectionMain.vue"
12+
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue"
13+
import BaseButton from "@/Components/BaseButton.vue"
14+
import CardBox from "@/Components/CardBox.vue"
15+
import BaseButtons from "@/Components/BaseButtons.vue"
16+
import NotificationBar from "@/Components/NotificationBar.vue"
17+
import Pagination from "@/Components/Admin/Pagination.vue"
18+
import Sort from "@/Components/Admin/Sort.vue"
1919
2020
const props = defineProps({
2121
roles: {
@@ -30,17 +30,17 @@ const props = defineProps({
3030
type: Object,
3131
default: () => ({}),
3232
},
33-
});
33+
})
3434
3535
const form = useForm({
3636
search: props.filters.search,
37-
});
37+
})
3838
39-
const formDelete = useForm({});
39+
const formDelete = useForm({})
4040
4141
function destroy(id) {
4242
if (confirm("Are you sure you want to delete?")) {
43-
formDelete.delete(route("role.destroy", id));
43+
formDelete.delete(route("role.destroy", id))
4444
}
4545
}
4646
</script>

resources/js/Pages/Admin/Role/Show.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<script setup>
2-
import { Head, Link, useForm } from "@inertiajs/inertia-vue3";
2+
import { Head, Link, useForm } from "@inertiajs/inertia-vue3"
33
import {
44
mdiAccountKey,
55
mdiArrowLeftBoldOutline,
6-
} from "@mdi/js";
7-
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue";
8-
import SectionMain from "@/Components/SectionMain.vue";
9-
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue";
10-
import CardBox from "@/Components/CardBox.vue";
11-
import BaseButton from "@/Components/BaseButton.vue";
6+
} from "@mdi/js"
7+
import LayoutAuthenticated from "@/Layouts/LayoutAuthenticated.vue"
8+
import SectionMain from "@/Components/SectionMain.vue"
9+
import SectionTitleLineWithButton from "@/Components/SectionTitleLineWithButton.vue"
10+
import CardBox from "@/Components/CardBox.vue"
11+
import BaseButton from "@/Components/BaseButton.vue"
1212
1313
const props = defineProps({
1414
role: {
@@ -23,7 +23,7 @@ const props = defineProps({
2323
type: Object,
2424
default: () => ({}),
2525
}
26-
});
26+
})
2727
</script>
2828

2929
<template>

0 commit comments

Comments
 (0)