feat: add AutoProbeList component and related functionality

- Introduced AutoProbeList.vue component for displaying a list layout of extract items.
- Added useAutoProbeList.ts for managing state and interactions with the Vuex store.
- Updated .gitignore to exclude local configuration files.
This commit is contained in:
Marvin Zhang
2025-05-11 22:46:46 +08:00
parent 9e25ea9b51
commit a10a05ea80
3 changed files with 24 additions and 0 deletions

View File

@@ -34,3 +34,5 @@ dist_local/
stats.html
.turbo
*.local

View File

@@ -0,0 +1,9 @@
<script setup lang="ts">
defineOptions({ name: 'ClExtractList' });
</script>
<template>
<cl-list-layout
store-namespace="extract"
/>
</template>

View File

@@ -0,0 +1,13 @@
import { useStore } from 'vuex';
import { useList } from '@/layouts';
const useAutoProbeList = () => {
const ns: ListStoreNamespace = 'extract';
const store = useStore();
return {
...useList<ExtractPattern>(ns),
};
};
export default useAutoProbeList;