dev: hotfix

comps/pub/myui
+ updated data/types
+ updated data-table
+ updated nav-header
+ added toggle

comps/pub/ui
+ updated button
+ updated toggle
This commit is contained in:
2025-11-16 00:44:53 +07:00
parent ccabe0177b
commit 1cbde57cf9
6 changed files with 54 additions and 10 deletions

No files matched your search

+2 -1
View File
@@ -8,6 +8,7 @@ export interface ListItemDto {
}
export type ComponentType = Component
export type ComponentWithProps = { component: Component, props: Record<string, any> }
export interface ButtonNav {
variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link'
@@ -45,13 +46,13 @@ export interface RefSearchNav {
export interface HeaderPrep {
title?: string
icon?: string
components?: ComponentWithProps[]
refSearchNav?: RefSearchNav
quickSearchNav?: QuickSearchNav
filterNav?: ButtonNav
addNav?: ButtonNav
printNav?: ButtonNav
}
export interface KeyLabel {
key: string
label: string