Lines Matching refs:e

556 	  return map$1(sorted, function (e) {  argument
557 return e.v;
583 return isFunction(extractor) ? extractor : function (e) {
584 return e[extractor];
589 return isFunction(matcher) ? matcher : function (e) {
590 return e === matcher;
1088 return componentEvent.bind(el, type, function (e) { argument
1089 var target = e.target || e.srcElement;
1090 e.delegateTarget = closest(target, selector, true);
1091 if (e.delegateTarget) {
1092 fn.call(el, e);
1253 } catch (e) {
1772 function createMatrix(a, b, c, d, e, f) { argument
1786 e: e,
1928 } catch (e) {
1929 throw new Error('error parsing SVG: ' + e.message);
2453 return !find(elements, function(e) { argument
2454 return e !== element && getParent$1(element, e);
2485 function add$1(elements, e, unique) { argument
2486 var canAdd = !unique || elements.indexOf(e) === -1;
2489 elements.push(e);
2600 isTopLevel && groupBy(elements, function(e) { return e.id; }) argument
2727 var e = element;
2729 if (e.waypoints) {
2730 e = getBBox(e);
2733 if (!isNumber(bbox.y) && (e.x > bbox.x)) {
2736 if (!isNumber(bbox.x) && (e.y > bbox.y)) {
2739 if (e.x > bbox.x && e.y > bbox.y) {
2741 e.width + e.x < bbox.width + bbox.x &&
2742 e.height + e.y < bbox.height + bbox.y) {
5255 x = round$b(-matrix.e || 0, 1000);
5314 return { x: matrix.e, y: matrix.f };
5429 var mstr = 'matrix(' + m.a + ',' + m.b + ',' + m.c + ',' + m.d + ',' + m.e + ',' + m.f + ')';
5774 return this.filter(function(e) { return e; }); argument
5960 function hasOwnProperty$1(e, property) { argument
5961 return Object.prototype.hasOwnProperty.call(e, property.name || property);
6574 events.forEach(function(e) { argument
6575 self._addListener(e, {
7136 parents = reduce(elements, function(map, e) { argument
7138 if (e.parent) {
7139 map[e.parent.id] = e.parent;
7299 } catch (e) {
7301 console.error(e.stack);
7303 throw e;
10305 } catch (e) {
10306 err = e;
10832 } catch (e) {
10836 e);
14935 function elementToString(e) { argument
14936 if (!e) {
14940 return '<' + e.$type + (e.id ? ' id="' + e.id : '') + '" />';
14966 return find(definitions.rootElements, function(e) { argument
14967 return is$2(e, 'bpmn:Process') || is$2(e, 'bpmn:Collaboration');
14984 return function(e) { argument
14985 fn(e, ctx);
15024 } catch (e) {
15025 logError(e.message, { element: element, error: e });
15028 console.error(e);
15194 var processes = filter(rootElements, function(e) { argument
15195 return !isHandled(e) && is$2(e, 'bpmn:Process') && e.laneSets;
15232 forEach(artifacts, function(e) { argument
15233 if (is$2(e, 'bpmn:Association')) {
15235 handleArtifact(e, context);
15238 handleArtifact(e, context);
15321 forEach(flowElements, function(e) { argument
15322 if (is$2(e, 'bpmn:SequenceFlow')) {
15324 handleSequenceFlow(e, context);
15326 } else if (is$2(e, 'bpmn:BoundaryEvent')) {
15328 handleFlowNode(e, context);
15330 } else if (is$2(e, 'bpmn:FlowNode')) {
15331 handleFlowNode(e, context);
15332 } else if (is$2(e, 'bpmn:DataObject')) ; else if (is$2(e, 'bpmn:DataStoreReference')) {
15333 handleDataElement(e, context);
15334 } else if (is$2(e, 'bpmn:DataObjectReference')) {
15335 handleDataElement(e, context);
15339 element: elementToString(e),
15342 { element: e, context: context }
15476 } catch (e) {
15478 e.warnings = warnings;
15479 return reject(e);
16043 } catch (e) {
16044 err = e;
18647 } catch (e) {
19498 e: coordinates
20741 eventBus.on([ 'shape.remove', 'connection.remove' ], function(e) { argument
20742 var element = e.element;
20746 eventBus.on([ 'diagram.clear', 'plane.set' ], function(e) { argument
20844 function addMarker(e, cls) { argument
20845 canvas.addMarker(e, cls);
20848 function removeMarker(e, cls) { argument
20849 canvas.removeMarker(e, cls);
20873 forEach(oldSelection, function(e) { argument
20874 if (newSelection.indexOf(e) === -1) {
20875 deselect(e);
20879 forEach(newSelection, function(e) { argument
20880 if (oldSelection.indexOf(e) === -1) {
20881 select(e);
21586 eventBus.on([ 'shape.remove', 'connection.remove' ], function(e) { argument
21587 var element = e.element;
21608 eventBus.on('element.changed', LOW_PRIORITY$k, function(e) { argument
21609 var element = e.element;
21625 eventBus.on('element.marker.update', function(e) { argument
21626 var container = self._getOverlayContainer(e.element, true);
21628 classes$1(container.html)[e.add ? 'add' : 'remove'](e.marker);
21633 eventBus.on('plane.set', function(e) { argument
21635 setVisible$1(el.htmlContainer, el.plane === e.plane);
22347 eventBus.on('element.mousedown', 500, function(e) { argument
22348 return handleStart(e.originalEvent);
22517 eventBus.on('canvas.init', function(e) { argument
22812 var e = new Error('get-stack-trace');
22813 var stack = e && e.stack ? e.stack.replace(/^[^\(]+?[\n$]/gm, '')
25414 forEach(mouseEvents, function(e) { argument
25415 componentEvent.bind(node, e, stopEvent, true);
25421 forEach(mouseEvents, function(e) { argument
25422 componentEvent.unbind(node, e, stopEvent, true);
25529 function update(e) { argument
25531 var dx = e.deltaX - lx,
25532 dy = e.deltaY - ly;
25536 lx = e.deltaX;
25537 ly = e.deltaY;
25540 function end(e) { argument
25564 function startZoom(e) { argument
25567 mid = e.center;
25569 function update(e) { argument
25571 var ratio = 1 - (1 - e.scale) / 1.50,
25576 stopEvent(e);
25579 function end(e) { argument
25693 eventBus.on('canvas.init', function(e) { argument
25694 self.addBBoxMarker(e.svg);
26312 eventBus.on('autoPlace.end', 500, function(e) { argument
26313 selection.select(e.shape);
26595 var fullEvent = [ 'commandStack', event, hook ].filter(function(e) { return e; }).join('.'); argument
27843 eventBus.on('drag.move', function(e) { argument
27844 var point = self._toBorderPoint(e);
30469 function preventDefault(e) { argument
30470 e.preventDefault();
30473 function stopPropagation(e) { argument
30474 e.stopPropagation();
30637 TextBox.prototype.handlePaste = function(e) { argument
30641 e.preventDefault();
30645 if (e.clipboardData) {
30648 text = e.clipboardData.getData('text/plain');
30787 var onMouseDown = function(e) { argument
30788 preventDefault(e);
30789 stopPropagation(e);
30791 startX = e.clientX;
30792 startY = e.clientY;
30803 var onMouseMove = function(e) { argument
30804 preventDefault(e);
30805 stopPropagation(e);
30807 var newWidth = min$3(max$5(startWidth + e.clientX - startX, minWidth), maxWidth);
30808 var newHeight = min$3(max$5(startHeight + e.clientY - startY, minHeight), maxHeight);
30816 dx: e.clientX - startX,
30817 dy: e.clientY - startY
30821 var onMouseUp = function(e) { argument
30822 preventDefault(e);
30823 stopPropagation(e);
31028 DirectEditing.prototype._handleKey = function(e) { argument
31031 e.stopPropagation();
31033 var key = e.keyCode || e.charCode;
31037 e.preventDefault();
31042 if (key === 13 && !e.shiftKey) {
31043 e.preventDefault();
31160 eventBus.on('selection.changed', function(e) { argument
31162 var selection = e.newSelection;
31174 forEach(elements, function(e) { argument
31175 if (self.isOpen(e)) {
32906 var parentCopied = find(elements, function(e) { argument
32907 return e === element.parent;
36164 function removeElement(e) { argument
38516 elements.forEach(function(e) { argument
38517 eventBus.fire('element.changed', { element: e });
38915 eventBus.on('selection.changed', function(e) { argument
38916 var newSelection = e.newSelection;
38927 eventBus.on('shape.changed', function(e) { argument
38928 var shape = e.element;
39141 eventBus.on([ 'commandStack.changed' ], function(e) { argument
41599 return elementRegistry.filter(function(e) { argument
41600 return is$1(e, 'bpmn:Group');
41612 return elements.some(function(e) { argument
41614 var businessObject = getBusinessObject(e);
41810 eventBus.on('bpmnElement.added', function(e) { argument
41812 var element = e.element;
42578 this.postExecute('element.updateProperties', function(e) { argument
42579 var context = e.context,
42605 this.postExecute([ 'shape.create', 'connection.create' ], function(e) { argument
42606 var context = e.context,
43389 this.postExecute([ 'shape.replace' ], 1500, function(e) { argument
43390 var context = e.context,
43405 this.postExecuted([ 'shape.replace' ], 1500, function(e) { argument
43406 var context = e.context,
43673 this.preExecute('shape.delete', function(e) { argument
43675 var shape = e.context.shape;
43949 this.executed([ 'shape.toggleCollapse' ], LOW_PRIORITY$8, function(e) { argument
43951 var context = e.context,
43972 this.reverted([ 'shape.toggleCollapse' ], LOW_PRIORITY$8, function(e) { argument
43974 var context = e.context;
43987 this.postExecuted([ 'shape.toggleCollapse' ], LOW_PRIORITY$8, function(e) { argument
43988 var shape = e.context.shape,
44022 return elements.filter(function(e) { argument
44023 return !e.hidden;
44581 function isForCompensation(e) { argument
44582 return getBusinessObject(e).isForCompensation;
46487 var e;
46489 while ((e = collection[0])) {
46490 removeFn(e);
46516 eventBus.on('shape.move.start', HIGH_PRIORITY$5, function(e) { argument
46518 var context = e.context,
46527 movePreview && eventBus.on('shape.move.start', LOW_PRIORITY$6, function(e) { argument
46529 var context = e.context,
46555 this.preExecuted('elements.move', HIGH_PRIORITY$5, function(e) { argument
46556 var context = e.context,
46580 ], function(e) { argument
46582 var context = e.context,
46591 this.execute('shape.delete', function(e) { argument
46593 var context = e.context,
46606 this.revert('shape.delete', function(e) { argument
46608 var context = e.context,
46686 eventBus.on('shape.move.start', HIGH_PRIORITY$4, function(e) { argument
46688 var context = e.context,
46698 movePreview && eventBus.on('shape.move.start', LOW_PRIORITY$5, function(e) { argument
46700 var context = e.context,
46739 this.preExecuted('elements.move', HIGH_PRIORITY$4, function(e) { argument
46740 var context = e.context,
46751 this.postExecuted('elements.move', function(e) { argument
46753 var context = e.context,
46782 this.postExecuted('elements.move', function(e) { argument
46784 var shapes = e.context.shapes;
46819 this.postExecute('shape.create', function(e) { argument
46820 var context = e.context,
46830 this.postExecute('shape.replace', function(e) { argument
46832 var context = e.context,
47241 e: 'right'
47250 e: 'w'
48115 function cropConnection(e) { argument
48116 var context = e.context,
48132 this.reverted([ 'connection.layout' ], function(e) { argument
48133 delete e.context.cropped;
48142 function updateParent(e) { argument
48143 var context = e.context;
48148 function reverseUpdateParent(e) { argument
48149 var context = e.context;
48202 function updateBounds(e) { argument
48203 var shape = e.context.shape;
48241 function updateConnection(e) { argument
48242 self.updateConnection(e.context);
48261 function updateConnectionWaypoints(e) { argument
48262 self.updateConnectionWaypoints(e.context.connection);
48331 function updateAttachment(e) { argument
48332 self.updateAttachment(e.context);
54249 forEach(allDraggedElements, function(e) { argument
54250 canvas.addMarker(e, MARKER_DRAGGING);
54299 forEach(allDraggedElements, function(e) { argument
54300 canvas.removeMarker(e, MARKER_DRAGGING);
54354 return size(groupBy(elements, function(e) { return e.parent && e.parent.id; })) !== 1; argument
55116 keyboard && keyboard.addListener(HIGH_PRIORITY$1, function(e) { argument
55117 if (!isSpace(e.keyEvent) || self.isActive()) {
55126 keyboard && keyboard.addListener(HIGH_PRIORITY$1, function(e) { argument
55127 if (!isSpace(e.keyEvent) || !self.isActive()) {
56859 listen(document, 'html', 'click', function(e) { argument
56865 listen(this._container, SearchPad.INPUT_SELECTOR, 'click', function(e) { argument
56866 e.stopPropagation();
56867 e.delegateTarget.focus();
56871 listen(this._container, SearchPad.RESULT_SELECTOR, 'mouseover', function(e) { argument
56872 e.stopPropagation();
56873 self._scrollToNode(e.delegateTarget);
56874 self._preselect(e.delegateTarget);
56878 listen(this._container, SearchPad.RESULT_SELECTOR, 'click', function(e) { argument
56879 e.stopPropagation();
56880 self._select(e.delegateTarget);
56885 listen(this._container, SearchPad.INPUT_SELECTOR, 'keydown', function(e) { argument
56888 if (e.keyCode === 38) {
56889 e.preventDefault();
56893 if (e.keyCode === 40) {
56894 e.preventDefault();
56899 listen(this._container, SearchPad.INPUT_SELECTOR, 'keyup', function(e) { argument
56902 if (e.keyCode === 27) {
56907 if (e.keyCode === 13) {
56914 if (e.keyCode === 38) {
56919 if (e.keyCode === 40) {
56925 if (e.keyCode === 37 || e.keyCode === 39) {
56930 self._search(e.delegateTarget.value);