<script setup lang="ts">
import PageSectionQueryPageDemo from '@/components/pages/PageSectionQueryPageDemo.vue'
import { useSectionsDemoPage } from '@/composables/page-drivers/useSectionsDemoPage'

// Demo view 維持薄層，只掛 page driver，並把 page model / actions 傳給 page component。
const page = useSectionsDemoPage()
</script>

<template>
  <PageSectionQueryPageDemo
    v-model:query-filters="page.queryFilters.value"
    :page="page.pageModel.value"
    @back="page.handleQueryBack"
    @search="page.handleQuerySearch"
  />
</template>
