This repository was archived by the owner on Jun 27, 2024. It is now read-only.
File tree 8 files changed +84
-37
lines changed
8 files changed +84
-37
lines changed Original file line number Diff line number Diff line change 38
38
class =" relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"
39
39
>
40
40
<span class =" sr-only" >Previous</span >
41
- <ChevronLeftIcon class =" h-5 w-5" />
41
+ <svg
42
+ xmlns =" http://www.w3.org/2000/svg"
43
+ class =" h-5 w-5"
44
+ viewBox =" 0 0 20 20"
45
+ fill =" currentColor"
46
+ >
47
+ <path
48
+ fill-rule =" evenodd"
49
+ d =" M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z"
50
+ clip-rule =" evenodd"
51
+ />
52
+ </svg >
42
53
</component >
43
54
44
55
<div v-for =" (link, key) in meta.links" :key =" key" >
59
70
class =" relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"
60
71
>
61
72
<span class =" sr-only" >Next</span >
62
- <ChevronRightIcon class =" h-5 w-5" />
73
+ <svg
74
+ xmlns =" http://www.w3.org/2000/svg"
75
+ class =" h-5 w-5"
76
+ viewBox =" 0 0 20 20"
77
+ fill =" currentColor"
78
+ >
79
+ <path
80
+ fill-rule =" evenodd"
81
+ d =" M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
82
+ clip-rule =" evenodd"
83
+ />
84
+ </svg >
63
85
</component >
64
86
</nav >
65
87
</div >
68
90
</template >
69
91
70
92
<script >
71
- import { ChevronLeftIcon , ChevronRightIcon } from " @heroicons/vue/solid" ;
72
93
import Pagination from " ./../Components/Pagination.vue" ;
73
94
74
95
export default {
75
96
mixins: [Pagination],
76
-
77
- components: {
78
- ChevronLeftIcon,
79
- ChevronRightIcon,
80
- },
81
97
};
82
98
</script >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<ButtonWithDropdown ref =" dropdown" :disabled =" !rowsLeft" class =" w-auto" >
3
3
<template #button >
4
- <PlusCircleIcon class =" h-5 w-5 mr-2 text-gray-400" />
4
+ <svg
5
+ xmlns =" http://www.w3.org/2000/svg"
6
+ class =" h-5 w-5 mr-2 text-gray-400"
7
+ fill =" none"
8
+ viewBox =" 0 0 24 24"
9
+ stroke =" currentColor"
10
+ >
11
+ <path
12
+ stroke-linecap =" round"
13
+ stroke-linejoin =" round"
14
+ stroke-width =" 2"
15
+ d =" M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"
16
+ />
17
+ </svg >
5
18
<span >Filter</span >
6
19
</template >
7
20
24
37
import ButtonWithDropdown from " ./ButtonWithDropdown.vue" ;
25
38
import OnClickOutside from " ./../Components/OnClickOutside.vue" ;
26
39
import TableAddSearchRow from " ./../Components/TableAddSearchRow.vue" ;
27
- import { PlusCircleIcon } from " @heroicons/vue/outline" ;
28
40
29
41
export default {
30
42
mixins: [TableAddSearchRow],
31
43
32
44
components: {
33
45
ButtonWithDropdown,
34
46
OnClickOutside,
35
- PlusCircleIcon,
36
47
},
37
48
};
38
49
</script >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<ButtonWithDropdown placement =" bottom-end" :active =" hasDisabledFilter" >
3
3
<template #button >
4
- <DotsVerticalIcon
4
+ <svg
5
+ xmlns =" http://www.w3.org/2000/svg"
5
6
class =" h-5 w-5"
6
7
:class =" {'text-gray-400': !hasDisabledFilter, 'text-green-400': hasDisabledFilter}"
7
- />
8
+ viewBox =" 0 0 20 20"
9
+ fill =" currentColor"
10
+ >
11
+ <path
12
+ d =" M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z"
13
+ />
14
+ </svg >
8
15
</template >
9
16
10
17
<div role =" menu" aria-orientation =" vertical" aria-labelledby =" sort-menu" >
47
54
<script >
48
55
import ButtonWithDropdown from " ./ButtonWithDropdown.vue" ;
49
56
import TableColumns from " ./../Components/TableColumns.vue" ;
50
- import { DotsVerticalIcon } from " @heroicons/vue/solid" ;
51
57
52
58
export default {
53
59
mixins: [TableColumns],
54
60
55
61
components: {
56
62
ButtonWithDropdown,
57
- DotsVerticalIcon,
58
63
},
59
64
};
60
65
</script >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<ButtonWithDropdown placement =" bottom-end" :active =" hasEnabledFilter" >
3
3
<template #button >
4
- <FilterIcon
4
+ <svg
5
+ xmlns =" http://www.w3.org/2000/svg"
5
6
class =" h-5 w-5"
6
7
:class =" {'text-gray-400': !hasEnabledFilter, 'text-green-400': hasEnabledFilter}"
7
- />
8
+ viewBox =" 0 0 20 20"
9
+ fill =" currentColor"
10
+ >
11
+ <path
12
+ fill-rule =" evenodd"
13
+ d =" M3 3a1 1 0 011-1h12a1 1 0 011 1v3a1 1 0 01-.293.707L12 11.414V15a1 1 0 01-.293.707l-2 2A1 1 0 018 17v-5.586L3.293 6.707A1 1 0 013 6V3z"
14
+ clip-rule =" evenodd"
15
+ />
16
+ </svg >
8
17
</template >
9
18
10
19
<div role =" menu" aria-orientation =" vertical" aria-labelledby =" sort-menu" >
27
36
<script >
28
37
import ButtonWithDropdown from " ./ButtonWithDropdown.vue" ;
29
38
import TableFilter from " ./../Components/TableFilter.vue" ;
30
- import { FilterIcon } from " @heroicons/vue/solid" ;
31
39
32
40
export default {
33
41
mixins: [TableFilter],
34
42
35
43
components: {
36
44
ButtonWithDropdown,
37
- FilterIcon,
38
45
},
39
46
};
40
47
</script >
Original file line number Diff line number Diff line change 8
8
@input =" onChange($event.target.value)"
9
9
/>
10
10
<div class =" absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none" >
11
- <SearchIcon class =" h-5 w-5 text-gray-400" />
11
+ <svg
12
+ xmlns =" http://www.w3.org/2000/svg"
13
+ class =" h-5 w-5 text-gray-400"
14
+ viewBox =" 0 0 20 20"
15
+ fill =" currentColor"
16
+ >
17
+ <path
18
+ fill-rule =" evenodd"
19
+ d =" M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"
20
+ clip-rule =" evenodd"
21
+ />
22
+ </svg >
12
23
</div >
13
24
</div >
14
25
</template >
15
26
16
27
<script >
17
28
import TableGlobalSearch from " ./../Components/TableGlobalSearch.vue" ;
18
- import { SearchIcon } from " @heroicons/vue/solid" ;
19
29
20
30
export default {
21
31
mixins: [TableGlobalSearch],
22
-
23
- components: {
24
- SearchIcon,
25
- },
26
32
};
27
33
</script >
Original file line number Diff line number Diff line change 26
26
class =" rounded-md text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"
27
27
>
28
28
<span class =" sr-only" >Remove search</span >
29
- <XIcon class =" h-5 w-5" />
29
+ <svg
30
+ xmlns =" http://www.w3.org/2000/svg"
31
+ class =" h-5 w-5"
32
+ fill =" none"
33
+ viewBox =" 0 0 24 24"
34
+ stroke =" currentColor"
35
+ >
36
+ <path
37
+ stroke-linecap =" round"
38
+ stroke-linejoin =" round"
39
+ stroke-width =" 2"
40
+ d =" M6 18L18 6M6 6l12 12"
41
+ />
42
+ </svg >
30
43
</button >
31
44
</div >
32
45
</div >
38
51
39
52
<script >
40
53
import TableSearchRows from " ./../Components/TableSearchRows.vue" ;
41
- import { XIcon } from " @heroicons/vue/outline" ;
42
54
43
55
export default {
44
56
mixins: [TableSearchRows],
45
-
46
- components: {
47
- XIcon,
48
- },
49
57
};
50
58
</script >
Original file line number Diff line number Diff line change 9
9
"author" : " Pascal Baljet" ,
10
10
"license" : " MIT" ,
11
11
"dependencies" : {
12
- "@heroicons/vue" : " ^1.0.0" ,
13
12
"@popperjs/core" : " ^2.9.2" ,
14
13
"lodash-es" : " ^4.17.21" ,
15
14
"qs" : " ^6.10.1"
You can’t perform that action at this time.
0 commit comments