/*---------------------------------------------------------------------------------------------
 * 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
 */
import { isHorizontalPanelSide } from "../widget-panels/Panel";
/** @internal */
export function isHorizontalPanelState(state) {
    return isHorizontalPanelSide(state.side);
}
/** @internal */
export function getWidgetPanelSectionId(side, panelSectionIndex) {
    return 0 === panelSectionIndex ? `${side}Start` : `${side}End`;
}
//# sourceMappingURL=PanelState.js.map