@emuanalytics/flow-rdf-ui 4.1.10 → 4.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -120,7 +120,6 @@ class FlowUiList extends FlowRdfElement {
120
120
  }
121
121
  handleDragStart(ev) {
122
122
  this.draggedItem = ev.target;
123
- console.log(`parent drag start: ${this.draggedItem.value}`, this.draggedItem);
124
123
  }
125
124
  handleDragOver(ev) {
126
125
  ev.stopPropagation();
@@ -133,7 +132,6 @@ class FlowUiList extends FlowRdfElement {
133
132
  }
134
133
  if (target && target !== this.draggedOverItem) {
135
134
  if (this.draggedItem === target.previousElementSibling) {
136
- console.log("moving down");
137
135
  this.insertBefore(this.draggedItem, target.nextSibling);
138
136
  } else if (this.draggedItem === target.nextElementSibling) {
139
137
  this.insertBefore(this.draggedItem, target);
@@ -147,11 +145,8 @@ class FlowUiList extends FlowRdfElement {
147
145
  if (!this.draggedItem || !this.draggedOverItem) {
148
146
  return;
149
147
  }
150
- console.log(`parent drop: ${this.draggedItem.value} onto target: ${this.draggedOverItem.value}`);
151
148
  }
152
- handleDragEnd(ev) {
153
- const target = ev.target.value;
154
- console.log(`parent drag end: target: ${target}`);
149
+ handleDragEnd(_ev) {
155
150
  this.draggedItem = null;
156
151
  this.draggedOverItem = null;
157
152
  }
@@ -104,13 +104,11 @@ class FlowUiListItem extends FlowRdfElement {
104
104
  }
105
105
  handleReorderPointerDown(_ev) {
106
106
  this.addEventListener("dragstart", this.handleDragStart);
107
- console.log("adding dragstart");
108
107
  this.addEventListener("dragend", this.handleDragEnd);
109
108
  this.setAttribute("draggable", "true");
110
109
  }
111
110
  handleReorderPointerUp(_ev) {
112
111
  this.removeEventListener("dragstart", this.handleDragStart);
113
- console.log("removing dragstart");
114
112
  this.removeEventListener("dragend", this.handleDragEnd);
115
113
  this.removeAttribute("draggable");
116
114
  }
@@ -125,7 +123,6 @@ class FlowUiListItem extends FlowRdfElement {
125
123
  handleDragEnd(ev) {
126
124
  ev.stopPropagation();
127
125
  this.removeEventListener("dragstart", this.handleDragStart);
128
- console.log("removing dragstart");
129
126
  this.removeEventListener("dragend", this.handleDragEnd);
130
127
  this.removeAttribute("draggable");
131
128
  this.emit("flow-ui-drag-end");
@@ -44,11 +44,9 @@ class FlowUiSplitView extends FlowRdfElement {
44
44
  const panelsRemoved = mutations.map((m) => Array.from(m.removedNodes.values())).flat().filter((n) => n instanceof FlowUiSplitViewPane);
45
45
  if (panelsAdded.length > 0) {
46
46
  this.handlePanelAdded(panelsAdded[0]);
47
- console.log("Split view panel added:", this._panels.map((panel) => panel.id).join(":"));
48
47
  }
49
48
  if (panelsRemoved.length > 0) {
50
49
  this.handlePanelRemoved(panelsRemoved[0]);
51
- console.log("Split view panel removed:", this._panels.map((panel) => panel.id).join(":"));
52
50
  }
53
51
  this.layoutPanels();
54
52
  });
@@ -358,7 +356,6 @@ class FlowUiSplitView extends FlowRdfElement {
358
356
  lastVisiblePanel.divider = false;
359
357
  }
360
358
  this.positions = panelSizes.map((size) => size + "px");
361
- console.log("Panel layouts", this._panelLayouts);
362
359
  }
363
360
  resizePanels() {
364
361
  const boundingRect = this.splitView.getBoundingClientRect();
@@ -497,7 +494,6 @@ class FlowUiSplitView extends FlowRdfElement {
497
494
  (panel) => ({ id: panel.id, size: panel.size, closed: panel.closed })
498
495
  );
499
496
  this._panelLayouts[panelLayoutsKey] = panelLayouts;
500
- console.log("Saving panel layouts:", panelLayoutsKey, panelLayouts);
501
497
  }
502
498
  restorePanelLayouts() {
503
499
  const panelLayoutsKey = this.panelLayoutsKey();
@@ -509,7 +505,6 @@ class FlowUiSplitView extends FlowRdfElement {
509
505
  panel.closed = panelLayout.closed;
510
506
  }
511
507
  });
512
- console.log("Restoring panel layouts:", panelLayoutsKey, this._panelLayouts[panelLayoutsKey]);
513
508
  return true;
514
509
  } else {
515
510
  return false;
@@ -33,7 +33,6 @@ class Ticker {
33
33
  if (!this.timer) {
34
34
  return;
35
35
  }
36
- console.log("Ticker stop");
37
36
  clearInterval(this.timer);
38
37
  this.timer = void 0;
39
38
  this.nextUpdateAt = DateTime.fromMillis(0);