"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 Base
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWidgetPanelSectionId = exports.isHorizontalPanelState = void 0;
const Panel_1 = require("../widget-panels/Panel");
/** @internal */
function isHorizontalPanelState(state) {
    return (0, Panel_1.isHorizontalPanelSide)(state.side);
}
exports.isHorizontalPanelState = isHorizontalPanelState;
/** @internal */
function getWidgetPanelSectionId(side, panelSectionIndex) {
    return 0 === panelSectionIndex ? `${side}Start` : `${side}End`;
}
exports.getWidgetPanelSectionId = getWidgetPanelSectionId;
//# sourceMappingURL=PanelState.js.map