Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-kanban

Package Overview
Dependencies
Maintainers
3
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-kanban - npm Package Compare versions

Comparing version 25.1.35 to 25.1.42

8

CHANGELOG.md

@@ -9,2 +9,10 @@ # Changelog

- `#I577841` - Now, the drag and drop of a card between the `swimlane` row works properly in the Kanban component.
## 25.1.35 (2024-03-15)
### Kanban
#### Bug Fixes
- `#I525892` - Now, the card template works properly upon drag-and-drop action in Kanban with remote data.

@@ -11,0 +19,0 @@

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 25.1.35
* version : 25.1.42
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

{
"_from": "@syncfusion/ej2-kanban@*",
"_id": "@syncfusion/ej2-kanban@23.1.36",
"_id": "@syncfusion/ej2-kanban@25.1.35",
"_inBundle": false,
"_integrity": "sha512-FK+orW++uR9kDLfotyMiVAzs7bptl2HcEAK/mDW7NrG8rNIuCxPTAbGmQa3NwHcAzTd8dqDXHCUrAnPAV2n9hA==",
"_integrity": "sha512-x//7uHhtqDS9GKZ5LgK8AQHssydMRbtVTnnhtQxafwiYhjp1u0JfahrbHrUeBJ70hiosO3E2u2wI9lOGxHaFHQ==",
"_location": "/@syncfusion/ej2-kanban",

@@ -26,4 +26,4 @@ "_phantomChildren": {},

],
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-kanban/-/ej2-kanban-23.1.36.tgz",
"_shasum": "31ee0aa288f4fad7c7185fadd6f83aa5effae476",
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-kanban/-/ej2-kanban-25.1.35.tgz",
"_shasum": "e8d16be24b9301af19523543c971662727f2607a",
"_spec": "@syncfusion/ej2-kanban@*",

@@ -40,10 +40,10 @@ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",

"@syncfusion/ej2-base": "~25.1.35",
"@syncfusion/ej2-buttons": "~25.1.35",
"@syncfusion/ej2-buttons": "~25.1.39",
"@syncfusion/ej2-data": "~25.1.35",
"@syncfusion/ej2-dropdowns": "~25.1.35",
"@syncfusion/ej2-inputs": "~25.1.35",
"@syncfusion/ej2-layouts": "~25.1.35",
"@syncfusion/ej2-navigations": "~25.1.35",
"@syncfusion/ej2-dropdowns": "~25.1.41",
"@syncfusion/ej2-inputs": "~25.1.42",
"@syncfusion/ej2-layouts": "~25.1.37",
"@syncfusion/ej2-navigations": "~25.1.42",
"@syncfusion/ej2-notifications": "~25.1.35",
"@syncfusion/ej2-popups": "~25.1.35"
"@syncfusion/ej2-popups": "~25.1.42"
},

@@ -76,4 +76,4 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "25.1.35",
"version": "25.1.42",
"sideEffects": false
}

@@ -247,2 +247,6 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

}
if (this.parent.kanbanData.length === 0 && targetRow.length === 0) {
removeClass([target], cls.COLLAPSED_CLASS);
target.setAttribute('aria-expanded', 'true');
}
this.columnToggleArray.splice(this.columnToggleArray.indexOf(target.getAttribute('data-key')), 1);

@@ -291,2 +295,6 @@ this.parent.columns[colIndex].setProperties({ isExpanded: true }, true);

}
if (this.parent.kanbanData.length === 0 && targetRow.length === 0) {
addClass([target], cls.COLLAPSED_CLASS);
target.setAttribute('aria-expanded', 'false');
}
this.columnToggleArray.push(target.getAttribute('data-key'));

@@ -293,0 +301,0 @@ this.parent.columns[colIndex].setProperties({ isExpanded: false }, true);

@@ -37,2 +37,3 @@ import { Kanban } from '../base/kanban';

private dragStop;
removeEmptyTrElement(): void;
private dragStopClear;

@@ -39,0 +40,0 @@ private dragStopPostClear;

/* eslint-disable @typescript-eslint/no-explicit-any */
import { Draggable, formatUnit, createElement, isNullOrUndefined as isNoU, addClass, closest } from '@syncfusion/ej2-base';
import { Draggable, formatUnit, createElement, isNullOrUndefined as isNoU, addClass, closest, detach } from '@syncfusion/ej2-base';
import { removeClass, classList, remove, EventHandler, extend } from '@syncfusion/ej2-base';

@@ -512,5 +512,18 @@ import * as cls from '../base/css-constant';

}
_this.removeEmptyTrElement();
_this.dragStopPostClear();
});
};
DragAndDrop.prototype.removeEmptyTrElement = function () {
if (!this.parent.swimlaneSettings.showEmptyRow) {
var swimlaneRowList = this.parent.element.querySelectorAll('.e-content-row.e-swimlane-row');
for (var j = 0; j < swimlaneRowList.length; j++) {
var cardRowData = swimlaneRowList[j].nextElementSibling.querySelectorAll('.e-card-wrapper .e-card');
if (!isNoU(swimlaneRowList[j].nextElementSibling) && cardRowData.length === 0) {
detach(swimlaneRowList[j].nextElementSibling);
detach(swimlaneRowList[j]);
}
}
}
};
DragAndDrop.prototype.dragStopClear = function () {

@@ -517,0 +530,0 @@ this.removeElement(this.dragObj.draggedClone);

@@ -317,4 +317,5 @@ var __extends = (this && this.__extends) || (function () {

var columnData = _this.parent.swimlaneSettings.keyField ?
_this.getColumnData(column.keyField, _this.swimlaneData[rows[index].keyField]) :
_this.columnData[column.keyField];
_this.getColumnData(column.keyField, (_this.parent.swimlaneSettings.showEmptyRow &&
isNoU(_this.swimlaneData[rows[index].keyField])) ? []
: _this.swimlaneData[rows[index].keyField]) : _this.columnData[column.keyField];
dataCount += columnData.length;

@@ -321,0 +322,0 @@ var columnWrapper = tr.querySelector('[data-key="' + column.keyField + '"]');

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc