"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.isTabDragDropTargetState = exports.isWidgetDragDropTargetState = exports.isWindowDropTargetState = exports.isWidgetDropTargetState = exports.isSectionDropTargetState = exports.isPanelDropTargetState = exports.isTabDropTargetState = void 0;
/** @internal */
function isTabDropTargetState(state) {
    return state.type === "tab";
}
exports.isTabDropTargetState = isTabDropTargetState;
/** @internal */
function isPanelDropTargetState(state) {
    return state.type === "panel";
}
exports.isPanelDropTargetState = isPanelDropTargetState;
/** @internal */
function isSectionDropTargetState(state) {
    return state.type === "section";
}
exports.isSectionDropTargetState = isSectionDropTargetState;
/** @internal */
function isWidgetDropTargetState(state) {
    return state.type === "widget";
}
exports.isWidgetDropTargetState = isWidgetDropTargetState;
/** @internal */
function isWindowDropTargetState(state) {
    return state.type === "window";
}
exports.isWindowDropTargetState = isWindowDropTargetState;
/** @internal */
function isWidgetDragDropTargetState(state) {
    if (state.type === "floatingWidget")
        return false;
    return true;
}
exports.isWidgetDragDropTargetState = isWidgetDragDropTargetState;
/** @internal */
function isTabDragDropTargetState(state) {
    if (state.type === "window")
        return false;
    return true;
}
exports.isTabDragDropTargetState = isTabDragDropTargetState;
//# sourceMappingURL=DropTargetState.js.map