Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-buttons

Package Overview
Dependencies
Maintainers
3
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-buttons - npm Package Compare versions

Comparing version 23.2.7 to 24.1.41

16

CHANGELOG.md

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

### Chip
#### Bug Fixes
- `#I525416` - The issue when updating the `chips` property when multiple chip component rendered in the page has been resolved.
## 23.1.43 (2023-10-31)
### RadioButton

@@ -20,4 +12,2 @@

## 23.1.42 (2023-10-24)
### Button

@@ -29,4 +19,2 @@

## 23.1.41 (2023-10-17)
### Checkbox

@@ -38,4 +26,2 @@

## 23.1.39 (2023-10-04)
### Checkbox

@@ -47,4 +33,2 @@

## 23.1.36 (2023-09-15)
### Checkbox

@@ -51,0 +35,0 @@

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 23.2.7
* version : 24.1.41
* 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-buttons@*",
"_id": "@syncfusion/ej2-buttons@23.2.4",
"_id": "@syncfusion/ej2-buttons@18.64.1",
"_inBundle": false,
"_integrity": "sha512-1i0t7sXvWKPgC94/C66Bd1eQhyR4n78vTy8btEwASQpyhYfAoX8QA7QM2vAT+erCPeC1xAis71w7ORWxCSZYBA==",
"_integrity": "sha512-vSPwcXBB5RZ6CQVAuxhO2aMkD3yq7aAOn1TX807bbU17okTQLspThfjFB9peU4z/I3I7OgGeQMky1hG/fd08+w==",
"_location": "/@syncfusion/ej2-buttons",

@@ -47,6 +47,6 @@ "_phantomChildren": {},

],
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-buttons/-/ej2-buttons-23.2.4.tgz",
"_shasum": "9e5f6cd7bf5f3e86bad0fb1f1c9723c866095c1d",
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-buttons/-/ej2-buttons-18.64.1.tgz",
"_shasum": "b359265a25fce8a082ec7811265164ed7f1b7a68",
"_spec": "@syncfusion/ej2-buttons@*",
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
"_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
"author": {

@@ -60,3 +60,3 @@ "name": "Syncfusion Inc."

"dependencies": {
"@syncfusion/ej2-base": "~23.2.6"
"@syncfusion/ej2-base": "~24.1.41"
},

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

"typings": "index.d.ts",
"version": "23.2.7",
"version": "24.1.41",
"sideEffects": false
}

@@ -1,2 +0,2 @@

import { Component, INotifyPropertyChanged, NotifyPropertyChanges, Property } from '@syncfusion/ej2-base';import { EmitType, Event, EventHandler, isNullOrUndefined, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { addClass, detach, getUniqueID, isRippleEnabled, removeClass, rippleEffect, closest } from '@syncfusion/ej2-base';import { wrapperInitialize, rippleMouseHandler, ChangeEventArgs, setHiddenInput } from './../common/common';
import { Component, INotifyPropertyChanged, NotifyPropertyChanges, Property, setValue } from '@syncfusion/ej2-base';import { EmitType, Event, EventHandler, isNullOrUndefined, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { addClass, detach, getUniqueID, isRippleEnabled, removeClass, rippleEffect, closest } from '@syncfusion/ej2-base';import { wrapperInitialize, rippleMouseHandler, ChangeEventArgs, setHiddenInput } from './../common/common';
import {LabelPosition} from "./check-box";

@@ -3,0 +3,0 @@ import {ComponentModel} from '@syncfusion/ej2-base';

@@ -151,2 +151,3 @@ import { Component, INotifyPropertyChanged } from '@syncfusion/ej2-base';

private getWrapper;
private getLabel;
private initialize;

@@ -156,2 +157,3 @@ private initWrapper;

private labelMouseDownHandler;
private labelMouseLeaveHandler;
private labelMouseUpHandler;

@@ -158,0 +160,0 @@ /**

@@ -20,3 +20,3 @@ var __extends = (this && this.__extends) || (function () {

};
import { Component, NotifyPropertyChanges, Property } from '@syncfusion/ej2-base';
import { Component, NotifyPropertyChanges, Property, setValue } from '@syncfusion/ej2-base';
import { Event, EventHandler, isNullOrUndefined, SanitizeHtmlHelper } from '@syncfusion/ej2-base';

@@ -185,2 +185,9 @@ import { addClass, detach, getUniqueID, isRippleEnabled, removeClass, rippleEffect, closest } from '@syncfusion/ej2-base';

wrapper.innerHTML = '';
this.element = wrapper;
if (this.refreshing) {
['e-control', 'e-checkbox', 'e-lib'].forEach(function (key) {
_this.element.classList.add(key);
});
setValue('ej2_instances', [this], this.element);
}
}

@@ -225,2 +232,10 @@ }

};
CheckBox.prototype.getLabel = function () {
if (this.element) {
return this.element.parentElement;
}
else {
return null;
}
};
CheckBox.prototype.initialize = function () {

@@ -294,2 +309,12 @@ if (isNullOrUndefined(this.initialCheckedValue)) {

};
CheckBox.prototype.labelMouseLeaveHandler = function (e) {
var rippleSpan = this.getLabel().getElementsByClassName(RIPPLE)[0];
if (rippleSpan) {
var rippleElem = rippleSpan.querySelectorAll('.e-ripple-element');
for (var i = rippleElem.length - 1; i > 0; i--) {
rippleSpan.removeChild(rippleSpan.childNodes[i]);
}
rippleMouseHandler(e, rippleSpan);
}
};
CheckBox.prototype.labelMouseUpHandler = function (e) {

@@ -472,2 +497,3 @@ this.isMouseClick = true;

EventHandler.remove(label, 'mouseup', this.labelMouseUpHandler);
EventHandler.remove(label, 'mouseleave', this.labelMouseLeaveHandler);
var formElem = closest(this.element, 'form');

@@ -490,2 +516,3 @@ if (formElem) {

EventHandler.add(label, 'mouseup', this.labelMouseUpHandler, this);
EventHandler.add(label, 'mouseleave', this.labelMouseLeaveHandler, this);
var formElem = closest(this.element, 'form');

@@ -492,0 +519,0 @@ if (formElem) {

@@ -75,2 +75,3 @@ import { detach, getUniqueID, rippleEffect, setValue, attributes } from '@syncfusion/ej2-base';

wrapper.innerHTML = '';
ejInst.element = wrapper;
}

@@ -77,0 +78,0 @@ }

@@ -1,2 +0,2 @@

import { Component, INotifyPropertyChanged, rippleEffect, NotifyPropertyChanges, Property, closest } from '@syncfusion/ej2-base';import { addClass, getInstance, getUniqueID, isRippleEnabled, removeClass, attributes, isNullOrUndefined } from '@syncfusion/ej2-base';import { BaseEventArgs, detach, EmitType, Event, EventHandler, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { wrapperInitialize, rippleMouseHandler } from './../common/common';
import { Component, INotifyPropertyChanged, rippleEffect, NotifyPropertyChanges, Property, closest, setValue } from '@syncfusion/ej2-base';import { addClass, getInstance, getUniqueID, isRippleEnabled, removeClass, attributes, isNullOrUndefined } from '@syncfusion/ej2-base';import { BaseEventArgs, detach, EmitType, Event, EventHandler, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { wrapperInitialize, rippleMouseHandler } from './../common/common';
import {ChangeArgs,RadioLabelPosition} from "./radio-button";

@@ -3,0 +3,0 @@ import {ComponentModel} from '@syncfusion/ej2-base';

@@ -20,3 +20,3 @@ var __extends = (this && this.__extends) || (function () {

};
import { Component, rippleEffect, NotifyPropertyChanges, Property, closest } from '@syncfusion/ej2-base';
import { Component, rippleEffect, NotifyPropertyChanges, Property, closest, setValue } from '@syncfusion/ej2-base';
import { addClass, getInstance, getUniqueID, isRippleEnabled, removeClass, attributes, isNullOrUndefined } from '@syncfusion/ej2-base';

@@ -114,2 +114,9 @@ import { detach, Event, EventHandler, SanitizeHtmlHelper } from '@syncfusion/ej2-base';

radioWrap.innerHTML = '';
this.element = this.wrapper;
if (this.refreshing) {
['e-control', 'e-radio', 'e-lib'].forEach(function (key) {
_this.element.classList.add(key);
});
setValue('ej2_instances', [this], this.element);
}
}

@@ -116,0 +123,0 @@ }

@@ -504,2 +504,3 @@ import { BaseEventArgs, EmitType, ChildProperty, Component, INotifyPropertyChanged } from '@syncfusion/ej2-base';

private popupKeyboardModule;
private documentKeyboardModule;
private removeRippleEffect;

@@ -506,0 +507,0 @@ private keyConfigs;

@@ -376,2 +376,7 @@ var __extends = (this && this.__extends) || (function () {

});
this.documentKeyboardModule = new KeyboardEvents(document.body, {
keyAction: this.popupKeyActionHandler.bind(this),
keyConfigs: { enter: 'enter', space: 'space' },
eventName: 'keydown'
});
EventHandler.add(this.popupEle, 'click', this.popupClick, this);

@@ -612,2 +617,8 @@ EventHandler.add(this.popupEle, 'mouseleave', this.popupMouseLeaveHandle, this);

break;
case 'enter':
case 'space':
if (this.isMenuOpen && e.target !== this.element) {
this.hidePopupEle(e);
}
break;
}

@@ -1319,4 +1330,6 @@ };

this.popupKeyboardModule.destroy();
this.documentKeyboardModule.destroy();
this.keyboardModule = null;
this.popupKeyboardModule = null;
this.documentKeyboardModule = null;
EventHandler.remove(this.popupEle, 'click', this.popupClick);

@@ -1323,0 +1336,0 @@ EventHandler.remove(this.popupEle, 'mouseleave', this.popupMouseLeaveHandle);

@@ -1,2 +0,2 @@

import { Component, INotifyPropertyChanged, NotifyPropertyChanges, Property, closest } from '@syncfusion/ej2-base';import { EmitType, Event, EventHandler, MouseEventArgs } from '@syncfusion/ej2-base';import { addClass, isRippleEnabled, removeClass, rippleEffect, isNullOrUndefined } from '@syncfusion/ej2-base';import { rippleMouseHandler, destroy, preRender, ChangeEventArgs, setHiddenInput } from './../common/common';
import { Component, INotifyPropertyChanged, NotifyPropertyChanges, Property, closest, setValue } from '@syncfusion/ej2-base';import { EmitType, Event, EventHandler, MouseEventArgs } from '@syncfusion/ej2-base';import { addClass, isRippleEnabled, removeClass, rippleEffect, isNullOrUndefined } from '@syncfusion/ej2-base';import { rippleMouseHandler, destroy, preRender, ChangeEventArgs, setHiddenInput } from './../common/common';
import {ComponentModel} from '@syncfusion/ej2-base';

@@ -3,0 +3,0 @@

@@ -152,2 +152,3 @@ import { Component, INotifyPropertyChanged } from '@syncfusion/ej2-base';

private rippleHandler;
private mouseLeaveHandler;
private rippleTouchHandler;

@@ -154,0 +155,0 @@ private setDisabled;

@@ -20,3 +20,3 @@ var __extends = (this && this.__extends) || (function () {

};
import { Component, NotifyPropertyChanges, Property, closest } from '@syncfusion/ej2-base';
import { Component, NotifyPropertyChanges, Property, closest, setValue } from '@syncfusion/ej2-base';
import { Event, EventHandler } from '@syncfusion/ej2-base';

@@ -107,2 +107,3 @@ import { addClass, isRippleEnabled, removeClass, rippleEffect, isNullOrUndefined } from '@syncfusion/ej2-base';

Switch.prototype.destroy = function () {
var _this = this;
_super.prototype.destroy.call(this);

@@ -113,2 +114,8 @@ if (!this.disabled) {

destroy(this, this.getWrapper(), this.tagName);
if (this.refreshing) {
['e-control', 'e-switch', 'e-lib'].forEach(function (key) {
_this.element.classList.add(key);
});
setValue('ej2_instances', [this], this.element);
}
};

@@ -292,2 +299,12 @@ Switch.prototype.focusHandler = function () {

};
Switch.prototype.mouseLeaveHandler = function (e) {
var rippleSpan = this.element.parentElement.getElementsByClassName(RIPPLE)[0];
if (rippleSpan) {
var rippleElem = rippleSpan.querySelectorAll('.e-ripple-element');
for (var i = rippleElem.length - 1; i > 0; i--) {
rippleSpan.removeChild(rippleSpan.childNodes[i]);
}
rippleMouseHandler(e, rippleSpan);
}
};
Switch.prototype.rippleTouchHandler = function (eventType) {

@@ -391,2 +408,3 @@ var rippleSpan = this.getWrapper().getElementsByClassName(RIPPLE)[0];

EventHandler.add(wrapper, 'mousedown mouseup', this.rippleHandler, this);
EventHandler.add(wrapper, 'mouseleave', this.mouseLeaveHandler, this);
EventHandler.add(wrapper, 'touchstart touchmove touchend', this.switchMouseUp, this);

@@ -405,2 +423,3 @@ if (this.formElement) {

EventHandler.remove(wrapper, 'mousedown mouseup', this.rippleHandler);
EventHandler.remove(wrapper, 'mouseleave', this.mouseLeaveHandler);
EventHandler.remove(wrapper, 'touchstart touchmove touchend', this.switchMouseUp);

@@ -407,0 +426,0 @@ if (this.formElement) {

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