UNPKG

@progress/kendo-vue-layout

Version:
29 lines (28 loc) 994 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { POPUP_SETTINGS_RTL as o, POPUP_SETTINGS as d } from "../consts.mjs"; import { isIdZeroLevel as w } from "./itemsIdsUtils.mjs"; function a(r, n, t) { const e = i(r, n, t); return t ? e === "downward" ? o.downward : o.leftward : e === "downward" ? d.downward : d.rightward; } function i(r, n, t) { return w(r) ? n ? t ? "leftward" : "rightward" : "downward" : t ? "leftward" : "rightward"; } function f(r) { return r ? "rtl" : "ltr"; } function P(r, n) { return `${r}_${n}`; } export { f as convertBoolDirectionToString, i as getChildrenPosition, P as getDOMElementId, a as getPopupSettings };