"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 Backstage
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.BackstageItemUtilities = void 0;
/** Utilities for creating and maintaining backstage items
 * @beta
 */
var BackstageItemUtilities;
(function (BackstageItemUtilities) {
    /** Creates a stage launcher backstage item. */
    function createStageLauncher(frontstageId, groupPriority, itemPriority, label, subtitle, icon, overrides) {
        return {
            groupPriority,
            icon,
            id: frontstageId,
            itemPriority,
            label,
            stageId: frontstageId,
            subtitle,
            ...overrides,
        };
    }
    BackstageItemUtilities.createStageLauncher = createStageLauncher;
    /** Creates an action backstage item. */
    function createActionItem(itemId, groupPriority, itemPriority, execute, label, subtitle, icon, overrides) {
        return {
            execute,
            groupPriority,
            icon,
            id: itemId,
            itemPriority,
            label,
            subtitle,
            ...overrides,
        };
    }
    BackstageItemUtilities.createActionItem = createActionItem;
})(BackstageItemUtilities || (exports.BackstageItemUtilities = BackstageItemUtilities = {}));
//# sourceMappingURL=BackstageItemUtilities.js.map