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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user