tiseza_oss_live/Scripts/dx-gantt.min.js

9 lines
186 KiB
JavaScript
Raw Permalink Normal View History

2025-11-15 11:14:31 +00:00
/*!
* DevExpress Gantt (dx-gantt.min)
* Version: 0.0.27
* Build date: Thu Nov 28 2019
*
* Copyright (c) 2012 - 2019 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Gantt=t():(e.DevExpress=e.DevExpress||{},e.DevExpress.Gantt=t())}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32)}([function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var JsonUtils=function(){function JsonUtils(){}return JsonUtils.isExists=function(e){return void 0!==e&&null!=e},JsonUtils.isValidJson=function(e){return!/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(e.replace(/"(\\.|[^"\\])*"/g,""))},JsonUtils.evalJson=function(json){return JsonUtils.isValidJson(json)?eval("("+json+")"):null},JsonUtils}();exports.JsonUtils=JsonUtils},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(12),i=function(){function e(){}return e.clientEventRequiresDocScrollCorrection=function(){var e=o.Browser.Safari&&o.Browser.Version<3,t=o.Browser.MacOSMobilePlatform&&o.Browser.Version<5.1;return o.Browser.AndroidDefaultBrowser||o.Browser.AndroidChromeBrowser||!(e||t)},e.getEventX=function(e){return e.clientX+(this.clientEventRequiresDocScrollCorrection()?this.getDocumentScrollLeft():0)},e.getEventY=function(e){return e.clientY+(this.clientEventRequiresDocScrollCorrection()?this.getDocumentScrollTop():0)},e.getEventSource=function(e){return e.srcElement?e.srcElement:e.target},e.GetKeyCode=function(e){return o.Browser.NetscapeFamily||o.Browser.Opera?e.which:e.keyCode},e.GetIsParent=function(e,t){if(!e||!t)return!1;for(;t;){if(t===e)return!0;if("BODY"===t.tagName)return!1;t=t.parentNode}return!1},e.getCurrentStyle=function(e){return document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null)},e.getTopPaddings=function(e){var t=this.getCurrentStyle(e);return this.pxToInt(t.paddingTop)},e.getLeftPadding=function(e){var t=this.getCurrentStyle(e);return this.pxToInt(t.paddingLeft)},e.getVerticalBordersWidth=function(e){var t=window.getComputedStyle?window.getComputedStyle(e):this.getCurrentStyle(e),n=0;return"none"!=t.borderTopStyle&&(n+=this.pxToFloat(t.borderTopWidth)),"none"!=t.borderBottomStyle&&(n+=this.pxToFloat(t.borderBottomWidth)),n},e.getHorizontalBordersWidth=function(e){var t=window.getComputedStyle?window.getComputedStyle(e):this.getCurrentStyle(e),n=0;return"none"!=t.borderLeftStyle&&(n+=this.pxToFloat(t.borderLeftWidth)),"none"!=t.borderRightStyle&&(n+=this.pxToFloat(t.borderRightWidth)),n},e.pxToInt=function(e){return this.pxToNumber(e,parseInt)},e.pxToFloat=function(e){return this.pxToNumber(e,parseFloat)},e.pxToNumber=function(e,t){var n=0;if(null!=e&&""!=e)try{var o=e.indexOf("px");o>-1&&(n=t(e.substr(0,o)))}catch(e){}return n},e.getDocumentScrollTop=function(){var e=o.Browser.IE&&"hidden"==this.getCurrentStyle(document.body).overflow&&document.body.scrollTop>0;return o.Browser.WebKitFamily||o.Browser.Edge||e?o.Browser.MacOSMobilePlatform?window.pageYOffset:o.Browser.WebKitFamily&&document.documentElement.scrollTop||document.body.scrollTop:document.documentElement.scrollTop},e.getDocumentScrollLeft=function(){var e=o.Br