|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
import { computed, nextTick, onBeforeMount, onMounted, reactive, ref, shallowRef, unref, watch } from 'vue'
|
|
|
|
|
import { computed, inject, nextTick, onBeforeMount, onMounted, reactive, ref, shallowRef, unref, watch } from 'vue'
|
|
|
|
|
import { CustomFilterModalVue, FilterModalVue, NewFilterModalVue } from './comp/modals'
|
|
|
|
|
import Search from './comp/Search.vue'
|
|
|
|
|
import AdvanceFilter from './comp/AdvanceFilter.vue'
|
|
|
|
@ -43,6 +43,8 @@ onMounted(() => {
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const collapse = ref(false)
|
|
|
|
|
const mousetrap = inject('mousetrap') as any
|
|
|
|
|
mousetrap.bind('[', collapseHandler)
|
|
|
|
|
|
|
|
|
|
function collapseHandler() {
|
|
|
|
|
collapse.value = !collapse.value
|
|
|
|
|