Lines Matching +defs:box +defs:up
5794 // into the document. Do so, thus queuing up the task. Remember to clean up once it's been called.
5882 // Does not start the time, just sets up the members needed.
6998 gantt.event(document.body, input.up, utils.bind(function (e) {
7037 gantt.eventRemove(document.body, inputMethod.up, mouseup);
7042 gantt.event(document.body, inputMethod.up, mouseup);
7088 "up": "mouseup",
7107 "up": "touchend",
7126 "up": "pointerup",
7137 "up": "MSPointerUp",
13313 var box = this.getLightbox(this.getTaskType(task.type));
13314 this._center_lightbox(box);
13316 this._fill_lightbox(id, box);
13318 this._waiAria.lightboxVisibleAttr(box);
13472 gantt._center_lightbox = function (box) {
13473 if (box) {
13474 box.style.display = "block";
13482 box.style.top = Math.round(scroll_top + Math.max((view_height - box.offsetHeight) / 2, 0)) + "px";
13484 box.style.top = Math.round(Math.max(((view_height - box.offsetHeight) / 2), 0) + 9) + "px"; // +9 for compatibility with auto tests
13488 box.style.left = Math.round(scroll_left + (document.body.offsetWidth - box.offsetWidth) / 2) + "px";
13490 box.style.left = Math.round((document.body.offsetWidth - box.offsetWidth) / 2) + "px";
13692 var box = this.getLightbox();
13693 if (box) box.style.display = "none";
13695 this._waiAria.lightboxHiddenAttr(box);
13713 gantt._set_lightbox_values = function (data, box) {
13715 var s = box.getElementsByTagName("span");
13731 gantt._waiAria.lightboxHeader(box, lightboxHeader.join(" "));
13754 gantt._fill_lightbox = function (id, box) {
13756 this._set_lightbox_values(task, box);
14002 var box = this.getLightbox(type ? type : undefined);
14004 this._set_lightbox_values(updTask, box);
14653 modalBox.hide(config.box);
14655 _dhx_msg_cfg = config.box = null;
14762 var box = document.createElement("div");
14765 gantt._waiAria.messageModalAttr(box, contentId);
14768 box.className = " gantt_modal_box dhtmlx_modal_box gantt-" + config.type + " dhtmlx-" + config.type;
14769 box.setAttribute(boxAttribute, 1);
14774 box.style.width = config.width;
14776 box.style.height = config.height;
14801 box.innerHTML = inner;
14809 box.childNodes[config.title ? 1 : 0].appendChild(node);
14812 box.onclick = function (e) {
14822 config.box = box;
14826 return box;
14830 var box = config.tagName ? config : _boxStructure(config, ok, cancel);
14834 document.body.appendChild(box);
14835 var x = Math.abs(Math.floor(((window.innerWidth || document.documentElement.offsetWidth) - box.offsetWidth) / 2));
14836 var y = Math.abs(Math.floor(((window.innerHeight || document.documentElement.offsetHeight) - box.offsetHeight) / 2));
14838 box.style.top = "-3px";
14840 box.style.top = y + 'px';
14841 box.style.left = x + 'px';
14843 box.onkeydown = modal_key;
14845 modalBox.focus(box);
14848 modalBox.hide(box);
14850 gantt.callEvent("onMessagePopup", [box]);
14851 return box;
14965 gantt.attachEvent("onMessagePopup", function(box){
14966 popups.push(box);
14968 gantt.attachEvent("onAfterMessagePopup", function(box){
14970 if(popups[i] === box){
15271 var box = domHelpers.getNodePosition(getAutoscrollContainer());
15272 var posX = eventPos.x - box.x;
15273 var posY = eventPos.y - box.y;
15275 var scrollLeft = isMove ? 0 : need_scroll(posX, box.width, startPos.x - box.x);
15276 var scrollTop = need_scroll(posY, box.height, startPos.y - box.y);
20184 function findClosesTarget(dndTaskId, taskId, allowedLevel, store, up){
20191 prev = up ? store.getPrev(prev) : store.getNext(prev);
20197 return up ? dropTarget.nextSiblingTarget(dndTaskId, prev, store) : dropTarget.prevSiblingTarget(dndTaskId, prev, store);
21179 boxSizing:(computed.boxSizing == "border-box")
21183 styles.boxSizing = (computed.MozBoxSizing == "border-box");
21190 var box = {
21201 if(box.borderBox){
21202 box.innerWidth -= box.horPaddings;
21203 box.innerHeight -= box.vertPaddings;
21205 box.outerWidth += box.horPaddings;
21206 box.outerHeight += box.vertPaddings;
21209 return box;
23000 case drawer.dirs.up:
23021 dirs: {"left": 'left', "right": 'right', "up": 'up', "down": 'down'},
23073 case this.dirs.up:
23113 case this.dirs.up:
23177 direction = this.dirs.up;
23213 case (dir.up):
24498 module.exports = function(viewport, box){
24499 if(!box){
24503 if(box.left > viewport.x_end || box.left + box.width < viewport.x){
24507 if(box.top > viewport.y_end || box.top + box.height < viewport.y){
25469 for (var up = 1; up < upper_dates.length; up++) {
25470 var target_index = (lower_scale.trace_indexes[+upper_dates[up]]);
25473 callback.apply(this, [prevUpper, up, prev, target_index]);
25476 prevUpper = up;
29173 var box = elem.getBoundingClientRect();
29183 top = box.top + scrollTop - clientTop;
29184 left = box.left + scrollLeft - clientLeft;
29186 right = document.body.offsetWidth - box.right;
29187 bottom = document.body.offsetHeight - box.bottom;
29407 var box = elementPosition(node);
29410 x: ev.clientX + d.scrollLeft - d.clientLeft - box.x + node.scrollLeft,
29411 y: ev.clientY + d.scrollTop - d.clientTop - box.y + node.scrollTop