Lines Matching refs:currentRow
147 currentRow: TraceRow<any> | undefined | null; property in SpSystemTrace
369 let currentRow = event.detail.row; variable
370 if (currentRow.collect) {
373 return find === currentRow;
376 this.collectRows.push(currentRow);
379 currentRow.collect = false;
384 replaceRow.setAttribute('row-id', currentRow.rowId + '-' + currentRow.rowType);
386 replaceRow.setAttribute('row-parent-id', currentRow.rowParentId);
388 currentRow.rowHidden = !currentRow.hasAttribute('scene');
390 let rowParentId = currentRow.rowParentId;
396 parentRow?.name != currentRow.name &&
401 currentRow.name += '(' + parentRow.name + ')';
405 if (this.rowsEL!.contains(currentRow)) {
406 this.rowsEL!.replaceChild(replaceRow, currentRow);
408 if (currentRow.hasParentRowEl) {
409 let parent = currentRow.parentRowEl;
410 parent!.replaceTraceRow(replaceRow, currentRow);
413 this.favoriteRowsEL!.append(currentRow);
415 this.favoriteRowsEL!.removeChild(currentRow);
417 let rowIndex = this.collectRows.indexOf(currentRow);
422 let row = currentRow;
436 `div[row-id='${currentRow.rowId}-${currentRow.rowType}']`
440 let rowNameArr = currentRow.name.split('(');
444 currentRow.name = tempName;
446 currentRow.name = rowNameArr[0];
448 this.rowsEL!.replaceChild(currentRow, replaceRow);
449 currentRow.style.boxShadow = `0 10px 10px #00000000`;
452 this.favoriteRowsEL!.scrollTop - currentRow.clientHeight
459 if (itln[0].rowEL === currentRow) {
466 } else if (itln[1].rowEL === currentRow) {
477 currentRow.setAttribute('draggable', 'true');
478 currentRow.addEventListener('dragstart', () => {
479 this.currentClickRow = currentRow;
481 currentRow.addEventListener('dragover', (ev: any) => {
485 currentRow.addEventListener('drop', (ev: any) => {
486 …is.favoriteRowsEL != null && this.currentClickRow != null && this.currentClickRow !== currentRow) {
487 let rect = currentRow.getBoundingClientRect();
490 this.favoriteRowsEL.insertBefore(this.currentClickRow, currentRow);
493 this.favoriteRowsEL.insertBefore(this.currentClickRow, currentRow.nextSibling);
498 currentRow.addEventListener('dragend', () => {
1337 expansionAllParentRow(currentRow: TraceRow<any>) {
1339 `trace-row[row-id='${currentRow.rowParentId}'][folder][scene]`
1733 if (this.currentRow) {
1734 this.currentRow.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
2227 this.currentRow = row;