@progress/kendo-vue-layout
Version:
9 lines (8 loc) • 1 kB
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../consts.js"),d=require("./itemsIdsUtils.js");function l(e,r,t){const o=i(e,r,t);return t?o==="downward"?n.POPUP_SETTINGS_RTL.downward:n.POPUP_SETTINGS_RTL.leftward:o==="downward"?n.POPUP_SETTINGS.downward:n.POPUP_SETTINGS.rightward}function i(e,r,t){return d.isIdZeroLevel(e)?r?t?"leftward":"rightward":"downward":t?"leftward":"rightward"}function u(e){return e?"rtl":"ltr"}function P(e,r){return`${e}_${r}`}exports.convertBoolDirectionToString=u;exports.getChildrenPosition=i;exports.getDOMElementId=P;exports.getPopupSettings=l;