- materio_sapi: MaterioSapiSearchForm, AjaxSearchForm and the /materio_sapi/search_form route removed, with the fieldset legend hook they needed. The search block is only the place where the Vue field mounts (placement and access unchanged). - materiotheme: filters removed from the search store and Base.vue (the parameter of former URLs is ignored), formhtml removed from main.js and SearchBlock.vue, filter styles and SlimSelect import removed. - slim-select uninstalled, with its postinstall patch step. - Production build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
27 lines
440 B
Vue
27 lines
440 B
Vue
<template v-slot="default">
|
|
<div v-bind:id="blockid">
|
|
<SearchForm v-if="canSearch"></SearchForm>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import SearchForm from 'vuejs/components/Form/SearchForm'
|
|
import { mapState } from 'vuex'
|
|
|
|
export default {
|
|
props: ['blockid'],
|
|
computed: {
|
|
...mapState({
|
|
canSearch: state => state.User.canSearch
|
|
})
|
|
},
|
|
components: {
|
|
SearchForm
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
</style>
|