diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2c82b01 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.DS_Store +*.log +.idea +*.iml diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..caea57b --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ + +MIT License + +Copyright (c) 2018 PONDUS Software GmbH + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..7a1a6b0 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Pondus Legacy Dependencies diff --git a/index.js b/index.js new file mode 100644 index 0000000..ac2a174 --- /dev/null +++ b/index.js @@ -0,0 +1,12 @@ +require("./lib/jquery.address"); +require("./lib/jquery.dynatree"); +require("./lib/jquery.hotkeys"); +require("./lib/jquery.event.drag-2.2"); +require("./lib/slick.core"); +require("./lib/slick.grid"); +require("./lib/slick.dataview"); +require("./lib/slick.editors"); +require("./lib/slick.groupitemmetadataprovider"); +require("./lib/slick.autotooltips"); +require("./lib/slick.rowselectionmodel"); +require("./lib/slick.checkboxselectcolumn"); diff --git a/lib/jquery.address.js b/lib/jquery.address.js new file mode 100755 index 0000000..3a55952 --- /dev/null +++ b/lib/jquery.address.js @@ -0,0 +1,617 @@ +/*! jQuery Address v${version} | (c) 2009, 2013 Rostislav Hristov | jquery.org/license */ +(function ($) { + + $.address = (function () { + + var _trigger = function(name) { + var e = $.extend($.Event(name), (function() { + var parameters = {}, + parameterNames = $.address.parameterNames(); + for (var i = 0, l = parameterNames.length; i < l; i++) { + parameters[parameterNames[i]] = $.address.parameter(parameterNames[i]); + } + return { + value: $.address.value(), + path: $.address.path(), + pathNames: $.address.pathNames(), + parameterNames: parameterNames, + parameters: parameters, + queryString: $.address.queryString() + }; + }).call($.address)); + $($.address).trigger(e); + return e; + }, + _array = function(obj) { + return Array.prototype.slice.call(obj); + }, + _bind = function(value, data, fn) { + $().bind.apply($($.address), Array.prototype.slice.call(arguments)); + return $.address; + }, + _unbind = function(value, fn) { + $().unbind.apply($($.address), Array.prototype.slice.call(arguments)); + return $.address; + }, + _supportsState = function() { + return (_h.pushState && _opts.state !== UNDEFINED); + }, + _hrefState = function() { + return ('/' + _l.pathname.replace(new RegExp(_opts.state), '') + + _l.search + (_hrefHash() ? '#' + _hrefHash() : '')).replace(_re, '/'); + }, + _hrefHash = function() { + var index = _l.href.indexOf('#'); + return index != -1 ? _l.href.substr(index + 1) : ''; + }, + _href = function() { + return _supportsState() ? _hrefState() : _hrefHash(); + }, + _window = function() { + try { + return top.document !== UNDEFINED && top.document.title !== UNDEFINED && top.jQuery !== UNDEFINED && + top.jQuery.address !== UNDEFINED && top.jQuery.address.frames() !== false ? top : window; + } catch (e) { + return window; + } + }, + _js = function() { + return 'javascript'; + }, + _strict = function(value) { + value = value.toString(); + return (_opts.strict && value.substr(0, 1) != '/' ? '/' : '') + value; + }, + _cssint = function(el, value) { + return parseInt(el.css(value), 10); + }, + _listen = function() { + if (!_silent) { + var hash = _href(), + diff = decodeURI(_value) != decodeURI(hash); + if (diff) { + if (_msie && _version < 7) { + _l.reload(); + } else { + if (_msie && !_hashchange && _opts.history) { + _st(_html, 50); + } + _value = hash; + _update(FALSE); + } + } + } + }, + _update = function(internal) { + _st(_track, 10); + return _trigger(CHANGE).isDefaultPrevented() || + _trigger(internal ? INTERNAL_CHANGE : EXTERNAL_CHANGE).isDefaultPrevented(); + }, + _track = function() { + if (_opts.tracker !== 'null' && _opts.tracker !== NULL) { + var fn = $.isFunction(_opts.tracker) ? _opts.tracker : _t[_opts.tracker], + value = (_l.pathname + _l.search + + ($.address && !_supportsState() ? $.address.value() : '')) + .replace(/\/\//, '/').replace(/^\/$/, ''); + if ($.isFunction(fn)) { + fn(value); + } else { + if ($.isFunction(_t.urchinTracker)) { + _t.urchinTracker(value); + } + if (_t.pageTracker !== UNDEFINED && $.isFunction(_t.pageTracker._trackPageview)) { + _t.pageTracker._trackPageview(value); + } + if (_t._gaq !== UNDEFINED && $.isFunction(_t._gaq.push)) { + _t._gaq.push(['_trackPageview', decodeURI(value)]); + } + if ($.isFunction(_t.ga)) { + _t.ga('send', 'pageview', value); + } + } + } + }, + _html = function() { + var src = _js() + ':' + FALSE + ';document.open();document.writeln(\'' + + _d.title.replace(/\'/g, '\\\'') + '