"use strict";
/*---------------------------------------------------------------------------------------------
 * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
 * See LICENSE.md in the project root for license terms and full copyright notice.
 *--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Frontstage
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.StandardFrontstageProvider = void 0;
const FrontstageProvider_1 = require("./FrontstageProvider");
const FrontstageUtilities_1 = require("./FrontstageUtilities");
/** FrontstageProvider that provides an "empty" stage. All tool buttons, statusbar items, and widgets must
 * be provided by one or more item providers, see [[UiItemsProvider]].
 * @public
 * @deprecated in 4.15.0. Use {@link FrontstageUtilities.createStandardFrontstage} instead.
 */
// eslint-disable-next-line deprecation/deprecation
class StandardFrontstageProvider extends FrontstageProvider_1.FrontstageProvider {
    constructor(props) {
        super();
        this.props = props;
    }
    get id() {
        return this.props.id;
    }
    frontstageConfig() {
        const config = FrontstageUtilities_1.FrontstageUtilities.createStandardFrontstage(this.props);
        return config;
    }
}
exports.StandardFrontstageProvider = StandardFrontstageProvider;
//# sourceMappingURL=StandardFrontstageProvider.js.map