2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-04-21 18:50:52 +00:00

Refactor more UI components out into lib directory (#9994)

* Refactor table column types

* Offloading more component type definitions

* Remove unused funcs

* Move conversion functions

* ActionButton

* Refactor YesNoButton

* ProgressBar

* make row actions available

* search input

* ButtonMenu

* Bump UI version

* Tweak function defs
This commit is contained in:
Oliver
2025-07-10 06:54:53 +10:00
committed by GitHub
parent c6166d7c4a
commit d137728e60
119 changed files with 664 additions and 524 deletions

View File

@@ -13,6 +13,7 @@ export type { ModelDict } from './enums/ModelInformation';
export { UserRoles, UserPermissions } from './enums/Roles';
export type { InvenTreePluginContext } from './types/Plugins';
export type { RowAction, RowViewProps } from './types/Tables';
// Common utility functions
export { apiUrl } from './functions/Api';
@@ -22,3 +23,24 @@ export {
navigateToLink
} from './functions/Navigation';
export { checkPluginVersion } from './functions/Plugins';
export {
formatCurrencyValue,
formatDecimal,
formatFileSize
} from './functions/Formatting';
// Common UI components
export { ActionButton } from './components/ActionButton';
export { ButtonMenu } from './components/ButtonMenu';
export { ProgressBar } from './components/ProgressBar';
export { PassFailButton, YesNoButton } from './components/YesNoButton';
export { SearchInput } from './components/SearchInput';
export {
RowViewAction,
RowDuplicateAction,
RowEditAction,
RowDeleteAction,
RowCancelAction,
RowActions
} from './components/RowActions';