Upgraded dependencies, bumped to Node 24.
This commit is contained in:
@@ -1,3 +1,25 @@
|
||||
<script setup>
|
||||
import { format, subYears } from 'date-fns';
|
||||
import { ref } from 'vue';
|
||||
|
||||
import RangeFilter from '#/components/filters/range.vue';
|
||||
import Checkbox from '#/components/form/checkbox.vue';
|
||||
|
||||
const props = defineProps({
|
||||
filters: {
|
||||
type: Object,
|
||||
default: null,
|
||||
},
|
||||
});
|
||||
|
||||
// <select> doesn't work well with :value for some reason
|
||||
const emit = defineEmits(['update']);
|
||||
|
||||
const maxDob = format(subYears(new Date(), 18), 'yyyy-MM-dd');
|
||||
|
||||
const dobType = ref(props.filters.dobType);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="filter">
|
||||
<div class="filter-section">
|
||||
@@ -53,26 +75,6 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import { format, subYears } from 'date-fns';
|
||||
|
||||
import Checkbox from '#/components/form/checkbox.vue';
|
||||
import RangeFilter from '#/components/filters/range.vue';
|
||||
|
||||
const maxDob = format(subYears(new Date(), 18), 'yyyy-MM-dd');
|
||||
|
||||
const props = defineProps({
|
||||
filters: {
|
||||
type: Object,
|
||||
default: null,
|
||||
},
|
||||
});
|
||||
|
||||
const dobType = ref(props.filters.dobType); // <select> doesn't work well with :value for some reason
|
||||
const emit = defineEmits(['update']);
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.input {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user