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

@syncfusion/ej2-inputs

Package Overview
Dependencies
Maintainers
3
Versions
253
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-inputs - npm Package Compare versions

Comparing version 17.1.42 to 17.1.44

8

CHANGELOG.md

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

### MaskedTextBox
#### Bug Fixes
- #230545 - Issue with inequality of Masked Textbox element value and argument value of input event while typing rapidly has been fixed.
- #F144247 - Issue with "typed character update on the next position while typing the same digit" has been fixed.
## 17.1.41 (2019-04-16)

@@ -7,0 +15,0 @@

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 17.1.42
* version : 17.1.44
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved.

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

{
"name": "@syncfusion/ej2-inputs",
"version": "17.1.42",
"version": "17.1.44",
"description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users.",

@@ -11,3 +11,3 @@ "author": "Syncfusion Inc.",

"dependencies": {
"@syncfusion/ej2-base": "~17.1.42",
"@syncfusion/ej2-base": "~17.1.43",
"@syncfusion/ej2-buttons": "~17.1.42",

@@ -14,0 +14,0 @@ "@syncfusion/ej2-popups": "~17.1.42",

@@ -626,8 +626,2 @@ /**

var collec = void 0;
var key = event.key;
if (key && key.length === 1 && this.floatLabelType === 'Never' && this.undoCollec.length > 0) {
if (this.undoCollec[this.undoCollec.length - 1].value === this.element.value) {
validateValue.call(this, key, event.ctrlKey, event);
}
}
if (!this.maskKeyPress && event.keyCode === 229) {

@@ -678,3 +672,2 @@ var oldEventVal = void 0;

triggerMaskChangeEvent.call(this, event);
this.value = this.element.value;
}

@@ -681,0 +674,0 @@ if (this.element.selectionStart === 0 && this.element.selectionEnd === 0) {

@@ -70,8 +70,8 @@ import { Component, Event, Property, EmitType, NotifyPropertyChanges, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit, getValue, setValue, attributes, addClass, detach, createElement } from '@syncfusion/ej2-base';import { removeClass , Browser, closest} from '@syncfusion/ej2-base';import { Input, InputObject, FloatLabelType } from '../../input/input';import { regularExpressions, createMask, applyMask, wireEvents, unwireEvents, unstrippedValue, strippedValue } from '../base/index';import { setMaskValue, MaskUndo, setElementValue, bindClearEvent } from '../base/index';import { maskInputBlurHandler } from '../base/mask-base';

* Sets a value that masks the MaskedTextBox to allow/validate the user input.
* * Mask allows <b><a href="../../maskedtextbox/mask-configuration.html#standard-mask-elements" target="_blank">standard mask elements
* </a></b>, <b><a href="../../maskedtextbox/mask-configuration.html#custom-characters" target="_blank">custom characters</a></b> and
* <b><a href="../../maskedtextbox/mask-configuration.html#regular-expression" target="_blank">regular expression</a></b> as mask
* * Mask allows <b><a href="../../maskedtextbox/mask-configuration/#standard-mask-elements" target="_blank">standard mask elements
* </a></b>, <b><a href="../../maskedtextbox/mask-configuration/#custom-characters" target="_blank">custom characters</a></b> and
* <b><a href="../../maskedtextbox/mask-configuration/#regular-expression" target="_blank">regular expression</a></b> as mask
* elements.
* For more information on mask, refer to
* [mask](../../maskedtextbox/mask-configuration#standard-mask-elements/).
* [mask](../../maskedtextbox/mask-configuration/#standard-mask-elements).
* * If the mask value is empty, the MaskedTextBox will behave as an input element with text type.

@@ -86,3 +86,3 @@ * @default null

* For more information on prompt-character, refer to
* [prompt-character](../../maskedtextbox/mask-configuration#prompt-character/).
* [prompt-character](../../maskedtextbox/mask-configuration/#prompt-character).
* @default '_'

@@ -89,0 +89,0 @@ */

@@ -90,8 +90,8 @@ import { Component, EmitType, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';

* Sets a value that masks the MaskedTextBox to allow/validate the user input.
* * Mask allows <b><a href="../../maskedtextbox/mask-configuration.html#standard-mask-elements" target="_blank">standard mask elements
* </a></b>, <b><a href="../../maskedtextbox/mask-configuration.html#custom-characters" target="_blank">custom characters</a></b> and
* <b><a href="../../maskedtextbox/mask-configuration.html#regular-expression" target="_blank">regular expression</a></b> as mask
* * Mask allows <b><a href="../../maskedtextbox/mask-configuration/#standard-mask-elements" target="_blank">standard mask elements
* </a></b>, <b><a href="../../maskedtextbox/mask-configuration/#custom-characters" target="_blank">custom characters</a></b> and
* <b><a href="../../maskedtextbox/mask-configuration/#regular-expression" target="_blank">regular expression</a></b> as mask
* elements.
* For more information on mask, refer to
* [mask](../../maskedtextbox/mask-configuration#standard-mask-elements/).
* [mask](../../maskedtextbox/mask-configuration/#standard-mask-elements).
* * If the mask value is empty, the MaskedTextBox will behave as an input element with text type.

@@ -105,3 +105,3 @@ * @default null

* For more information on prompt-character, refer to
* [prompt-character](../../maskedtextbox/mask-configuration#prompt-character/).
* [prompt-character](../../maskedtextbox/mask-configuration/#prompt-character).
* @default '_'

@@ -108,0 +108,0 @@ */

@@ -27,3 +27,3 @@ import { Component, EventHandler, Property, Event, Browser, L10n, EmitType } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';import { createElement, attributes, addClass, removeClass, setStyleAttribute, detach, closest } from '@syncfusion/ej2-base';import { isNullOrUndefined, getValue, formatUnit, setValue, merge } from '@syncfusion/ej2-base';import { Internationalization, NumberFormatOptions, getNumericObject } from '@syncfusion/ej2-base';import { Input, InputObject, FloatLabelType } from '../input/input';

* For more information on min, refer to
* [min](../../numerictextbox/getting-started#range-validation/).
* [min](../../numerictextbox/getting-started/#range-validation).
* @default null

@@ -37,3 +37,3 @@ * @aspType object

* For more information on max, refer to
* [max](../../numerictextbox/getting-started#range-validation/).
* [max](../../numerictextbox/getting-started/#range-validation).
* @default null

@@ -47,3 +47,3 @@ * @aspType object

* For more information on step, refer to
* [step](../../numerictextbox/getting-started#range-validation/).
* [step](../../numerictextbox/getting-started/#range-validation).
* @default 1

@@ -108,3 +108,3 @@ */

* For more information on formats, refer to
* [formats](../../numerictextbox/formats#standard-formats/).
* [formats](../../numerictextbox/formats/#standard-formats).
* @default 'n2'

@@ -117,3 +117,3 @@ */

* For more information on decimals, refer to
* [decimals](../../numerictextbox/formats#precision-of-numbers/).
* [decimals](../../numerictextbox/formats/#precision-of-numbers).
* @default null

@@ -120,0 +120,0 @@ */

@@ -62,3 +62,3 @@ import { Component, EmitType } from '@syncfusion/ej2-base';

* For more information on min, refer to
* [min](../../numerictextbox/getting-started#range-validation/).
* [min](../../numerictextbox/getting-started/#range-validation).
* @default null

@@ -71,3 +71,3 @@ * @aspType object

* For more information on max, refer to
* [max](../../numerictextbox/getting-started#range-validation/).
* [max](../../numerictextbox/getting-started/#range-validation).
* @default null

@@ -80,3 +80,3 @@ * @aspType object

* For more information on step, refer to
* [step](../../numerictextbox/getting-started#range-validation/).
* [step](../../numerictextbox/getting-started/#range-validation).
* @default 1

@@ -132,3 +132,3 @@ */

* For more information on formats, refer to
* [formats](../../numerictextbox/formats#standard-formats/).
* [formats](../../numerictextbox/formats/#standard-formats).
* @default 'n2'

@@ -140,3 +140,3 @@ */

* For more information on decimals, refer to
* [decimals](../../numerictextbox/formats#precision-of-numbers/).
* [decimals](../../numerictextbox/formats/#precision-of-numbers).
* @default null

@@ -143,0 +143,0 @@ */

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

}
if (this.element.hasAttribute('name')) {
this.element.removeAttribute('name');
}
this.element.classList.remove('e-control', 'e-numerictextbox');

@@ -77,0 +80,0 @@ this.element.appendChild(input);

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

for (index; index < this.element.attributes.length; index++) {
if (this.element.attributes[index].nodeName !== 'id') {
inputElement.setAttribute(this.element.attributes[index].nodeName, this.element.attributes[index].nodeValue);
var attributeName = this.element.attributes[index].nodeName;
if (attributeName !== 'id') {
inputElement.setAttribute(attributeName, this.element.attributes[index].nodeValue);
inputElement.innerHTML = this.element.innerHTML;
if (attributeName === 'name') {
this.element.removeAttribute('name');
}
}

@@ -146,0 +150,0 @@ }

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

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

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