UNPKG

@progress/kendo-ui

Version:

This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.

1 lines 1.22 kB
module.exports=function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var e={};return n.m=t,n.c=e,n.p="",n(0)}({0:function(t,n,e){t.exports=e(1005)},3:function(t,n){t.exports=function(){throw Error("define cannot be used indirect")}},973:function(t,n){t.exports=require("../main")},1005:function(t,n,e){var r,o,i;!function(u,define){o=[e(973)],r=u,i="function"==typeof r?r.apply(n,o):r,!(void 0!==i&&(t.exports=i))}(function(){!function(t,n){function e(t){var n=t.value,e=t.min,r=t.max;return p(d(l(n),l(r)),l(e))}function r(n){return n&&!x(n).is("body")&&n.scrollHeight>n.clientHeight?t.support.scrollbar():0}function o(t,n){return i(t)?l(t):l(t)/n*100}function i(t){return typeof t===P&&h.test(t)}function u(t){return typeof t===P&&w.test(t)}function c(t){return l(t)+v}function a(t){return l(t)+y}var s=window,f=s.Math,d=f.min,p=f.max,l=s.parseFloat,x=t.jQuery,g=x.extend,m=t.ui.editor,v="%",y="px",h=/(\d+)(\.?)(\d*)%/,w=/(\d+)(\.?)(\d*)px/,P="string",b={constrain:e,getScrollBarWidth:r,calculatePercentageRatio:o,inPercentages:i,inPixels:u,toPercentages:c,toPixels:a};g(m,{ResizingUtils:b})}(window.kendo)},e(3))}});