UNPKG

@progress/kendo-react-layout

Version:

React Layout components enable you to create a perceptive and intuitive layout of web projects. KendoReact Layout package

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