// Copyright (c) 2009-2026 SAP SE, All Rights Reserved

/**
 * @fileoverview Provides control sap.ushell.ui.appfinder.AppBox.
 * @deprecated since 1.120. Deprecated without successor together with the classic homepage.
 */
sap.ui.define([
    "sap/ushell/ui/appfinder/AppBoxInternal",
    "sap/ushell/utils/DeprecationLog"
], (AppBoxInternal, DeprecationLog) => {
    "use strict";

    /**
     * @alias sap.ushell.ui.appfinder.AppBox
     * @class
     * @classdesc Constructor for a new ui/appfinder/AppBox.
     *
     * @param {string} [sId] id for the new control, generated automatically if no id is given
     * @param {object} [mSettings] initial settings for the new control
     *
     * Add your documentation for the new ui/appfinder/AppBox
     * @extends sap.ui.core.Control
     *
     * @public
     * @deprecated since 1.120. Deprecated without successor together with the classic homepage.
     */
    const AppBox = AppBoxInternal.extend("sap.ushell.ui.appfinder.AppBox" /** @lends sap.ushell.ui.appfinder.AppBox.prototype */);

    AppBox.prototype.init = function () {
        DeprecationLog.logModuleDeprecation({
            module: "sap.ushell.ui.appfinder.AppBox",
            since: "1.120",
            reason: "Deprecated without successor together with the classic homepage."
        });

        if (AppBoxInternal.prototype.init) {
            AppBoxInternal.prototype.init.apply(this, arguments);
        }
    };

    return AppBox;
});
