feat(division): implement division list with pagination and search

- Add schema validation for query parameters
- Create pagination component with type definitions
- Implement division list view with search functionality
- Add data table configuration for division listing
- Handle pagination state and URL synchronization
This commit is contained in:
Khafid Prayoga
2025-09-01 14:45:32 +07:00
parent b1b324e688
commit 132068fcde
9 changed files with 556 additions and 75 deletions
+7 -1
View File
@@ -36,7 +36,7 @@ export interface Th {
}
export interface ButtonNav {
variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'negative' | 'ghost' | 'link'
variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link'
classVal?: string
classValExt?: string
icon?: string
@@ -56,6 +56,12 @@ export interface QuickSearchNav {
}
export interface RefSearchNav {
modelValue?: string
placeholder?: string
minLength?: number
debounceMs?: number
inputClass?: string
showValidationFeedback?: boolean
onInput: (val: string) => void
onClick: () => void
onClear: () => void