Interface: FavoriteListsProps
Defined in: components/FavoriteLists.tsx:22
Properties
allowFavoriteListCreate?
optionalallowFavoriteListCreate?:boolean
Defined in: components/FavoriteLists.tsx:48
Displays create new favorite list button (default: true)
className?
optionalclassName?:string
Defined in: components/FavoriteLists.tsx:51
Custom class name
formatDate?
optionalformatDate?: (dateString) =>string
Defined in: components/FavoriteLists.tsx:54
Format date function override. If not provided, dates are formatted as dd/mm/YYYY
Parameters
dateString
string
Returns
string
graphqlClient?
optionalgraphqlClient?:GraphQLClient
Defined in: components/FavoriteLists.tsx:27
The initialized GraphQL Client instance. Resolved from PropellerProvider when omitted.
labels?
optionallabels?:object
Defined in: components/FavoriteLists.tsx:57
Localization labels
cancelButton?
optionalcancelButton?:string
clusters?
optionalclusters?:string
createButton?
optionalcreateButton?:string
createFirstList?
optionalcreateFirstList?:string
createPlaceholder?
optionalcreatePlaceholder?:string
createTitle?
optionalcreateTitle?:string
defaultBadge?
optionaldefaultBadge?:string
deleteButton?
optionaldeleteButton?:string
deleteConfirm?
optionaldeleteConfirm?:string
deleteTitle?
optionaldeleteTitle?:string
deleteTooltip?
optionaldeleteTooltip?:string
deleteWarning?
optionaldeleteWarning?:string
editCancel?
optionaleditCancel?:string
editSave?
optionaleditSave?:string
editTooltip?
optionaleditTooltip?:string
items?
optionalitems?:string
lastModified?
optionallastModified?:string
loading?
optionalloading?:string
makeDefault?
optionalmakeDefault?:string
nameLabel?
optionalnameLabel?:string
noLists?
optionalnoLists?:string
noListsDescription?
optionalnoListsDescription?:string
products?
optionalproducts?:string
saveButton?
optionalsaveButton?:string
setAsDefault?
optionalsetAsDefault?:string
limit?
optionallimit?:number
Defined in: components/FavoriteLists.tsx:33
Limit the number of lists shown (e.g. 3 = last 3 modified). undefined = show all
onCreate?
optionalonCreate?: (favoriteListData) =>void
Defined in: components/FavoriteLists.tsx:86
Action function triggered when creating a new favorite list. If not provided, the default action is executed
Parameters
favoriteListData
isDefault
boolean
name
string
Returns
void
onDelete?
optionalonDelete?: (favoriteListId) =>void
Defined in: components/FavoriteLists.tsx:92
Action function triggered when deleting a favorite list. If not provided, the default action is executed
Parameters
favoriteListId
string
Returns
void
onEdit?
optionalonEdit?: (favoriteListId,favoriteListData) =>void
Defined in: components/FavoriteLists.tsx:89
Action function triggered when editing a favorite list. If not provided, the default action is executed
Parameters
favoriteListId
string
favoriteListData
isDefault
boolean
name
string
Returns
void
onListChanged?
optionalonListChanged?: () =>void
Defined in: components/FavoriteLists.tsx:95
Called after any list mutation (create, edit, delete) succeeds
Returns
void
onListClick?
optionalonListClick?: (listId) =>void
Defined in: components/FavoriteLists.tsx:30
Callback when a list is clicked (navigate to detail)
Parameters
listId
string | number
Returns
void
showActions?
optionalshowActions?:boolean
Defined in: components/FavoriteLists.tsx:45
Displays edit/delete action buttons on each list (default: true)
showDefaultIndicator?
optionalshowDefaultIndicator?:boolean
Defined in: components/FavoriteLists.tsx:36
Displays the "Default" badge on the favorite list (default: true)
showItemsCount?
optionalshowItemsCount?:boolean
Defined in: components/FavoriteLists.tsx:42
Displays number of products and clusters contained in the favorite list (default: true)
showLastModified?
optionalshowLastModified?:boolean
Defined in: components/FavoriteLists.tsx:39
Displays the last modified date on the favorite list (default: true)
user?
optionaluser?:Contact|Customer|null
Defined in: components/FavoriteLists.tsx:24
The authenticated user (Contact or Customer). Resolved from PropellerProvider when omitted.