mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-24 16:57:30 +00:00
feat(frontend): add SAML helper (#12799)
* squash #12762 * implement https://github.com/inventree/InvenTree/issues/3509 * add changelog * add option to use the full width
This commit is contained in:
1 parent
2566d332a8
commit
c959ca4574
15 files changed
+692
-50
No files matched your search
@@ -266,6 +266,7 @@ export enum ApiEndpoints {
|
||||
scim_generate = 'admin/scim/generate/',
|
||||
scim_disable = 'admin/scim/disable/',
|
||||
config_list = 'admin/config/',
|
||||
sso_list = 'admin/sso/',
|
||||
parameter_list = 'parameter/',
|
||||
parameter_template_list = 'parameter/template/',
|
||||
tag_list = 'tag/',
|
||||
|
||||
@@ -100,7 +100,8 @@ export type ApiFormFieldType = {
|
||||
| 'nested object'
|
||||
| 'dependent field'
|
||||
| 'table'
|
||||
| 'tags';
|
||||
| 'tags'
|
||||
| 'json';
|
||||
api_url?: string;
|
||||
pk_field?: string;
|
||||
model?: ModelType;
|
||||
|
||||
@@ -184,6 +184,7 @@ export type RowViewProps = RowAction & RowModelProps & RowViewBehaviorProps;
|
||||
* @param barcodeActions : any[] - List of barcode actions
|
||||
* @param tableFilters : TableFilter[] - List of custom filters
|
||||
* @param tableActions : any[] - List of custom action groups
|
||||
* @param tableActionsFullWidth : boolean - Allow custom table actions to use the available header width
|
||||
* @param isRecordSelectable : (record: any, index: number) => boolean - Callback function to determine if a row is selectable
|
||||
* @param detailAction: boolean - Enable detail action for each row (default = true)
|
||||
* @param dataFormatter : (data: any) => any - Callback function to reformat data returned by server (if not in default format)
|
||||
@@ -216,6 +217,7 @@ export type InvenTreeTableProps<T = any> = {
|
||||
barcodeActions?: React.ReactNode[];
|
||||
tableFilters?: TableFilter[];
|
||||
tableActions?: React.ReactNode[];
|
||||
tableActionsFullWidth?: boolean;
|
||||
isRecordSelectable?: (record: T, index: number) => boolean;
|
||||
rowExpansion?: DataTableRowExpansionProps<T>;
|
||||
dataFormatter?: (data: any) => any;
|
||||
|
||||
Reference in new issue
Block a user