declare module "sap/esh/search/ui/controls/basket/CustomBasket" { /*! * SAPUI5 * Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved. */ import { MetadataOptions } from "sap/ui/base/ManagedObject"; import Control from "sap/ui/core/Control"; import { ResultSetItem } from "sap/esh/search/ui/ResultSetApi"; import { $VerticalLayoutSettings } from "sap/ui/layout/VerticalLayout"; import SearchBasketModel, { SearchBasketApi } from "sap/esh/search/ui/controls/basket/SearchBasketModel"; import FixFlex from "sap/ui/layout/FixFlex"; /** * Example of a custom basket * */ /** * Constructs a new CustomBasket to be used as a search basket (extend this class). * * @param {string} [sId] ID for the new control, generated automatically if no ID is given * * @class * * This is the SAPUI5 sample basket class, making use of the sap.ui.table.Table extension SearchBasketSapUiTable. * In addition, adds a custom header, footer (sap.ui.table.Table is used for the basket items). * Use in combination with control SearchCompositeControl by the Enterprise Search Team. * * @extends sap.ui.layout.VerticalLayout * * @author SAP SE * @version 1.150.1 * * @see https://help.sap.com/viewer/691cb949c1034198800afde3e5be6570/2.0.08/en-US/ce86ef2fd97610149eaaaa0244ca4d36.html SAP HANA Search Developer Guide * @see https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/90b263323d0a4976bcda415e6bd20ea4/d93d53ef27074bbf9a4849c4a4c3e360.html Enterprise Search in SAP S/4HANA * * * @constructor * @public * @alias sap.esh.search.ui.controls.basket.CustomBasket * @since 1.144.0 * @name sap.esh.search.ui.controls.basket.CustomBasket */ interface $CustomBasketSettings extends $VerticalLayoutSettings { basketConfigurator?: { adaptColumns: (columns: any[]) => any[]; adaptRow: (publicItem: ResultSetItem) => ResultSetItem; }; showDeleteAction?: boolean; } /** * @namespace sap.esh.search.ui.controls */ export default class CustomBasket extends FixFlex implements SearchBasketApi { static readonly metadata: MetadataOptions; protected _basketTable: Control; constructor(sId?: string, settings?: $CustomBasketSettings); getBasketModel(): SearchBasketModel; exit(): void; static renderer: { apiVersion: number; }; } } //# sourceMappingURL=CustomBasket.d.ts.map