Catalogs
Layout Components
Catalog Relation List
List of catalog relations in a tabular view with filtering and editing options.
- Selector:
tsm-catalog-specification-relationship-list
- Type: Layout Component
- Properties:
- openAsTab (boolean = null): Determines if the component should open as a tab.
- fromEntityType (
'CATEGORY' | 'SPECIFICATION'
= null): Specifies the type of the "from" entity. - toEntityType (
'CATEGORY' | 'SPECIFICATION'
= null): Specifies the type of the "to" entity. - filterEntityId (string = null): ID used to filter entities.
- catalog (Catalog = null): The catalog object associated with the component.
{
"type": "layout",
"title": "Catalog Relation List",
"widget": {
"type": "tsm-catalog-specification-relationship-list"
}
}
Catalog Privilege List
List of catalog privileges in a tabular view with filtering and editing options.
- Selector:
tsm-catalog-priv
- Type: Layout Component
- Properties:
- category (CatalogCategory): Sets the category and updates privileges and filters based on the category's instancePriv.
- specification (CatalogSpecification): Sets the specification and updates privileges and filters based on the specification's instancePriv.
{
"type": "layout",
"title": "Catalog Privilege List",
"widget": {
"type": "tsm-catalog-priv"
}
}
Price Card
Card displaying pricing details.
- Selector:
tsm-price-list-detail
- Type: Layout Component
- Properties:
- catalogSpecification (CatalogSpecification = null): This input is used to load prices and price component types based on the catalog specification ID.
{
"type": "layout",
"title": "Price Details",
"widget": {
"type": "tsm-price-list-detail"
}
}
Data Components
Catalog Select
Selection of a catalog from a dropdown list.
- Selector:
tsm-catalog-lov
- Type: Select Component
- Properties:
- selectItemFilters (FilterModel[] = []): Filters applied to the selectable items.
- listingId (string = "catalog-lov"): Identifier for the listing.
{
"type": "string",
"title": "Select Catalog",
"widget": {
"type": "tsm-catalog-lov"
}
}
Catalog Category Select
Selection of a catalog category from a dropdown list.
- Selector:
tsm-catalog-category-lov
- Type: Select Component
- Properties:
- dialogLabel (string = translation.catalogWidgets.choiceCategory): Label for the dialog, default value is set from translation.
- catalogId (string): ID of the catalog.
- catalogCode (string): Code of the catalog.
- excludedCategoryId (string): ID of the category to be excluded.
- defaultTreeViewMode (boolean = false): Determines if the default view mode is tree.
- selectItemFilters (FilterModel[] = []): Filters applied to the selectable items.
- chars (CharacteristicFilter | CharacteristicFilter[]): Characteristic filters applied to the component.
- listingId (string = "catalog-category-lov"): ID used for listing purposes.
{
"type": "string",
"title": "Select Catalog Category",
"widget": {
"type": "tsm-catalog-category-lov"
}
}
Catalog Specification Select
Selection of a catalog specification from a dropdown list.
- Selector:
tsm-catalog-specification-lov
- Type: Select Component
- Properties:
- dialogLabel (string = translation.catalogWidgets.choiceSpecification): Default label for the dialog.
- catalogId (string): ID of the catalog.
- catalogCode (string): Code of the catalog.
- catalogCodes (string[]): Array of catalog codes.
- catalogTypes (string[]): Array of catalog types.
- catalogLifecycleStatusCode (string): Lifecycle status code of the catalog.
- catalogChars (object): Contains field, value, and optional operation.
- categoryCodes (string[]): Array of category codes.
- excludeCategoryCodes (string[]): Array of category codes to exclude.
- productCodes (string[]): Array of product codes.
- productTypeCodes (string[]): Array of product type codes.
- lifecycleStatusCode (string): Lifecycle status code.
- chars (CharacteristicFilter | CharacteristicFilter[]): Characteristic filters.
- excludeIds (string[]): Array of IDs to exclude.
- excludeCodes (string[]): Array of codes to exclude.
- entityType (string): Entity type.
- relationshipParentId (string): Related to linked products.
- relationshipParentCode (string): Related to linked products.
- relationshipTypeCodes (string[]): Related to linked products.
- relationshipAddWithParent (boolean): Related to linked products.
- removeValueOnChange (any): Expression to remove value on change.
- listingId (string = "catalog-specification-lov-" + getUuid()): Identifier for the listing.
- defaultTreeViewMode (boolean = false).
- selectItemFilters (FilterModel[] = []): Filters applied to the selectable items.
- messageFromInvalidSelectItem (string = translationShared.shared.checkSelectedItemByFilters).
- profileId (string).
{
"type": "string",
"title": "Select Catalog Specification",
"widget": {
"type": "tsm-catalog-specification-lov"
}
}